- All Superinterfaces:
IAttributable,IDefaultable,IDescribable,IGroupable,IInstance,IInstanceAbsolute,IJsonInstance,IJsonNamed,IModelElement,IModelElementVisitable,IModelInstance,IModelInstanceAbsolute,INamed,INamedInstance,INamedModelElement,INamedModelInstance,IValued
- All Known Subinterfaces:
IAssemblyInstanceAbsolute,IBoundInstanceModelAssembly,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelNamed<ITEM>,IFieldInstanceAbsolute
public interface INamedModelInstanceAbsolute
extends INamedModelInstance, IModelInstanceAbsolute, IJsonInstance
Represents a named model instance with absolute positioning and JSON
serialization support.
Provides JSON name resolution based on cardinality and grouping behavior, with support for JSON key configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.model.IAttributable
IAttributable.Key -
Field Summary
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 TypeMethodDescriptiondefault IFlagInstanceGet the JSON key flag instance for this model instance, if one is configured.default IFlagInstanceGet the JSON key associated with this instance.default StringGet the name used for the associated property in JSON/YAML serialization-related operations.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.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, getModelType, 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.INamedModelInstance
getDefinition, hasJsonKey
-
Method Details
-
getJsonName
Description copied from interface:IJsonNamedGet the name used for the associated property in JSON/YAML serialization-related operations.- Specified by:
getJsonNamein interfaceIJsonInstance- Specified by:
getJsonNamein interfaceIJsonNamed- Specified by:
getJsonNamein interfaceINamedModelElement- Returns:
- the JSON property name
-
getEffectiveJsonKey
Description copied from interface:INamedModelInstanceGet the JSON key flag instance for this model instance, if one is configured.- Specified by:
getEffectiveJsonKeyin interfaceINamedModelInstance- Returns:
- the JSON key flag instance or
nullif no JSON key is configured
-
getJsonKey
Description copied from interface:INamedModelInstanceGet the JSON key associated with this instance.- Specified by:
getJsonKeyin interfaceINamedModelInstance- Returns:
- the configured JSON key or
nullif no JSON key is configured
-