public static enum WsSubject.WsSubjectResultCode extends java.lang.Enum<WsSubject.WsSubjectResultCode>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final WsSubject.WsSubjectResultCode SUCCESS
public static final WsSubject.WsSubjectResultCode SUBJECT_NOT_FOUND
public static final WsSubject.WsSubjectResultCode SUBJECT_DUPLICATE
public static final WsSubject.WsSubjectResultCode SOURCE_UNAVAILABLE
public static final WsSubject.WsSubjectResultCode UNRESOLVABLE
public static WsSubject.WsSubjectResultCode[] values()
for (WsSubject.WsSubjectResultCode c : WsSubject.WsSubjectResultCode.values()) System.out.println(c);
public static WsSubject.WsSubjectResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isSuccess()