- All Superinterfaces:
IAttributable,IDefaultable,IDescribable,IField,IGroupable,IInstance,IJsonNamed,IModelElement,IModelElementVisitable,IModelInstance,INamed,INamedInstance,INamedModelElement,INamedModelInstance,IValuedInstance
- All Known Subinterfaces:
IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelGroupedField,IFieldInstanceAbsolute,IFieldInstanceGrouped
- All Known Implementing Classes:
AbstractFieldInstance,AbstractInlineFieldDefinition
Represents a field instance within an assembly definition.
A field instance references a field definition and specifies how that field is used within its containing assembly, including XML wrapping behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.model.IAttributable
IAttributable.Key -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanThe default value for whether a field is wrapped in XML.Fields inherited from interface dev.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACEFields inherited from interface dev.metaschema.core.model.IGroupable
DEFAULT_GROUP_AS_MAX_OCCURS, DEFAULT_GROUP_AS_MIN_OCCURS, DEFAULT_JSON_GROUP_AS_BEHAVIOR, DEFAULT_XML_GROUP_AS_BEHAVIOR -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the field definition referenced by this instance.default booleanDetermines if the field is configured to have a wrapper in XML.Methods inherited from interface dev.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalNameMethods inherited from interface dev.metaschema.core.model.IField
getModelTypeMethods inherited from interface dev.metaschema.core.model.IGroupable
getEffectiveXmlGroupAsQName, getGroupAsName, getItemValues, getJsonGroupAsBehavior, getMaxOccurs, getMinOccurs, getXmlGroupAsBehaviorMethods inherited from interface dev.metaschema.core.model.IInstance
toCoordinatesMethods inherited from interface dev.metaschema.core.model.IModelElement
getContainingModule, getRemarksMethods inherited from interface dev.metaschema.core.model.IModelElementVisitable
acceptMethods inherited from interface dev.metaschema.core.model.IModelInstance
getContainingDefinition, getParentContainer, isEffectiveValueWrappedInXmlMethods inherited from interface dev.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getName, getQName, getUseIndex, getUseNameMethods inherited from interface dev.metaschema.core.model.INamedInstance
getReferencedDefinitionQName, isInlineDefinitionMethods inherited from interface dev.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface dev.metaschema.core.model.INamedModelInstance
getEffectiveJsonKey, getJsonKey, hasJsonKey
-
Field Details
-
DEFAULT_FIELD_IN_XML_WRAPPED
static final boolean DEFAULT_FIELD_IN_XML_WRAPPEDThe default value for whether a field is wrapped in XML.- See Also:
-
-
Method Details
-
getDefinition
IFieldDefinition getDefinition()Retrieves the field definition referenced by this instance.- Specified by:
getDefinitionin interfaceINamedInstance- Specified by:
getDefinitionin interfaceINamedModelInstance- Specified by:
getDefinitionin interfaceIValuedInstance- Returns:
- the field definition
-
isInXmlWrapped
default boolean isInXmlWrapped()Determines if the field is configured to have a wrapper in XML.- Returns:
trueif an XML wrapper is required, orfalseotherwise- See Also:
-