org.alfresco.repo.avm
Class MergeLinkImpl

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

public class MergeLinkImpl
extends java.lang.Object
implements MergeLink, java.io.Serializable

This contains a single merged from-to relationship.

See Also:
Serialized Form

Constructor Summary
MergeLinkImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Override of equals.
 AVMNode getMfrom()
          Get the from part.
 AVMNode getMto()
          Get the to part.
 int hashCode()
          Get the hash code.
 void setMfrom(AVMNode from)
          Set the from part.
 void setMto(AVMNode to)
          Set the to part.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeLinkImpl

public MergeLinkImpl()
Method Detail

setMfrom

public void setMfrom(AVMNode from)
Set the from part.

Specified by:
setMfrom in interface MergeLink
Parameters:
from -

getMfrom

public AVMNode getMfrom()
Get the from part.

Specified by:
getMfrom in interface MergeLink
Returns:
The from part.

setMto

public void setMto(AVMNode to)
Set the to part.

Specified by:
setMto in interface MergeLink
Parameters:
to -

getMto

public AVMNode getMto()
Get the to part.

Specified by:
getMto in interface MergeLink
Returns:
The to part.

equals

public boolean equals(java.lang.Object obj)
Override of equals.

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

hashCode

public int hashCode()
Get the hash code.

Overrides:
hashCode in class java.lang.Object
Returns:
The hash code.


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