|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.InteractionClassDescriptor
Describes an interaction class.
| Constructor Summary | |
InteractionClassDescriptor(DescriptorManager pDescriptorManager,
java.lang.String pName,
InteractionClassHandle pHandle,
HLAinteractionClass pProxy)
Constructor. |
|
InteractionClassDescriptor(java.lang.String pName,
InteractionClassHandle pHandle,
java.util.Collection pParentDescriptors,
DimensionHandleSet pDimensions,
TransportationType pTransportation,
OrderType pOrder)
Constructor. |
|
| Method Summary | |
void |
addParameterDescriptor(ParameterDescriptor pd)
Adds a parameter descriptor. |
void |
dimensionsUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the dimensions attribute has been updated. |
DimensionHandleSet |
getDimensions()
Returns the dimensions associated with this interaction class. |
InteractionClassHandle |
getHandle()
Returns the handle of this interaction class. |
java.lang.String |
getName()
Returns the name of this interaction class. |
OrderType |
getOrder()
Returns the order type of this interaction class. |
ParameterDescriptor |
getParameterDescriptor(ParameterHandle handle)
Returns the descriptor for the parameter with the given handle. |
ParameterDescriptor |
getParameterDescriptor(java.lang.String name)
Returns the descriptor for the parameter with the given name. |
java.util.Collection |
getParameterDescriptors()
Returns an immutable collection containing the descriptors of all known parameters. |
java.util.Collection |
getParentDescriptors()
Returns the descriptors of this interaction class's parents. |
TransportationType |
getTransportation()
Returns the transportation type of this interaction class. |
protected void |
interactionClassAdded(InteractionClassDescriptor icd)
Notifies this object that an interaction class of interest has been added to the descriptor manager. |
boolean |
isPublished()
Checks whether or not this interaction class is published. |
boolean |
isSubscribed()
Checks whether or not this interaction class is subscribed. |
void |
orderUpdated(HLAinteractionClass source,
HLAorderType oldValue,
HLAorderType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the order attribute has been updated. |
protected void |
parameterAdded(ParameterDescriptor pd)
Notifies this object that a parameter of interest has been added to the descriptor manager. |
void |
parametersUpdated(HLAinteractionClass source,
long[] oldValue,
long[] newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the parameters attribute has been updated. |
void |
parentsUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the parents attribute has been updated. |
void |
removeParameterDescriptor(ParameterDescriptor pd)
Removes a parameter descriptor. |
void |
semanticsUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the semantics attribute has been updated. |
void |
setOrder(OrderType pOrder)
Sets the order type of this interaction class. |
void |
setPublished(boolean pPublished)
Sets whether or not this interaction class is published. |
void |
setSubscribed(boolean pSubscribed)
Sets whether or not this interaction class is subscribed. |
void |
setTransportation(TransportationType pTransportation)
Sets the transportation type of this interaction class. |
void |
sharingUpdated(HLAinteractionClass source,
HLAsharingType oldValue,
HLAsharingType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the sharing attribute has been updated. |
void |
transportationUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the transportation attribute has been updated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InteractionClassDescriptor(java.lang.String pName,
InteractionClassHandle pHandle,
java.util.Collection pParentDescriptors,
DimensionHandleSet pDimensions,
TransportationType pTransportation,
OrderType pOrder)
pName - the name of the interaction classpHandle - the handle of the interaction classpParentDescriptors - the descriptors of the interaction class's parentspDimensions - the dimensions associated with the interaction classpTransportation - the transportation type of the interaction classpOrder - the order type of the interaction class
public InteractionClassDescriptor(DescriptorManager pDescriptorManager,
java.lang.String pName,
InteractionClassHandle pHandle,
HLAinteractionClass pProxy)
pDescriptorManager - pName - the name of the interaction classpHandle - the handle of the interaction classpProxy - the proxy corresponding to a remote object| Method Detail |
protected void interactionClassAdded(InteractionClassDescriptor icd)
icd - the interaction class descriptorprotected void parameterAdded(ParameterDescriptor pd)
pd - the parameter descriptorpublic java.lang.String getName()
public InteractionClassHandle getHandle()
public java.util.Collection getParentDescriptors()
public DimensionHandleSet getDimensions()
public void setTransportation(TransportationType pTransportation)
pTransportation - the new transportation type for this interaction classpublic TransportationType getTransportation()
public void setOrder(OrderType pOrder)
pOrder - the new order type for this interaction classpublic OrderType getOrder()
public void setPublished(boolean pPublished)
pPublished - whether or not this interaction class is publishedpublic boolean isPublished()
public void setSubscribed(boolean pSubscribed)
public boolean isSubscribed()
public void addParameterDescriptor(ParameterDescriptor pd)
pd - the parameter descriptor to addpublic void removeParameterDescriptor(ParameterDescriptor pd)
pd - the parameter descriptor to removepublic ParameterDescriptor getParameterDescriptor(java.lang.String name)
name - the name of the parameter
null if no such
descriptor existspublic ParameterDescriptor getParameterDescriptor(ParameterHandle handle)
handle - the handle of the parameter
null if no such
descriptor existspublic java.util.Collection getParameterDescriptors()
ParameterDescriptor.
public void parentsUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
parentsUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
public void sharingUpdated(HLAinteractionClass source,
HLAsharingType oldValue,
HLAsharingType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
sharingUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
public void dimensionsUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
dimensionsUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
public void transportationUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
transportationUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
public void orderUpdated(HLAinteractionClass source,
HLAorderType oldValue,
HLAorderType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
orderUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
public void parametersUpdated(HLAinteractionClass source,
long[] oldValue,
long[] newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
parametersUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
public void semanticsUpdated(HLAinteractionClass source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
semanticsUpdated in interface HLAinteractionClassListenersource - the source of the notificationoldValue - the old value of the attributenewValue - the new value of the attributeuserSuppliedTag - the user-supplied tag associated with the updatesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||