org.jasig.services.persondir.support
Enum AttributeBasedCacheKeyGenerator.CachableMethod

java.lang.Object
  extended by java.lang.Enum<AttributeBasedCacheKeyGenerator.CachableMethod>
      extended by org.jasig.services.persondir.support.AttributeBasedCacheKeyGenerator.CachableMethod
All Implemented Interfaces:
Serializable, Comparable<AttributeBasedCacheKeyGenerator.CachableMethod>
Enclosing class:
AttributeBasedCacheKeyGenerator

public static enum AttributeBasedCacheKeyGenerator.CachableMethod
extends Enum<AttributeBasedCacheKeyGenerator.CachableMethod>

Methods on IPersonAttributeDao that are cachable


Enum Constant Summary
MULTIVALUED_USER_ATTRIBUTES__MAP
           
MULTIVALUED_USER_ATTRIBUTES__STR
           
POSSIBLE_USER_ATTRIBUTE_NAMES
           
USER_ATTRIBUTES__MAP
           
USER_ATTRIBUTES__STR
           
 
Method Summary
 Class<?>[] getArgs()
           
 String getName()
           
 String toString()
           
static AttributeBasedCacheKeyGenerator.CachableMethod valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeBasedCacheKeyGenerator.CachableMethod[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MULTIVALUED_USER_ATTRIBUTES__MAP

public static final AttributeBasedCacheKeyGenerator.CachableMethod MULTIVALUED_USER_ATTRIBUTES__MAP

MULTIVALUED_USER_ATTRIBUTES__STR

public static final AttributeBasedCacheKeyGenerator.CachableMethod MULTIVALUED_USER_ATTRIBUTES__STR

USER_ATTRIBUTES__MAP

public static final AttributeBasedCacheKeyGenerator.CachableMethod USER_ATTRIBUTES__MAP

USER_ATTRIBUTES__STR

public static final AttributeBasedCacheKeyGenerator.CachableMethod USER_ATTRIBUTES__STR

POSSIBLE_USER_ATTRIBUTE_NAMES

public static final AttributeBasedCacheKeyGenerator.CachableMethod POSSIBLE_USER_ATTRIBUTE_NAMES
Method Detail

values

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

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

valueOf

public static AttributeBasedCacheKeyGenerator.CachableMethod 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

getName

public String getName()
Returns:
the name

getArgs

public Class<?>[] getArgs()
Returns:
the args

toString

public String toString()
Overrides:
toString in class Enum<AttributeBasedCacheKeyGenerator.CachableMethod>


Copyright © 1998-2008 Java Architectures Special Interest Group. All Rights Reserved.