Skip to content

Commit

Permalink
AbstractMappingProcessor: make knownMappings avalible for implementat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
jmkeil committed Sep 24, 2020
1 parent defe5c3 commit 69cc4af
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
public abstract class AbstractMappingProcessor<P extends ParameterModel> extends AbstractMetaProcessor<P>
implements MappingProcessor<P> {

/** The known positive and negative mappings. */
protected Collection<Mapping> knownMappings;

/**
* Computes the mappings of two models. The mappings may contain category meta
* data.
Expand All @@ -44,7 +47,7 @@ public abstract Collection<Mapping> computeMapping(Model model1, Model model2, U
@Override
public final void computeResultModel() throws Exception {
// collect known mappings
Collection<Mapping> knownMappings = Mappings.getMappings(this.metaModel);
this.knownMappings = Mappings.getMappings(this.metaModel);

for (Entry<UUID, Model> i : this.inputGroupModels.entrySet()) {
UUID ontologyId1 = i.getKey();
Expand Down

0 comments on commit 69cc4af

Please sign in to comment.