com.softwareag.ino.sxs
Class ByteArrayRef

java.lang.Object
  extended by com.softwareag.ino.sxs.ByteArrayRef

public class ByteArrayRef
extends java.lang.Object

Auxiliary class to represent references to byte arrays. It is used for byte arrays as output parameters.


Constructor Summary
ByteArrayRef()
          Default constructor initializes the ByteArrayRef with null.
ByteArrayRef(byte[] initVal)
          Constructor to initialize the ByteArrayRef with the given value.
 
Method Summary
 byte[] getVal()
          Gets the current value of the ByteArrayRef.
 void setVal(byte[] newVal)
          Sets the value of the ByteArrayRef to a given value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayRef

public ByteArrayRef()
Default constructor initializes the ByteArrayRef with null.


ByteArrayRef

public ByteArrayRef(byte[] initVal)
Constructor to initialize the ByteArrayRef with the given value.

Parameters:
initVal - the initial value
Method Detail

getVal

public byte[] getVal()
Gets the current value of the ByteArrayRef.

Returns:
the current value

setVal

public void setVal(byte[] newVal)
Sets the value of the ByteArrayRef to a given value.

Parameters:
newVal - the new value