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

Field Summary
private  ObjectClassHandle classHandle
          The handle of the object instance class.
private  ObjectInstanceHandle handle
          The handle of the object instance.
private  java.lang.String name
          The name of the object instance.
private  AttributeHandleSet ownedAttributes
          The handles of the attributes owned by the federate.
 
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
 

Field Detail

name

private java.lang.String name
The name of the object instance.


handle

private ObjectInstanceHandle handle
The handle of the object instance.


classHandle

private ObjectClassHandle classHandle
The handle of the object instance class.


ownedAttributes

private AttributeHandleSet ownedAttributes
The handles of the attributes owned by the federate.

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