Package org.apache.torque.templates
Enum TorqueSchemaInheritance
- java.lang.Object
-
- java.lang.Enum<TorqueSchemaInheritance>
-
- org.apache.torque.templates.TorqueSchemaInheritance
-
- All Implemented Interfaces:
Serializable
,Comparable<TorqueSchemaInheritance>
public enum TorqueSchemaInheritance extends Enum<TorqueSchemaInheritance>
The possible values of the inheritance attribute of the column element. $Id: TorqueSchemaInheritance.java 1331196 2012-04-27 02:56:12Z tfischer $
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Returns the value of the inheritance attribute.String
toString()
static TorqueSchemaInheritance
valueOf(String name)
Returns the enum constant of this type with the specified name.static TorqueSchemaInheritance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final TorqueSchemaInheritance SINGLE
This column determines the inheritance class of the table.
-
FALSE
public static final TorqueSchemaInheritance FALSE
This column does nor define an inheritance column.
-
-
Method Detail
-
values
public static TorqueSchemaInheritance[] 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 (TorqueSchemaInheritance c : TorqueSchemaInheritance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TorqueSchemaInheritance 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
-
getValue
public String getValue()
Returns the value of the inheritance attribute.- Returns:
- the value of the inheritance attribute, not null.
-
toString
public String toString()
- Overrides:
toString
in classEnum<TorqueSchemaInheritance>
-
-