relations
Class OrienRel8Relation

java.lang.Object
  extended by relations.OrienRel8Relation
All Implemented Interfaces:
RelationValue

public class OrienRel8Relation
extends java.lang.Object
implements RelationValue

Class for determining the orientation between two ojbjects. TODO: This class needs a method for determining the orientation of the first object.


Constructor Summary
OrienRel8Relation()
           
 
Method Summary
 java.lang.String getValue(java.lang.String relationType, OntologyObject object1, OntologyObject object2)
          Gets the orientation between two objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrienRel8Relation

public OrienRel8Relation()
Method Detail

getValue

public java.lang.String getValue(java.lang.String relationType,
                                 OntologyObject object1,
                                 OntologyObject object2)
Gets the orientation between two objects. The direction is calculated from the cneter points of the objects. Note: objects do not currently have orientations defined.

Specified by:
getValue in interface RelationValue
Parameters:
relationType - - the class name of the relation
object1 - - the first related object
object2 - - the second related object
Returns:
- the value of the relation