Package org.xj3d.sai.external.node.dis
Class SAIDISEntityManager
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.dis.SAIDISEntityManager
- All Implemented Interfaces:
DISEntityManager
,X3DChildNode
,X3DNode
A concrete implementation of the DISEntityManager node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIDISEntityManager
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getAddedEntities
(X3DNode[] val) Return the addedEntities value in the argument X3DNode[]Return the address String value.int
Return the applicationID int value.void
getMapping
(X3DNode[] val) Return the mapping value in the argument X3DNode[]int
Return the number of MFNode items in the addedEntities field.int
Return the number of MFNode items in the mapping field.int
Return the number of MFNode items in the removedEntities field.int
getPort()
Return the port int value.void
getRemovedEntities
(X3DNode[] val) Return the removedEntities value in the argument X3DNode[]int
Return the siteID int value.void
setAddress
(String val) Set the address field.void
setApplicationID
(int val) Set the applicationID field.void
setMapping
(X3DNode[] val) Set the mapping field.void
setPort
(int val) Set the port field.void
setSiteID
(int val) Set the siteID field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIDISEntityManager
public SAIDISEntityManager(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node
-nodeFactory
-fieldFactory
-queue
-
-
-
Method Details
-
getSiteID
public int getSiteID()Return the siteID int value.- Specified by:
getSiteID
in interfaceDISEntityManager
- Returns:
- The siteID int value.
-
setSiteID
public void setSiteID(int val) Set the siteID field.- Specified by:
setSiteID
in interfaceDISEntityManager
- Parameters:
val
- The int to set.
-
getApplicationID
public int getApplicationID()Return the applicationID int value.- Specified by:
getApplicationID
in interfaceDISEntityManager
- Returns:
- The applicationID int value.
-
setApplicationID
public void setApplicationID(int val) Set the applicationID field.- Specified by:
setApplicationID
in interfaceDISEntityManager
- Parameters:
val
- The int to set.
-
getAddress
Return the address String value.- Specified by:
getAddress
in interfaceDISEntityManager
- Returns:
- The address String value.
-
setAddress
Set the address field.- Specified by:
setAddress
in interfaceDISEntityManager
- Parameters:
val
- The String to set.
-
getPort
public int getPort()Return the port int value.- Specified by:
getPort
in interfaceDISEntityManager
- Returns:
- The port int value.
-
setPort
public void setPort(int val) Set the port field.- Specified by:
setPort
in interfaceDISEntityManager
- Parameters:
val
- The int to set.
-
getNumAddedEntities
public int getNumAddedEntities()Return the number of MFNode items in the addedEntities field.- Specified by:
getNumAddedEntities
in interfaceDISEntityManager
- Returns:
- the number of MFNode items in the addedEntities field.
-
getAddedEntities
Return the addedEntities value in the argument X3DNode[]- Specified by:
getAddedEntities
in interfaceDISEntityManager
- Parameters:
val
- The X3DNode[] to initialize.
-
getNumRemovedEntities
public int getNumRemovedEntities()Return the number of MFNode items in the removedEntities field.- Specified by:
getNumRemovedEntities
in interfaceDISEntityManager
- Returns:
- the number of MFNode items in the removedEntities field.
-
getRemovedEntities
Return the removedEntities value in the argument X3DNode[]- Specified by:
getRemovedEntities
in interfaceDISEntityManager
- Parameters:
val
- The X3DNode[] to initialize.
-
getNumMapping
public int getNumMapping()Return the number of MFNode items in the mapping field.- Specified by:
getNumMapping
in interfaceDISEntityManager
- Returns:
- the number of MFNode items in the mapping field.
-
getMapping
Return the mapping value in the argument X3DNode[]- Specified by:
getMapping
in interfaceDISEntityManager
- Parameters:
val
- The X3DNode[] to initialize.
-
setMapping
Set the mapping field.- Specified by:
setMapping
in interfaceDISEntityManager
- Parameters:
val
- The X3DNode[] to set.
-