Class AbstractDisableConditions<T extends DisableCondition>
java.lang.Object
org.ametys.runtime.model.disableconditions.AbstractDisableConditions<T>
- Type Parameters:
T- The type of disable condition
- All Implemented Interfaces:
DisableConditions<T>
- Direct Known Subclasses:
AbstractStaticRelativeDisableConditions,DataHolderRelativeDisableConditions,VoidRelativeDisableConditions
public abstract class AbstractDisableConditions<T extends DisableCondition>
extends Object
implements DisableConditions<T>
List of disable conditions that can not be evaluated
Composed by a list of sub conditions or conditions and a association operator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.runtime.model.disableconditions.DisableConditions
DisableConditions.ASSOCIATION_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associationGet the conditionsGet the sub conditionsvoidsetAssociation(DisableConditions.ASSOCIATION_TYPE associationType) Set the associationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.model.disableconditions.DisableConditions
getExternalDisableConditions, init
-
Constructor Details
-
AbstractDisableConditions
public AbstractDisableConditions()
-
-
Method Details
-
getConditions
Description copied from interface:DisableConditionsGet the conditions- Specified by:
getConditionsin interfaceDisableConditions<T extends DisableCondition>- Returns:
- The list of conditions
-
getSubConditions
Description copied from interface:DisableConditionsGet the sub conditions- Specified by:
getSubConditionsin interfaceDisableConditions<T extends DisableCondition>- Returns:
- The list of underlying conditions
-
getAssociationType
Description copied from interface:DisableConditionsGet the association- Specified by:
getAssociationTypein interfaceDisableConditions<T extends DisableCondition>- Returns:
- The association
-
setAssociation
Description copied from interface:DisableConditionsSet the association- Specified by:
setAssociationin interfaceDisableConditions<T extends DisableCondition>- Parameters:
associationType- The new association between underlying conditions
-