Class EnumValues


  • public class EnumValues
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      EnumValues​(java.lang.String[] values, boolean containsNull)
      Creates a new EnumValues object.
    • Constructor Detail

      • EnumValues

        public EnumValues​(java.lang.String[] values,
                          boolean containsNull)
        Creates a new EnumValues object.
    • Method Detail

      • containsNull

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

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

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