org.oddjob.arooa.design.view.multitype
Enum MultiTypeStrategy.Strategies

java.lang.Object
  extended by java.lang.Enum<MultiTypeStrategy.Strategies>
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.arooa.design.view.multitype.MultiTypeStrategy
MultiTypeStrategy.Strategies
 
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.
 
Method Summary
static MultiTypeStrategy.Strategies valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MultiTypeStrategy.Strategies[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.oddjob.arooa.design.view.multitype.MultiTypeStrategy
getNameColumn, getTypeColumn, getValueColumn, tableModelFor
 

Enum Constant Detail

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.

Method Detail

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