Enum SqlAttributeName

java.lang.Object
java.lang.Enum<SqlAttributeName>
org.apache.torque.templates.transformer.sql.SqlAttributeName
Alle implementierten Schnittstellen:
Serializable, Comparable<SqlAttributeName>, java.lang.constant.Constable, SourceAttributeName

public enum SqlAttributeName extends Enum<SqlAttributeName> implements SourceAttributeName
Contains the attributes created by the SQLTransformer.
  • Enum-Konstanten - Details

    • UNQUALIFIED_NAME

      public static final SqlAttributeName UNQUALIFIED_NAME
      The unqualified (without schema) table name.
    • PRIMARY_KEY_COLUMN_NAMES

      public static final SqlAttributeName PRIMARY_KEY_COLUMN_NAMES
      The attribute contains all primary key columns in a comma-separated String.
    • UNIQUE_COLUMN_NAMES

      public static final SqlAttributeName UNIQUE_COLUMN_NAMES
      The attribute contains all unique column names in a comma-separated String.
    • UNIQUE_COLUMN_SIZES

      public static final SqlAttributeName UNIQUE_COLUMN_SIZES
      The attribute contains all unique column sizes in a comma-separated String.
    • INDEX_COLUMN_NAMES

      public static final SqlAttributeName INDEX_COLUMN_NAMES
      The attribute contains all index column names in a comma-separated String.
    • LOCAL_COLUMN_NAMES

      public static final SqlAttributeName LOCAL_COLUMN_NAMES
      The attribute contains all local column names in a comma-separated String.
    • FOREIGN_COLUMN_NAMES

      public static final SqlAttributeName FOREIGN_COLUMN_NAMES
      The attribute contains all foreign column names in a comma-separated String.
    • PRIMARY_KEY_CONSTRAINT_NAME

      public static final SqlAttributeName PRIMARY_KEY_CONSTRAINT_NAME
      The attribute contains the name of the constraint defining the primary key of a table.
    • SEQUENCE_NAME

      public static final SqlAttributeName SEQUENCE_NAME
      The attribute contains the name of the sequence from which the primary key of the table is generated.
    • DDL_SQL

      public static final SqlAttributeName DDL_SQL
      The attribute contains the SQL to define the column.
    • ENUM_CONSTRAINT_NAME

      public static final SqlAttributeName ENUM_CONSTRAINT_NAME
      The attribute contains the constraint name if the column contains an enum.
    • SQL_VALUE

      public static final SqlAttributeName SQL_VALUE
      The attribute contains the properly escaped and transformed sql value for the element.
  • Methodendetails

    • values

      public static SqlAttributeName[] values()
      Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieses Enumerationstyps in der Reihenfolge ihrer Deklaration
    • valueOf

      public static SqlAttributeName valueOf(String name)
      Gibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enumerationskonstante in diesem Typ deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn dieser Enumerationstyp keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird
    • getName

      public String getName()
      Returns the name of the referenced source element attribute.
      Angegeben von:
      getName in Schnittstelle SourceAttributeName
      Gibt zurück:
      the name of the referenced source element attribute.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Enum<SqlAttributeName>