edu.internet2.middleware.grouper.ws.soap
Enum WsAttributeDefLookup.AttributeDefFindResult

java.lang.Object
  extended by java.lang.Enum<WsAttributeDefLookup.AttributeDefFindResult>
      extended by edu.internet2.middleware.grouper.ws.soap.WsAttributeDefLookup.AttributeDefFindResult
All Implemented Interfaces:
Serializable, Comparable<WsAttributeDefLookup.AttributeDefFindResult>
Enclosing class:
WsAttributeDefLookup

public static enum WsAttributeDefLookup.AttributeDefFindResult
extends Enum<WsAttributeDefLookup.AttributeDefFindResult>

result of attribute def name find


Enum Constant Summary
ATTRIBUTE_DEF_NOT_FOUND
          cant find the attributeDef
ATTRIBUTE_DEF_UUID_DOESNT_MATCH_NAME
          uuid doesnt match name
INVALID_QUERY
          incvalid query (e.g.
SUCCESS
          found the attributeDef
 
Method Summary
 boolean isSuccess()
          if this is a successful result
static WsAttributeDefLookup.AttributeDefFindResult valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WsAttributeDefLookup.AttributeDefFindResult[] 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 WsAttributeDefLookup.AttributeDefFindResult SUCCESS
found the attributeDef


ATTRIBUTE_DEF_UUID_DOESNT_MATCH_NAME

public static final WsAttributeDefLookup.AttributeDefFindResult ATTRIBUTE_DEF_UUID_DOESNT_MATCH_NAME
uuid doesnt match name


ATTRIBUTE_DEF_NOT_FOUND

public static final WsAttributeDefLookup.AttributeDefFindResult ATTRIBUTE_DEF_NOT_FOUND
cant find the attributeDef


INVALID_QUERY

public static final WsAttributeDefLookup.AttributeDefFindResult INVALID_QUERY
incvalid query (e.g. if everything blank)

Method Detail

values

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

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

valueOf

public static WsAttributeDefLookup.AttributeDefFindResult 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