| |
|
| java.lang.Object org.mandarax.examples.crm.PredicatesAndFunctions
PredicatesAndFunctions | public class PredicatesAndFunctions (Code) | | Factory for predicates and functions used in this example.
author: Jens Dietrich version: 3.4 <7 March 05> since: 3.4 |
PredicatesAndFunctions | public PredicatesAndFunctions()(Code) | | Constructor.
|
getFunctionTurnover | public static Function getFunctionTurnover()(Code) | | Get the "get turnover" function
a function |
getFunctionTurnoverForKindOfPayment | public static Function getFunctionTurnoverForKindOfPayment()(Code) | | Get the "get turnover made with a certain kind of payment" function
a function |
getPredicateGetDiscount | public static Predicate getPredicateGetDiscount()(Code) | | Get the "customer gets a certain discount" predicate
a predicate |
getPredicateHasCategory | public static Predicate getPredicateHasCategory()(Code) | | Get the "customer is in a certain category" predicate
a predicate |
|
|
|