|
||||||||
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.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 obj)
Indicates whether some other Object is equal to this one. |
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(byte[] bytes) throws java.lang.NullPointerException
bytes
- the input byte arraypublic PDAttrValue(java.lang.String string) throws java.lang.NullPointerException
string
- the input StringMethod Detail |
public boolean equals(java.lang.Object obj)
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 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 |