Class BooleanAttributeSyntax

java.lang.Object
pl.edu.icm.unity.stdext.attr.BooleanAttributeSyntax
All Implemented Interfaces:
pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<Boolean>

public class BooleanAttributeSyntax extends Object implements pl.edu.icm.unity.engine.api.attributes.AttributeValueSyntax<Boolean>
Boolean attribute value syntax.
Author:
K. Benedyczak
  • Field Details

  • Constructor Details

    • BooleanAttributeSyntax

      public BooleanAttributeSyntax()
  • Method Details

    • getValueSyntaxId

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

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

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

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

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

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

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

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

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

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