public enum QueryTransformerRegistrar extends Enum<QueryTransformerRegistrar>
Enum Constant and Description |
---|
INSTANCE
Instance constant.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Class<? extends QueryResultData> resultDataClass,
Class<? extends QueryResult> resultClass,
String name) |
void |
add(QtResultTypes resultType,
String name) |
Optional<String> |
getName(Class<? extends QueryResultData> resultDataClass,
Class<? extends QueryResult> resultClass) |
static QueryTransformerRegistrar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryTransformerRegistrar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryTransformerRegistrar INSTANCE
public static QueryTransformerRegistrar[] values()
for (QueryTransformerRegistrar c : QueryTransformerRegistrar.values()) System.out.println(c);
public static QueryTransformerRegistrar 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 void add(QtResultTypes resultType, String name)
public void add(Class<? extends QueryResultData> resultDataClass, Class<? extends QueryResult> resultClass, String name)
public Optional<String> getName(Class<? extends QueryResultData> resultDataClass, Class<? extends QueryResult> resultClass)
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries