org.npsnet.xrti.proxies
Class HLAobjectClassBasedCount

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

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

Object class and count of associated items

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

Field Summary
private  int HLAcount
          Number of items.
private  byte[] HLAobjectClass
          Encoded object class handle.
 
Constructor Summary
HLAobjectClassBasedCount()
          Default constructor.
HLAobjectClassBasedCount(byte[] pHLAobjectClass, int pHLAcount)
          Constructor.
HLAobjectClassBasedCount(HLAobjectClassBasedCount other)
          Copy constructor.
 
Method Summary
static HLAobjectClassBasedCount decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAobjectClassBasedCount from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAobjectClassBasedCount to the specified stream.
 int getHLAcount()
          Returns the value of the HLAcount field.
 byte[] getHLAobjectClass()
          Returns the value of the HLAobjectClass field.
 void setHLAcount(int pHLAcount)
          Sets the value of the HLAcount field.
 void setHLAobjectClass(byte[] pHLAobjectClass)
          Sets the value of the HLAobjectClass field.
 java.lang.String toString()
          Returns a string representation of this HLAobjectClassBasedCount.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HLAobjectClass

private byte[] HLAobjectClass
Encoded object class handle.


HLAcount

private int HLAcount
Number of items.

Constructor Detail

HLAobjectClassBasedCount

public HLAobjectClassBasedCount()
Default constructor.


HLAobjectClassBasedCount

public HLAobjectClassBasedCount(byte[] pHLAobjectClass,
                                int pHLAcount)
Constructor.

Parameters:
pHLAobjectClass - the value of the HLAobjectClass field
pHLAcount - the value of the HLAcount field

HLAobjectClassBasedCount

public HLAobjectClassBasedCount(HLAobjectClassBasedCount other)
Copy constructor.

Parameters:
other - the other HLAobjectClassBasedCount to copy
Method Detail

decode

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

Returns:
a string representation of this HLAobjectClassBasedCount

setHLAobjectClass

public void setHLAobjectClass(byte[] pHLAobjectClass)
Sets the value of the HLAobjectClass field.

Parameters:
pHLAobjectClass - the new value for the field

getHLAobjectClass

public byte[] getHLAobjectClass()
Returns the value of the HLAobjectClass field.

Returns:
the value of the HLAobjectClass field

setHLAcount

public void setHLAcount(int pHLAcount)
Sets the value of the HLAcount field.

Parameters:
pHLAcount - the new value for the field

getHLAcount

public int getHLAcount()
Returns the value of the HLAcount field.

Returns:
the value of the HLAcount field