Module dev.metaschema.databind
Package dev.metaschema.databind.model
Interface IBoundDefinitionModelField<ITEM>
- Type Parameters:
ITEM- the Java type for associated bound objects
- All Superinterfaces:
IAttributable,IBoundDefinition,IBoundDefinitionModel<ITEM>,IBoundModelElement,IBoundModelObject<ITEM>,IContainer,IDefaultable,IDefinition,IDescribable,IFeatureContainerFlag<IBoundInstanceFlag>,IFeatureValueConstrained,IField,IFieldDefinition,IItemValueHandler<ITEM>,IJsonNamed,IModelDefinition,IModelElement,IModelElementVisitable,INamed,INamedModelElement,IValueConstrained,IValuedDefinition
- All Known Subinterfaces:
IBoundDefinitionModelFieldComplex,IBoundInstanceModelFieldScalar
public interface IBoundDefinitionModelField<ITEM>
extends IFieldDefinition, IBoundDefinitionModel<ITEM>
Represents a field definition bound to Java data.
Classes and interfaces implementing this interface can be:
- "scalar", meaning they have only a scalar field value, or
- "complex", meaning they allow flags and are bound to a Java class.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.model.IAttributable
IAttributable.KeyNested classes/interfaces inherited from interface dev.metaschema.core.model.IDefinition
IDefinition.ModuleScope -
Field Summary
Fields inherited from interface dev.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACEFields inherited from interface dev.metaschema.core.model.IDefinition
DEFAULT_MODULE_SCOPE -
Method Summary
Modifier and TypeMethodDescriptiondefault IBoundInstanceModelField<ITEM>IfIDefinition.isInline()istrue, return the instance the definition is inlined for.Retrieves the flag instance whose value will be used as the "value key".Methods inherited from interface dev.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValueMethods inherited from interface dev.metaschema.databind.model.IBoundDefinitionModel
getBindingContextMethods inherited from interface dev.metaschema.databind.model.IBoundModelElement
getContainingModuleMethods inherited from interface dev.metaschema.databind.model.IBoundModelObject
canHandleXmlQNameMethods inherited from interface dev.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValueMethods inherited from interface dev.metaschema.core.model.IDefinition
getDefinitionQName, getLocation, getModuleScope, toCoordinatesMethods inherited from interface dev.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalNameMethods inherited from interface dev.metaschema.core.model.IFeatureContainerFlag
getFlagContainer, getFlagInstanceByName, getFlagInstances, getJsonKeyMethods inherited from interface dev.metaschema.core.model.constraint.IFeatureValueConstrained
addConstraint, addConstraint, addConstraint, addConstraint, addConstraint, addLetExpression, getAllowedValuesConstraints, getConstraints, getConstraintSupport, getExpectConstraints, getIndexHasKeyConstraints, getLetExpressions, getMatchesConstraints, getReportConstraintsMethods inherited from interface dev.metaschema.core.model.IField
getModelTypeMethods inherited from interface dev.metaschema.core.model.IFieldDefinition
accept, getEffectiveJsonValueKeyName, getFieldValue, getJsonValueKey, getJsonValueKeyName, hasJsonValueKeyFlagInstance, isInlineMethods inherited from interface dev.metaschema.databind.model.info.IItemValueHandler
deepCopyItem, readItem, writeItemMethods inherited from interface dev.metaschema.core.model.IModelDefinition
hasChildrenMethods inherited from interface dev.metaschema.core.model.IModelElement
getRemarksMethods inherited from interface dev.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getName, getQName, getUseIndex, getUseNameMethods inherited from interface dev.metaschema.core.model.INamedModelElement
getJsonNameMethods inherited from interface dev.metaschema.core.model.constraint.IValueConstrained
getSourceMethods inherited from interface dev.metaschema.core.model.IValuedDefinition
getJavaTypeAdapter
-
Method Details
-
getInlineInstance
Description copied from interface:IDefinitionIfIDefinition.isInline()istrue, return the instance the definition is inlined for.If this method returns
null, thenIDefinition.getInlineInstance()must returnfalse.- Specified by:
getInlineInstancein interfaceIBoundDefinitionModel<ITEM>- Specified by:
getInlineInstancein interfaceIDefinition- Specified by:
getInlineInstancein interfaceIFieldDefinition- Returns:
- the instance or
nullotherwise - See Also:
-
getJsonValueKeyFlagInstance
Description copied from interface:IFieldDefinitionRetrieves the flag instance whose value will be used as the "value key".- Specified by:
getJsonValueKeyFlagInstancein interfaceIFieldDefinition- Returns:
- the configured flag instance, or
nullif a flag is not configured as the "value key"
-