Interface IFeatureInlinedDefinition<INSTANCE extends INamedInstance>
-
- Type Parameters:
INSTANCE
- the associated instance type
- All Superinterfaces:
IConstrained
,IDefinition
,gov.nist.secauto.metaschema.core.model.constraint.impl.IFeatureValueConstrained
,IModelElement
,INamedModelElement
,IValueConstrained
public interface IFeatureInlinedDefinition<INSTANCE extends INamedInstance> extends IDefinition
A trait indicating that the implementation is a localized definition that is declared in-line as an instance.
-
-
Field Summary
-
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
DEFAULT_DEFINITION_MODEL_SCOPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description INSTANCE
getInlineInstance()
IfIDefinition.isInline()
istrue
, return the instance the definition is inlined for.default boolean
isInline()
Determine if the definition is defined inline, meaning the definition is declared where it is used.-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
getModuleScope, toCoordinates
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.impl.IFeatureValueConstrained
addConstraint, addConstraint, addConstraint, addConstraint, getAllowedValuesConstraints, getConstraints, getConstraintSupport, getExpectConstraints, getIndexHasKeyConstraints, getMatchesConstraints
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getContainingModule, getModelType, getRemarks
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getDescription, getEffectiveDescription, getEffectiveFormalName, getEffectiveName, getFormalName, getJsonName, getName, getProperties, getPropertyValues, getUseName, hasProperty, hasPropertyValue
-
-
-
-
Method Detail
-
isInline
default boolean isInline()
Description copied from interface:IDefinition
Determine if the definition is defined inline, meaning the definition is declared where it is used.- Specified by:
isInline
in interfaceIDefinition
- Returns:
true
if the definition is declared inline orfalse
if the definition is able to be globally referenced
-
getInlineInstance
@NonNull INSTANCE getInlineInstance()
Description copied from interface:IDefinition
IfIDefinition.isInline()
istrue
, return the instance the definition is inlined for.- Specified by:
getInlineInstance
in interfaceIDefinition
- Returns:
- the instance or
null
otherwise
-
-