org.eclipse.ohf.stem.internal.data
Class RelativePhysicalData
java.lang.Object
org.eclipse.ohf.stem.internal.data.DataSetRecord.DataSetData
org.eclipse.ohf.stem.internal.data.GraphRecord.GraphData
org.eclipse.ohf.stem.internal.data.RelationshipGraphData
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 Node
s.
Constructor Summary |
RelativePhysicalData(java.lang.String propertyKey,
java.lang.String propertyValue)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
getRelativePhysicalRelationship
public final RelativePhysicalRelationship getRelativePhysicalRelationship()
- Returns:
- the relativePhysicalRelationship
toString
public java.lang.String toString()
- Overrides:
toString
in class RelationshipGraphData
- See Also:
Object.toString()