Package org.apache.torque.templates
Enum Class TorqueSchemaAttributeName
- All Implemented Interfaces:
Serializable,Comparable<TorqueSchemaAttributeName>,Constable,SourceAttributeName
public enum TorqueSchemaAttributeName
extends Enum<TorqueSchemaAttributeName>
implements SourceAttributeName
Contains all attribute names from the Torque schema.
$Id: TorqueSchemaAttributeName.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 ConstantDescriptionattribute autoIncrement.attribute baseClass.attribute class.attribute default.attribute defaultIdMethod.attribute defaultJavaType.attribute domain.attribute versionattribute extends.attribute filename.attribute foreign.attribute foreignTable.attribute idMethod.attribute inheritance.attribute interface.attribute javaName.attribute javaType.attribute keyattribute local.attribute name.attribute onDelete.attribute onUpdate.package relative or absolute, only inheritance typeattribute peerInterface.attribute primaryKey.attribute protected.attribute required.attribute scale.attribute size.attribute skipSqlattribute type.attribute useDatabaseDefaultValue.attribute value.attribute version -
Method Summary
Modifier and TypeMethodDescriptiongetName()returns the name of the attribute.toString()static TorqueSchemaAttributeNameReturns the enum constant of this class with the specified name.static TorqueSchemaAttributeName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
attribute name. -
JAVA_NAME
attribute javaName. -
JAVA_TYPE
attribute javaType. -
FOREIGN_TABLE
attribute foreignTable. -
LOCAL
attribute local. -
FOREIGN
attribute foreign. -
ON_UPDATE
attribute onUpdate. -
ON_DELETE
attribute onDelete. -
PRIMARY_KEY
attribute primaryKey. -
ID_METHOD
attribute idMethod. -
DEFAULT_ID_METHOD
attribute defaultIdMethod. -
DEFAULT_JAVA_TYPE
attribute defaultJavaType. -
VALUE
attribute value. -
REQUIRED
attribute required. -
AUTO_INCREMENT
attribute autoIncrement. -
INHERITANCE
attribute inheritance. -
INTERFACE
attribute interface. -
PEER_INTERFACE
attribute peerInterface. -
PROTECTED
attribute protected. -
DEFAULT
attribute default. -
USE_DATABASE_DEFAULT_VALUE
attribute useDatabaseDefaultValue. -
CLASS
attribute class. -
BASE_CLASS
attribute baseClass. -
EXTENDS
attribute extends. -
DOMAIN
attribute domain. -
TYPE
attribute type. -
SIZE
attribute size. -
SCALE
attribute scale. -
FILENAME
attribute filename. -
KEY
attribute key -
SKIP_SQL
attribute skipSql -
VERSION
attribute version -
ENUM_TYPE
attribute version -
PACKAGE
package relative or absolute, only inheritance type
-
-
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 attribute.- Specified by:
getNamein interfaceSourceAttributeName- Returns:
- the name of the attribute, not null.
-
toString
- Overrides:
toStringin classEnum<TorqueSchemaAttributeName>
-