| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RuleContract |
|
| 1.0;1 |
| 1 | package org.kuali.rice.krms.api.repository; | |
| 2 | ||
| 3 | import java.util.List; | |
| 4 | ||
| 5 | public interface RuleContract { | |
| 6 | /** | |
| 7 | * This is the ID for the Rule | |
| 8 | * | |
| 9 | * <p> | |
| 10 | * It is a ID of a Rule | |
| 11 | * </p> | |
| 12 | * @return ID for Rule | |
| 13 | */ | |
| 14 | public String getRuleId(); | |
| 15 | ||
| 16 | /** | |
| 17 | * This is the name of the Rule | |
| 18 | * | |
| 19 | * <p> | |
| 20 | * name - the name of the Rule | |
| 21 | * </p> | |
| 22 | * @return the name of the Rule | |
| 23 | */ | |
| 24 | public String getName(); | |
| 25 | ||
| 26 | /** | |
| 27 | * This is the namespace of the Rule | |
| 28 | * | |
| 29 | * <p> | |
| 30 | * The namespace of the Rule | |
| 31 | * </p> | |
| 32 | * @return the namespace of the Rule | |
| 33 | */ | |
| 34 | public String getNamespace(); | |
| 35 | ||
| 36 | /** | |
| 37 | * This is the KrmsType of the Rule | |
| 38 | * | |
| 39 | * @return id for KRMS type related of the Rule | |
| 40 | */ | |
| 41 | public String getTypeId(); | |
| 42 | ||
| 43 | public String getPropId(); | |
| 44 | ||
| 45 | public PropositionContract getProposition(); | |
| 46 | ||
| 47 | public String getActionId(); | |
| 48 | ||
| 49 | public ActionContract getAction(); | |
| 50 | /** | |
| 51 | * This method returns a list of attributes associated with the | |
| 52 | * Rule | |
| 53 | * | |
| 54 | * @return a list of RuleAttribute objects. | |
| 55 | */ | |
| 56 | public List<? extends RuleAttributeContract> getAttributes(); | |
| 57 | ||
| 58 | ||
| 59 | } |