Module dev.metaschema.databind
Package dev.metaschema.databind.model
Interface IBoundInstanceModelNamed<ITEM>
- Type Parameters:
ITEM- the Java type of the bound item
- All Superinterfaces:
dev.metaschema.core.model.IAttributable,IBoundInstance<ITEM>,IBoundInstanceModel<ITEM>,IBoundModelElement,IBoundModelObject<ITEM>,IBoundProperty<ITEM>,dev.metaschema.core.model.IDefaultable,dev.metaschema.core.model.IDescribable,IFeatureJavaField,dev.metaschema.core.model.IGroupable,dev.metaschema.core.model.IInstance,dev.metaschema.core.model.IInstanceAbsolute,IItemValueHandler<ITEM>,dev.metaschema.core.model.IJsonInstance,dev.metaschema.core.model.IJsonNamed,dev.metaschema.core.model.IModelElement,dev.metaschema.core.model.IModelElementVisitable,dev.metaschema.core.model.IModelInstance,dev.metaschema.core.model.IModelInstanceAbsolute,dev.metaschema.core.model.INamed,dev.metaschema.core.model.INamedInstance,dev.metaschema.core.model.INamedModelElement,dev.metaschema.core.model.INamedModelInstance,dev.metaschema.core.model.INamedModelInstanceAbsolute,dev.metaschema.core.model.IValued,IValuedMutable
- All Known Subinterfaces:
IBoundInstanceModelAssembly,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar
public interface IBoundInstanceModelNamed<ITEM>
extends IBoundInstanceModel<ITEM>, dev.metaschema.core.model.INamedModelInstanceAbsolute
Represents a bound model instance that is named and can be addressed by that
name in the Metaschema model.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.model.IAttributable
dev.metaschema.core.model.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 booleancanHandleXmlQName(dev.metaschema.core.qname.IEnhancedQName qname) Determine if the provided XML qualified name is associated with this property.default IBoundInstanceFlagdefault IntegergetIndex()default IBoundInstanceFlaggetItemJsonKey(Object item) Get the JSON key flag for the provided item.default Collection<? extends Object>getItemValues(Object value) Get the item values associated with the provided value.default IBoundInstanceFlagdefault StringgetName()Methods inherited from interface dev.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface dev.metaschema.databind.model.IBoundInstance
getContainingModule, getValue, setValueMethods inherited from interface dev.metaschema.databind.model.IBoundInstanceModel
deepCopy, getCollectionInfo, getContainingDefinition, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValueMethods inherited from interface dev.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalNameMethods inherited from interface dev.metaschema.databind.model.IFeatureJavaField
getField, getItemType, getTypeMethods inherited from interface dev.metaschema.core.model.IGroupable
getEffectiveXmlGroupAsQName, getGroupAsName, getJsonGroupAsBehavior, getMaxOccurs, getMinOccurs, getXmlGroupAsBehaviorMethods inherited from interface dev.metaschema.core.model.IInstance
toCoordinatesMethods inherited from interface dev.metaschema.databind.model.info.IItemValueHandler
deepCopyItem, readItem, writeItemMethods inherited from interface dev.metaschema.core.model.IModelElement
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, getQName, getUseIndex, getUseNameMethods inherited from interface dev.metaschema.core.model.INamedInstance
getReferencedDefinitionQName, isInlineDefinitionMethods inherited from interface dev.metaschema.core.model.INamedModelInstance
hasJsonKeyMethods inherited from interface dev.metaschema.core.model.INamedModelInstanceAbsolute
getJsonName
-
Method Details
-
getDefinition
- Specified by:
getDefinitionin interfacedev.metaschema.core.model.INamedInstance- Specified by:
getDefinitionin interfacedev.metaschema.core.model.INamedModelInstance
-
getName
- Specified by:
getNamein interfacedev.metaschema.core.model.INamed
-
getIndex
- Specified by:
getIndexin interfacedev.metaschema.core.model.INamed
-
getEffectiveJsonKey
- Specified by:
getEffectiveJsonKeyin interfacedev.metaschema.core.model.INamedModelInstance- Specified by:
getEffectiveJsonKeyin interfacedev.metaschema.core.model.INamedModelInstanceAbsolute
-
getJsonKey
- Specified by:
getJsonKeyin interfacedev.metaschema.core.model.INamedModelInstance- Specified by:
getJsonKeyin interfacedev.metaschema.core.model.INamedModelInstanceAbsolute
-
getItemJsonKey
Description copied from interface:IBoundInstanceModelGet the JSON key flag for the provided item.- Specified by:
getItemJsonKeyin interfaceIBoundInstanceModel<ITEM>- Parameters:
item- the item to get the JSON key flag for- Returns:
- the JSON key flag
-
getItemValues
Description copied from interface:IBoundInstanceModelGet the item values associated with the provided value.- Specified by:
getItemValuesin interfaceIBoundInstanceModel<ITEM>- Specified by:
getItemValuesin interfacedev.metaschema.core.model.IGroupable- Parameters:
value- the value which may be a singleton or a collection- Returns:
- the ordered collection of values
-
canHandleXmlQName
Description copied from interface:IBoundModelObjectDetermine if the provided XML qualified name is associated with this property.- Specified by:
canHandleXmlQNamein interfaceIBoundModelObject<ITEM>- Parameters:
qname- the XML qualified name of the property being parsed- Returns:
trueif the instance will handle this name, orfalseotherwise
-