Class BooleanDt

All Implemented Interfaces:
IDatatype, IElement, IIdentifiableElement, IPrimitiveDatatype<Boolean>, ISupportsUndeclaredExtensions, Externalizable, Serializable, IBase, IBaseBooleanDatatype, IBaseDatatype, IPrimitiveType<Boolean>

public class BooleanDt extends BasePrimitive<Boolean> implements IBaseBooleanDatatype
See Also:
  • Constructor Details

    • BooleanDt

      public BooleanDt()
      Constructor
    • BooleanDt

      public BooleanDt(boolean theBoolean)
      Constructor
  • Method Details

    • parse

      protected Boolean parse(String theValue)
      Description copied from class: BasePrimitive
      Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
      Specified by:
      parse in class BasePrimitive<Boolean>
      Parameters:
      theValue - Will not be null
      Returns:
      May return null if the value does not correspond to anything
    • encode

      protected String encode(Boolean theValue)
      Description copied from class: BasePrimitive
      Subclasses must override to convert a "coerced" value into an encoded one.
      Specified by:
      encode in class BasePrimitive<Boolean>
      Parameters:
      theValue - Will not be null
      Returns:
      May return null if the value does not correspond to anything