com.tivoli.pd.jadmin
Class PDAdmSvcPobj

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

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

Represents the value of a Security Access Manager Administration Service protected object.

Modes: Local,Remote

See Also:
Serialized Form

Constructor Summary
PDAdmSvcPobj(com.tivoli.pd.jasn1.azn_internal_pobj_t pobj)
           
PDAdmSvcPobj(java.lang.String pname, long ptype, java.lang.String pdescription, boolean isPolAttachable)
          Construct a PDAdmSvcPobj.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 com.tivoli.pd.jasn1.azn_internal_pobj_t convertToAsnPobj()
          Convert this PDAdmSvcPobj object to an azn_internal_pobj_t object suitable for ASN.1 encoding.
 boolean equals(java.lang.Object obj)
          Indicates whether some other Object is equal to this one.
 java.lang.String getDescription()
          Returns the description of the Administration Service protected object.
 java.lang.String getId()
          Returns the ID of the Administration Service protected object.
 long getType()
          Returns the type of the Administration Service protected object.
 int hashCode()
          Returns a unique integer representing this object in memory.
 boolean isPolicyAttachable()
          Returns a setting indicating whether policy can be attached to this Administration Service protected 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

PDAdmSvcPobj

public PDAdmSvcPobj(java.lang.String pname,
                    long ptype,
                    java.lang.String pdescription,
                    boolean isPolAttachable)
             throws java.lang.NullPointerException
Construct a PDAdmSvcPobj.

Parameters:
pname - the name of the Administration Service protected object. This value cannot be null.
ptype - the type of the object.
pdescription - a description for the object. This value can be null.
isPolAttachable - a boolean indicating whether policy can be attached to the object.
Throws:
java.lang.NullPointerException

PDAdmSvcPobj

public PDAdmSvcPobj(com.tivoli.pd.jasn1.azn_internal_pobj_t pobj)
             throws PDException
Throws:
PDException
Method Detail

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other Object is equal to this one. In particular, this implementation checks that the class is the same, and then checks the data type and data value appropriately.

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

clone

public java.lang.Object clone()
Returns a copy of this object.

Overrides:
clone in class java.lang.Object

hashCode

public int hashCode()
Returns a unique integer representing this object in memory.

Overrides:
hashCode in class java.lang.Object

getId

public java.lang.String getId()
Returns the ID of the Administration Service protected object.


getType

public long getType()
Returns the type of the Administration Service protected object.


getDescription

public java.lang.String getDescription()
Returns the description of the Administration Service protected object.


isPolicyAttachable

public boolean isPolicyAttachable()
Returns a setting indicating whether policy can be attached to this Administration Service protected object.


toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object

convertToAsnPobj

public com.tivoli.pd.jasn1.azn_internal_pobj_t convertToAsnPobj()
                                                         throws java.lang.ClassNotFoundException,
                                                                com.tivoli.pd.jasn1.UnsignedIntegerRangeException
Convert this PDAdmSvcPobj object to an azn_internal_pobj_t object suitable for ASN.1 encoding.

Throws:
java.lang.ClassNotFoundException
com.tivoli.pd.jasn1.UnsignedIntegerRangeException