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