Uses of Class
org.datanucleus.metadata.MetaData
Packages that use MetaData
Package
Description
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
Provides classes for parsing XML metadata input data and converting into org.datanucleus.metadata input data for the DataNucleus persistence process.
Package handling the storage of classes to the datastore, and the management of the datastore.
-
Uses of MetaData in org.datanucleus.metadata
Subclasses of MetaData in org.datanucleus.metadataModifier and TypeClassDescriptionclass
Abstract representation of the MetaData of a class/interface.class
This element specifies the mapping for the element component of arrays and collections.class
Abstract representation of MetaData for a field/property of a class/interface.class
Representation of the Meta-Data for an Array.class
Representation of the MetaData of a class.class
Representation of the MetaData of a collection.class
Representation of the Meta-Data for a column mapping of a field.class
Representation of an ORM constraint.class
Representation of the Meta-Data for a container.class
Meta-Data for the datastore-identity of a class.class
Representation of a discriminator in an inheritance strategy.class
This element specifies the mapping for the element component of arrays and collections.class
This element specifies the mapping for an embedded type.class
Listener for events, following the JPA/Jakarta model.class
Metadata defining a member of a fetch-group.class
A fetch group defines a particular loaded state for an object graph.class
FetchPlan defined in MetaData.class
Representation of the Meta-Data for a field of a class.class
Representation of a Meta-Data file.class
Foreign keys in metadata serve two quite different purposes.class
The implements element declares a persistence-capable interface implemented by the persistence-capable class that contains this element.class
For schema generation, it might be useful to specify that a column or columns be indexed, and to provide the name of the index.class
Representation of the Meta-Data defining inherited classes.class
Representation of the MetaData of a "persistent-interface".class
Secondary tables and join tables are mapped using a join condition that associates a column or columns in the secondary or join table with a column or columns in the primary table, typically the primary tables primary key columns.class
This element specifies the mapping for the key component of maps.class
Representation of the Meta-Data for a Map.class
MetaData representation for a multitenancy discriminator.class
Representation of Order MetaData - the ordering of the elements of a List.class
Representation of the Meta-Data for a package.class
Representation of a Meta-Data "persistence.xml" file.class
MetaData representation of a "persistence.xml" persistence unit.class
Representation of a primary key constraint.class
The property element declares mapping between a virtual field of an implemented interface and the corresponding persistent field of a persistence-capable class.class
Representation of the MetaData of a named Query.class
Representation of the mapping of (SQL) Query results into a desired output form.class
Representation of the MetaData of a named Sequence (JDO, or JPA).class
MetaData representation for a soft delete indicator column.class
Metadata representation of a named stored proc query.class
Metadata representation of a parameter for a named stored proc query.class
Representation of the MetaData of a TableGenerator (JPA).class
MetaData representing a unique constraint.class
This element specifies the mapping for the value component of maps.class
Three common strategies for versioning instances are supported by standard metadata.Fields in org.datanucleus.metadata declared as MetaDataModifier and TypeFieldDescriptionprotected MetaData
MetaData.parent
Parent MetaData object, allowing hierarchical MetaData structure.Methods in org.datanucleus.metadata that return MetaDataModifier and TypeMethodDescriptionAbstractMemberMetaData.addExtension
(String key, String value) MetaData.addExtension
(String key, String value) AbstractMemberMetaData.addExtensions
(Map<String, String> exts) MetaData.addExtensions
(Map<String, String> exts) protected static MetaData
AbstractMemberMetaData.getOverallParentClassMetaData
(MetaData metadata) Convenience method to navigate back through the parents to find the overall ClassMetaData handling this object.MetaData.getParent()
MetaData.removeExtension
(String key) AbstractMemberMetaData.setExtensions
(Map<String, String> exts) MetaData.setExtensions
(Map<String, String> exts) Methods in org.datanucleus.metadata with parameters of type MetaDataModifier and TypeMethodDescriptionprotected static MetaData
AbstractMemberMetaData.getOverallParentClassMetaData
(MetaData metadata) Convenience method to navigate back through the parents to find the overall ClassMetaData handling this object.static String
MetaDataUtils.getValueForExtensionRecursively
(MetaData metadata, String key) Searches the meta data tree upwards starting with the given leaf, stops as soon as it finds an extension with the given key.static String[]
MetaDataUtils.getValuesForExtensionRecursively
(MetaData metadata, String key) Searches the meta data tree upwards starting with the given leaf, stops as soon as it finds an extension with the given key.void
Constructors in org.datanucleus.metadata with parameters of type MetaDataModifierConstructorDescriptionAbstractMemberMetaData
(MetaData parent, String name) Constructor for a fields metadata.AbstractMemberMetaData
(MetaData parent, AbstractMemberMetaData mmd) Convenience constructor to copy the specification from the passed member.FieldMetaData
(MetaData parent, String name) Constructor.FieldMetaData
(MetaData parent, AbstractMemberMetaData fmd) Convenience constructor to copy the specification from the passed field.Constructor.Copy constructor.PropertyMetaData
(MetaData parent, String name) Constructor.PropertyMetaData
(MetaData parent, PropertyMetaData fmd) Convenience constructor to copy the specification from the passed field. -
Uses of MetaData in org.datanucleus.metadata.xml
Fields in org.datanucleus.metadata.xml declared as MetaDataModifier and TypeFieldDescriptionprotected MetaData
AbstractXmlMetaDataHandler.metadata
The MetaData for this file (the end result of the parse process).Fields in org.datanucleus.metadata.xml with type parameters of type MetaDataMethods in org.datanucleus.metadata.xml that return MetaDataModifier and TypeMethodDescriptionAbstractXmlMetaDataHandler.getMetaData()
Accessor for the MetaData for this file.protected MetaData
AbstractXmlMetaDataHandler.getStack()
Accessor for the current MetaData component.XmlMetaDataParser.parseXmlMetaDataFile
(String fileName, String handlerName) Method to parse an XML MetaData file given the filename.XmlMetaDataParser.parseXmlMetaDataStream
(InputStream in, String filename, String handlerName) Method to parse an XML MetaData file given an InputStream.XmlMetaDataParser.parseXmlMetaDataURL
(URL url, String handlerName) Method to parse an XML MetaData file given the URL of the file.protected MetaData
AbstractXmlMetaDataHandler.popStack()
Method to remove the current MetaData component from the Stack.Methods in org.datanucleus.metadata.xml with parameters of type MetaData -
Uses of MetaData in org.datanucleus.store
Fields in org.datanucleus.store declared as MetaDataModifier and TypeFieldDescriptionprotected MetaData
StoreData.metadata
Metadata for the class, or member (join table) depending on what this represents.Methods in org.datanucleus.store that return MetaDataMethods in org.datanucleus.store with parameters of type MetaDataModifier and TypeMethodDescriptionvoid
StoreData.setMetaData
(MetaData md) Method to set the MetaData for this class.Constructors in org.datanucleus.store with parameters of type MetaDataModifierConstructorDescriptionStoreData
(String name, MetaData metadata, StoreData.Type type, String interfaceName) Constructor.