public class Policy extends Property
Constructor and Description |
---|
Policy()
Constructor taking no arguments.
|
Policy(java.lang.String id,
java.lang.String type,
java.lang.Object value,
java.lang.String nameKey)
Constructor taking policy ID, value type, value and name message key.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAliasName()
Returns the human readable name of this policy.
|
java.lang.String |
getPolicyDecisionPoint()
Returns the policy decision point, which is one of node or registry.
|
java.lang.String |
getPolicyType()
Returns the type of the policy, which is one of Model or Document.
|
boolean |
isDelegatable()
Indicates if the policy decision can be delegated from the registry to the node.
|
void |
setAliasName(java.lang.String string)
Sets human readable name for this policy, that can be used in code to look up a policy.
|
void |
setDelegatable(boolean delegatable)
Sets whether the policy decision point can be delegated.
|
void |
setPolicyDecisionPoint(java.lang.String policyDecisionPoint)
Sets policy decision point
|
void |
setPolicyType(java.lang.String policyType)
Sets the policy type.
|
java.lang.String |
toString() |
getBooleanValue, getConstraints, getDescriptionKey, getDisplayOrder, getId, getIntegerValue, getNameKey, getStringValue, getType, getUnitsKey, getValidValues, getValue, isInternal, isReadOnly, isRequired, isUsingMessageKeys, setBooleanValue, setConstraints, setDescriptionKey, setDisplayOrder, setId, setIntegerValue, setInternal, setNameKey, setReadOnly, setRequired, setStringValue, setType, setUnitsKey, setUsingMessageKeys, setValidValues, setValue
public Policy()
public Policy(java.lang.String id, java.lang.String type, java.lang.Object value, java.lang.String nameKey)
id
- type
- value
- nameKey
- public java.lang.String getPolicyDecisionPoint()
public void setPolicyDecisionPoint(java.lang.String policyDecisionPoint)
policyDecisionPoint
- public java.lang.String getPolicyType()
public void setPolicyType(java.lang.String policyType)
policyType
- public boolean isDelegatable()
true
if the policy decision can be delegated, false
otherwise. Some policy decision points are fixed at either the registry or node.public void setDelegatable(boolean delegatable)
delegatable
- - set to true
if the policy decision point can be switched between registry and node.public java.lang.String getAliasName()
public void setAliasName(java.lang.String string)
string
-