public abstract class ProductConfigSpec extends Object implements ProductStructureFilter, Serializable
PartMasters
the right PartIteration according to specific rules.
It also selects from a complete PartLink path the one
which has to be considered (itself or a variant).
ProductConfigSpec is a restrictive type of ProductStructureFilter.| Constructor and Description |
|---|
ProductConfigSpec() |
| Modifier and Type | Method and Description |
|---|---|
List<PartLink> |
filter(List<PartLink> path)
From a given
PartLink selects one or many
effective links to consider. |
List<PartIteration> |
filter(PartMaster partMaster)
Selects the retained iteration(s) of the specified
PartMaster. |
abstract PartIteration |
filterPartIteration(PartMaster partMaster) |
abstract PartLink |
filterPartLink(List<PartLink> path) |
public final List<PartLink> filter(List<PartLink> path)
ProductStructureFilterPartLink selects one or many
effective links to consider. It should be noticed that the link is
supplied into the form of a complete path whereas the selected
links are returned individually.
A frequent implementation is to return the PartLink itself,
hence the latest item of the list.filter in interface ProductStructureFilterpath - the path to the part link to filter into the form of an ordered
list of PartLinks from the root of the structure
to the PartLink itself.public final List<PartIteration> filter(PartMaster partMaster)
ProductStructureFilterPartMaster.filter in interface ProductStructureFilterpartMaster - the part to filterpublic abstract PartIteration filterPartIteration(PartMaster partMaster)
Copyright © 2018 DocDoku. All rights reserved.