kaos.spatial
Class SpatialObject

java.lang.Object
  extended by kaos.spatial.SpatialObject
All Implemented Interfaces:
java.io.Serializable

public class SpatialObject
extends java.lang.Object
implements java.io.Serializable

This class represents spatial object.

See Also:
Serialized Form

Constructor Summary
SpatialObject(java.lang.String id, java.util.Set types, Location3D location, Orientation3D orientation, Block3D space)
           
 
Method Summary
 java.lang.String getMyId()
           
 Location3D getMyLocation()
           
 Block3D getMyOccupiedSpace()
           
 java.util.Set getMyOntologyTypes()
           
 Orientation3D getMyOrientation()
           
 void setMyLocation(Location3D myLocation)
           
 void setMyOccupiedSpace(Block3D myOccupiedSpace)
           
 void setMyOntologyTypes(java.util.Set myOntologyTypes)
           
 void setMyOrientation(Orientation3D myOrientation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialObject

public SpatialObject(java.lang.String id,
                     java.util.Set types,
                     Location3D location,
                     Orientation3D orientation,
                     Block3D space)
Parameters:
id -
types -
location -
orientation -
space -
Method Detail

getMyLocation

public Location3D getMyLocation()
Returns:
Returns the myLocation.

setMyLocation

public void setMyLocation(Location3D myLocation)
Parameters:
myLocation - The myLocation to set.

getMyOccupiedSpace

public Block3D getMyOccupiedSpace()
Returns:
Returns the myOccupiedSpace.

setMyOccupiedSpace

public void setMyOccupiedSpace(Block3D myOccupiedSpace)
Parameters:
myOccupiedSpace - The myOccupiedSpace to set.

getMyOntologyTypes

public java.util.Set getMyOntologyTypes()
Returns:
Returns the myOntologyTypes.

setMyOntologyTypes

public void setMyOntologyTypes(java.util.Set myOntologyTypes)
Parameters:
myOntologyTypes - The myOntologyTypes to set.

getMyOrientation

public Orientation3D getMyOrientation()
Returns:
Returns the myOrientation.

setMyOrientation

public void setMyOrientation(Orientation3D myOrientation)
Parameters:
myOrientation - The myOrientation to set.

getMyId

public java.lang.String getMyId()
Returns:
Returns the myId.