edu.internet2.middleware.grouper.ws.coresoap
Enum WsSubjectLookup.MemberFindResult

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

public static enum WsSubjectLookup.MemberFindResult
extends Enum<WsSubjectLookup.MemberFindResult>

result of a subject find


Enum Constant Summary
INVALID_QUERY
          invalid query (e.g.
MEMBER_NOT_FOUND
          cant find member
SUCCESS
          found the member
 
Method Summary
 boolean isSuccess()
          if this is a successful result
static WsSubjectLookup.MemberFindResult valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WsSubjectLookup.MemberFindResult[] 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

SUCCESS

public static final WsSubjectLookup.MemberFindResult SUCCESS
found the member


INVALID_QUERY

public static final WsSubjectLookup.MemberFindResult INVALID_QUERY
invalid query (e.g. everything blank or subject identifier specified with no subject id)


MEMBER_NOT_FOUND

public static final WsSubjectLookup.MemberFindResult MEMBER_NOT_FOUND
cant find member

Method Detail

values

public static WsSubjectLookup.MemberFindResult[] 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 (WsSubjectLookup.MemberFindResult c : WsSubjectLookup.MemberFindResult.values())
    System.out.println(c);

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

valueOf

public static WsSubjectLookup.MemberFindResult 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
NullPointerException - if the argument is null

isSuccess

public boolean isSuccess()
if this is a successful result

Returns:
true if success