Interface IBoundDefinitionModelComplex
- All Superinterfaces:
IAttributable
,IBoundDefinition
,IBoundDefinitionModel<IBoundObject>
,IBoundModelElement
,IBoundModelObject<IBoundObject>
,IConstrained
,IContainer
,IDefaultable
,IDefinition
,IDescribable
,IFeatureComplexItemValueHandler
,IFeatureContainerFlag<IBoundInstanceFlag>
,IFeatureValueConstrained
,IItemValueHandler<IBoundObject>
,IJsonNamed
,IModelDefinition
,IModelElement
,INamed
,INamedModelElement
,IValueConstrained
- All Known Subinterfaces:
IBoundDefinitionModelAssembly
,IBoundDefinitionModelFieldComplex
public interface IBoundDefinitionModelComplex
extends IBoundDefinitionModel<IBoundObject>, IFeatureComplexItemValueHandler
Represents a field or assembly instance bound to Java class.
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
IAttributable.Key
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
IDefinition.ModuleScope
-
Field Summary
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
DEFAULT_PROPERY_NAMESPACE
Fields inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
DEFAULT_MODULE_SCOPE
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
callAfterDeserialize
(IBoundObject targetObject, IBoundObject parentObject) Calls the method named "afterDeserialize" on each class in the object's hierarchy if the method exists.default void
callBeforeDeserialize
(IBoundObject targetObject, IBoundObject parentObject) Calls the method named "beforeDeserialize" on each class in the object's hierarchy if the method exists on the class.Map<String,
IBoundProperty<?>> getJsonProperties
(Predicate<IBoundInstanceFlag> flagFilter) Methods inherited from interface gov.nist.secauto.metaschema.core.model.IAttributable
getProperties, getPropertyValues, hasProperty, hasPropertyValue
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModel
getBindingContext, getInlineInstance
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModelElement
getContainingModule
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModelObject
canHandleXmlQName
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefaultable
getDefaultValue, getEffectiveDefaultValue, getResolvedDefaultValue
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDefinition
getDefinitionQName, getLocation, getModuleScope, isInline, toCoordinates
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IDescribable
getDescription, getEffectiveDescription, getEffectiveFormalName, getFormalName
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.info.IFeatureComplexItemValueHandler
deepCopyItem, getBoundClass, getDefinition, getJsonProperties, newInstance
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IFeatureContainerFlag
getFlagContainer, getFlagInstanceByName, getFlagInstances, getJsonKey
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IFeatureValueConstrained
addConstraint, addConstraint, addConstraint, addConstraint, addLetExpression, getAllowedValuesConstraints, getConstraints, getConstraintSupport, getExpectConstraints, getIndexHasKeyConstraints, getLetExpressions, getMatchesConstraints
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.info.IItemValueHandler
readItem, writeItem
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelDefinition
hasChildren
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModelElement
getModelType, getRemarks
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamed
getEffectiveIndex, getEffectiveName, getIndex, getName, getUseIndex, getUseName, getXmlNamespace, getXmlQName
Methods inherited from interface gov.nist.secauto.metaschema.core.model.INamedModelElement
getJsonName
-
Method Details
-
getJsonProperties
@NonNull Map<String,IBoundProperty<?>> getJsonProperties(@Nullable Predicate<IBoundInstanceFlag> flagFilter) -
getBeforeDeserializeMethod
-
callBeforeDeserialize
default void callBeforeDeserialize(IBoundObject targetObject, IBoundObject parentObject) throws BindingException Calls the method named "beforeDeserialize" on each class in the object's hierarchy if the method exists on the class.These methods can be used to set the initial state of the target bound object before data is read and applied during deserialization.
- Specified by:
callBeforeDeserialize
in interfaceIFeatureComplexItemValueHandler
- Parameters:
targetObject
- the data object target to call the method(s) onparentObject
- the object target's parent object, which is used as the method argument- Throws:
BindingException
- if an error occurs while calling the method
-
getAfterDeserializeMethod
-
callAfterDeserialize
default void callAfterDeserialize(IBoundObject targetObject, IBoundObject parentObject) throws BindingException Calls the method named "afterDeserialize" on each class in the object's hierarchy if the method exists.These methods can be used to modify the state of the target bound object after data is read and applied during deserialization.
- Specified by:
callAfterDeserialize
in interfaceIFeatureComplexItemValueHandler
- Parameters:
targetObject
- the data object target to call the method(s) onparentObject
- the object target's parent object, which is used as the method argument- Throws:
BindingException
- if an error occurs while calling the method
-