edu.internet2.middleware.grouper.ws.soap
Enum WsAttributeDefNameLookup.AttributeDefNameFindResult

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

public static enum WsAttributeDefNameLookup.AttributeDefNameFindResult
extends Enum<WsAttributeDefNameLookup.AttributeDefNameFindResult>

result of attribute def name find


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


ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME

public static final WsAttributeDefNameLookup.AttributeDefNameFindResult ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
uuid doesnt match name


ATTRIBUTE_DEF_NAME_NOT_FOUND

public static final WsAttributeDefNameLookup.AttributeDefNameFindResult ATTRIBUTE_DEF_NAME_NOT_FOUND
cant find the attributeDefName


INVALID_QUERY

public static final WsAttributeDefNameLookup.AttributeDefNameFindResult INVALID_QUERY
incvalid query (e.g. if everything blank)

Method Detail

values

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

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

valueOf

public static WsAttributeDefNameLookup.AttributeDefNameFindResult 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