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 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.
|
Modifier and Type | Class and 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 |
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 model.
|
class |
FetchGroupMemberMetaData
Metadata for 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 |
IdentityMetaData
Meta-Data for the datastore-identity of a class.
|
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 |
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 |
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.
|
Modifier and Type | Field and Description |
---|---|
protected MetaData |
MetaData.parent
Parent MetaData object, allowing hierarchical MetaData structure.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
AbstractMemberMetaData(MetaData parent,
AbstractMemberMetaData mmd)
Convenience constructor to copy the specification from the passed member.
|
AbstractMemberMetaData(MetaData parent,
String name)
Constructor for a fields metadata.
|
FetchGroupMemberMetaData(MetaData parent,
String name) |
FieldMetaData(MetaData parent,
AbstractMemberMetaData fmd)
Convenience constructor to copy the specification from the passed field.
|
FieldMetaData(MetaData parent,
String name)
Constructor.
|
MetaData(MetaData parent)
Constructor.
|
MetaData(MetaData parent,
MetaData copy)
Copy constructor.
|
PropertyMetaData(MetaData parent,
PropertyMetaData fmd)
Convenience constructor to copy the specification from the passed field.
|
PropertyMetaData(MetaData parent,
String name)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected MetaData |
AbstractMetaDataHandler.metadata
The MetaData for this file (the end result of the parse process).
|
Modifier and Type | Field and Description |
---|---|
protected Stack<MetaData> |
AbstractMetaDataHandler.stack
Stack of meta-data elements.
|
Modifier and Type | Method and Description |
---|---|
MetaData |
AbstractMetaDataHandler.getMetaData()
Accessor for the MetaData for this file.
|
protected MetaData |
AbstractMetaDataHandler.getStack()
Accessor for the current MetaData component.
|
MetaData |
MetaDataParser.parseMetaDataFile(String fileName,
String handlerName)
Method to parse a MetaData file given the filename.
|
MetaData |
MetaDataParser.parseMetaDataStream(InputStream in,
String filename,
String handlerName)
Method to parse a MetaData file given an InputStream.
|
MetaData |
MetaDataParser.parseMetaDataURL(URL url,
String handlerName)
Method to parse a MetaData file given the URL of the file.
|
protected MetaData |
AbstractMetaDataHandler.popStack()
Method to remove the current MetaData component from the Stack.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMetaDataHandler.pushStack(MetaData md)
Method to add a MetaData component to the Stack.
|
Modifier and Type | Field and Description |
---|---|
protected MetaData |
StoreData.metadata
Metadata for the class, or member (join table) depending on what this represents.
|
Modifier and Type | Method and Description |
---|---|
MetaData |
StoreData.getMetaData()
Accessor for class/field meta data.
|
Modifier and Type | Method and Description |
---|---|
void |
StoreData.setMetaData(MetaData md)
Method to set the MetaData for this class.
|
Constructor and Description |
---|
StoreData(String name,
MetaData metadata,
StoreData.Type type,
String interfaceName)
Constructor.
|
Copyright © 2019. All rights reserved.