|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode>
edu.internet2.middleware.grouper.ws.coresoap.WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode
public static enum WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode
result code of a request
Enum Constant Summary | |
---|---|
EXCEPTION
problems with operation (lite http status code 500) (success: F) |
|
INVALID_QUERY
invalid query (e.g. |
|
SUCCESS
found the attribute def names (lite http status code 200) (success: T) |
Method Summary | |
---|---|
int |
getHttpStatusCode()
get the http status code associated with this status code, e.g. |
boolean |
isSuccess()
if this is a successful result |
String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client |
static WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.internet2.middleware.grouper.ws.WsResultCode |
---|
name |
Enum Constant Detail |
---|
public static final WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode SUCCESS
public static final WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode EXCEPTION
public static final WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode INVALID_QUERY
Method Detail |
---|
public static WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode[] values()
for (WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode c : WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode.values()) System.out.println(c);
public static WsFindAttributeDefNamesResults.WsFindAttributeDefNamesResultsCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
-
public int getHttpStatusCode()
WsResultCode
getHttpStatusCode
in interface WsResultCode
WsResultCode.getHttpStatusCode()
public boolean isSuccess()
isSuccess
in interface WsResultCode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |