1
2
3
4
5
6 package gov.nist.secauto.metaschema.core.model;
7
8 public interface IFlagInstance extends IFlag, IValuedInstance, IInstanceAbsolute {
9
10 boolean DEFAULT_FLAG_REQUIRED = false;
11
12 @Override
13 IModelDefinition getParentContainer();
14
15 @Override
16 IFlagDefinition getDefinition();
17
18 @Override
19 default IModelDefinition getContainingDefinition() {
20 return getParentContainer();
21 }
22
23
24
25
26
27
28
29 default boolean isRequired() {
30 return DEFAULT_FLAG_REQUIRED;
31 }
32 }