org.npsnet.xrti.proxies
Class HLAfield

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

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

Fixed record type field.

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

Field Summary
private  java.lang.String dataType
          Field data type.
private  java.lang.String name
          Field name.
private  java.lang.String semantics
          Field semantics.
 
Constructor Summary
HLAfield()
          Default constructor.
HLAfield(HLAfield other)
          Copy constructor.
HLAfield(java.lang.String pName, java.lang.String pDataType, java.lang.String pSemantics)
          Constructor.
 
Method Summary
static HLAfield decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAfield from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAfield to the specified stream.
 java.lang.String getDataType()
          Returns the value of the dataType 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 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 HLAfield.
 
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
Field name.


dataType

private java.lang.String dataType
Field data type.


semantics

private java.lang.String semantics
Field semantics.

Constructor Detail

HLAfield

public HLAfield()
Default constructor.


HLAfield

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

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

HLAfield

public HLAfield(HLAfield other)
Copy constructor.

Parameters:
other - the other HLAfield to copy
Method Detail

decode

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

Returns:
a string representation of this HLAfield

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