public static enum WsStemLookup.StemFindResult extends java.lang.Enum<WsStemLookup.StemFindResult>
Enum Constant and Description |
---|
INVALID_QUERY
incvalid query (e.g.
|
STEM_NOT_FOUND
cant find the subject
|
STEM_UUID_NAME_IDINDEX_DONT_MATCH
uuid doesnt match name or id index etc
|
SUCCESS
found the stem
|
Modifier and Type | Method and Description |
---|---|
abstract WsStemDeleteResult.WsStemDeleteResultCode |
convertToDeleteCode()
convert this code to a delete code
|
static WsStemDeleteResult.WsStemDeleteResultCode |
convertToDeleteCodeStatic(WsStemLookup.StemFindResult stemFindResult)
null safe equivalent to convertToDeleteCode
|
boolean |
isSuccess()
if this is a successful result
|
static WsStemLookup.StemFindResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsStemLookup.StemFindResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsStemLookup.StemFindResult STEM_UUID_NAME_IDINDEX_DONT_MATCH
public static final WsStemLookup.StemFindResult SUCCESS
public static final WsStemLookup.StemFindResult STEM_NOT_FOUND
public static final WsStemLookup.StemFindResult INVALID_QUERY
public static WsStemLookup.StemFindResult[] values()
for (WsStemLookup.StemFindResult c : WsStemLookup.StemFindResult.values()) System.out.println(c);
public static WsStemLookup.StemFindResult 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 WsStemDeleteResult.WsStemDeleteResultCode convertToDeleteCode()
public static WsStemDeleteResult.WsStemDeleteResultCode convertToDeleteCodeStatic(WsStemLookup.StemFindResult stemFindResult)
stemFindResult
- to convert