public static enum CqFieldDefinition.Requiredness extends Enum<CqFieldDefinition.Requiredness> implements com.ibm.rational.wvcm.stpex.StpExEnumeration
Enum Constant and Description |
---|
MANDATORY
a field value is MANDATORY; a non-null value must be provided.
|
OPTIONAL
a field value is OPTIONAL; a non-null value may be provider but is
not required
|
READ_ONLY
field is READ_ONLY; its value cannot be changed.
|
USE_HOOK
a field value is determined by calling the associated hook
|
Modifier and Type | Method and Description |
---|---|
static CqFieldDefinition.Requiredness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CqFieldDefinition.Requiredness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CqFieldDefinition.Requiredness MANDATORY
public static final CqFieldDefinition.Requiredness OPTIONAL
public static final CqFieldDefinition.Requiredness READ_ONLY
public static final CqFieldDefinition.Requiredness USE_HOOK
public static CqFieldDefinition.Requiredness valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static CqFieldDefinition.Requiredness[] values()
for (CqFieldDefinition.Requiredness c : CqFieldDefinition.Requiredness.values()) System.out.println(c);
Copyright © IBM 2018. All rights reserved.