org.npsnet.xrti.proxies
Class HLAenumerator

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

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

Enumerated type enumerator.

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

Field Summary
private  java.lang.String name
          Enumerator name.
private  java.lang.String values
          Enumerator values.
 
Constructor Summary
HLAenumerator()
          Default constructor.
HLAenumerator(HLAenumerator other)
          Copy constructor.
HLAenumerator(java.lang.String pName, java.lang.String pValues)
          Constructor.
 
Method Summary
static HLAenumerator decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAenumerator from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAenumerator to the specified stream.
 java.lang.String getName()
          Returns the value of the name field.
 java.lang.String getValues()
          Returns the value of the values field.
 void setName(java.lang.String pName)
          Sets the value of the name field.
 void setValues(java.lang.String pValues)
          Sets the value of the values field.
 java.lang.String toString()
          Returns a string representation of this HLAenumerator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Enumerator name.


values

private java.lang.String values
Enumerator values.

Constructor Detail

HLAenumerator

public HLAenumerator()
Default constructor.


HLAenumerator

public HLAenumerator(java.lang.String pName,
                     java.lang.String pValues)
Constructor.

Parameters:
pName - the value of the name field
pValues - the value of the values field

HLAenumerator

public HLAenumerator(HLAenumerator other)
Copy constructor.

Parameters:
other - the other HLAenumerator to copy
Method Detail

decode

public static HLAenumerator decode(HLAEncodingInputStream hlaeis)
                            throws java.io.IOException
Reads and returns a HLAenumerator 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 HLAenumerator 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 HLAenumerator.

Returns:
a string representation of this HLAenumerator

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

setValues

public void setValues(java.lang.String pValues)
Sets the value of the values field.

Parameters:
pValues - the new value for the field

getValues

public java.lang.String getValues()
Returns the value of the values field.

Returns:
the value of the values field