org.apache.torque.templates.model

## 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 and Description
    --- | ---
    `String` | `description` The description of the enum-value.
    `boolean` | `hasNext` Whether another enumValue exists in the list of enumValues where this enumValue belongs to.
    `String` | `javaName` The java name of the enum-value.
    `Column` | `parent` The column to which this enum-value definition belongs to.
    `String` | `sqlValue` The properly escaped sql value for the value.
    `String` | `value` The value of the enum-value.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnumValue()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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.

  - ### Constructor Detail

    - #### EnumValue

          public EnumValue()

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.