Class PrimitiveDataType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DataType>
    Direct Known Subclasses:
    NumericDataType

    public class PrimitiveDataType
    extends DataType
    Author:
    Einar M R Rosenvinge
    See Also:
    Serialized Form
    • Field Detail

      • classId

        public static final int classId
    • Constructor Detail

      • PrimitiveDataType

        protected PrimitiveDataType​(java.lang.String name,
                                    int code,
                                    java.lang.Class<? extends FieldValue> valueClass,
                                    PrimitiveDataType.Factory factory)
        Creates a datatype
        Parameters:
        name - the name of the type
        code - the code (id) of the type
        factory - the factory for creating field values of this type