Class SQLField

  • All Implemented Interfaces:
    Field

    public final class SQLField
    extends java.lang.Object
    implements Field
    Specifies the configuration used for an SQL field in an external database.
    Since:
    2.3.0
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the specified field name.
        Specified by:
        getName in interface Field
      • setLabel

        public void setLabel​(java.lang.String label)
        Sets a label to this field.
      • getLabel

        public java.lang.String getLabel()
        Returns the specified field label.
        Specified by:
        getLabel in interface Field
      • setDataType

        public void setDataType​(SQLDataType sqlDataType)
        Sets the field data type value, or SQLDataType object value.
      • getDataType

        public SQLDataType getDataType()
        Returns an instance of SQLDataType used to identify generic SQL data types.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getIndex

        public int getIndex()
        Description copied from interface: Field
        Returns the specified field order.
        Specified by:
        getIndex in interface Field