001/*
002 * SPDX-FileCopyrightText: none
003 * SPDX-License-Identifier: CC0-1.0
004 */
005
006package gov.nist.secauto.metaschema.databind.model.info;
007
008import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModel;
009
010import edu.umd.cs.findbugs.annotations.NonNull;
011
012public abstract class AbstractModelInstanceCollectionInfo<ITEM>
013    implements IModelInstanceCollectionInfo<ITEM> {
014
015  @NonNull
016  private final IBoundInstanceModel<ITEM> instance;
017
018  public AbstractModelInstanceCollectionInfo(
019      @NonNull IBoundInstanceModel<ITEM> instance) {
020    this.instance = instance;
021  }
022
023  @Override
024  public IBoundInstanceModel<ITEM> getInstance() {
025    return instance;
026  }
027}