ist.palcom.hgraph
Class ChildSiblingReference

java.lang.Object
  extended by ist.palcom.hgraph.ChildSiblingReference

public class ChildSiblingReference
extends java.lang.Object

ChildSiblingReferences act for a parent node as a mapping between refering and refered child nodes. This is necessary so as to maintain the sibling references, which is partly done by the parent


Constructor Summary
ChildSiblingReference(java.lang.String referer, java.lang.String referee)
          Creates a Child SiblingReference with the global name og the referer and the referee
 
Method Summary
 java.lang.String getReferee()
           
 java.lang.String getReferer()
           
 void setReferee(java.lang.String referee)
          Sets the global name of the referee
 void setReferer(java.lang.String referer)
          Sets the global name of the referer
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildSiblingReference

public ChildSiblingReference(java.lang.String referer,
                             java.lang.String referee)
Creates a Child SiblingReference with the global name og the referer and the referee

Parameters:
referer - the global name of the referrer
referee - the global name of the referee
Method Detail

getReferer

public java.lang.String getReferer()
Returns:
The global name of the referer

getReferee

public java.lang.String getReferee()
Returns:
The global name of the referee

setReferer

public void setReferer(java.lang.String referer)
Sets the global name of the referer

Parameters:
referer -

setReferee

public void setReferee(java.lang.String referee)
Sets the global name of the referee

Parameters:
referee -

toXML

public java.lang.String toXML()
Returns:
an hgraphXML version of the ChildSiblingReference