1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.core.model;
7   
8   /**
9    * Represents an assembly instance within another assembly definition.
10   * <p>
11   * An assembly instance references an assembly definition and specifies how that
12   * assembly is used within its containing assembly.
13   */
14  public interface IAssemblyInstance extends IAssembly, INamedModelInstance {
15  
16    /**
17     * Retrieves the assembly definition referenced by this instance.
18     *
19     * @return the assembly definition
20     */
21    @Override
22    IAssemblyDefinition getDefinition();
23  
24    @Override
25    default boolean isEffectiveValueWrappedInXml() {
26      // assembly instances are always wrapped
27      return true;
28    }
29  }