Uses of Class
org.datanucleus.metadata.MetaData
-
Packages that use MetaData Package Description org.datanucleus.metadata Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.org.datanucleus.metadata.xml Provides classes for parsing XML metadata input data and converting into org.datanucleus.metadata input data for the DataNucleus persistence process.org.datanucleus.store 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.metadata Modifier and Type Class Description class
AbstractClassMetaData
Abstract representation of the MetaData of a class/interface.class
AbstractElementMetaData
This element specifies the mapping for the element component of arrays and collections.class
AbstractMemberMetaData
Abstract representation of MetaData for a field/property of a class/interface.class
ArrayMetaData
Representation of the Meta-Data for an Array.class
ClassMetaData
Representation of the MetaData of a class.class
CollectionMetaData
Representation of the MetaData of a collection.class
ColumnMetaData
Representation of the Meta-Data for a column mapping of a field.class
ConstraintMetaData
Representation of an ORM constraint.class
ContainerMetaData
Representation of the Meta-Data for a container.class
DatastoreIdentityMetaData
Meta-Data for the datastore-identity of a class.class
DiscriminatorMetaData
Representation of a discriminator in an inheritance strategy.class
ElementMetaData
This element specifies the mapping for the element component of arrays and collections.class
EmbeddedMetaData
This element specifies the mapping for an embedded type.class
EventListenerMetaData
Listener for events, following the JPA/Jakarta model.class
FetchGroupMemberMetaData
Metadata defining a member of a fetch-group.class
FetchGroupMetaData
A fetch group defines a particular loaded state for an object graph.class
FetchPlanMetaData
FetchPlan defined in MetaData.class
FieldMetaData
Representation of the Meta-Data for a field of a class.class
FileMetaData
Representation of a Meta-Data file.class
ForeignKeyMetaData
Foreign keys in metadata serve two quite different purposes.class
ImplementsMetaData
The implements element declares a persistence-capable interface implemented by the persistence-capable class that contains this element.class
IndexMetaData
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
InheritanceMetaData
Representation of the Meta-Data defining inherited classes.class
InterfaceMetaData
Representation of the MetaData of a "persistent-interface".class
JoinMetaData
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
KeyMetaData
This element specifies the mapping for the key component of maps.class
MapMetaData
Representation of the Meta-Data for a Map.class
MultitenancyMetaData
MetaData representation for a multitenancy discriminator.class
OrderMetaData
Representation of Order MetaData - the ordering of the elements of a List.class
PackageMetaData
Representation of the Meta-Data for a package.class
PersistenceFileMetaData
Representation of a Meta-Data "persistence.xml" file.class
PersistenceUnitMetaData
MetaData representation of a "persistence.xml" persistence unit.class
PrimaryKeyMetaData
Representation of a primary key constraint.class
PropertyMetaData
The property element declares mapping between a virtual field of an implemented interface and the corresponding persistent field of a persistence-capable class.class
QueryMetaData
Representation of the MetaData of a named Query.class
QueryResultMetaData
Representation of the mapping of (SQL) Query results into a desired output form.class
SequenceMetaData
Representation of the MetaData of a named Sequence (JDO, or JPA).class
SoftDeleteMetaData
MetaData representation for a soft delete indicator column.class
StoredProcQueryMetaData
Metadata representation of a named stored proc query.class
StoredProcQueryParameterMetaData
Metadata representation of a parameter for a named stored proc query.class
TableGeneratorMetaData
Representation of the MetaData of a TableGenerator (JPA).class
UniqueMetaData
MetaData representing a unique constraint.class
ValueMetaData
This element specifies the mapping for the value component of maps.class
VersionMetaData
Three common strategies for versioning instances are supported by standard metadata.Fields in org.datanucleus.metadata declared as MetaData Modifier and Type Field Description protected MetaData
MetaData. parent
Parent MetaData object, allowing hierarchical MetaData structure.Methods in org.datanucleus.metadata that return MetaData Modifier and Type Method Description MetaData
MetaData. addExtension(String key, String value)
MetaData
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
MetaData. getParent()
MetaData
MetaData. removeExtension(String key)
MetaData
MetaData. setExtensions(Map<String,String> exts)
Methods in org.datanucleus.metadata with parameters of type MetaData Modifier and Type Method Description protected 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
MetaData. setParent(MetaData md)
Constructors in org.datanucleus.metadata with parameters of type MetaData Constructor Description AbstractMemberMetaData(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.MetaData(MetaData parent)
Constructor.MetaData(MetaData parent, MetaData copy)
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 MetaData Modifier and Type Field Description protected 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 MetaData Modifier and Type Field Description protected Stack<MetaData>
AbstractXmlMetaDataHandler. stack
Stack of meta-data elements.Methods in org.datanucleus.metadata.xml that return MetaData Modifier and Type Method Description MetaData
AbstractXmlMetaDataHandler. getMetaData()
Accessor for the MetaData for this file.protected MetaData
AbstractXmlMetaDataHandler. getStack()
Accessor for the current MetaData component.MetaData
XmlMetaDataParser. parseXmlMetaDataFile(String fileName, String handlerName)
Method to parse an XML MetaData file given the filename.MetaData
XmlMetaDataParser. parseXmlMetaDataStream(InputStream in, String filename, String handlerName)
Method to parse an XML MetaData file given an InputStream.MetaData
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 Modifier and Type Method Description protected void
AbstractXmlMetaDataHandler. pushStack(MetaData md)
Method to add a MetaData component to the Stack. -
Uses of MetaData in org.datanucleus.store
Fields in org.datanucleus.store declared as MetaData Modifier and Type Field Description protected MetaData
StoreData. metadata
Metadata for the class, or member (join table) depending on what this represents.Methods in org.datanucleus.store that return MetaData Modifier and Type Method Description MetaData
StoreData. getMetaData()
Accessor for class/field meta data.Methods in org.datanucleus.store with parameters of type MetaData Modifier and Type Method Description void
StoreData. setMetaData(MetaData md)
Method to set the MetaData for this class.Constructors in org.datanucleus.store with parameters of type MetaData Constructor Description StoreData(String name, MetaData metadata, StoreData.Type type, String interfaceName)
Constructor.
-