public enum QueryReturnType extends Enum<QueryReturnType>
Enum Constant and Description |
---|
LEAF_CLASS |
LEAF_CLASS_WITH_REPOSITORY_ITEM |
OBJECT_REF |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static QueryReturnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryReturnType |
valueOfCode(String code) |
static QueryReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryReturnType LEAF_CLASS
public static final QueryReturnType OBJECT_REF
public static final QueryReturnType LEAF_CLASS_WITH_REPOSITORY_ITEM
public static QueryReturnType[] values()
for (QueryReturnType c : QueryReturnType.values()) System.out.println(c);
public static QueryReturnType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCode()
public static QueryReturnType valueOfCode(String code)
Copyright © 2018 Open eHealth Foundation. All rights reserved.