com.ibm.itim.dataservices.model.policy
Class DirectoryPolicy

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryEntry
      extended by com.ibm.itim.dataservices.model.DirectoryObject
          extended by com.ibm.itim.dataservices.model.policy.DirectoryPolicy
All Implemented Interfaces:
Policy, ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable
Direct Known Subclasses:
ScopedPolicy, SeparationOfDutyPolicy

public abstract class DirectoryPolicy
extends DirectoryObject
implements Policy

This class provides a base implementation of all policy value objects.

See Also:
Serialized Form

Field Summary
static java.lang.String POLICY_ATTR_CAPTION
          String constant for the label attribute name.
static java.lang.String POLICY_ATTR_DESCRIPTION
          String constant for the description attribute name.
static java.lang.String POLICY_ATTR_ENABLED
          String constant for the enabled attribute name.
static java.lang.String POLICY_ATTR_ISDRAFT
          String constant for the draft attribute name.
static java.lang.String POLICY_ATTR_KEY_WORDS
          String constant for the keywords attribute name.
static java.lang.String POLICY_ATTR_NAME
          String constant for the name attribute name.
static java.lang.String POLICY_ATTR_PRIORITY
          String constant for the priority attribute name.
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Method Summary
 java.lang.String getCaption()
          Returns the value of the caption attribute.
 java.lang.String getDescription()
          Returns the value of the description attribute.
 java.lang.String getKeywords()
          Returns the value of the keywords attribute.
 java.lang.String getName()
          Returns the value of the name attribute.
 DistinguishedName getParentDN()
          Returns the parent DN.
 boolean isEnabled()
          Returns the value of the enabled attribute.
 void setCaption(java.lang.String aCaption)
          Sets the value of the caption attribute.
 void setDescription(java.lang.String aDescription)
          Sets the value of the description attribute.
 void setEnabled(boolean enabled)
          Sets the value of the enabled attribute.
 void setKeywords(java.lang.String keywords)
          Sets the value of the keywords attribute.
 void setName(java.lang.String aName)
          Sets the value of the name attribute.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POLICY_ATTR_NAME

public static final java.lang.String POLICY_ATTR_NAME
String constant for the name attribute name.

See Also:
Constant Field Values

POLICY_ATTR_KEY_WORDS

public static final java.lang.String POLICY_ATTR_KEY_WORDS
String constant for the keywords attribute name.

See Also:
Constant Field Values

POLICY_ATTR_CAPTION

public static final java.lang.String POLICY_ATTR_CAPTION
String constant for the label attribute name.

See Also:
Constant Field Values

POLICY_ATTR_DESCRIPTION

public static final java.lang.String POLICY_ATTR_DESCRIPTION
String constant for the description attribute name.

See Also:
Constant Field Values

POLICY_ATTR_ENABLED

public static final java.lang.String POLICY_ATTR_ENABLED
String constant for the enabled attribute name.

See Also:
Constant Field Values

POLICY_ATTR_ISDRAFT

public static final java.lang.String POLICY_ATTR_ISDRAFT
String constant for the draft attribute name.

See Also:
Constant Field Values

POLICY_ATTR_PRIORITY

public static final java.lang.String POLICY_ATTR_PRIORITY
String constant for the priority attribute name.

See Also:
Constant Field Values
Method Detail

getParentDN

public DistinguishedName getParentDN()
Returns the parent DN.

Returns:
the DistinguishedName object of the parent.

getName

public java.lang.String getName()
Returns the value of the name attribute.

Specified by:
getName in interface Policy
Overrides:
getName in class DirectoryObject
Returns:
the current value of the name attribute .

setName

public void setName(java.lang.String aName)
Sets the value of the name attribute.

Specified by:
setName in interface Policy
Parameters:
aName - the new value of the name attribute.

getKeywords

public java.lang.String getKeywords()
Returns the value of the keywords attribute.

Specified by:
getKeywords in interface Policy
Returns:
the current value of the Keywords attribute.

setKeywords

public void setKeywords(java.lang.String keywords)
Sets the value of the keywords attribute.

Specified by:
setKeywords in interface Policy
Parameters:
aKeywords - the new value of the Keywords attribute

getCaption

public java.lang.String getCaption()
Returns the value of the caption attribute.

Specified by:
getCaption in interface Policy
Returns:
the current value of the Caption attribute.

setCaption

public void setCaption(java.lang.String aCaption)
Sets the value of the caption attribute.

Specified by:
setCaption in interface Policy
Parameters:
aCaption - the new value of the Caption attribute

getDescription

public java.lang.String getDescription()
Returns the value of the description attribute.

Specified by:
getDescription in interface Policy
Returns:
the current value of the Description attribute.

setDescription

public void setDescription(java.lang.String aDescription)
Sets the value of the description attribute.

Specified by:
setDescription in interface Policy
Parameters:
aDescription - the new value of the Description attribute

isEnabled

public boolean isEnabled()
Returns the value of the enabled attribute.

Specified by:
isEnabled in interface Policy
Returns:
the current value of the Enabled attribute.

setEnabled

public void setEnabled(boolean enabled)
Sets the value of the enabled attribute.

Specified by:
setEnabled in interface Policy
Parameters:
enabled - the new boolean value of the Enabled attribute.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.