JTools

org.jtools.dao.invocation
Enum ConstructorHelper

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

public enum ConstructorHelper
extends Enum<ConstructorHelper>
implements Comparator<Constructor>, org.jpattern.condition.Condition<Constructor>

TODO type-description

Author:
Rainer Noack

Enum Constant Summary
INIT_ATTRIBUTE_DYNAMIC
           
INIT_ATTRIBUTE_SPECIFIC
           
INIT_ELEMENT_DYNAMIC
           
INIT_ELEMENT_SPECIFIC
           
 
Method Summary
 int compare(Constructor o1, Constructor o2)
           
 ActualParameters getActualParameters(Constructor c)
           
 boolean isAttributeHelper()
           
 boolean match(Constructor filterable)
           
static ConstructorHelper valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConstructorHelper[] 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

INIT_ATTRIBUTE_SPECIFIC

public static final ConstructorHelper INIT_ATTRIBUTE_SPECIFIC

INIT_ATTRIBUTE_DYNAMIC

public static final ConstructorHelper INIT_ATTRIBUTE_DYNAMIC

INIT_ELEMENT_SPECIFIC

public static final ConstructorHelper INIT_ELEMENT_SPECIFIC

INIT_ELEMENT_DYNAMIC

public static final ConstructorHelper INIT_ELEMENT_DYNAMIC
Method Detail

values

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

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

valueOf

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

isAttributeHelper

public boolean isAttributeHelper()

compare

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

match

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

getActualParameters

public ActualParameters getActualParameters(Constructor c)

JTools

© 2000-2006, JTools.org.