com.tivoli.mts
Class PDAttrValue

java.lang.Object
  extended by com.tivoli.pd.jutil.PDEnvironmentObject
      extended by com.tivoli.mts.PDAttrValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PDAttrValue
extends com.tivoli.pd.jutil.PDEnvironmentObject
implements java.lang.Cloneable, java.io.Serializable

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.

NOTE: As of IBM Tivoli Access Manager for e-business v5.1, this entire class is deprecated. Equivalent function is in the com.tivoli.pd.jutil.PDAttrValue class.

See Also:
PDAttrValue, Serialized Form

Constructor Summary
PDAttrValue(byte[] bytes)
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.
PDAttrValue(java.lang.Long ulong)
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.
PDAttrValue(PDAdmSvcPobj pobj)
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.
PDAttrValue(java.lang.String string)
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.
 
Method Summary
 java.lang.Object clone()
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.
 boolean equals(java.lang.Object iobj)
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.
 int getType()
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.
 java.lang.Object getValue()
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.
 int hashCode()
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.
 java.lang.String toString()
          Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.
 
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

PDAttrValue

public PDAttrValue(java.lang.String string)
            throws java.lang.NullPointerException
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.

Constructs a PDAttrValue from a String.

Parameters:
string - the input String.
Throws:
java.lang.NullPointerException - if no String is passed in.

PDAttrValue

public PDAttrValue(byte[] bytes)
            throws java.lang.NullPointerException
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.

Constructs a PDAttrValue from a clone of the input byte array.

Parameters:
bytes - the input byte array.
Throws:
java.lang.NullPointerException - if no byte array is passed in.

PDAttrValue

public PDAttrValue(PDAdmSvcPobj pobj)
            throws java.lang.NullPointerException
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.

Constructs a PDAttrValue from a clone of the input PDAdmSvcPobj.

Parameters:
pobj - the administration service protected object.
Throws:
java.lang.NullPointerException - if no PDAdmSvcPobj is passed in.

PDAttrValue

public PDAttrValue(java.lang.Long ulong)
            throws java.lang.NullPointerException
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this constructor is replaced by the equivalent constructor in the PDAttrValue class.

Constructs a PDAttrValue from an unsigned long object.

Parameters:
ulong - the input Long.
Throws:
java.lang.NullPointerException - if no Long is passed in.
Method Detail

equals

public boolean equals(java.lang.Object iobj)
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.

Indicates whether some other Object is equal to this one. In particular, this implementation checks that the types are and then checks the type appropriately.

Overrides:
equals in class java.lang.Object
Parameters:
iobj - the object to be compared to this one.
Returns:
true if the PDAttrValues are identical, false otherwise.

getValue

public java.lang.Object getValue()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.

Returns the value of the current attribute, which can then be examined.

Returns:
the value of this PDAttrValue.

getType

public int getType()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.

Returns the type of the current attribute value.

Returns:
the type of this PDAttrValue.

hashCode

public int hashCode()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.

Returns a hashcode for the current object.

Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.

Returns a clone of the object. This is implemented as a deep copy.

Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Deprecated. As of IBM Tivoli Access Manager for e-business v5.1, this method is replaced by the equivalent method in the PDAttrValue class.

Returns a String representation of this object.

Overrides:
toString in class java.lang.Object