edu.internet2.middleware.grouper.ws.coresoap
Enum WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode

java.lang.Object
  extended by java.lang.Enum<WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode>
      extended by edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode>
Enclosing class:
WsAttributeDefNameDeleteResult

public static enum WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode
extends java.lang.Enum<WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode>

result code of a request


Enum Constant Summary
ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
          in attribute def name lookup, the uuid doesnt match name
EXCEPTION
          problem with deleting
INSUFFICIENT_PRIVILEGES
          user not allowed
INVALID_QUERY
          invalid query, can only happen if Lite query
PARENT_STEM_NOT_FOUND
          if parent stem cant be found
SUCCESS
          successful addition (lite status code 200)
SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND
          the attributeDefName was not found
TRANSACTION_ROLLED_BACK
          transaction rolled back
 
Method Summary
abstract  WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode convertToLiteCode()
          if there is one result, convert to the results code
 boolean isSuccess()
          if this is a successful result
static WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode[] 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
 

Enum Constant Detail

ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
in attribute def name lookup, the uuid doesnt match name


SUCCESS

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode SUCCESS
successful addition (lite status code 200)


INVALID_QUERY

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode INVALID_QUERY
invalid query, can only happen if Lite query


SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND
the attributeDefName was not found


EXCEPTION

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode EXCEPTION
problem with deleting


INSUFFICIENT_PRIVILEGES

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode INSUFFICIENT_PRIVILEGES
user not allowed


TRANSACTION_ROLLED_BACK

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode TRANSACTION_ROLLED_BACK
transaction rolled back


PARENT_STEM_NOT_FOUND

public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode PARENT_STEM_NOT_FOUND
if parent stem cant be found

Method Detail

values

public static WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode c : WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isSuccess

public boolean isSuccess()
if this is a successful result

Returns:
true if success

convertToLiteCode

public abstract WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode convertToLiteCode()
if there is one result, convert to the results code

Returns:
result code