Module dev.metaschema.databind
Class AbstractModelInstanceCollectionInfo<ITEM>
java.lang.Object
dev.metaschema.databind.model.info.AbstractModelInstanceCollectionInfo<ITEM>
- Type Parameters:
ITEM- the Java type of items in the collection
- All Implemented Interfaces:
IModelInstanceCollectionInfo<ITEM>
public abstract class AbstractModelInstanceCollectionInfo<ITEM>
extends Object
implements IModelInstanceCollectionInfo<ITEM>
An abstract base class for managing collection information for model
instances.
This class provides common functionality for handling collections of items during serialization and deserialization.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new collection info for the provided model instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the associated instance binding for which this info is for.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.metaschema.databind.model.info.IModelInstanceCollectionInfo
deepCopyItems, emptyValue, getItemsFromParentInstance, getItemsFromValue, getItemType, isEmpty, readItems, size, writeItems
-
Constructor Details
-
AbstractModelInstanceCollectionInfo
Construct a new collection info for the provided model instance.- Parameters:
instance- the model instance this collection info is for
-
-
Method Details
-
getInstance
Description copied from interface:IModelInstanceCollectionInfoGet the associated instance binding for which this info is for.- Specified by:
getInstancein interfaceIModelInstanceCollectionInfo<ITEM>- Returns:
- the instance binding
-