com.tivoli.pd.jadmin
Class PDAclEntry

java.lang.Object
  extended by com.tivoli.pd.jutil.PDEnvironmentObject
      extended by com.tivoli.pd.jadmin.PDAclEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
PDAclEntryAnyOther, PDAclEntryGroup, PDAclEntryUnAuth, PDAclEntryUser

public class PDAclEntry
extends com.tivoli.pd.jutil.PDEnvironmentObject
implements java.lang.Cloneable

Policy Director ACL Entry class.

An ACL entry represents an entry in an Access Control List (ACL).

Modes: Local,Remote

See Also:
Serialized Form

Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 boolean equals(java.lang.Object obj)
          Determines whether this PDAclEntry is equivalent to the input object.
 java.lang.String getPermission()
          Gets the permission for this ACL entry.
 void setPermission(java.lang.String inPermission)
          Sets the permission for this ACL entry.
 java.lang.String toString()
          Return 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, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPermission

public java.lang.String getPermission()
Gets the permission for this ACL entry. Cannot return NULL.

Returns:
permission string. For possible values and format information, refer to the Policy Director Administration Guide.

setPermission

public void setPermission(java.lang.String inPermission)
                   throws PDException
Sets the permission for this ACL entry.

Parameters:
inPermission - permission string. For possible values and format information, refer to the Policy Director Administration Guide. Cannot be NULL.
Throws:
PDException - if an error occurs. This exception may contain error and message codes defined in the product Error Message Reference document.

toString

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

Overrides:
toString in class java.lang.Object

clone

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

Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Determines whether this PDAclEntry is equivalent to the input object.

Overrides:
equals in class java.lang.Object