public static enum WsSubjectLookup.SubjectFindResult extends java.lang.Enum<WsSubjectLookup.SubjectFindResult>
Enum Constant and Description |
---|
INVALID_QUERY
invalid query (e.g.
|
SOURCE_UNAVAILABLE
when the source if not available
|
SUBJECT_DUPLICATE
found multiple results
|
SUBJECT_NOT_FOUND
cant find the subject
|
SUCCESS
found the subject
|
SUCCESS_CREATED
if the subject was not found, but created e.g.
|
Modifier and Type | Method and Description |
---|---|
abstract WsHasMemberResult.WsHasMemberResultCode |
convertToHasMemberResultCode()
convert to has member result
|
boolean |
isSuccess()
if this is a successful result
|
static WsSubjectLookup.SubjectFindResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsSubjectLookup.SubjectFindResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsSubjectLookup.SubjectFindResult SUCCESS
public static final WsSubjectLookup.SubjectFindResult SUCCESS_CREATED
public static final WsSubjectLookup.SubjectFindResult SUBJECT_DUPLICATE
public static final WsSubjectLookup.SubjectFindResult SUBJECT_NOT_FOUND
public static final WsSubjectLookup.SubjectFindResult INVALID_QUERY
public static final WsSubjectLookup.SubjectFindResult SOURCE_UNAVAILABLE
public static WsSubjectLookup.SubjectFindResult[] values()
for (WsSubjectLookup.SubjectFindResult c : WsSubjectLookup.SubjectFindResult.values()) System.out.println(c);
public static WsSubjectLookup.SubjectFindResult 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 abstract WsHasMemberResult.WsHasMemberResultCode convertToHasMemberResultCode()
public boolean isSuccess()