com.ibm.twss.spm.admin.common
Class PolicyType
java.lang.Object
com.ibm.twss.spm.admin.common.PolicyType
- All Implemented Interfaces:
- java.io.Serializable
public class PolicyType
- extends java.lang.Object
- implements java.io.Serializable
Typing for policies. Policy types are used to validate the
form factor of policy value contents. Types do not enforce any
semantic meaning; meaning is interpreted by the service that uses
the policies. Typing can be used as a general form of input
validation.
typeName
Name of a policy type.
editable
If the policy type is editable (true) or not (false). If a
policy attribute is marked as not editable, then the policy value
cannot be changed once the policy is first created.
editMask
Edit constraints for the policy type. The constraints are
specified as a regular expression that follows the
Java 1.4 regexp format. It used to validate the input for
an attribute's corresponding policy value. An edit mask is required when
creating a policy type.
encrypted
Marker flag that indicates that this values of this type
will contain encrypted content. This is a flag to the application
or system using the service policy manager that the contents
need to be decrypted or interpreted accordingly before being
used. Assumed to be false on create if not supplied.
description
Policy type description.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyType
public PolicyType()
getTypeName
public java.lang.String getTypeName()
setTypeName
public void setTypeName(java.lang.String typeName)
getEditable
public java.lang.Boolean getEditable()
setEditable
public void setEditable(java.lang.Boolean editable)
getEditMask
public java.lang.String getEditMask()
setEditMask
public void setEditMask(java.lang.String editMask)
getEncrypted
public java.lang.Boolean getEncrypted()
setEncrypted
public void setEncrypted(java.lang.Boolean encrypted)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
Copyright © IBM Corp. All Rights Reserved.