Enum Constant and Description |
---|
ANY |
COLLECT |
FIRST |
OUTPUT_ORDER |
PRIORITY |
RULE_ORDER |
UNIQUE |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
protected java.lang.String |
xmlValue |
Modifier and Type | Method and Description |
---|---|
static HitPolicy |
fromXmlValue(java.lang.String xmlValue) |
java.lang.String |
getId() |
java.lang.String |
getXmlValue() |
static HitPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HitPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HitPolicy UNIQUE
public static final HitPolicy ANY
public static final HitPolicy PRIORITY
public static final HitPolicy FIRST
public static final HitPolicy OUTPUT_ORDER
public static final HitPolicy RULE_ORDER
public static final HitPolicy COLLECT
public static HitPolicy[] values()
for (HitPolicy c : HitPolicy.values()) System.out.println(c);
public static HitPolicy 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 java.lang.String getXmlValue()
public java.lang.String getId()
getId
in interface io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
public static HitPolicy fromXmlValue(java.lang.String xmlValue)