|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BaseMetaobjectProtocol.Results> org.dynalang.mop.BaseMetaobjectProtocol.Results
public static enum BaseMetaobjectProtocol.Results
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.Results |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BaseMetaobjectProtocol.Results[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BaseMetaobjectProtocol.Results doesNotExist
public static final BaseMetaobjectProtocol.Results noAuthority
public static final BaseMetaobjectProtocol.Results notCallable
public static final BaseMetaobjectProtocol.Results notDeleteable
public static final BaseMetaobjectProtocol.Results notReadable
public static final BaseMetaobjectProtocol.Results noRepresentation
public static final BaseMetaobjectProtocol.Results notWritable
public static final BaseMetaobjectProtocol.Results ok
Method Detail |
---|
public static final BaseMetaobjectProtocol.Results[] values()
for(BaseMetaobjectProtocol.Results c : BaseMetaobjectProtocol.Results.values()) System.out.println(c);
public static BaseMetaobjectProtocol.Results 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |