Interface INamedInstance

All Superinterfaces:
IAttributable, IDefaultable, IDescribable, IInstance, IJsonNamed, IModelElement, IModelElementVisitable, INamed, INamedModelElement
All Known Subinterfaces:
IAssemblyInstance, IAssemblyInstanceAbsolute, IAssemblyInstanceGrouped, IBoundInstanceFlag, IBoundInstanceModelAssembly, IBoundInstanceModelField<ITEM>, IBoundInstanceModelFieldComplex, IBoundInstanceModelFieldScalar, IBoundInstanceModelGroupedAssembly, IBoundInstanceModelGroupedField, IBoundInstanceModelGroupedNamed, IBoundInstanceModelNamed<ITEM>, IFeatureDefinitionInstanceInlined<DEFINITION,INSTANCE>, IFeatureDefinitionReferenceInstance<DEFINITION,INSTANCE>, IFieldInstance, IFieldInstanceAbsolute, IFieldInstanceGrouped, IFlagInstance, INamedModelInstance, INamedModelInstanceAbsolute, INamedModelInstanceGrouped, IValuedInstance
All Known Implementing Classes:
AbstractAssemblyInstance, AbstractFieldInstance, AbstractFlagInstance, AbstractInlineAssemblyDefinition, AbstractInlineFieldDefinition, AbstractInlineFlagDefinition, AbstractNamedInstance, AbstractNamedModelInstance

public interface INamedInstance extends INamedModelElement, IAttributable, IInstance
This marker interface indicates that the instance has a flag, field, or assembly name associated with it which will be used in JSON/YAML or XML to identify the data.
  • Method Details

    • getDefinition

      @NonNull IDefinition getDefinition()
      Retrieve the definition of this instance.
      Returns:
      the corresponding definition
    • isInlineDefinition

      boolean isInlineDefinition()
      Determine if the definition of this instance is declared inline.
      Returns:
      true if the definition of this instance is declared inline or false otherwise
    • getReferencedDefinitionQName

      @NonNull IEnhancedQName getReferencedDefinitionQName()
      This represents the qualified name of a referenced definition.
      Returns:
      the qualified name
      See Also: