public class BooleanAttributeType extends java.lang.Object implements IPrimitiveAttributeType<java.lang.Boolean>
| Constructor and Description |
|---|
BooleanAttributeType() |
| Modifier and Type | Method and Description |
|---|---|
IAttributeValue<java.lang.Boolean> |
buildAttributeValue(java.lang.Object value)
Casts the value to the respective type and returns an attribute value with the creating attribute type as the referenced type.
|
IAttributeValue<java.lang.Boolean> |
buildAttributeValue(java.lang.String stringDescription)
Builds an attribute value object from a string description.
|
boolean |
isValidValue(java.lang.Boolean value)
Validates whether a value conforms to this type.
|
public boolean isValidValue(java.lang.Boolean value)
IAttributeTypeisValidValue in interface IAttributeType<java.lang.Boolean>value - The value to validated.public IAttributeValue<java.lang.Boolean> buildAttributeValue(java.lang.Object value)
IAttributeTypebuildAttributeValue in interface IAttributeType<java.lang.Boolean>value - The value of the attribute.public IAttributeValue<java.lang.Boolean> buildAttributeValue(java.lang.String stringDescription)
IAttributeTypebuildAttributeValue in interface IAttributeType<java.lang.Boolean>stringDescription - A String-format description of the attribute's value.