edu.internet2.middleware.grouper.ws.coresoap
Enum WsSubject.WsSubjectResultCode

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

public static enum WsSubject.WsSubjectResultCode
extends java.lang.Enum<WsSubject.WsSubjectResultCode>

result code of a request


Enum Constant Summary
SOURCE_UNAVAILABLE
          source was unavailable
SUBJECT_DUPLICATE
          duplicate subject records found
SUBJECT_NOT_FOUND
          cant find subject
SUCCESS
          found the stem (or not)
UNRESOLVABLE
          subject is in member table, but cant be found from subject source
 
Method Summary
 boolean isSuccess()
          if this is a successful result
static WsSubject.WsSubjectResultCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WsSubject.WsSubjectResultCode[] 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 WsSubject.WsSubjectResultCode SUCCESS
found the stem (or not)


SUBJECT_NOT_FOUND

public static final WsSubject.WsSubjectResultCode SUBJECT_NOT_FOUND
cant find subject


SUBJECT_DUPLICATE

public static final WsSubject.WsSubjectResultCode SUBJECT_DUPLICATE
duplicate subject records found


SOURCE_UNAVAILABLE

public static final WsSubject.WsSubjectResultCode SOURCE_UNAVAILABLE
source was unavailable


UNRESOLVABLE

public static final WsSubject.WsSubjectResultCode UNRESOLVABLE
subject is in member table, but cant be found from subject source

Method Detail

values

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

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

valueOf

public static WsSubject.WsSubjectResultCode 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