|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodel.OntologyObject
model.SpatialRelation
public class SpatialRelation
A spatial representation represents a relation between two physical objects.
Field Summary | |
---|---|
private OntologyObject |
object1
the first related object |
private OntologyObject |
object2
the second related object |
Constructor Summary | |
---|---|
SpatialRelation(long ID,
java.util.ArrayList<java.lang.String> hierarchy,
java.util.HashSet<Attribute> attributes)
Constructs an spatial relation. |
Method Summary | |
---|---|
OntologyObject |
getObject1()
Gets the first related object. |
OntologyObject |
getObject2()
Gets the second related object. |
void |
setObject1(OntologyObject object)
Sets the first related object. |
void |
setObject2(OntologyObject object)
Sets the second related object. |
Methods inherited from class model.OntologyObject |
---|
getAttribute, getAttributes, getAttributeValue, getDepth, getGraphics, getHistory, getID, getType, instanceOf, isMoveable, setAttribute, setAttributes, setGraphics, setHierarchy, setHistory, setSelected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private OntologyObject object1
private OntologyObject object2
Constructor Detail |
---|
public SpatialRelation(long ID, java.util.ArrayList<java.lang.String> hierarchy, java.util.HashSet<Attribute> attributes)
ID
- - a unique identifierhierarchy
- - the inheritance hierarchy of the objectattributes
- - the object propertiesMethod Detail |
---|
public void setObject1(OntologyObject object)
public OntologyObject getObject1()
public void setObject2(OntologyObject object)
public OntologyObject getObject2()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |