Class PolicyAttributeTypeDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a policy attribute type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the attribute.The type of the attribute.The cardinality of the attribute.The default value of the attribute, if applicable.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributeName
(String attributeName) The name of the attribute.withAttributeType
(String attributeType) The type of the attribute.withCardinality
(String cardinality) The cardinality of the attribute.withDefaultValue
(String defaultValue) The default value of the attribute, if applicable.withDescription
(String description) A description of the attribute.
-
Constructor Details
-
PolicyAttributeTypeDescription
public PolicyAttributeTypeDescription()
-
-
Method Details
-
setAttributeName
The name of the attribute.
- Parameters:
attributeName
- The name of the attribute.
-
getAttributeName
The name of the attribute.
- Returns:
- The name of the attribute.
-
withAttributeName
The name of the attribute.
- Parameters:
attributeName
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributeType
The type of the attribute. For example,
Boolean
orInteger
.- Parameters:
attributeType
- The type of the attribute. For example,Boolean
orInteger
.
-
getAttributeType
The type of the attribute. For example,
Boolean
orInteger
.- Returns:
- The type of the attribute. For example,
Boolean
orInteger
.
-
withAttributeType
The type of the attribute. For example,
Boolean
orInteger
.- Parameters:
attributeType
- The type of the attribute. For example,Boolean
orInteger
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the attribute.
- Parameters:
description
- A description of the attribute.
-
getDescription
A description of the attribute.
- Returns:
- A description of the attribute.
-
withDescription
A description of the attribute.
- Parameters:
description
- A description of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultValue
The default value of the attribute, if applicable.
- Parameters:
defaultValue
- The default value of the attribute, if applicable.
-
getDefaultValue
The default value of the attribute, if applicable.
- Returns:
- The default value of the attribute, if applicable.
-
withDefaultValue
The default value of the attribute, if applicable.
- Parameters:
defaultValue
- The default value of the attribute, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCardinality
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Parameters:
cardinality
- The cardinality of the attribute.Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
-
getCardinality
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Returns:
- The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
-
withCardinality
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Parameters:
cardinality
- The cardinality of the attribute.Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value can be supplied
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-