com.ca.commons.datamodel
Enum MetaDataDefs.GeneratedOverrideStatus

java.lang.Object
  extended by java.lang.Enum<MetaDataDefs.GeneratedOverrideStatus>
      extended by com.ca.commons.datamodel.MetaDataDefs.GeneratedOverrideStatus
All Implemented Interfaces:
Serializable, Comparable<MetaDataDefs.GeneratedOverrideStatus>
Enclosing class:
MetaDataDefs

public static enum MetaDataDefs.GeneratedOverrideStatus
extends Enum<MetaDataDefs.GeneratedOverrideStatus>

Specifies what to do when client provides values for generated columns in an LDAP ADD request.


Enum Constant Summary
Error
          Fail the request with a validation error.
Ignore
          Silently throw away the override value and let the endpoint generate one itself.
Override
          Pass the provided value on to the endpoint, which may use it instead if it supports such semantics.
 
Method Summary
static MetaDataDefs.GeneratedOverrideStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MetaDataDefs.GeneratedOverrideStatus[] 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

Override

public static final MetaDataDefs.GeneratedOverrideStatus Override
Pass the provided value on to the endpoint, which may use it instead if it supports such semantics.


Error

public static final MetaDataDefs.GeneratedOverrideStatus Error
Fail the request with a validation error.


Ignore

public static final MetaDataDefs.GeneratedOverrideStatus Ignore
Silently throw away the override value and let the endpoint generate one itself.

Method Detail

values

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

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

valueOf

public static MetaDataDefs.GeneratedOverrideStatus 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


Created 2011-07-14 13:27 EST