JTools

org.jtools.dao.invocation
Enum ParamHelper

java.lang.Object
  extended by java.lang.Enum<ParamHelper>
      extended by org.jtools.dao.invocation.ParamHelper
All Implemented Interfaces:
Serializable, Comparable<ParamHelper>, Comparator<Class[]>, org.jpattern.condition.Condition<Class[]>

public enum ParamHelper
extends Enum<ParamHelper>
implements Comparator<Class[]>, org.jpattern.condition.Condition<Class[]>

TODO type-description

Author:
Rainer Noack

Enum Constant Summary
ADD_ELEMENT_DYNAMIC
           
ADD_ELEMENT_SPECIFIC
           
CREATE_ELEMENT_DYNAMIC
           
CREATE_ELEMENT_SPECIFIC
           
INIT_ATTRIBUTE_DYNAMIC
           
INIT_ATTRIBUTE_SPECIFIC
           
INIT_ELEMENT_DYNAMIC
           
INIT_ELEMENT_SPECIFIC
           
SET_ATTRIBUTE_DYNAMIC
           
SET_ATTRIBUTE_SPECIFIC
           
SET_ELEMENT_DYNAMIC
           
SET_ELEMENT_SPECIFIC
           
 
Method Summary
 int compare(Class[] o1, Class[] o2)
           
 ActualParameters getActualParameters(Class[] o)
           
 int getNumRelevant()
           
 boolean match(Class[] filterable)
           
protected  int nameIndex(Class[] o)
           
protected  int parentIndex(Class[] o)
           
protected  int[] relevantIndices(Class[] o)
           
protected  int valueIndex(Class[] o)
           
static ParamHelper valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParamHelper[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Enum Constant Detail

SET_ATTRIBUTE_SPECIFIC

public static final ParamHelper SET_ATTRIBUTE_SPECIFIC

SET_ATTRIBUTE_DYNAMIC

public static final ParamHelper SET_ATTRIBUTE_DYNAMIC

INIT_ATTRIBUTE_SPECIFIC

public static final ParamHelper INIT_ATTRIBUTE_SPECIFIC

INIT_ATTRIBUTE_DYNAMIC

public static final ParamHelper INIT_ATTRIBUTE_DYNAMIC

CREATE_ELEMENT_SPECIFIC

public static final ParamHelper CREATE_ELEMENT_SPECIFIC

CREATE_ELEMENT_DYNAMIC

public static final ParamHelper CREATE_ELEMENT_DYNAMIC

INIT_ELEMENT_SPECIFIC

public static final ParamHelper INIT_ELEMENT_SPECIFIC

INIT_ELEMENT_DYNAMIC

public static final ParamHelper INIT_ELEMENT_DYNAMIC

ADD_ELEMENT_SPECIFIC

public static final ParamHelper ADD_ELEMENT_SPECIFIC

ADD_ELEMENT_DYNAMIC

public static final ParamHelper ADD_ELEMENT_DYNAMIC

SET_ELEMENT_SPECIFIC

public static final ParamHelper SET_ELEMENT_SPECIFIC

SET_ELEMENT_DYNAMIC

public static final ParamHelper SET_ELEMENT_DYNAMIC
Method Detail

values

public static final ParamHelper[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ParamHelper c : ParamHelper.values())
        System.out.println(c);

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

valueOf

public static ParamHelper 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

valueIndex

protected int valueIndex(Class[] o)

nameIndex

protected int nameIndex(Class[] o)

parentIndex

protected int parentIndex(Class[] o)

relevantIndices

protected int[] relevantIndices(Class[] o)

getActualParameters

public ActualParameters getActualParameters(Class[] o)

getNumRelevant

public int getNumRelevant()

compare

public int compare(Class[] o1,
                   Class[] o2)
Specified by:
compare in interface Comparator<Class[]>

match

public boolean match(Class[] filterable)
Specified by:
match in interface org.jpattern.condition.Condition<Class[]>

JTools

© 2000-2006, JTools.org.