|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InteractionContextType>
org.nakedobjects.metamodel.consent.InteractionContextType
public enum InteractionContextType
Powertype for the InteractionContext hierarchy.
| Enum Constant Summary | |
|---|---|
ACTION_INVOKE
Invoking (or attempting to invoke) an action. |
|
ACTION_PROPOSED_ARGUMENT
Whether this particular proposed argument for an action invocation is valid (or if it is in fact invalid). |
|
ACTION_USABLE
Whether the action of the object is usable (or has been disabled). |
|
ACTION_VISIBLE
Whether the action of the object is visible (or has been hidden). |
|
COLLECTION_ADD_TO
Adding to (or attempting to add to) a collection. |
|
COLLECTION_READ
Reading the contents of the collection. |
|
COLLECTION_REMOVE_FROM
Removing from (or attempting to remove from) a collection. |
|
COLLECTION_USABLE
Determining whether the collection of the object is either readable or modifiable (or has been disabled). |
|
COLLECTION_VISIBLE
Determining whether the collection of the object is visible (or has been hidden). |
|
OBJECT_TITLE
Accessing the object's title. |
|
OBJECT_VALIDATE
Persisting the object. |
|
PARSE_VALUE
Parsing a value (could be an property or an action argument). |
|
PROPERTY_MODIFY
Modifying (or attempting to modify) the value of a property. |
|
PROPERTY_READ
Reading the current value of the property of the object. |
|
PROPERTY_USABLE
Determining whether the property of the object is either readable or modifiable (or has been disabled). |
|
PROPERTY_VISIBLE
Determining whether the property of the object is visible (or has been hidden). |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
|
static InteractionContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InteractionContextType[] |
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 |
|---|
public static final InteractionContextType OBJECT_VALIDATE
public static final InteractionContextType OBJECT_TITLE
public static final InteractionContextType PROPERTY_VISIBLE
public static final InteractionContextType PROPERTY_USABLE
public static final InteractionContextType PROPERTY_READ
public static final InteractionContextType PROPERTY_MODIFY
public static final InteractionContextType COLLECTION_VISIBLE
public static final InteractionContextType COLLECTION_USABLE
public static final InteractionContextType COLLECTION_READ
public static final InteractionContextType COLLECTION_ADD_TO
public static final InteractionContextType COLLECTION_REMOVE_FROM
public static final InteractionContextType ACTION_VISIBLE
public static final InteractionContextType ACTION_USABLE
public static final InteractionContextType ACTION_PROPOSED_ARGUMENT
For example, ensuring that a regular expression match or number range is correct.
public static final InteractionContextType ACTION_INVOKE
Even if each of the proposed arguments are valid, it may not be
possible to invoke the action if there the arguments together are invalid (for example,
startDate > endDate).
public static final InteractionContextType PARSE_VALUE
| Method Detail |
|---|
public static InteractionContextType[] values()
for (InteractionContextType c : InteractionContextType.values()) System.out.println(c);
public static InteractionContextType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||