public class PolicyAttributeTypeDescription extends Object implements Serializable
Information about a policy attribute type.
Constructor and Description |
---|
PolicyAttributeTypeDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute.
|
String |
getAttributeType()
The type of the attribute.
|
String |
getCardinality()
The cardinality of the attribute.
|
String |
getDefaultValue()
The default value of the attribute, if applicable.
|
String |
getDescription()
A description of the attribute.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The name of the attribute.
|
void |
setAttributeType(String attributeType)
The type of the attribute.
|
void |
setCardinality(String cardinality)
The cardinality of the attribute.
|
void |
setDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
|
void |
setDescription(String description)
A description of the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PolicyAttributeTypeDescription |
withAttributeName(String attributeName)
The name of the attribute.
|
PolicyAttributeTypeDescription |
withAttributeType(String attributeType)
The type of the attribute.
|
PolicyAttributeTypeDescription |
withCardinality(String cardinality)
The cardinality of the attribute.
|
PolicyAttributeTypeDescription |
withDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
|
PolicyAttributeTypeDescription |
withDescription(String description)
A description of the attribute.
|
public String getAttributeName()
The name of the attribute.
The name of the attribute.
public void setAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.
public PolicyAttributeTypeDescription withAttributeName(String attributeName)
The name of the attribute.
Returns a reference to this object so that method calls can be chained together.
attributeName
- The name of the attribute.
public String getAttributeType()
The type of the attribute. For example, Boolean
or
Integer
.
The type of the attribute. For example, Boolean
or
Integer
.
public void setAttributeType(String attributeType)
The type of the attribute. For example, Boolean
or
Integer
.
attributeType
-
The type of the attribute. For example, Boolean
or Integer
.
public PolicyAttributeTypeDescription withAttributeType(String attributeType)
The type of the attribute. For example, Boolean
or
Integer
.
Returns a reference to this object so that method calls can be chained together.
attributeType
-
The type of the attribute. For example, Boolean
or Integer
.
public String getDescription()
A description of the attribute.
A description of the attribute.
public void setDescription(String description)
A description of the attribute.
description
- A description of the attribute.
public PolicyAttributeTypeDescription withDescription(String description)
A description of the attribute.
Returns a reference to this object so that method calls can be chained together.
description
- A description of the attribute.
public String getDefaultValue()
The default value of the attribute, if applicable.
The default value of the attribute, if applicable.
public void setDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
defaultValue
- The default value of the attribute, if applicable.
public PolicyAttributeTypeDescription withDefaultValue(String defaultValue)
The default value of the attribute, if applicable.
Returns a reference to this object so that method calls can be chained together.
defaultValue
- The default value of the attribute, if applicable.
public String getCardinality()
The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
public void setCardinality(String cardinality)
The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
cardinality
- The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
public PolicyAttributeTypeDescription withCardinality(String cardinality)
The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
Returns a reference to this object so that method calls can be chained together.
cardinality
- The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.