| |
|
| java.lang.Object org.jpox.metadata.MetaDataMerger
MetaDataMerger | public class MetaDataMerger (Code) | | Convenience class to handle the merging of MetaData.
This is used in the following situations
- JDO : Merging ORM MetaData into JDO MetaData
- JPA : Merging Annotations information into JPA MetaData
- JDO : Merging Annotations information into JDO MetaData
version: $Revision: 1.17 $ |
mergeClassAnnotationsData | public static void mergeClassAnnotationsData(AbstractClassMetaData primaryCmd, AbstractClassMetaData annotCmd)(Code) | | Method to take a class MetaData definition and merge in any Annotations "MetaData" definition.
If something is specified in the MetaData and also in the annotations then the MetaData takes precedence.
This is tied pretty intrinsically to the AbstractClassMetaData class and so could have been included there.
Parameters: primaryCmd - The MetaData definition (to be updated) Parameters: annotCmd - The annotations Class definition (to be merged into the MetaData definition) throws: JPOXException - if an error occurs while merging the annotations info |
mergeClassORMData | public static void mergeClassORMData(AbstractClassMetaData primaryCmd, AbstractClassMetaData ormCmd)(Code) | | Method to take a class JDO MetaData definition and merge in the ORM MetaData definition.
If something is specified in the JDO MetaData and also in the ORM MetaData then the ORM MetaData takes precedence.
This is tied pretty intrinsically to the AbstractClassMetaData class and so could have been included there.
Parameters: primaryCmd - The JDO Class definition (to be updated) Parameters: ormCmd - The ORM Class definition (to be merged into the JDO Class definition) throws: JPOXException - if an error occurs while merging the ORM info |
mergeFieldAnnotationsData | public static void mergeFieldAnnotationsData(AbstractMemberMetaData primaryFmd, AbstractMemberMetaData annotFmd)(Code) | | Method to take a field MetaData definition and merge in the Annotations "MetaData" definition.
This is tied pretty intrinsically to the AbstractMemberMetaData class and so could have been included there.
Parameters: primaryFmd - The MetaData Field definition (to be updated) Parameters: annotFmd - The Annotations "MetaData" Field definition (to be merged into the MetaData definition) throws: JPOXException - if an error occurs while merging the annotation info |
mergeFieldORMData | public static void mergeFieldORMData(AbstractMemberMetaData primaryFmd, AbstractMemberMetaData ormFmd)(Code) | | Method to take a field JDO MetaData definition and merge in the ORM MetaData definition.
This is tied pretty intrinsically to the AbstractMemberMetaData class and so could have been included there.
Parameters: primaryFmd - The JDO Field definition (to be updated) Parameters: ormFmd - The ORM Field definition (to be merged into the JDO Class definition) throws: JPOXException - if an error occurs while merging the ORM info |
mergeFileORMData | public static void mergeFileORMData(FileMetaData primaryFmd, FileMetaData ormFmd)(Code) | | Method to take a file JDO MetaData definition and merge in the ORM MetaData definition.
If something is specified in the JDO MetaData and also in the ORM MetaData then the ORM MetaData takes precedence.
Parameters: primaryFmd - The JDO Field definition (to be updated) Parameters: ormFmd - The ORM Field definition (to be merged into the JDO Field definition) throws: JPOXException - if an error occurs while merging the ORM info |
|
|
|