Class AmaltheaMerger
- Object
-
- AmaltheaMerger
-
public class AmaltheaMerger extends Object
This class provides static methods to extend a model with major elements of a second model.
-
-
Method Summary
All Methods Modifier and Type Method Description static void
addElements(@NonNull Amalthea mainModel, @NonNull Collection<Amalthea> inputs)
Add the contained elements of the input models to the main model.
-
-
-
Method Detail
-
addElements
public static void addElements(@NonNull Amalthea mainModel, @NonNull Collection<Amalthea> inputs)
Add the contained elements of the input models to the main model. Only major elements of the model (with their containments) are added. In case of name conflicts the affected elements will be omitted.- Parameters:
mainModel
- model that is extendedinputs
- list of models that contain the additional elements
-
-