com.hp.opencall.isup.common
Class ParmValue

java.lang.Object
  extended bycom.hp.opencall.isup.common.ParmValue
All Implemented Interfaces:
Cloneable, Serializable

public class ParmValue
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Constructor Summary
ParmValue()
          constructor
ParmValue(byte[] value)
          constructor
ParmValue(String aString, long along)
          Deprecated.  
 
Method Summary
 void assign(byte[] value)
           
 ParmValue assign(String s, long l)
          Deprecated.  
 byte[] bytesValue()
           
 Object clone()
          Clone ParmValue object
static byte[] toByteArray(String value, long l)
          Copy a string like "x55x54x01x55" to a byte[] with {0x55,0x54,0x01,0x55} Methods provided for backward compatibility
 String toString()
          return the hexadecimal value in a String format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParmValue

public ParmValue()
constructor


ParmValue

public ParmValue(byte[] value)
constructor

Parameters:
value - an array of byte

ParmValue

public ParmValue(String aString,
                 long along)
Deprecated.  

constructor

Method Detail

clone

public Object clone()
Clone ParmValue object

Returns:
Object cloned

toString

public String toString()
return the hexadecimal value in a String format

Returns:
String

bytesValue

public byte[] bytesValue()
Returns:
byte[]

assign

public ParmValue assign(String s,
                        long l)
Deprecated.  

Returns:
ParmValue

assign

public void assign(byte[] value)

toByteArray

public static byte[] toByteArray(String value,
                                 long l)
Copy a string like "x55x54x01x55" to a byte[] with {0x55,0x54,0x01,0x55} Methods provided for backward compatibility

Parameters:
value -
l -
Returns:
Bytebuffer