org.alfresco.repo.avm
Class VersionLayeredNodeEntryImpl

java.lang.Object
  extended by org.alfresco.repo.avm.VersionLayeredNodeEntryImpl
All Implemented Interfaces:
java.io.Serializable, VersionLayeredNodeEntry

public class VersionLayeredNodeEntryImpl
extends java.lang.Object
implements VersionLayeredNodeEntry, java.io.Serializable

Implementation of entry for tracking layered nodes which were snapshotted in a particular Version.

See Also:
Serialized Form

Constructor Summary
VersionLayeredNodeEntryImpl()
           
VersionLayeredNodeEntryImpl(VersionRoot version, java.lang.String path)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getMd5Sum()
          Get the MD5 sum of the path.
 java.lang.String getPath()
          Get the path to this entries Layered Node.
 VersionRoot getVersion()
          Get the VersionRoot for this entry.
 int hashCode()
           
 void setMd5Sum(java.lang.String sum)
           
 void setPath(java.lang.String path)
           
 void setVersion(VersionRoot version)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionLayeredNodeEntryImpl

public VersionLayeredNodeEntryImpl()

VersionLayeredNodeEntryImpl

public VersionLayeredNodeEntryImpl(VersionRoot version,
                                   java.lang.String path)
Method Detail

setPath

public void setPath(java.lang.String path)

getPath

public java.lang.String getPath()
Description copied from interface: VersionLayeredNodeEntry
Get the path to this entries Layered Node. This is a store relative path.

Specified by:
getPath in interface VersionLayeredNodeEntry
Returns:
The path.

setVersion

public void setVersion(VersionRoot version)

getVersion

public VersionRoot getVersion()
Description copied from interface: VersionLayeredNodeEntry
Get the VersionRoot for this entry.

Specified by:
getVersion in interface VersionLayeredNodeEntry
Returns:
The VersionRoot for this entry.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMd5Sum

public java.lang.String getMd5Sum()
Description copied from interface: VersionLayeredNodeEntry
Get the MD5 sum of the path.

Specified by:
getMd5Sum in interface VersionLayeredNodeEntry
Returns:

setMd5Sum

public void setMd5Sum(java.lang.String sum)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.