public static enum WsHasMemberResult.WsHasMemberResultCode extends java.lang.Enum<WsHasMemberResult.WsHasMemberResultCode>
Enum Constant and Description |
---|
EXCEPTION
problem with query
|
INVALID_QUERY
invalid query (e.g.
|
IS_MEMBER
the subject is a member (success = T)
|
IS_NOT_MEMBER
the subject was found and is not a member (success = T)
|
SUBJECT_DUPLICATE
found multiple results
|
SUBJECT_NOT_FOUND
cant find the subject
|
Modifier and Type | Method and Description |
---|---|
abstract WsHasMemberLiteResult.WsHasMemberLiteResultCode |
convertToLiteCode()
if there is one result, convert to the results code
|
boolean |
isSuccess()
if this is a successful result
|
static WsHasMemberResult.WsHasMemberResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsHasMemberResult.WsHasMemberResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsHasMemberResult.WsHasMemberResultCode SUBJECT_DUPLICATE
public static final WsHasMemberResult.WsHasMemberResultCode SUBJECT_NOT_FOUND
public static final WsHasMemberResult.WsHasMemberResultCode IS_MEMBER
public static final WsHasMemberResult.WsHasMemberResultCode IS_NOT_MEMBER
public static final WsHasMemberResult.WsHasMemberResultCode EXCEPTION
public static final WsHasMemberResult.WsHasMemberResultCode INVALID_QUERY
public static WsHasMemberResult.WsHasMemberResultCode[] values()
for (WsHasMemberResult.WsHasMemberResultCode c : WsHasMemberResult.WsHasMemberResultCode.values()) System.out.println(c);
public static WsHasMemberResult.WsHasMemberResultCode 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()
public abstract WsHasMemberLiteResult.WsHasMemberLiteResultCode convertToLiteCode()