com.acsinet_solutions.cetia4.controller.meta
Enum AttributeMaintenancePolicy

java.lang.Object
  extended by java.lang.Enum<AttributeMaintenancePolicy>
      extended by com.acsinet_solutions.cetia4.controller.meta.AttributeMaintenancePolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AttributeMaintenancePolicy>

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

Maintenance policy of form attributes. These constants control the removal of an attribute loaded in a page when it's declared using the FormAttribute annotation.

Author:
Santiago Arriaga
See Also:
FormAttribute

Enum Constant Summary
DEFAULT
          Default is global for PagedSearchFilter objects, nested otherwise.
GLOBAL
          Do not delete once created, unless explicitly deleted.
NESTED
          Delete when current block is left, unless a previous block defines the same attribute.
 
Method Summary
static AttributeMaintenancePolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AttributeMaintenancePolicy[] 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final AttributeMaintenancePolicy DEFAULT
Default is global for PagedSearchFilter objects, nested otherwise.

See Also:
PagedSearchFilter

GLOBAL

public static final AttributeMaintenancePolicy GLOBAL
Do not delete once created, unless explicitly deleted.


NESTED

public static final AttributeMaintenancePolicy NESTED
Delete when current block is left, unless a previous block defines the same attribute.

Method Detail

values

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

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

valueOf

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