public static enum WsSubjectLookup.MemberFindResult extends java.lang.Enum<WsSubjectLookup.MemberFindResult>
Enum Constant and Description |
---|
INVALID_QUERY
invalid query (e.g.
|
MEMBER_NOT_FOUND
cant find member
|
SUCCESS
found the member
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSuccess()
if this is a successful result
|
static WsSubjectLookup.MemberFindResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsSubjectLookup.MemberFindResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsSubjectLookup.MemberFindResult SUCCESS
public static final WsSubjectLookup.MemberFindResult INVALID_QUERY
public static final WsSubjectLookup.MemberFindResult MEMBER_NOT_FOUND
public static WsSubjectLookup.MemberFindResult[] values()
for (WsSubjectLookup.MemberFindResult c : WsSubjectLookup.MemberFindResult.values()) System.out.println(c);
public static WsSubjectLookup.MemberFindResult 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()