Interface IModelInstance

All Superinterfaces:
IDefaultable, IGroupable, IInstance, IModelElement, IModelElementVisitable
All Known Subinterfaces:
IAssemblyInstance, IAssemblyInstanceAbsolute, IAssemblyInstanceGrouped, IBindingInstanceModel, IBoundInstanceModel<ITEM>, IBoundInstanceModelAssembly, IBoundInstanceModelChoiceGroup, IBoundInstanceModelField<ITEM>, IBoundInstanceModelFieldComplex, IBoundInstanceModelFieldScalar, IBoundInstanceModelGroupedAssembly, IBoundInstanceModelGroupedField, IBoundInstanceModelGroupedNamed, IBoundInstanceModelNamed<ITEM>, IChoiceGroupInstance, IChoiceInstance, IFieldInstance, IFieldInstanceAbsolute, IFieldInstanceGrouped, IModelInstanceAbsolute, INamedModelInstance, INamedModelInstanceAbsolute, INamedModelInstanceGrouped
All Known Implementing Classes:
AbstractAssemblyInstance, AbstractChoiceGroupInstance, AbstractChoiceInstance, AbstractFieldInstance, AbstractInlineAssemblyDefinition, AbstractInlineFieldDefinition, AbstractNamedModelInstance

public interface IModelInstance extends IGroupable
This marker interface is used to identify a field or assembly instance that is a member of an assembly's model.
  • Method Details

    • getParentContainer

      IContainerModel getParentContainer()
      Description copied from interface: IInstance
      Get the parent model definition that serves as the container of this instance.
      Specified by:
      getParentContainer in interface IInstance
      Returns:
      the container
    • getContainingDefinition

      IAssemblyDefinition getContainingDefinition()
      Description copied from interface: IInstance
      Retrieve the Metaschema module definition on which the instance was declared.
      Specified by:
      getContainingDefinition in interface IInstance
      Returns:
      the Metaschema module definition on which the instance was declared
    • isEffectiveValueWrappedInXml

      boolean isEffectiveValueWrappedInXml()
      Indicate if the instance allows values without an XML element wrapper.
      Returns:
      true if the underlying data type is allowed to be unwrapped, or false otherwise