Feature
models one feature.
More...
Public Member Functions | |
Feature () | |
Constructor. | |
Cardinality | getCardinality () |
Returns cardinality. | |
Feature | getClone () |
Returns the feature's clone. | |
List< String > | getListIdentifier () |
Returns a collection of identifiers that lead to this feature. | |
Collection< ElementWithMessage > | getNonValidElements () |
Computes the non-valid elements beginning from and including this element to it's children, children's children etc. | |
Feature | getOrigin () |
Returns the feature's origin. | |
boolean | isAncestorOf (Feature otherFeature) |
Checks whether the otherFeature is a child of a child of a child ... of this feature (or the two coincide). | |
void | setCardinality (Cardinality newCardinality) |
Sets cardinality. |
Feature
models one feature.
de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.Feature | ( | ) |
Constructor.
Cardinality de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.getCardinality | ( | ) |
Returns cardinality.
null | if not set |
Reimplemented from de.fraunhofer.isst.axbench.axlang.elements.featuremodel.AbstractFeature.
Feature de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.getClone | ( | ) |
Returns the feature's clone.
The clone is set only if the element was cloned, during the cloning process.
null | if the element was not cloned, or out of cloning process |
Reimplemented from de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangElement.
List<String> de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.getListIdentifier | ( | ) |
Returns a collection of identifiers that lead to this feature.
Collection<ElementWithMessage> de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.getNonValidElements | ( | ) |
Computes the non-valid elements beginning from and including this element to it's children, children's children etc.
An element is valid if it is valid itself and all it's children are valid as well.
Special checks:
empty | list of element is valid |
Reimplemented from de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangElement.
Feature de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.getOrigin | ( | ) |
Returns the feature's origin.
The origin is the feature, from which this feature was cloned, if the feature was cloned.
null | if the feature was not cloned |
Reimplemented from de.fraunhofer.isst.axbench.axlang.api.AbstractAXLangElement.
boolean de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.isAncestorOf | ( | Feature | otherFeature | ) |
Checks whether the otherFeature is a child of a child of a child ... of this feature (or the two coincide).
otherFeature | the feature that might be an ancestor |
void de.fraunhofer.isst.axbench.axlang.elements.featuremodel.Feature.setCardinality | ( | Cardinality | newCardinality | ) |
Sets cardinality.
newCardinality | new cardinality |