|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jutil.PDEnvironmentObject
com.tivoli.pd.jutil.PDAttrValue
This class represents the value of a Tivoli Access Manager attribute. A value may be a String, a byte array, a Long, or a PDAdmSvcPobj.
Modes: Local,Remote
Constructor Summary | |
---|---|
PDAttrValue(PDBasicContext context,
byte[] bytes)
Constructs a PDAttrValue from a clone of the input byte array. |
|
PDAttrValue(PDBasicContext context,
java.lang.Long ulong)
Constructs a PDAttrValue from an unsigned long object. |
|
PDAttrValue(PDBasicContext context,
PDAdmSvcPobj pobj)
Constructs a PDAttrValue from a clone of the input PDAdmSvcPobj. |
|
PDAttrValue(PDBasicContext context,
java.lang.String string)
Constructs a PDAttrValue from a String. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns 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 type of the current attribute value. |
java.lang.Object |
getValue()
Returns the value of the current attribute, which can then be examined. |
int |
hashCode()
Returns a hashcode for the current object. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class com.tivoli.pd.jutil.PDEnvironmentObject |
---|
getContext, setContext |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PDAttrValue(PDBasicContext context, java.lang.String string) throws PDException
context
- the context that defines values for
logging and tracing. Cannot be null.string
- the input String. Cannot be null.
PDException
- if no String is passed in.
This exception may contain error and message codes defined in the
product Error Message Reference document.public PDAttrValue(PDBasicContext context, byte[] bytes) throws PDException
context
- the context that defines values for
logging and tracing. Cannot be null.bytes
- the input byte array. Cannot be null.
PDException
- if no byte array is passed in.
This exception may contain error and message codes defined in the
product Error Message Reference document.public PDAttrValue(PDBasicContext context, PDAdmSvcPobj pobj) throws PDException
context
- the context that defines values for
logging and tracing. Cannot be null.pobj
- the administration service protected object. Cannot be null.
PDException
- if no PDAdmSvcPobj is passed in.
This exception may contain error and message codes defined in the
product Error Message Reference document.public PDAttrValue(PDBasicContext context, java.lang.Long ulong) throws PDException
context
- the context that defines values for
logging and tracing. Cannot be null.ulong
- the input Long.
PDException
- if no Long is passed in.
This exception may contain error and message codes defined in the
product Error Message Reference document.Method Detail |
public boolean equals(java.lang.Object iobj)
iobj
- the object to be compared to this one.
true
if the PDAttrValues are identical,
false
otherwise.public java.lang.Object getValue()
public int getType()
public int hashCode()
public java.lang.Object clone()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |