edu.internet2.middleware.grouper.webservices
Enum WsAddMemberResults.WsAddMemberResultCode

java.lang.Object
  extended by java.lang.Enum<WsAddMemberResults.WsAddMemberResultCode>
      extended by edu.internet2.middleware.grouper.webservices.WsAddMemberResults.WsAddMemberResultCode
All Implemented Interfaces:
Serializable, Comparable<WsAddMemberResults.WsAddMemberResultCode>
Enclosing class:
WsAddMemberResults

public static enum WsAddMemberResults.WsAddMemberResultCode
extends Enum<WsAddMemberResults.WsAddMemberResultCode>

result code of a request


Enum Constant Summary
EXCEPTION
          found the subject
INVALID_QUERY
          invalid query (e.g.
PROBLEM_DELETING_MEMBERS
          problem deleting existing members
PROBLEM_WITH_ASSIGNMENT
          something in one assignment wasnt successful
SUCCESS
          found the subject
 
Method Summary
 boolean isSuccess()
          if this is a successful result
static WsAddMemberResults.WsAddMemberResultCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WsAddMemberResults.WsAddMemberResultCode[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

SUCCESS

public static final WsAddMemberResults.WsAddMemberResultCode SUCCESS
found the subject


EXCEPTION

public static final WsAddMemberResults.WsAddMemberResultCode EXCEPTION
found the subject


PROBLEM_DELETING_MEMBERS

public static final WsAddMemberResults.WsAddMemberResultCode PROBLEM_DELETING_MEMBERS
problem deleting existing members


INVALID_QUERY

public static final WsAddMemberResults.WsAddMemberResultCode INVALID_QUERY
invalid query (e.g. if everything blank)


PROBLEM_WITH_ASSIGNMENT

public static final WsAddMemberResults.WsAddMemberResultCode PROBLEM_WITH_ASSIGNMENT
something in one assignment wasnt successful

Method Detail

values

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

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

valueOf

public static WsAddMemberResults.WsAddMemberResultCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

isSuccess

public boolean isSuccess()
if this is a successful result

Returns:
true if success