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
Represents a UDDI policy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors 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
Methods 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 pointvoid
setPolicyType(java.lang.String policyType)
Sets the policy type.java.lang.String
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
-
-
-
-
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
-
-
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 registry or node.
-
setDelegatable
public void setDelegatable(boolean delegatable)
Sets whether the policy decision point can be delegated.- Parameters:
delegatable
- - set totrue
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
-
-
-