org.apache.jackrabbit.mk.model
Class MutableCommit

java.lang.Object
  extended by org.apache.jackrabbit.mk.model.AbstractCommit
      extended by org.apache.jackrabbit.mk.model.MutableCommit
All Implemented Interfaces:
Commit

public class MutableCommit
extends AbstractCommit


Field Summary
 
Fields inherited from class org.apache.jackrabbit.mk.model.AbstractCommit
branchRootId, changes, commitTS, msg, parentId, rootNodeId
 
Constructor Summary
MutableCommit()
           
MutableCommit(StoredCommit other)
          Copy constructor.
 
Method Summary
 Id getId()
          Return the commit id.
 void setBranchRootId(Id branchRootId)
           
 void setChanges(String changes)
           
 void setCommitTS(long commitTS)
           
 void setMsg(String msg)
           
 void setParentId(Id parentId)
           
 void setRootNodeId(Id rootNodeId)
           
 
Methods inherited from class org.apache.jackrabbit.mk.model.AbstractCommit
getBranchRootId, getChanges, getCommitTS, getMsg, getParentId, getRootNodeId, serialize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableCommit

public MutableCommit()

MutableCommit

public MutableCommit(StoredCommit other)
Copy constructor.

Parameters:
other - other commit
Method Detail

setParentId

public void setParentId(Id parentId)

setRootNodeId

public void setRootNodeId(Id rootNodeId)

setCommitTS

public void setCommitTS(long commitTS)

setMsg

public void setMsg(String msg)

setChanges

public void setChanges(String changes)

setBranchRootId

public void setBranchRootId(Id branchRootId)

getId

public Id getId()
Return the commit id.

Returns:
commit id


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.