public static enum TypedPropertyCriteria.MatchOption extends Enum<TypedPropertyCriteria.MatchOption>
Different options can be used to match a specific property based on its type. Regardless of the
option chosen, if the property type equals the propertyClass it will be selected.
propertyClass.
.propertyClass.
.| Enum Constant and Description |
|---|
ALL |
SUB_TYPE |
SUPER_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static TypedPropertyCriteria.MatchOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypedPropertyCriteria.MatchOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypedPropertyCriteria.MatchOption SUB_TYPE
public static final TypedPropertyCriteria.MatchOption SUPER_TYPE
public static final TypedPropertyCriteria.MatchOption ALL
public static TypedPropertyCriteria.MatchOption[] values()
for (TypedPropertyCriteria.MatchOption c : TypedPropertyCriteria.MatchOption.values()) System.out.println(c);
public static TypedPropertyCriteria.MatchOption 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 nullCopyright © 2013 JBoss Inc.. All Rights Reserved.