edu.internet2.middleware.grouper.ws.coresoap
Enum WsMembershipAnyLookup.MembershipAnyFindResult

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

public static enum WsMembershipAnyLookup.MembershipAnyFindResult
extends java.lang.Enum<WsMembershipAnyLookup.MembershipAnyFindResult>

result of attribute def name find


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


INVALID_QUERY

public static final WsMembershipAnyLookup.MembershipAnyFindResult INVALID_QUERY
invalid query (e.g. if everything blank)

Method Detail

values

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

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

valueOf

public static WsMembershipAnyLookup.MembershipAnyFindResult 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