Package de.bmiag.tapir.variant.data
Interface FeatureBased
-
- All Known Implementing Classes:
FeatureBasedContainer
,FeatureSpecificDataElement
public interface FeatureBased
Data objects which implement this interfaces are only provided if theFeatureExpression
which is returned bygetActivateByFeatureExpression()
evaluates to true or if the method returns an emptyOptional
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<FeatureExpression>
getActivateByFeatureExpression()
Returns the condition which has to match for this instance to be provided
-
-
-
Method Detail
-
getActivateByFeatureExpression
java.util.Optional<FeatureExpression> getActivateByFeatureExpression()
Returns the condition which has to match for this instance to be provided- Returns:
- an instance of
FeatureExpression
. An emptyOptional
is handled like an expression which evaluates to true. - Since:
- 2.0.0
-
-