|
Project: stp | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
ObjectEnum<CqFieldDefinition.Requiredness>
CqFieldDefinition.Requiredness
public static enum CqFieldDefinition.Requiredness
An enumeration of the possible restrictions on assigning a value to a field.
| Enum Constant Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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'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 |
|---|
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
| Method Detail |
|---|
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 namepublic static final CqFieldDefinition.Requiredness[] values()
for(CqFieldDefinition.Requiredness c : CqFieldDefinition.Requiredness.values())
System.out.println(c);
|
Generated Thu 18-Feb-2010 12:40 PM | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||