org.npsnet.xrti.proxies
Class HLAalternative

java.lang.Object
  extended byorg.npsnet.xrti.proxies.HLAalternative
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class HLAalternative
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Variant record type alternative.

Author:
org.npsnet.xrti.utilities.ProxyCompiler
See Also:
Serialized Form

Constructor Summary
HLAalternative()
          Default constructor.
HLAalternative(HLAalternative other)
          Copy constructor.
HLAalternative(java.lang.String pEnumerator, java.lang.String pName, java.lang.String pDataType, java.lang.String pSemantics)
          Constructor.
 
Method Summary
static HLAalternative decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAalternative from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAalternative to the specified stream.
 java.lang.String getDataType()
          Returns the value of the dataType field.
 java.lang.String getEnumerator()
          Returns the value of the enumerator field.
 java.lang.String getName()
          Returns the value of the name field.
 java.lang.String getSemantics()
          Returns the value of the semantics field.
 void setDataType(java.lang.String pDataType)
          Sets the value of the dataType field.
 void setEnumerator(java.lang.String pEnumerator)
          Sets the value of the enumerator field.
 void setName(java.lang.String pName)
          Sets the value of the name field.
 void setSemantics(java.lang.String pSemantics)
          Sets the value of the semantics field.
 java.lang.String toString()
          Returns a string representation of this HLAalternative.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HLAalternative

public HLAalternative()
Default constructor.


HLAalternative

public HLAalternative(java.lang.String pEnumerator,
                      java.lang.String pName,
                      java.lang.String pDataType,
                      java.lang.String pSemantics)
Constructor.

Parameters:
pEnumerator - the value of the enumerator field
pName - the value of the name field
pDataType - the value of the dataType field
pSemantics - the value of the semantics field

HLAalternative

public HLAalternative(HLAalternative other)
Copy constructor.

Parameters:
other - the other HLAalternative to copy
Method Detail

decode

public static HLAalternative decode(HLAEncodingInputStream hlaeis)
                             throws java.io.IOException
Reads and returns a HLAalternative from the specified stream.

Parameters:
hlaeis - the input stream to read from
Returns:
the decoded value
Throws:
java.io.IOException - if an error occurs

encode

public void encode(HLAEncodingOutputStream hlaeos)
            throws java.io.IOException
Writes this HLAalternative to the specified stream.

Parameters:
hlaeos - the output stream to write to
Throws:
java.io.IOException - if an error occurs

toString

public java.lang.String toString()
Returns a string representation of this HLAalternative.

Returns:
a string representation of this HLAalternative

setEnumerator

public void setEnumerator(java.lang.String pEnumerator)
Sets the value of the enumerator field.

Parameters:
pEnumerator - the new value for the field

getEnumerator

public java.lang.String getEnumerator()
Returns the value of the enumerator field.

Returns:
the value of the enumerator field

setName

public void setName(java.lang.String pName)
Sets the value of the name field.

Parameters:
pName - the new value for the field

getName

public java.lang.String getName()
Returns the value of the name field.

Returns:
the value of the name field

setDataType

public void setDataType(java.lang.String pDataType)
Sets the value of the dataType field.

Parameters:
pDataType - the new value for the field

getDataType

public java.lang.String getDataType()
Returns the value of the dataType field.

Returns:
the value of the dataType field

setSemantics

public void setSemantics(java.lang.String pSemantics)
Sets the value of the semantics field.

Parameters:
pSemantics - the new value for the field

getSemantics

public java.lang.String getSemantics()
Returns the value of the semantics field.

Returns:
the value of the semantics field