org.npsnet.xrti.proxies
Class HLAupdateType

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

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

Update type to be used for sending attributes.

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

Field Summary
static HLAupdateType Conditional
          Enumerator #2.
static HLAupdateType NA
          Enumerator #3.
static HLAupdateType Periodic
          Enumerator #1.
static HLAupdateType Static
          Enumerator #0.
private  int value
          The value of the instance.
 
Constructor Summary
  HLAupdateType()
          Default constructor (Static).
  HLAupdateType(HLAupdateType other)
          Copy constructor.
private HLAupdateType(int pValue)
          Private constructor.
 
Method Summary
static HLAupdateType decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAupdateType from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAupdateType to the specified stream.
 boolean equals(java.lang.Object other)
          Compares this HLAupdateType for equality with another.
 int hashCode()
          Computes and returns a hash code corresponding to this HLAupdateType.
 java.lang.String toString()
          Returns a string representation of this HLAupdateType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Static

public static final HLAupdateType Static
Enumerator #0.


Periodic

public static final HLAupdateType Periodic
Enumerator #1.


Conditional

public static final HLAupdateType Conditional
Enumerator #2.


NA

public static final HLAupdateType NA
Enumerator #3.


value

private int value
The value of the instance.

Constructor Detail

HLAupdateType

public HLAupdateType()
Default constructor (Static).


HLAupdateType

public HLAupdateType(HLAupdateType other)
Copy constructor.

Parameters:
other - the other HLAupdateType to copy

HLAupdateType

private HLAupdateType(int pValue)
Private constructor.

Parameters:
pValue - the instance value
Method Detail

decode

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

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

equals

public boolean equals(java.lang.Object other)
Compares this HLAupdateType for equality with another.

Parameters:
other - the other HLAupdateType
Returns:
true if the two enumerated types are equal, false otherwise

hashCode

public int hashCode()
Computes and returns a hash code corresponding to this HLAupdateType.

Returns:
a hash code corresponding to this HLAupdateType

encode

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

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

toString

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

Returns:
a string representation of this HLAupdateType