Package org.apache.torque.templates
Enum Class TorqueSchemaElementName
- All Implemented Interfaces:
Serializable,Comparable<TorqueSchemaElementName>,Constable,SourceElementName
public enum TorqueSchemaElementName
extends Enum<TorqueSchemaElementName>
implements SourceElementName
Contains all element names from the Torque schema.
$Id: TorqueSchemaElementName.java 1917240 2024-04-21 13:22:54Z tv $
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionelement column.element database.element domain.element enum-value.element external-schemaelement foreign-key.element id-method-param.element include-schemaelement index.element index-column.element inheritance.element reference.element table.element unique.element unique-column.element view. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the element.toString()static TorqueSchemaElementNameReturns the enum constant of this class with the specified name.static TorqueSchemaElementName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATABASE
element database. -
INCLUDE_SCHEMA
element include-schema -
EXTERNAL_SCHEMA
element external-schema -
DOMAIN
element domain. -
TABLE
element table. -
VIEW
element view. -
COLUMN
element column. -
FOREIGN_KEY
element foreign-key. -
REFERENCE
element reference. -
INHERITANCE
element inheritance. -
ID_METHOD_PARAMETER
element id-method-param. -
UNIQUE
element unique. -
UNIQUE_COLUMN
element unique-column. -
INDEX
element index. -
INDEX_COLUMN
element index-column. -
ENUM_VALUE
element enum-value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Returns the name of the element.- Specified by:
getNamein interfaceSourceElementName- Returns:
- the name of the element, not null.
-
toString
- Overrides:
toStringin classEnum<TorqueSchemaElementName>
-