public class PolicyDescription extends Object implements Serializable
Information about a policy.
Constructor and Description |
---|
PolicyDescription() |
Modifier and Type | Method and Description |
---|---|
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()
The name of the policy.
The name of the policy.
public void setPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.
public PolicyDescription withPolicyName(String policyName)
The name of the policy.
Returns a reference to this object so that method calls can be chained together.
policyName
- The name of the policy.
public String getPolicyTypeName()
The name of the policy type.
The name of the policy type.
public void setPolicyTypeName(String policyTypeName)
The name of the policy type.
policyTypeName
- The name of the policy type.
public PolicyDescription withPolicyTypeName(String policyTypeName)
The name of the policy type.
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()
The policy attributes.
The policy attributes.
public void setPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
policyAttributeDescriptions
- The policy attributes.
public PolicyDescription withPolicyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes.
Returns a reference to this object so that method calls can be chained together.
policyAttributeDescriptions
- The policy attributes.
public PolicyDescription withPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
Returns a reference to this object so that method calls can be chained together.
policyAttributeDescriptions
- The policy attributes.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.