org.npsnet.xrti.proxies
Class HLAinteractionCount

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

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

Count of interactions of a class.

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

Field Summary
private  byte[] HLAinteractionClass
          Encoded interaction class handle.
private  int HLAinteractionCount
          Number of interactions.
 
Constructor Summary
HLAinteractionCount()
          Default constructor.
HLAinteractionCount(byte[] pHLAinteractionClass, int pHLAinteractionCount)
          Constructor.
HLAinteractionCount(HLAinteractionCount other)
          Copy constructor.
 
Method Summary
static HLAinteractionCount decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAinteractionCount from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAinteractionCount to the specified stream.
 byte[] getHLAinteractionClass()
          Returns the value of the HLAinteractionClass field.
 int getHLAinteractionCount()
          Returns the value of the HLAinteractionCount field.
 void setHLAinteractionClass(byte[] pHLAinteractionClass)
          Sets the value of the HLAinteractionClass field.
 void setHLAinteractionCount(int pHLAinteractionCount)
          Sets the value of the HLAinteractionCount field.
 java.lang.String toString()
          Returns a string representation of this HLAinteractionCount.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HLAinteractionClass

private byte[] HLAinteractionClass
Encoded interaction class handle.


HLAinteractionCount

private int HLAinteractionCount
Number of interactions.

Constructor Detail

HLAinteractionCount

public HLAinteractionCount()
Default constructor.


HLAinteractionCount

public HLAinteractionCount(byte[] pHLAinteractionClass,
                           int pHLAinteractionCount)
Constructor.

Parameters:
pHLAinteractionClass - the value of the HLAinteractionClass field
pHLAinteractionCount - the value of the HLAinteractionCount field

HLAinteractionCount

public HLAinteractionCount(HLAinteractionCount other)
Copy constructor.

Parameters:
other - the other HLAinteractionCount to copy
Method Detail

decode

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

Returns:
a string representation of this HLAinteractionCount

setHLAinteractionClass

public void setHLAinteractionClass(byte[] pHLAinteractionClass)
Sets the value of the HLAinteractionClass field.

Parameters:
pHLAinteractionClass - the new value for the field

getHLAinteractionClass

public byte[] getHLAinteractionClass()
Returns the value of the HLAinteractionClass field.

Returns:
the value of the HLAinteractionClass field

setHLAinteractionCount

public void setHLAinteractionCount(int pHLAinteractionCount)
Sets the value of the HLAinteractionCount field.

Parameters:
pHLAinteractionCount - the new value for the field

getHLAinteractionCount

public int getHLAinteractionCount()
Returns the value of the HLAinteractionCount field.

Returns:
the value of the HLAinteractionCount field