org.oddjob.arooa.design.view.multitype
Enum MultiTypeStrategy.Strategies
java.lang.Object
java.lang.Enum<MultiTypeStrategy.Strategies>
org.oddjob.arooa.design.view.multitype.MultiTypeStrategy.Strategies
- All Implemented Interfaces:
- Serializable, Comparable<MultiTypeStrategy.Strategies>, MultiTypeStrategy
- Enclosing interface:
- MultiTypeStrategy
public static enum MultiTypeStrategy.Strategies
- extends Enum<MultiTypeStrategy.Strategies>
- implements MultiTypeStrategy
Enum Constant Summary |
KEYED
When the widget is for a mapped property. |
LIST
When the widget is for an indexed property. |
NAMED
When the widget is for Oddjob's variables designer. |
LIST
public static final MultiTypeStrategy.Strategies LIST
- When the widget is for an indexed property.
KEYED
public static final MultiTypeStrategy.Strategies KEYED
- When the widget is for a mapped property.
NAMED
public static final MultiTypeStrategy.Strategies NAMED
- When the widget is for Oddjob's variables designer.
values
public static MultiTypeStrategy.Strategies[] 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 (MultiTypeStrategy.Strategies c : MultiTypeStrategy.Strategies.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MultiTypeStrategy.Strategies 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 name
NullPointerException
- if the argument is null