Class TextField<T extends TextDataType>


  • public final class TextField<T extends TextDataType>
    extends Object
    The text analog of Field. Consists of a name, type, and domain
    • Constructor Detail

      • TextField

        public TextField​(String name,
                         T type,
                         FieldDomain domain)
        Creates a new text field
        Parameters:
        name - the name of the field. must not be null.
        type - the type of the field. must not be null.
        domain - the domain of the field. must not be null but may be FieldDomain.UNSPECIFIED.
    • Method Detail

      • getName

        public String getName()
        Returns the name of this field
        Returns:
        the name of this field
      • getType

        public T getType()
        Returns the type of this field
        Returns:
        the type of this field
      • getDomain

        public FieldDomain getDomain()
        Returns the domain of this field
        Returns:
        the domain of this field