public static enum WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode extends java.lang.Enum<WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
something bad happened (lite status code 500) (success: F)
|
INSUFFICIENT_PRIVILEGES
not allowed to the privileges on the inputs.
|
INVALID_QUERY
invalid query (e.g.
|
SUCCESS
found the attributeAssignments (lite status code 200) (success: T)
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode()
get the http result code for this status code
|
boolean |
isSuccess()
if this is a successful result
|
java.lang.String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode SUCCESS
public static final WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode EXCEPTION
public static final WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode INVALID_QUERY
public static final WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode INSUFFICIENT_PRIVILEGES
public static WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode[] values()
for (WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode c : WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode.values()) System.out.println(c);
public static WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public boolean isSuccess()
isSuccess
in interface WsResultCode
public int getHttpStatusCode()
getHttpStatusCode
in interface WsResultCode