| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PropositionParameterContract |
|
| 1.0;1 |
| 1 | package org.kuali.rice.krms.api.repository; | |
| 2 | ||
| 3 | ||
| 4 | public interface PropositionParameterContract { | |
| 5 | /** | |
| 6 | * This is the Id for the proposition parameter | |
| 7 | * | |
| 8 | * <p> | |
| 9 | * It is the Id of a proposition parameter. | |
| 10 | * </p> | |
| 11 | * @return Id for proposition parameter. | |
| 12 | */ | |
| 13 | public String getId(); | |
| 14 | ||
| 15 | /** | |
| 16 | * This is the Id for the parent proposition. | |
| 17 | * | |
| 18 | * <p> | |
| 19 | * It is the Id of the parent proposition. | |
| 20 | * </p> | |
| 21 | * @return Id for parent parameter. | |
| 22 | */ | |
| 23 | public String getPropId(); | |
| 24 | ||
| 25 | ||
| 26 | /** | |
| 27 | * This is the value of the proposition parameter | |
| 28 | * | |
| 29 | * <p> | |
| 30 | * It is the value of the parameter | |
| 31 | * </p> | |
| 32 | * @return value of the parameter | |
| 33 | */ | |
| 34 | public String getValue(); | |
| 35 | ||
| 36 | /** | |
| 37 | * This is the type of the parameter. | |
| 38 | * Proposition parameters are one of the following types: | |
| 39 | * Constant Values: numbers, strings, dates, etc. | |
| 40 | * Terms: data available in the execution environment or provided by an asset resolver | |
| 41 | * Functions: custom functions that resolve to a value, | |
| 42 | * or standard operators (equals, greater than, less than, ...) | |
| 43 | * | |
| 44 | * <p> | |
| 45 | * It identified the type of the parameter. | |
| 46 | * </p> | |
| 47 | * @return the parameter type code. Valid values are C, T, and F. | |
| 48 | */ | |
| 49 | public String getParameterType(); | |
| 50 | ||
| 51 | /** | |
| 52 | * This is the sequence number of the proposition parameter. | |
| 53 | * Proposition parameters are listed in Reverse Polish Notation. | |
| 54 | * The sequence number (starting with 1) identifies the position of the | |
| 55 | * parameter in the list. | |
| 56 | * | |
| 57 | * @return the sequence number of the proposition parameter | |
| 58 | */ | |
| 59 | public Integer getSequenceNumber(); | |
| 60 | } |