Project: stp

com.ibm.rational.wvcm.stp.cq
Enum CqFieldValue.ValidationStatus

Object
  extended by Enum<CqFieldValue.ValidationStatus>
      extended by CqFieldValue.ValidationStatus
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CqFieldValue.ValidationStatus>
Enclosing interface:
CqFieldValue<T>

public static enum CqFieldValue.ValidationStatus
extends Enum<CqFieldValue.ValidationStatus>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

An enumeration indicating the validity of a field value.


Enum Constant Summary
INVALID
          The field value has been validated and found to be invalid.
NEEDS_VALIDATION
          The field value has not yet been validated and so it is unknown whether it is valid or not.
VALID
          The field value has been validated and found to be valid.
 
Method Summary
static CqFieldValue.ValidationStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqFieldValue.ValidationStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID

public static final CqFieldValue.ValidationStatus INVALID
The field value has been validated and found to be invalid.


NEEDS_VALIDATION

public static final CqFieldValue.ValidationStatus NEEDS_VALIDATION
The field value has not yet been validated and so it is unknown whether it is valid or not.


VALID

public static final CqFieldValue.ValidationStatus VALID
The field value has been validated and found to be valid.

Method Detail

valueOf

public static CqFieldValue.ValidationStatus 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

values

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

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

Generated Fri 20-Feb-2015 11:07 PM

Copyright © IBM 2015. All rights reserved.