|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.AttributeDescriptor
Describes an attribute.
| Field Summary | |
private DescriptorManager |
descriptorManager
The descriptor manager responsible for this descriptor. |
private DimensionHandleSet |
dimensions
The dimensions associated with this attribute. |
private AttributeHandle |
handle
The handle of this attribute. |
private java.lang.String |
name
The name of the attribute. |
private OrderType |
order
The order type of this attribute. |
private HLAattribute |
proxy
The proxy that represents a corresponding remote object. |
private boolean |
published
Whether or not this attribute is published. |
private boolean |
subscribed
Whether or not this attribute is subscribed. |
private TransportationType |
transportation
The transportation type of this attribute. |
| Constructor Summary | |
AttributeDescriptor(DescriptorManager pDescriptorManager,
java.lang.String pName,
AttributeHandle pHandle,
HLAattribute pProxy)
Constructor. |
|
AttributeDescriptor(java.lang.String pName,
AttributeHandle pHandle,
DimensionHandleSet pDimensions,
TransportationType pTransportation,
OrderType pOrder)
Constructor. |
|
| Method Summary | |
void |
dataTypeUpdated(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the dataType attribute has been updated. |
void |
dimensionsUpdated(HLAattribute 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 attribute. |
AttributeHandle |
getHandle()
Returns the handle of this attribute. |
java.lang.String |
getName()
Returns the name of this attribute. |
OrderType |
getOrder()
Returns the order type of this attribute. |
TransportationType |
getTransportation()
Returns the transportation type of this attribute. |
boolean |
isPublished()
Checks whether or not this attribute is published. |
boolean |
isSubscribed()
Checks whether or not this attribute is subscribed. |
void |
orderUpdated(HLAattribute source,
HLAorderType oldValue,
HLAorderType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the order attribute has been updated. |
void |
ownershipUpdated(HLAattribute source,
HLAownershipType oldValue,
HLAownershipType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the ownership attribute has been updated. |
void |
semanticsUpdated(HLAattribute 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 attribute. |
void |
setPublished(boolean pPublished)
Sets whether or not this attribute is published. |
void |
setSubscribed(boolean pSubscribed)
Sets whether or not this attribute is subscribed. |
void |
setTransportation(TransportationType pTransportation)
Sets the transportation type of this attribute. |
void |
sharingUpdated(HLAattribute source,
HLAsharingType oldValue,
HLAsharingType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the sharing attribute has been updated. |
void |
transportationUpdated(HLAattribute 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. |
void |
updateConditionUpdated(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the updateCondition attribute has been updated. |
void |
updateTypeUpdated(HLAattribute source,
HLAupdateType oldValue,
HLAupdateType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the listener that the updateType attribute has been updated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private DescriptorManager descriptorManager
private java.lang.String name
private AttributeHandle handle
private HLAattribute proxy
private DimensionHandleSet dimensions
private TransportationType transportation
private OrderType order
private boolean published
private boolean subscribed
| Constructor Detail |
public AttributeDescriptor(java.lang.String pName,
AttributeHandle pHandle,
DimensionHandleSet pDimensions,
TransportationType pTransportation,
OrderType pOrder)
pName - the name of the attributepHandle - the handle of the attributepDimensions - the dimensions associated with the attributepTransportation - the transportation type of the attributepOrder - the order type of the attribute
public AttributeDescriptor(DescriptorManager pDescriptorManager,
java.lang.String pName,
AttributeHandle pHandle,
HLAattribute pProxy)
pDescriptorManager - the descriptor manager responsible for
this descriptorpName - the name of the attributepHandle - the handle of the attributepProxy - the proxy that corresponds to a remote object| Method Detail |
public java.lang.String getName()
public AttributeHandle getHandle()
public DimensionHandleSet getDimensions()
public void setTransportation(TransportationType pTransportation)
pTransportation - the new transportation type for this attributepublic TransportationType getTransportation()
public void setOrder(OrderType pOrder)
pOrder - the new order type for this attributepublic OrderType getOrder()
public void setPublished(boolean pPublished)
pPublished - whether or not this attribute is publishedpublic boolean isPublished()
public void setSubscribed(boolean pSubscribed)
public boolean isSubscribed()
public void dataTypeUpdated(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
dataTypeUpdated in interface HLAattributeListenersource - 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 updateTypeUpdated(HLAattribute source,
HLAupdateType oldValue,
HLAupdateType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
updateTypeUpdated in interface HLAattributeListenersource - 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 updateConditionUpdated(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
updateConditionUpdated in interface HLAattributeListenersource - 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 ownershipUpdated(HLAattribute source,
HLAownershipType oldValue,
HLAownershipType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
ownershipUpdated in interface HLAattributeListenersource - 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(HLAattribute source,
HLAsharingType oldValue,
HLAsharingType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
sharingUpdated in interface HLAattributeListenersource - 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(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
dimensionsUpdated in interface HLAattributeListenersource - 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(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
transportationUpdated in interface HLAattributeListenersource - 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(HLAattribute source,
HLAorderType oldValue,
HLAorderType newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
orderUpdated in interface HLAattributeListenersource - 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(HLAattribute source,
java.lang.String oldValue,
java.lang.String newValue,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
semanticsUpdated in interface HLAattributeListenersource - 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 | |||||||||