public enum MatchCriteria extends Enum<MatchCriteria> implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the match criteria.
|
String |
getName()
Return the default name of the match criteria.
|
int |
getOrdinal()
Return the numeric representation of the match criteria.
|
String |
toString()
toString() JSON-style
|
static MatchCriteria |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchCriteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchCriteria ALL
public static final MatchCriteria ANY
public static final MatchCriteria NONE
public static MatchCriteria[] values()
for (MatchCriteria c : MatchCriteria.values()) System.out.println(c);
public static MatchCriteria 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<MatchCriteria>Copyright © 2018–2019 ODPi. All rights reserved.