Interface EMFFormsSegmentGenerator
-
- All Known Implementing Classes:
SegmentGeneratorService
public interface EMFFormsSegmentGenerator
AnEMFFormsSegmentGenerator
allows to generate segments based on a givenVDomainModelReference
. Thereby, the generated segments resolve equivalent to the given DMR.- Author:
- Lucas Koehler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<VDomainModelReferenceSegment>
generateSegments(VDomainModelReference reference)
Takes aVDomainModelReference
and generates the list of equivalentDMR Segments
.
-
-
-
Method Detail
-
generateSegments
java.util.List<VDomainModelReferenceSegment> generateSegments(VDomainModelReference reference)
Takes aVDomainModelReference
and generates the list of equivalentDMR Segments
. Equivalent means that a DMR using the generated segments resolves exactly the same as the given DMR.The segment generation is side-effect free. This means neither the given DMR nor any of its contained or referenced elements is changed.
- Parameters:
reference
- TheVDomainModelReference
to generate thesegments
for- Returns:
- The list of generated
segments
; might return an empty list if the given DMR does not specify any path but nevernull
-
-