public class PolicyDescription extends Object implements Serializable, Cloneable
Information about a policy.
| Constructor and Description | 
|---|
PolicyDescription()  | 
| Modifier and Type | Method and Description | 
|---|---|
PolicyDescription | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<PolicyAttributeDescription> | 
getPolicyAttributeDescriptions()
The policy attributes. 
 | 
String | 
getPolicyName()
The name of the policy. 
 | 
String | 
getPolicyTypeName()
The name of the policy type. 
 | 
int | 
hashCode()  | 
void | 
setPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes. 
 | 
void | 
setPolicyName(String policyName)
The name of the policy. 
 | 
void | 
setPolicyTypeName(String policyTypeName)
The name of the policy type. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
PolicyDescription | 
withPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes. 
 | 
PolicyDescription | 
withPolicyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes. 
 | 
PolicyDescription | 
withPolicyName(String policyName)
The name of the policy. 
 | 
PolicyDescription | 
withPolicyTypeName(String policyTypeName)
The name of the policy type. 
 | 
public String getPolicyName()
public void setPolicyName(String policyName)
policyName - The name of the policy.public PolicyDescription withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
policyName - The name of the policy.public String getPolicyTypeName()
public void setPolicyTypeName(String policyTypeName)
policyTypeName - The name of the policy type.public PolicyDescription withPolicyTypeName(String policyTypeName)
Returns a reference to this object so that method calls can be chained together.
policyTypeName - The name of the policy type.public List<PolicyAttributeDescription> getPolicyAttributeDescriptions()
public void setPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
policyAttributeDescriptions - The policy attributes.public PolicyDescription withPolicyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
 NOTE: This method appends the values to the existing list (if
 any). Use setPolicyAttributeDescriptions(java.util.Collection) or withPolicyAttributeDescriptions(java.util.Collection) if you want to
 override the existing values.
 
Returns a reference to this object so that method calls can be chained together.
policyAttributeDescriptions - The policy attributes.public PolicyDescription withPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
Returns a reference to this object so that method calls can be chained together.
policyAttributeDescriptions - The policy attributes.public String toString()
toString in class ObjectObject.toString()public PolicyDescription clone()
Copyright © 2015. All rights reserved.