JTools

org.jtools.dao.invocation
Enum MethodHelper

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

public enum MethodHelper
extends Enum<MethodHelper>
implements Comparator<Method>, org.jpattern.condition.Condition<Method>

TODO type-description

Author:
Rainer Noack

Enum Constant Summary
ADD_ELEMENT_DYNAMIC
           
ADD_ELEMENT_SPECIFIC
           
CREATE_ELEMENT_DYNAMIC
           
CREATE_ELEMENT_SPECIFIC
           
SET_ATTRIBUTE_DYNAMIC
           
SET_ATTRIBUTE_SPECIFIC
           
SET_ELEMENT_DYNAMIC
           
SET_ELEMENT_SPECIFIC
           
 
Method Summary
 int compare(Method o1, Method o2)
           
 ActualParameters getActualParameters(Method m)
           
 ConstructorHelper getInitComparator()
           
 boolean match(Method filterable)
           
static MethodHelper valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MethodHelper[] 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
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Enum Constant Detail

SET_ATTRIBUTE_SPECIFIC

public static final MethodHelper SET_ATTRIBUTE_SPECIFIC

SET_ATTRIBUTE_DYNAMIC

public static final MethodHelper SET_ATTRIBUTE_DYNAMIC

CREATE_ELEMENT_SPECIFIC

public static final MethodHelper CREATE_ELEMENT_SPECIFIC

CREATE_ELEMENT_DYNAMIC

public static final MethodHelper CREATE_ELEMENT_DYNAMIC

ADD_ELEMENT_SPECIFIC

public static final MethodHelper ADD_ELEMENT_SPECIFIC

ADD_ELEMENT_DYNAMIC

public static final MethodHelper ADD_ELEMENT_DYNAMIC

SET_ELEMENT_SPECIFIC

public static final MethodHelper SET_ELEMENT_SPECIFIC

SET_ELEMENT_DYNAMIC

public static final MethodHelper SET_ELEMENT_DYNAMIC
Method Detail

values

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

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

valueOf

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

getInitComparator

public ConstructorHelper getInitComparator()

compare

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

match

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

getActualParameters

public ActualParameters getActualParameters(Method m)

JTools

© 2000-2006, JTools.org.