org.eclipse.tigerstripe.model
Enum IMethod.OssjEntityMethodFlavor

java.lang.Object
  extended by java.lang.Enum<IMethod.OssjEntityMethodFlavor>
      extended by org.eclipse.tigerstripe.model.IMethod.OssjEntityMethodFlavor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IMethod.OssjEntityMethodFlavor>
Enclosing interface:
IMethod

public static enum IMethod.OssjEntityMethodFlavor
extends java.lang.Enum<IMethod.OssjEntityMethodFlavor>

This enum represents the "Flavors" that might be supported for a method. It is designed specifically for OSS/J usage.


Enum Constant Summary
BULKATOMIC
           
BULKATOMICBYKEYS
           
BULKBESTEFFORT
           
BULKBESTEFFORTBYKEYS
           
BYAUTONAMING
           
BYTEMPLATE
           
BYTEMPLATEBESTEFFORT
           
BYTEMPLATES
           
BYTEMPLATESBESTEFFORT
           
SIMPLE
           
SIMPLEBYKEY
           
 
Method Summary
 java.lang.String getPojoLabel()
           
static IMethod.OssjEntityMethodFlavor valueFromPojoLabel(java.lang.String label)
           
static IMethod.OssjEntityMethodFlavor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IMethod.OssjEntityMethodFlavor[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SIMPLE

public static final IMethod.OssjEntityMethodFlavor SIMPLE

SIMPLEBYKEY

public static final IMethod.OssjEntityMethodFlavor SIMPLEBYKEY

BULKATOMIC

public static final IMethod.OssjEntityMethodFlavor BULKATOMIC

BULKATOMICBYKEYS

public static final IMethod.OssjEntityMethodFlavor BULKATOMICBYKEYS

BULKBESTEFFORT

public static final IMethod.OssjEntityMethodFlavor BULKBESTEFFORT

BULKBESTEFFORTBYKEYS

public static final IMethod.OssjEntityMethodFlavor BULKBESTEFFORTBYKEYS

BYTEMPLATE

public static final IMethod.OssjEntityMethodFlavor BYTEMPLATE

BYTEMPLATES

public static final IMethod.OssjEntityMethodFlavor BYTEMPLATES

BYTEMPLATEBESTEFFORT

public static final IMethod.OssjEntityMethodFlavor BYTEMPLATEBESTEFFORT

BYTEMPLATESBESTEFFORT

public static final IMethod.OssjEntityMethodFlavor BYTEMPLATESBESTEFFORT

BYAUTONAMING

public static final IMethod.OssjEntityMethodFlavor BYAUTONAMING
Method Detail

values

public static IMethod.OssjEntityMethodFlavor[] 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 (IMethod.OssjEntityMethodFlavor c : IMethod.OssjEntityMethodFlavor.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IMethod.OssjEntityMethodFlavor 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 name
java.lang.NullPointerException - if the argument is null

getPojoLabel

public java.lang.String getPojoLabel()

valueFromPojoLabel

public static IMethod.OssjEntityMethodFlavor valueFromPojoLabel(java.lang.String label)