com.ibm.uddi.v3.management
Class Policy
- java.lang.Object
com.ibm.uddi.v3.management.Property
com.ibm.uddi.v3.management.Policy
All implemented interfaces:
java.io.Serializable
- public class Policy
- extends Property
See Also:
Constructor Summary
| 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.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getAliasName()
Returns the human readable name of this policy.
|
|
getPolicyDecisionPoint()
Returns the policy decision point, which is one of node or registry.
|
|
getPolicyType()
Returns the type of the policy, which is one of Model or Document.
|
|
isDelegatable()
Indicates if the policy decision can be delegated from the registry to the node.
|
|
setAliasName(java.lang.String string)
Sets human readable name for this policy, that can be used in code to look up a policy.
|
|
setDelegatable(boolean delegatable)
Sets whether the policy decision point can be delegated.
|
|
setPolicyDecisionPoint(java.lang.String policyDecisionPoint)
Sets policy decision point
|
|
setPolicyType(java.lang.String policyType)
Sets the policy type.
|
|
toString()
|
| Methods inherited from class com.ibm.uddi.v3.management.Property |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
Policy
- public Policy()
Constructor taking no arguments.
Policy
- public 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.
Parameters:
id - type - value - nameKey - Method Detail
getPolicyDecisionPoint
- public java.lang.String getPolicyDecisionPoint( )
Returns the policy decision point, which is one of node or registry.
Returns:
the policy decision point.
setPolicyDecisionPoint
- public void setPolicyDecisionPoint( java.lang.String policyDecisionPoint)
Sets policy decision point
Parameters:
policyDecisionPoint - toString
- public java.lang.String toString( )
getPolicyType
- public java.lang.String getPolicyType( )
Returns the type of the policy, which is one of Model or Document.
Returns:
policy type.
setPolicyType
- public void setPolicyType(java.lang.String policyType)
Sets the policy type.
Parameters:
policyType - isDelegatable
- public boolean isDelegatable()
Indicates if the policy decision can be delegated from the registry to the node.
Returns:
true if the policy decision can be delegated, false
otherwise. Some policy decision points are fixed at either the regsitry or node. setDelegatable
- public void setDelegatable(boolean delegatable)
Sets whether the policy decision point can be delegated.
Parameters:
delegatable - - set to true if the policy decision point can be switched between registry and node. getAliasName
- public java.lang.String getAliasName( )
Returns the human readable name of this policy.
Returns:
- the alias name.
setAliasName
- public void setAliasName(java.lang.String string)
Sets human readable name for this policy, that can be used in code to look up a policy.
Parameters:
string -