public class VersionRootImpl extends java.lang.Object implements VersionRoot, java.io.Serializable
| Constructor and Description |
|---|
VersionRootImpl()
A default constructor.
|
VersionRootImpl(AVMStore store,
DirectoryNode root,
int versionID,
long createDate,
java.lang.String creator,
java.lang.String tag,
java.lang.String description)
Rich constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Check equality.
|
AVMStore |
getAvmStore() |
long |
getCreateDate() |
java.lang.String |
getCreator() |
java.lang.String |
getDescription()
Get the thick description.
|
java.lang.Long |
getId() |
DirectoryNode |
getRoot() |
java.lang.String |
getTag()
Get the tag (short description).
|
int |
getVersionID()
Get the version id.
|
int |
hashCode()
Generate a hash code.
|
void |
setAvmStore(AVMStore store) |
void |
setCreateDate(long createDate) |
void |
setCreator(java.lang.String creator) |
void |
setDescription(java.lang.String description)
Set the thick description.
|
void |
setId(long id) |
void |
setRoot(DirectoryNode root) |
void |
setTag(java.lang.String tag)
Set the tag (short description).
|
void |
setVersionID(int versionID)
Set the versionID.
|
java.lang.String |
toString() |
public VersionRootImpl()
public VersionRootImpl(AVMStore store, DirectoryNode root, int versionID, long createDate, java.lang.String creator, java.lang.String tag, java.lang.String description)
store - root - versionID - createDate - creator - public long getCreateDate()
getCreateDate in interface VersionRootpublic void setCreateDate(long createDate)
setCreateDate in interface VersionRootcreateDate - the createDate to setpublic java.lang.String getCreator()
getCreator in interface VersionRootpublic void setCreator(java.lang.String creator)
setCreator in interface VersionRootcreator - the creator to setpublic java.lang.Long getId()
getId in interface VersionRootpublic void setId(long id)
setId in interface VersionRootid - the id to setpublic AVMStore getAvmStore()
getAvmStore in interface VersionRootpublic void setAvmStore(AVMStore store)
setAvmStore in interface VersionRootstore - the store to setpublic DirectoryNode getRoot()
getRoot in interface VersionRootpublic void setRoot(DirectoryNode root)
setRoot in interface VersionRootroot - the root to setpublic void setVersionID(int versionID)
setVersionID in interface VersionRootversionID - public int getVersionID()
getVersionID in interface VersionRootpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getTag()
getTag in interface VersionRootpublic void setTag(java.lang.String tag)
setTag in interface VersionRoottag - The short description.public java.lang.String getDescription()
getDescription in interface VersionRootpublic void setDescription(java.lang.String description)
setDescription in interface VersionRootdescription - The thick discription.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.