edu.internet2.middleware.grouper.ws.coresoap
Enum WsAttributeAssignLookup.AttributeAssignResult

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

public static enum WsAttributeAssignLookup.AttributeAssignResult
extends Enum<WsAttributeAssignLookup.AttributeAssignResult>

result of attribute def name find


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


ATTRIBUTE_ASSIGN_NOT_FOUND

public static final WsAttributeAssignLookup.AttributeAssignResult ATTRIBUTE_ASSIGN_NOT_FOUND
cant find the attributeAssign


INVALID_QUERY

public static final WsAttributeAssignLookup.AttributeAssignResult INVALID_QUERY
incvalid query (e.g. if everything blank)

Method Detail

values

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

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

valueOf

public static WsAttributeAssignLookup.AttributeAssignResult 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