Project: stp

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

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

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

An enumeration indicating whether or not a field has a value.


Enum Constant Summary
HAS_A_VALUE
          The field has a value.
HAS_NO_VALUE
          The field has no value set.
VALUE_NOT_AVAILABLE
          The current state of the field prevents it from returning a value.
 
Method Summary
static CqFieldValue.ValueStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqFieldValue.ValueStatus[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

HAS_A_VALUE

public static final CqFieldValue.ValueStatus HAS_A_VALUE
The field has a value.


HAS_NO_VALUE

public static final CqFieldValue.ValueStatus HAS_NO_VALUE
The field has no value set.


VALUE_NOT_AVAILABLE

public static final CqFieldValue.ValueStatus VALUE_NOT_AVAILABLE
The current state of the field prevents it from returning a value.

Method Detail

valueOf

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

values

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

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

Generated Thu 2-Oct-2014 10:59 AM

Copyright © IBM 2014. All rights reserved.