Enum CmsContainerElement.ModelGroupState
- java.lang.Object
-
- java.lang.Enum<CmsContainerElement.ModelGroupState>
-
- org.opencms.ade.containerpage.shared.CmsContainerElement.ModelGroupState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsContainerElement.ModelGroupState>
- Enclosing class:
- CmsContainerElement
public static enum CmsContainerElement.ModelGroupState extends java.lang.Enum<CmsContainerElement.ModelGroupState>
The model group states.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description isModelGroup
Is model group state.noGroup
No model group what so ever.wasModelGroup
Former copy model group.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsContainerElement.ModelGroupState
evaluate(java.lang.String state)
Evaluates the given state string.static CmsContainerElement.ModelGroupState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsContainerElement.ModelGroupState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
isModelGroup
public static final CmsContainerElement.ModelGroupState isModelGroup
Is model group state.
-
noGroup
public static final CmsContainerElement.ModelGroupState noGroup
No model group what so ever.
-
wasModelGroup
public static final CmsContainerElement.ModelGroupState wasModelGroup
Former copy model group.
-
-
Method Detail
-
values
public static CmsContainerElement.ModelGroupState[] 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 (CmsContainerElement.ModelGroupState c : CmsContainerElement.ModelGroupState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsContainerElement.ModelGroupState 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
-
evaluate
public static CmsContainerElement.ModelGroupState evaluate(java.lang.String state)
Evaluates the given state string.- Parameters:
state
- the state- Returns:
- the model group state
-
-