|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BaseMetaobjectProtocol.Result>
org.dynalang.mop.BaseMetaobjectProtocol.Result
public static enum BaseMetaobjectProtocol.Result
Defines special operation results that are used as return values from many metaobject protocol methods to indicate success or failure.
Enum Constant Summary | |
---|---|
doesNotExist
The requested property does not exist. |
|
noAuthority
The metaobject protocol can't authoritatively perform the requested operation on the object (the object is foreign to it). |
|
noRepresentation
A suitable type representation for a value could not be obtained. |
|
notCallable
The target object that was attempted to be called does not support calling (is not a callable) in the context of the attempted call operation (either with positional or named arguments). |
|
notDeleteable
The property attempted to be deleted can not be deleted. |
|
notReadable
The property attempted to be read exists, but is not readable. |
|
notWritable
The property attempted to be written exists, but is not writable. |
|
ok
The operation succeeded. |
Method Summary | |
---|---|
static BaseMetaobjectProtocol.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BaseMetaobjectProtocol.Result[] |
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 BaseMetaobjectProtocol.Result doesNotExist
public static final BaseMetaobjectProtocol.Result noAuthority
public static final BaseMetaobjectProtocol.Result notCallable
public static final BaseMetaobjectProtocol.Result notDeleteable
public static final BaseMetaobjectProtocol.Result notReadable
public static final BaseMetaobjectProtocol.Result noRepresentation
public static final BaseMetaobjectProtocol.Result notWritable
public static final BaseMetaobjectProtocol.Result ok
Method Detail |
---|
public static BaseMetaobjectProtocol.Result[] values()
for (BaseMetaobjectProtocol.Result c : BaseMetaobjectProtocol.Result.values()) System.out.println(c);
public static BaseMetaobjectProtocol.Result 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |