public interface PolicyCondition extends PolicyRegistryObject
Modifier and Type | Method and Description |
---|---|
void |
addCondition(Condition condition)
Adds the given condition to the list of conditions.
|
java.util.List<Condition> |
getConditions()
Gets the list of conditions applicable for this policyCondition.
|
void |
setConditions(java.util.List<Condition> conditions)
Sets the given list of conditions replacing any existing conditions.
|
void |
setUseAndOperator(boolean useAndOperator)
Sets whether AND is used to be across conditions.
|
boolean |
usesAndOperator() |
addAssociation, addAssociation, getAllClassifiedConcepts, getAllJAXRObjects, getAllObsoleteObjects, getAssociations, getAssociations, getClassifications, getClassifiedConcept, getDescription, getJAXRObject, getJAXRRegistryService, getKey, getLoggedInUserLocale, getName, removeAllAssociations, removeAllClassifications, setDescription, setName, toXMLForRepair
boolean usesAndOperator() throws JAXRException
true
if AND is to be used across conditionsJAXRException
- if an internal error occursvoid setUseAndOperator(boolean useAndOperator) throws JAXRException
useAndOperator
- - true
if AND is to be used , false
if OR is to be usedJAXRException
- if an internal error occursjava.util.List<Condition> getConditions() throws JAXRException
JAXRException
- if an internal error occurs on retrieving the conditionsvoid addCondition(Condition condition) throws JAXRException
condition
- the condition to addJAXRException
- if an internal error occurs on adding the conditionvoid setConditions(java.util.List<Condition> conditions) throws JAXRException
conditions
- the list of Condition
objects to setJAXRException
- if an internal error occurs on updating the conditions