org.eclipse.ohf.stem.internal.data
Class RelativePhysicalData

java.lang.Object
  extended by org.eclipse.ohf.stem.internal.data.DataSetRecord.DataSetData
      extended by org.eclipse.ohf.stem.internal.data.GraphRecord.GraphData
          extended by org.eclipse.ohf.stem.internal.data.RelationshipGraphData
              extended by org.eclipse.ohf.stem.internal.data.RelativePhysicalData

public class RelativePhysicalData
extends RelationshipGraphData

This class represents data extracted from a properties file with data about a a relative physical relationship between two Nodes.


Constructor Summary
RelativePhysicalData(java.lang.String propertyKey, java.lang.String propertyValue)
           
 
Method Summary
 RelativePhysicalRelationship getRelativePhysicalRelationship()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.RelationshipGraphData
getKeyA, getKeyB, isDirected
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelativePhysicalData

public RelativePhysicalData(java.lang.String propertyKey,
                            java.lang.String propertyValue)
                     throws java.text.ParseException
Parameters:
propertyKey - the key of the property (typically a number e.g., "1")
propertyValue - a string read from a relationship properties file.
Throws:
java.text.ParseException - if there is a problem with parsing the data.
Method Detail

getRelativePhysicalRelationship

public final RelativePhysicalRelationship getRelativePhysicalRelationship()
Returns:
the relativePhysicalRelationship

toString

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