edu.internet2.middleware.grouperClient.jdbc
Enum GcPersist

java.lang.Object
  extended by java.lang.Enum<GcPersist>
      extended by edu.internet2.middleware.grouperClient.jdbc.GcPersist
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GcPersist>

public enum GcPersist
extends java.lang.Enum<GcPersist>

Whether fields should be persisted to the database or not.

Author:
harveycg

Enum Constant Summary
defaultToPersistableClassDefaultFieldPersist
          Default to the class level behavior.
dontPersist
          Don't persist them.
doPersist
          Do persist them.
persistIfPersistableField
          persist the field if it has the persistable field annotation
selectButDontPersist
          Don't persist them.
 
Method Summary
static GcPersist valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GcPersist[] 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

doPersist

public static final GcPersist doPersist
Do persist them.


dontPersist

public static final GcPersist dontPersist
Don't persist them.


selectButDontPersist

public static final GcPersist selectButDontPersist
Don't persist them.


defaultToPersistableClassDefaultFieldPersist

public static final GcPersist defaultToPersistableClassDefaultFieldPersist
Default to the class level behavior.


persistIfPersistableField

public static final GcPersist persistIfPersistableField
persist the field if it has the persistable field annotation

Method Detail

values

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

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

valueOf

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