Package de.xima.fc.mdl.enums
Enum EFormElementRepetitionMode
- java.lang.Object
-
- java.lang.Enum<EFormElementRepetitionMode>
-
- de.xima.fc.mdl.enums.EFormElementRepetitionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EFormElementRepetitionMode>
public enum EFormElementRepetitionMode extends Enum<EFormElementRepetitionMode>
Indicates whether and how a form element is repeated.- Since:
- 8.2.0
- Author:
- XIMA MEDIA
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_REPEATED
The element is not repeated.PARENT_REPEATED
The element is inside a repeated container.SELF_REPEATED
The element is itself repeated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFormElementRepetitionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFormElementRepetitionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REPEATED
public static final EFormElementRepetitionMode NOT_REPEATED
The element is not repeated.
-
SELF_REPEATED
public static final EFormElementRepetitionMode SELF_REPEATED
The element is itself repeated.
-
PARENT_REPEATED
public static final EFormElementRepetitionMode PARENT_REPEATED
The element is inside a repeated container.
-
-
Method Detail
-
values
public static EFormElementRepetitionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EFormElementRepetitionMode c : EFormElementRepetitionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFormElementRepetitionMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-