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 classAbstractClassMetaDataAbstract representation of the MetaData of a class/interface.classAbstractElementMetaDataThis element specifies the mapping for the element component of arrays and collections.classAbstractMemberMetaDataAbstract representation of MetaData for a field/property of a class/interface.classArrayMetaDataRepresentation of the Meta-Data for an Array.classClassMetaDataRepresentation of the MetaData of a class.classCollectionMetaDataRepresentation of the MetaData of a collection.classColumnMetaDataRepresentation of the Meta-Data for a column mapping of a field.classConstraintMetaDataRepresentation of an ORM constraint.classContainerMetaDataRepresentation of the Meta-Data for a container.classDatastoreIdentityMetaDataMeta-Data for the datastore-identity of a class.classDiscriminatorMetaDataRepresentation of a discriminator in an inheritance strategy.classElementMetaDataThis element specifies the mapping for the element component of arrays and collections.classEmbeddedMetaDataThis element specifies the mapping for an embedded type.classEventListenerMetaDataListener for events, following the JPA/Jakarta model.classFetchGroupMemberMetaDataMetadata defining a member of a fetch-group.classFetchGroupMetaDataA fetch group defines a particular loaded state for an object graph.classFetchPlanMetaDataFetchPlan defined in MetaData.classFieldMetaDataRepresentation of the Meta-Data for a field of a class.classFileMetaDataRepresentation of a Meta-Data file.classForeignKeyMetaDataForeign keys in metadata serve two quite different purposes.classImplementsMetaDataThe implements element declares a persistence-capable interface implemented by the persistence-capable class that contains this element.classIndexMetaDataFor schema generation, it might be useful to specify that a column or columns be indexed, and to provide the name of the index.classInheritanceMetaDataRepresentation of the Meta-Data defining inherited classes.classInterfaceMetaDataRepresentation of the MetaData of a "persistent-interface".classJoinMetaDataSecondary 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.classKeyMetaDataThis element specifies the mapping for the key component of maps.classMapMetaDataRepresentation of the Meta-Data for a Map.classMultitenancyMetaDataMetaData representation for a multitenancy discriminator.classOrderMetaDataRepresentation of Order MetaData - the ordering of the elements of a List.classPackageMetaDataRepresentation of the Meta-Data for a package.classPersistenceFileMetaDataRepresentation of a Meta-Data "persistence.xml" file.classPersistenceUnitMetaDataMetaData representation of a "persistence.xml" persistence unit.classPrimaryKeyMetaDataRepresentation of a primary key constraint.classPropertyMetaDataThe property element declares mapping between a virtual field of an implemented interface and the corresponding persistent field of a persistence-capable class.classQueryMetaDataRepresentation of the MetaData of a named Query.classQueryResultMetaDataRepresentation of the mapping of (SQL) Query results into a desired output form.classSequenceMetaDataRepresentation of the MetaData of a named Sequence (JDO, or JPA).classSoftDeleteMetaDataMetaData representation for a soft delete indicator column.classStoredProcQueryMetaDataMetadata representation of a named stored proc query.classStoredProcQueryParameterMetaDataMetadata representation of a parameter for a named stored proc query.classTableGeneratorMetaDataRepresentation of the MetaData of a TableGenerator (JPA).classUniqueMetaDataMetaData representing a unique constraint.classValueMetaDataThis element specifies the mapping for the value component of maps.classVersionMetaDataThree common strategies for versioning instances are supported by standard metadata.Fields in org.datanucleus.metadata declared as MetaData Modifier and Type Field Description protected MetaDataMetaData. parentParent MetaData object, allowing hierarchical MetaData structure.Methods in org.datanucleus.metadata that return MetaData Modifier and Type Method Description MetaDataAbstractMemberMetaData. addExtension(String key, String value)MetaDataMetaData. addExtension(String key, String value)MetaDataAbstractMemberMetaData. addExtensions(Map<String,String> exts)MetaDataMetaData. addExtensions(Map<String,String> exts)protected static MetaDataAbstractMemberMetaData. getOverallParentClassMetaData(MetaData metadata)Convenience method to navigate back through the parents to find the overall ClassMetaData handling this object.MetaDataMetaData. getParent()MetaDataMetaData. removeExtension(String key)MetaDataAbstractMemberMetaData. setExtensions(Map<String,String> exts)MetaDataMetaData. setExtensions(Map<String,String> exts)Methods in org.datanucleus.metadata with parameters of type MetaData Modifier and Type Method Description protected static MetaDataAbstractMemberMetaData. getOverallParentClassMetaData(MetaData metadata)Convenience method to navigate back through the parents to find the overall ClassMetaData handling this object.static StringMetaDataUtils. 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.voidMetaData. 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 MetaDataAbstractXmlMetaDataHandler. metadataThe 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. stackStack of meta-data elements.Methods in org.datanucleus.metadata.xml that return MetaData Modifier and Type Method Description MetaDataAbstractXmlMetaDataHandler. getMetaData()Accessor for the MetaData for this file.protected MetaDataAbstractXmlMetaDataHandler. getStack()Accessor for the current MetaData component.MetaDataXmlMetaDataParser. parseXmlMetaDataFile(String fileName, String handlerName)Method to parse an XML MetaData file given the filename.MetaDataXmlMetaDataParser. parseXmlMetaDataStream(InputStream in, String filename, String handlerName)Method to parse an XML MetaData file given an InputStream.MetaDataXmlMetaDataParser. parseXmlMetaDataURL(URL url, String handlerName)Method to parse an XML MetaData file given the URL of the file.protected MetaDataAbstractXmlMetaDataHandler. 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 voidAbstractXmlMetaDataHandler. 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 MetaDataStoreData. metadataMetadata 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 MetaDataStoreData. getMetaData()Accessor for class/field meta data.Methods in org.datanucleus.store with parameters of type MetaData Modifier and Type Method Description voidStoreData. 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.
-