Class DBFields.Field

java.lang.Object
overit.geocall.sql.DBFields.Field
All Implemented Interfaces:
Serializable
Enclosing class:
DBFields

public static class DBFields.Field extends Object implements Serializable
This class implements a Field
See Also:
  • Constructor Details

    • Field

      public Field(String name, String table, int pos, int type)
      Creates a Field object
      Parameters:
      name - The name of the field
      table - The name of the table which the field belongs
      pos - The position in the collection
      type - The JDBC type of the field
    • Field

      public Field(String name, String table, int pos, int type, Class<?> typeReference)
      Creates a Field object
      Parameters:
      name - The name of the field
      table - The name of the table which the field belongs
      pos - The position in the collection
      type - The JDBC type of the field
      typeReference - The class of the field
  • Method Details

    • getName

      public String getName()
      Returns the name of the Field
      Returns:
      The string that defines the name of the string
    • getTable

      public String getTable()
      Returns the name of the table which the Field belongs
      Returns:
      The string that represents the name of the table
    • getPos

      public int getPos()
      Returns the position of the Field in the collection
      Returns:
      The position in the collection
    • getType

      public int getType()
      Returns the type of the Field
      Returns:
      The int that represents the JDBC type of the Field
    • getTypeReference

      public Class<?> getTypeReference()
      Returns the class of the Field
      Returns:
      The class of the Field