Class PrimaryKey

java.lang.Object
com.github.jinahya.database.metadata.bind.PrimaryKey
All Implemented Interfaces:
MetadataType, Serializable

@_ChildOf(Table.class) public class PrimaryKey extends Object
A class for binding results of the DatabaseMetaData.getPrimaryKeys(String, String, String) method.
Author:
Jin Kwon <jinahya_at_gmail.com>
See Also:
  • Field Details

    • COLUMN_LABEL_TABLE_CAT

      public static final String COLUMN_LABEL_TABLE_CAT
      The column label of "TABLE_CAT".
      See Also:
    • COLUMN_LABEL_TABLE_SCHEM

      public static final String COLUMN_LABEL_TABLE_SCHEM
      The column label of "TABLE_SCHEM".
      See Also:
    • COLUMN_LABEL_TABLE_NAME

      public static final String COLUMN_LABEL_TABLE_NAME
      The column label of "TABLE_NAME".
      See Also:
    • COLUMN_LABEL_COLUMN_NAME

      public static final String COLUMN_LABEL_COLUMN_NAME
      The column label of "COLUMN_NAME".
      See Also:
    • COLUMN_LABEL_KEY_SEQ

      public static final String COLUMN_LABEL_KEY_SEQ
      The column label of "KEY_SEQ".
      See Also:
    • COLUMN_LABEL_PK_NAME

      public static final String COLUMN_LABEL_PK_NAME
      The column label of "PK_NAME".
      See Also:
  • Constructor Details

    • PrimaryKey

      public PrimaryKey()
  • Method Details

    • toString

      public String toString()
    • equals

      public boolean equals(Object obj)
    • hashCode

      public int hashCode()
    • getTableCat

      public String getTableCat()
    • setTableCat

      public void setTableCat(String tableCat)
    • getTableSchem

      public String getTableSchem()
    • setTableSchem

      public void setTableSchem(String tableSchem)
    • getTableName

      public String getTableName()
    • setTableName

      public void setTableName(String tableName)
    • getColumnName

      public String getColumnName()
    • setColumnName

      public void setColumnName(String columnName)
    • getKeySeq

      public Integer getKeySeq()
    • setKeySeq

      public void setKeySeq(Integer keySeq)
    • getPkName

      public String getPkName()
    • setPkName

      public void setPkName(String pkName)
    • getUnmappedValues

      public Map<String,Object> getUnmappedValues()
      Description copied from interface: MetadataType
      Returns a map of unmapped values.
      Specified by:
      getUnmappedValues in interface MetadataType
      Returns:
      a map of unmapped values.