Enum InheritanceAttributeName
- java.lang.Object
-
- java.lang.Enum<InheritanceAttributeName>
-
- org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
- All Implemented Interfaces:
Serializable
,Comparable<InheritanceAttributeName>
,SourceAttributeName
public enum InheritanceAttributeName extends Enum<InheritanceAttributeName> implements SourceAttributeName
Contains the attributes for a inheritance source element which are not defined in the Torque schema. Find them inTorqueSchemaAttributeName
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEAN_CLASS_NAME
The class name of the bean class created from this inheritance element.BEAN_EXTENDS
The base class of the bean class created from this inheritance element.BEAN_PACKAGE
The package of the bean class created from this inheritance element.CLASS_NAME
The name of the class created from this inheritance element.CLASSKEY_CONSTANT
The name of the constant in the peer which contains the key for the processed inheritance class.PACKAGE
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Returns the name of the referenced source element attribute.String
toString()
static InheritanceAttributeName
valueOf(String name)
Returns the enum constant of this type with the specified name.static InheritanceAttributeName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASSKEY_CONSTANT
public static final InheritanceAttributeName CLASSKEY_CONSTANT
The name of the constant in the peer which contains the key for the processed inheritance class.
-
CLASS_NAME
public static final InheritanceAttributeName CLASS_NAME
The name of the class created from this inheritance element.
-
PACKAGE
@Deprecated public static final InheritanceAttributeName PACKAGE
Deprecated.The package of the class created from this inheritance element. now inTorqueSchemaAttributeName
.
-
BEAN_PACKAGE
public static final InheritanceAttributeName BEAN_PACKAGE
The package of the bean class created from this inheritance element.
-
BEAN_EXTENDS
public static final InheritanceAttributeName BEAN_EXTENDS
The base class of the bean class created from this inheritance element.
-
BEAN_CLASS_NAME
public static final InheritanceAttributeName BEAN_CLASS_NAME
The class name of the bean class created from this inheritance element.
-
-
Method Detail
-
values
public static InheritanceAttributeName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InheritanceAttributeName c : InheritanceAttributeName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InheritanceAttributeName valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
Returns the name of the referenced source element attribute.- Specified by:
getName
in interfaceSourceAttributeName
- Returns:
- the name of the referenced source element attribute.
-
toString
public String toString()
- Overrides:
toString
in classEnum<InheritanceAttributeName>
-
-