Package pl.edu.icm.unity.stdext.attr
Class BooleanAttributeSyntax
- java.lang.Object
-
- pl.edu.icm.unity.stdext.attr.BooleanAttributeSyntax
-
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
public class BooleanAttributeSyntax extends java.lang.Object implements pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>Boolean attribute value syntax.- Author:
- K. Benedyczak
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBooleanAttributeSyntax.Factory
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringID
-
Constructor Summary
Constructors Constructor Description BooleanAttributeSyntax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual(java.lang.Boolean value, java.lang.Object another)java.lang.BooleanconvertFromString(java.lang.String stringRepresentation)java.lang.StringconvertToString(java.lang.Boolean value)com.fasterxml.jackson.databind.JsonNodegetSerializedConfiguration()java.lang.StringgetValueSyntaxId()inthashCode(java.lang.Object value)booleanisEmailVerifiable()booleanisUserVerifiable()voidsetSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode jsonN)voidvalidate(java.lang.Boolean value)
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValueSyntaxId
public java.lang.String getValueSyntaxId()
- Specified by:
getValueSyntaxIdin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
getSerializedConfiguration
public com.fasterxml.jackson.databind.JsonNode getSerializedConfiguration()
- Specified by:
getSerializedConfigurationin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
setSerializedConfiguration
public void setSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode jsonN)
- Specified by:
setSerializedConfigurationin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
validate
public void validate(java.lang.Boolean value) throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException- Specified by:
validatein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>- Throws:
pl.edu.icm.unity.exceptions.IllegalAttributeValueException
-
areEqual
public boolean areEqual(java.lang.Boolean value, java.lang.Object another)- Specified by:
areEqualin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
hashCode
public int hashCode(java.lang.Object value)
- Specified by:
hashCodein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
convertFromString
public java.lang.Boolean convertFromString(java.lang.String stringRepresentation)
- Specified by:
convertFromStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
convertToString
public java.lang.String convertToString(java.lang.Boolean value)
- Specified by:
convertToStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
isEmailVerifiable
public boolean isEmailVerifiable()
- Specified by:
isEmailVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
isUserVerifiable
public boolean isUserVerifiable()
- Specified by:
isUserVerifiablein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<java.lang.Boolean>
-
-