Class CharacterPrimitiveType

  • All Implemented Interfaces:
    DataType<java.lang.Character>

    @Service(DataType.class)
    public class CharacterPrimitiveType
    extends CharacterType
    Datatype for the primitive type char.
    • Constructor Detail

      • CharacterPrimitiveType

        public CharacterPrimitiveType()
    • Method Detail

      • getJavaType

        public java.lang.String getJavaType()
        Description copied from interface: DataType
        Gets the name of the Java type.
        Specified by:
        getJavaType in interface DataType<java.lang.Character>
        Overrides:
        getJavaType in class CharacterType
        Returns:
        the type
      • isPrimitive

        public boolean isPrimitive()
        Description copied from interface: DataType
        Returns whether type is a primitive.
        Specified by:
        isPrimitive in interface DataType<java.lang.Character>
        Overrides:
        isPrimitive in class AbstractDataType<java.lang.Character>
        Returns:
        true if primitive
      • toNonPrimitive

        public DataType<?> toNonPrimitive()
        Description copied from interface: DataType
        Gets the non-primitive type if this is a primitive.
        Specified by:
        toNonPrimitive in interface DataType<java.lang.Character>
        Overrides:
        toNonPrimitive in class AbstractDataType<java.lang.Character>
        Returns:
        the non-primitive type, this type if it is already a non-primitive
      • isMapNullSupported

        public boolean isMapNullSupported()
        Description copied from interface: DataType
        Returns whether this type supports mapping null values to some well-defined constant.
        Specified by:
        isMapNullSupported in interface DataType<java.lang.Character>
        Overrides:
        isMapNullSupported in class CharacterType
        Returns:
        true if mapNull supported