Package de.xima.fc.mdl.enums
Enum EMatchCondition
- java.lang.Object
-
- java.lang.Enum<EMatchCondition>
-
- de.xima.fc.mdl.enums.EMatchCondition
-
- All Implemented Interfaces:
IMatchCondition
,INamedUiElement
,ISortKeyProviding<Integer>
,Serializable
,Comparable<EMatchCondition>
,BiPredicate<Object,Object>
public enum EMatchCondition extends Enum<EMatchCondition> implements IMatchCondition, INamedUiElement, ISortKeyProviding<Integer>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
EMPTY
ENDS_WITH
EQUAL
GREATER
GREATER_THAN_OR_EQUAL
LESS_THAN_OR_EQUAL
LESSER
NOT_CONTAINS
NOT_EMPTY
NOT_ENDS_WITH
NOT_EQUAL
NOT_REGEX_MATCH
NOT_STARTS_WITH
REGEX_MATCH
STARTS_WITH
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName(Locale l)
Integer
getSortKey()
boolean
isRequiresRightHandSide()
boolean
test(Object t, Object u)
static EMatchCondition
valueOf(String name)
Returns the enum constant of this type with the specified name.static EMatchCondition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
-
-
-
Enum Constant Detail
-
EMPTY
public static final EMatchCondition EMPTY
-
NOT_EMPTY
public static final EMatchCondition NOT_EMPTY
-
EQUAL
public static final EMatchCondition EQUAL
-
NOT_EQUAL
public static final EMatchCondition NOT_EQUAL
-
CONTAINS
public static final EMatchCondition CONTAINS
-
NOT_CONTAINS
public static final EMatchCondition NOT_CONTAINS
-
GREATER
public static final EMatchCondition GREATER
-
GREATER_THAN_OR_EQUAL
public static final EMatchCondition GREATER_THAN_OR_EQUAL
-
LESSER
public static final EMatchCondition LESSER
-
LESS_THAN_OR_EQUAL
public static final EMatchCondition LESS_THAN_OR_EQUAL
-
STARTS_WITH
public static final EMatchCondition STARTS_WITH
-
NOT_STARTS_WITH
public static final EMatchCondition NOT_STARTS_WITH
-
ENDS_WITH
public static final EMatchCondition ENDS_WITH
-
NOT_ENDS_WITH
public static final EMatchCondition NOT_ENDS_WITH
-
REGEX_MATCH
public static final EMatchCondition REGEX_MATCH
-
NOT_REGEX_MATCH
public static final EMatchCondition NOT_REGEX_MATCH
-
-
Method Detail
-
values
public static EMatchCondition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EMatchCondition c : EMatchCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMatchCondition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isRequiresRightHandSide
public boolean isRequiresRightHandSide()
- Returns:
- Whether this matching conditions needs a right hand side, i.e. two arguments.
-
getDisplayName
public String getDisplayName(Locale l)
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getSortKey
public Integer getSortKey()
- Specified by:
getSortKey
in interfaceISortKeyProviding<Integer>
- Returns:
- Key to be used for sorting instances.
-
-