Class EnumValue
- java.lang.Object
-
- org.apache.torque.templates.model.EnumValue
-
public class EnumValue extends Object
The model of the enum-value tag in a Torque schema file.- Version:
- $Id: $
-
-
Field Summary
Fields Modifier and Type Field Description StringdescriptionThe description of the enum-value.booleanhasNextWhether another enumValue exists in the list of enumValues where this enumValue belongs to.StringjavaNameThe java name of the enum-value.ColumnparentThe column to which this enum-value definition belongs to.StringsqlValueThe properly escaped sql value for the value.StringvalueThe value of the enum-value.
-
Constructor Summary
Constructors Constructor Description EnumValue()
-
-
-
Field Detail
-
parent
public Column parent
The column to which this enum-value definition belongs to.
-
value
public String value
The value of the enum-value.
-
javaName
public String javaName
The java name of the enum-value.
-
description
public String description
The description of the enum-value.
-
sqlValue
public String sqlValue
The properly escaped sql value for the value.
-
hasNext
public boolean hasNext
Whether another enumValue exists in the list of enumValues where this enumValue belongs to.
-
-