Enum TableStructureKind
- java.lang.Object
-
- java.lang.Enum<TableStructureKind>
-
- org.faktorips.runtime.model.table.TableStructureKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TableStructureKind>
public enum TableStructureKind extends java.lang.Enum<TableStructureKind>
Runtime mirror for table structure types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTIPLE_CONTENTSMultiple contents - for this table structure one or more table contents are allowed.SINGLE_CONTENTSingle content - for this table structure only on table content is allowed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableStructureKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TableStructureKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_CONTENT
public static final TableStructureKind SINGLE_CONTENT
Single content - for this table structure only on table content is allowed.
-
MULTIPLE_CONTENTS
public static final TableStructureKind MULTIPLE_CONTENTS
Multiple contents - for this table structure one or more table contents are allowed.
-
-
Method Detail
-
values
public static TableStructureKind[] 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 (TableStructureKind c : TableStructureKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableStructureKind valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-