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 javax.xml.registry.JAXRException
true
if AND is to be used across conditionsjavax.xml.registry.JAXRException
- if an internal error occursvoid setUseAndOperator(boolean useAndOperator) throws javax.xml.registry.JAXRException
useAndOperator
- - true
if AND is to be used , false
if OR is to be usedjavax.xml.registry.JAXRException
- if an internal error occursjava.util.List<Condition> getConditions() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on retrieving the conditionsvoid addCondition(Condition condition) throws javax.xml.registry.JAXRException
condition
- the condition to addjavax.xml.registry.JAXRException
- if an internal error occurs on adding the conditionvoid setConditions(java.util.List<Condition> conditions) throws javax.xml.registry.JAXRException
conditions
- the list of Condition
objects to setjavax.xml.registry.JAXRException
- if an internal error occurs on updating the conditions