IBM WebSphere Application ServerTM
Release 8

com.ibm.uddi.v3.management
Class Policy

java.lang.Object
  extended by com.ibm.uddi.v3.management.Property
      extended by 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
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
 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()
           
 
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()
Overrides:
toString in class Property

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 -

IBM WebSphere Application ServerTM
Release 8