KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > alfresco > repo > action > evaluator > compare > ComparePropertyValueOperation


1 package org.alfresco.repo.action.evaluator.compare;
2
3 /**
4  * ComparePropertyValueOperation enum.
5  * <p>
6  * Contains the operations that can be used when evaluating whether the value of a property
7  * matches the value set.
8  * <p>
9  * Some operations can only be used with specific types. If a mismatch is encountered an error will
10  * be raised.
11  */

12 public enum ComparePropertyValueOperation
13 {
14     EQUALS, // All property types
15
CONTAINS, // String properties only
16
BEGINS, // String properties only
17
ENDS, // String properties only
18
GREATER_THAN, // Numeric and date properties only
19
GREATER_THAN_EQUAL, // Numeric and date properties only
20
LESS_THAN, // Numeric and date properties only
21
LESS_THAN_EQUAL // Numeric and date properties only
22
}
Popular Tags