Class EnumerationType

  • All Implemented Interfaces:
    IGenerateable

    public class EnumerationType
    extends DataType
    Internal representation of an enumeration type.
    Version:
    $Id: $Id
    Author:
    another
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumerationType​(java.lang.String name)
      Constructor for EnumerationType.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addValue​(java.lang.String aValue)
      addValue.
      java.util.List<java.lang.String> getValues()
      Getter for the field values.
      void setValues​(java.util.List<java.lang.String> list)
      Sets possible values.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EnumerationType

        public EnumerationType​(java.lang.String name)

        Constructor for EnumerationType.

        Parameters:
        name - a String object.
    • Method Detail

      • addValue

        public void addValue​(java.lang.String aValue)

        addValue.

        Parameters:
        aValue - a String object.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getValues

        public java.util.List<java.lang.String> getValues()

        Getter for the field values.

        Returns:
        possible values
      • setValues

        public void setValues​(java.util.List<java.lang.String> list)
        Sets possible values.
        Parameters:
        list - values