1 /*
2 * SPDX-FileCopyrightText: none
3 * SPDX-License-Identifier: CC0-1.0
4 */
5
6 package gov.nist.secauto.metaschema.core.model;
7
8 import edu.umd.cs.findbugs.annotations.NonNull;
9
10 public interface IAssemblyInstanceGrouped extends INamedModelInstanceGrouped, IAssemblyInstance {
11
12 /**
13 * A visitor callback.
14 *
15 * @param <CONTEXT>
16 * the type of the context parameter
17 * @param <RESULT>
18 * the type of the visitor result
19 * @param visitor
20 * the calling visitor
21 * @param context
22 * a parameter used to pass contextual information between visitors
23 * @return the visitor result
24 */
25 @Override
26 default <CONTEXT, RESULT> RESULT accept(@NonNull IModelElementVisitor<CONTEXT, RESULT> visitor, CONTEXT context) {
27 return visitor.visitAssemblyInstance(this, context);
28 }
29 }