org.alfresco.repo.avm
Class HistoryLinkImpl

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

public class HistoryLinkImpl
extends java.lang.Object
implements HistoryLink, java.io.Serializable

Holds a ancestor-descendent relationship.

See Also:
Serialized Form

Constructor Summary
HistoryLinkImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equals override.
 AVMNode getAncestor()
          Get the ancestor part of this.
 AVMNode getDescendent()
          Get the descendent part of this.
 int hashCode()
          Get the hashcode.
 void setAncestor(AVMNode ancestor)
          Set the ancestor part of this.
 void setDescendent(AVMNode descendent)
          Set the descendent part of this.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryLinkImpl

public HistoryLinkImpl()
Method Detail

setAncestor

public void setAncestor(AVMNode ancestor)
Set the ancestor part of this.

Specified by:
setAncestor in interface HistoryLink
Parameters:
ancestor -

getAncestor

public AVMNode getAncestor()
Get the ancestor part of this.

Specified by:
getAncestor in interface HistoryLink
Returns:
The ancestor.

setDescendent

public void setDescendent(AVMNode descendent)
Set the descendent part of this.

Specified by:
setDescendent in interface HistoryLink
Parameters:
descendent -

getDescendent

public AVMNode getDescendent()
Get the descendent part of this.

Specified by:
getDescendent in interface HistoryLink
Returns:
The descendent.

equals

public boolean equals(java.lang.Object obj)
Equals override.

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
Equality.

hashCode

public int hashCode()
Get the hashcode.

Overrides:
hashCode in class java.lang.Object
Returns:
The hashcode.


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