1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.core.model.constraint;
7   
8   import java.util.List;
9   
10  import edu.umd.cs.findbugs.annotations.NonNull;
11  
12  /**
13   * This marker interface is used to indicate the implementation class is a
14   * provider of constraints.
15   */
16  public interface IConstrained {
17    /**
18     * Retrieve the ordered collection of constraints.
19     *
20     * @return the constraints or an empty list
21     */
22    @NonNull
23    List<? extends IConstraint> getConstraints();
24  }