|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tivoli.mts.PDAttrValue
Represents the value of a Policy Director attribute. A value may be either a String or a byte array.
Constructor Summary | |
PDAttrValue(byte[] bytes)
Construct a PDAttrValue from a clone of the input byte array |
|
PDAttrValue(java.lang.Long ulong)
Construct a PDAttrValue from an unsigned long |
|
PDAttrValue(java.lang.String string)
Construct a PDAttrValue from a String |
Method Summary | |
java.lang.Object |
clone()
Return a clone of the object. |
boolean |
equals(java.lang.Object iobj)
Indicates whether some other Object is equal to this one. |
int |
getType()
Returns the AZN type of the current object |
java.lang.Object |
getValue()
Returns the value of the current object, which can then be examined to see what it is. |
int |
hashCode()
Returns a hashcode for the current object. |
java.lang.String |
toString()
Return a string version of this object. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PDAttrValue(java.lang.String string) throws java.lang.NullPointerException
string
- the input Stringjava.lang.NullPointerException
- if no String is passed inpublic PDAttrValue(byte[] bytes) throws java.lang.NullPointerException
bytes
- the input byte arrayjava.lang.NullPointerException
- if no byte array is passed inpublic PDAttrValue(java.lang.Long ulong) throws java.lang.NullPointerException
ulong
- the input Longjava.lang.NullPointerException
- if no Long is passed inMethod Detail |
public boolean equals(java.lang.Object iobj)
equals
in class java.lang.Object
obj
- the object to be compared to this onetrue
if the PDAttrValue are identical,
false
otherwise.public java.lang.Object getValue()
public int getType()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |