public static enum WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode extends java.lang.Enum<WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
something bad happened (lite status code 500) (success: F)
|
INSUFFICIENT_PRIVILEGES
not allowed to assign or remove attribute def name inheritance based on privileges on the attribute definition
|
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 WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode[] |
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 WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode SUCCESS
public static final WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode EXCEPTION
public static final WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode INVALID_QUERY
public static final WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode INSUFFICIENT_PRIVILEGES
public static WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode[] values()
for (WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode c : WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode.values()) System.out.println(c);
public static WsAssignAttributeDefNameInheritanceResults.WsAssignAttributeDefNameInheritanceResultsCode 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