Package db

Class FixedField

  • All Implemented Interfaces:
    java.lang.Comparable<Field>
    Direct Known Subclasses:
    FixedField10

    public abstract class FixedField
    extends BinaryField
    FixedField provides an abstract implementation of a fixed-length binary field.
    • Method Detail

      • isVariableLength

        public final boolean isVariableLength()
        Overrides:
        isVariableLength in class BinaryField
        Returns:
        true if a Field instance is variable length, else false.
      • copyField

        public abstract FixedField copyField()
        Description copied from class: Field
        Create new instance of this field with the same value.
        Overrides:
        copyField in class BinaryField
        Returns:
        new field instance with same value
      • newField

        public abstract FixedField newField()
        Description copied from class: Field
        Create new instance of this field type.
        Overrides:
        newField in class BinaryField
        Returns:
        new field instance with undefined initial value