Package pl.edu.icm.unity.stdext.attr
Class DateAttributeSyntax
java.lang.Object
pl.edu.icm.unity.stdext.attr.DateAttributeSyntax
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
public class DateAttributeSyntax
extends Object
implements pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
Date attribute sytax. Accept date in various formats
- Author:
- P.Piernik
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertFromString(String stringRepresentation) convertToString(LocalDate value) com.fasterxml.jackson.databind.JsonNodeintbooleanbooleanvoidsetSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode json) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax
areEqualStringValue, deserializeSimple, getEmailConfirmationConfiguration, getMaxSize, publicExposureSpec, serializeSimple, validateStringValue
-
Field Details
-
ID
- See Also:
-
ACCEPTABLE_FORMATS
-
-
Constructor Details
-
DateAttributeSyntax
public DateAttributeSyntax()
-
-
Method Details
-
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.base.attribute.IllegalAttributeValueException - Specified by:
validatein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>- Throws:
pl.edu.icm.unity.base.attribute.IllegalAttributeValueException
-
areEqual
- Specified by:
areEqualin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
-
hashCode
- Specified by:
hashCodein interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
-
convertFromString
- Specified by:
convertFromStringin interfacepl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
-
convertToString
- 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>
-