Package org.faktorips.runtime.internal
Class EnumValues
- java.lang.Object
-
- org.faktorips.runtime.internal.EnumValues
-
public class EnumValues extends java.lang.ObjectRepresents 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 createorg.faktorips.valueset.EnumValueSetobjects.- Author:
- Peter Erzberger
-
-
Constructor Summary
Constructors Constructor Description EnumValues(java.lang.String[] values, boolean containsNull)Creates a new EnumValues object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsNull()intgetNumberOfValues()java.lang.StringgetValue(int index)
-
-
-
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
-
-