com.kpro.dataobjects
Enum Retention

java.lang.Object
  extended by java.lang.Enum<Retention>
      extended by com.kpro.dataobjects.Retention
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Retention>

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

The retentions that a case can contain. See P3P specs for more info.

Author:
ernie

Enum Constant Summary
BUSINESS_PRACTICES
           
INDEFINITELY
           
LEGAL_REQUIREMENT
           
NO_RETENTION
           
STATED_PURPOSE
           
 
Method Summary
static Retention valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Retention[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_RETENTION

public static final Retention NO_RETENTION

STATED_PURPOSE

public static final Retention STATED_PURPOSE

LEGAL_REQUIREMENT

public static final Retention LEGAL_REQUIREMENT

BUSINESS_PRACTICES

public static final Retention BUSINESS_PRACTICES

INDEFINITELY

public static final Retention INDEFINITELY
Method Detail

values

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

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

valueOf

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