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