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
  • Field Details

  • Constructor Details

    • DateAttributeSyntax

      public DateAttributeSyntax()
  • Method Details

    • getValueSyntaxId

      public String getValueSyntaxId()
      Specified by:
      getValueSyntaxId in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • getSerializedConfiguration

      public com.fasterxml.jackson.databind.JsonNode getSerializedConfiguration()
      Specified by:
      getSerializedConfiguration in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • setSerializedConfiguration

      public void setSerializedConfiguration(com.fasterxml.jackson.databind.JsonNode json)
      Specified by:
      setSerializedConfiguration in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • validate

      public void validate(LocalDate value) throws pl.edu.icm.unity.base.attribute.IllegalAttributeValueException
      Specified by:
      validate in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
      Throws:
      pl.edu.icm.unity.base.attribute.IllegalAttributeValueException
    • areEqual

      public boolean areEqual(LocalDate value, Object another)
      Specified by:
      areEqual in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • hashCode

      public int hashCode(Object value)
      Specified by:
      hashCode in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • convertFromString

      public LocalDate convertFromString(String stringRepresentation)
      Specified by:
      convertFromString in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • convertToString

      public String convertToString(LocalDate value)
      Specified by:
      convertToString in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • isEmailVerifiable

      public boolean isEmailVerifiable()
      Specified by:
      isEmailVerifiable in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>
    • isUserVerifiable

      public boolean isUserVerifiable()
      Specified by:
      isUserVerifiable in interface pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<LocalDate>