Package org.faktorips.runtime.internal
Class EnumValues
java.lang.Object
org.faktorips.runtime.internal.EnumValues
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
ConstructorsConstructorDescriptionEnumValues(String[] values, boolean containsNull) Creates a new EnumValues object. -
Method Summary
-
Constructor Details
-
EnumValues
Creates a new EnumValues object.
-
-
Method Details
-
containsNull
public boolean containsNull()- Returns:
- Returns of the value null is contained in the values
-
getValue
- Returns:
- Returns the value at the indexed position
-
getNumberOfValues
public int getNumberOfValues()- Returns:
- Returns the number of values
-