|
|||||||||
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
public class PDAttrValue
This class represents the value of a Security 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)
equals
in class java.lang.Object
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()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |