1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.databind.model.info;
7   
8   import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModel;
9   
10  import edu.umd.cs.findbugs.annotations.NonNull;
11  
12  public abstract class AbstractModelInstanceCollectionInfo<ITEM>
13      implements IModelInstanceCollectionInfo<ITEM> {
14  
15    @NonNull
16    private final IBoundInstanceModel<ITEM> instance;
17  
18    public AbstractModelInstanceCollectionInfo(
19        @NonNull IBoundInstanceModel<ITEM> instance) {
20      this.instance = instance;
21    }
22  
23    @Override
24    public IBoundInstanceModel<ITEM> getInstance() {
25      return instance;
26    }
27  }