Skip to content

Commit

Permalink
Adds method required for automatic registration of Shells/Submodels i…
Browse files Browse the repository at this point in the history
…n the OTS component

Signed-off-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
  • Loading branch information
FriedJannik committed Feb 9, 2023
1 parent 70f19c1 commit 5cff42a
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,30 @@

package org.eclipse.basyx.submodel.aggregator.api;

import org.apache.commons.lang3.NotImplementedException;
import org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier;

/**
* Interface for providing an SubmodelAggregator
*
* @author schnicke
*
*/
public interface ISubmodelAggregatorFactory {

/**
* Return a constructed SubmodelAggregator
* Returns a constructed SubmodelAggregator
*
* @return
*/
public ISubmodelAggregator create();

/**
*
* @param aasIdentifier
* @return Returns a constructed SubmodelAggregator
*/
default public ISubmodelAggregator create(IIdentifier aasIdentifier) {
throw new NotImplementedException();
};
}

0 comments on commit 5cff42a

Please sign in to comment.