Class EnumValues

java.lang.Object
org.faktorips.runtime.internal.EnumValues

public class EnumValues extends Object
Represents a collection of enum values. This class is used during the process of reading data of enum value sets from an xml representation into memory and create org.faktorips.valueset.EnumValueSet objects.
Author:
Peter Erzberger
  • Constructor Details

    • EnumValues

      public EnumValues(String[] values, boolean containsNull)
      Creates a new EnumValues object.
  • Method Details

    • containsNull

      public boolean containsNull()
      Returns:
      Returns of the value null is contained in the values
    • getValue

      public String getValue(int index)
      Returns:
      Returns the value at the indexed position
    • getNumberOfValues

      public int getNumberOfValues()
      Returns:
      Returns the number of values