org.npsnet.xrti
Class ObjectInstanceDescriptor

java.lang.Object
  extended byorg.npsnet.xrti.ObjectInstanceDescriptor

public class ObjectInstanceDescriptor
extends java.lang.Object

Describes an object instance.

Author:
Andrzej Kapolka

Constructor Summary
ObjectInstanceDescriptor(java.lang.String pName, ObjectInstanceHandle pHandle, ObjectClassHandle pClassHandle)
          Constructor.
 
Method Summary
 ObjectClassHandle getClassHandle()
          Returns the handle of the object instance class.
 ObjectInstanceHandle getHandle()
          Returns the handle of this object instance.
 java.lang.String getName()
          Returns the name of this object instance.
 AttributeHandleSet getOwnedAttributes()
          Returns the set of attribute handles representing the attributes owned by the federate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInstanceDescriptor

public ObjectInstanceDescriptor(java.lang.String pName,
                                ObjectInstanceHandle pHandle,
                                ObjectClassHandle pClassHandle)
Constructor.

Parameters:
pName - the name of the object instance
pHandle - the handle of the object instance
pClassHandle - the handle of the object instance class
Method Detail

getName

public java.lang.String getName()
Returns the name of this object instance.

Returns:
the name of this object instance

getHandle

public ObjectInstanceHandle getHandle()
Returns the handle of this object instance.

Returns:
the handle of this object instance

getClassHandle

public ObjectClassHandle getClassHandle()
Returns the handle of the object instance class.

Returns:
the handle of the object instance class

getOwnedAttributes

public AttributeHandleSet getOwnedAttributes()
Returns the set of attribute handles representing the attributes owned by the federate.

Returns:
the set of attribute handles representing the attributes owned by the federate