org.jpox.metadata

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » JPOX » org.jpox.metadata 
org.jpox.metadata

Provides classes representing the MetaData for files, packages, classes, fields, containers, etc. Structured to map to the JDO2 Meta-Data file structure, though also now maps to the JPA Meta-Data structure approximately.

Key aspects of this package are

  • MetaDataManager is the entry point into this package. A call is typically made to getMetaDataForClass and the MetaDataManager will take care of finding the MetaData, parsing any files, and populating the MetaData.
  • MetaDataMerger is responsible for merging annotations with metadata, and JDO MetaData with ORM MetaData
  • FileMetaData is the top level of a metadata representation, represening the actual file. It will contain metadata for a series of packages, etc. The components are laid out in a tree
  • ClassMetaData is the most used class, and is the representation of the persistence of a class. It contains a series of FieldMetaData/PropertyMetaDataobjects, representing the fields and properties of the class.

The "data" classes have a lifecycle, being created, then populated, and finally initialised. When a file is read in all classes are read and populated at that time.

Java Source File NameTypeComment
AbstractClassMetaData.javaClass Abstract representation of the MetaData of a class/interface. Has a parent PackageMetaData that can contain the metadata for several classes/interfaces.
AbstractConstraintMetaData.javaClass Abstract representation of an ORM constraint.
AbstractElementMetaData.javaClass This element specifies the mapping for the element component of arrays and collections. If only one column is mapped, and no additional information is needed for the column, then the column attribute can be used.
AbstractMemberMetaData.javaClass Abstract representation of MetaData for a field/property of a class/interface. The term "member" is used to represent either a field or a method(property).
ArrayMetaData.javaClass Representation of the Meta-Data for an Array.
ClassMetaData.javaClass Representation of the MetaData of a class.
ClassPersistenceModifier.javaClass Definition of the options for persistence-modifier of a class.
CollectionMetaData.javaClass Representation of the MetaData of a collection.
ColumnMetaData.javaClass Representation of the Meta-Data for a column mapping of a field.
ColumnMetaDataContainer.javaInterface Interface defining an object that contains Columns.
ContainerComponent.javaClass Representation of the details of an object stored in a container.
ContainerMetaData.javaClass Representation of the Meta-Data for a container. This is subclasses by Array, Collection, and Map.
DefaultMetaDataFactory.javaClass Default implementation of MetaDataFactory.
DiscriminatorMetaData.javaClass Representation of a discriminator in an inheritance strategy.
DiscriminatorStrategy.javaClass Representation of the values for discriminator "strategy".
ElementMetaData.javaClass This element specifies the mapping for the element component of arrays and collections. If only one column is mapped, and no additional information is needed for the column, then the column attribute can be used.
EmbeddedMetaData.javaClass This element specifies the mapping for an embedded type.
EventListenerMetaData.javaClass Listener for events, following the JPA1 model.
ExtensionMetaData.javaClass Representation of the Meta-Data for an extension. Takes the form of key and value.
FetchGroupMetaData.javaClass A fetch group defines a particular loaded state for an object graph.
FetchPlanMetaData.javaClass FetchPlan defined in MetaData.
FieldMetaData.javaClass Representation of the Meta-Data for a field of a class.

Lifecycle state

An object of this type has 2 lifecycle states.
FieldPersistenceModifier.javaClass Class defining the possibilities for persistence, in terms of the type of persistence, and the types that are capable to be supported.
FileMetaData.javaClass Representation of a Meta-Data file.
ForeignKeyAction.javaClass Foreign keys represent a consistency constraint in the database that must be maintained.
ForeignKeyMetaData.javaClass Foreign keys in metadata serve two quite different purposes.
IdentityMetaData.javaClass Meta-Data for the datastore-identity of a class.
IdentityStrategy.javaClass Representation of the values for identity "strategy".
IdentityType.javaClass Representation of the values for identity-type.
ImplementsMetaData.javaClass The implements element declares a persistence-capable interface implemented by the persistence-capable class that contains this element.
IndexedValue.javaClass Representation of whether an item is indexed or not.
IndexMetaData.javaClass For schema generation, it might be useful to specify that a column or columns be indexed, and to provide the name of the index.
InheritanceMetaData.javaClass Representation of the Meta-Data defining inherited classes.
InheritanceStrategy.javaClass Representation of the values for inheritance "strategy".
InterfaceMetaData.javaClass Representation of the MetaData of a "persistent-interface".
InvalidAnnotationException.javaClass Exception thrown when an annotation has been specified that is invalid in the circumstances.
InvalidMetaDataException.javaClass Representation of an exception thrown when an error occurs in Meta-Data definition.
InvalidPrimaryKeyException.javaClass Exception thrown when a primary key class is found to be invalid for some reason.
JoinMetaData.javaClass 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.
KeyMetaData.javaClass This element specifies the mapping for the key component of maps.
MapMetaData.javaClass Representation of the Meta-Data for a Map.
MetaData.javaClass Base class for all MetaData.

MetaData Lifecycle

The states represent the lifecycle of a MetaData object.
MetaDataFactory.javaInterface Factory for ClassMetaData, InterfaceMetaData, FieldMetaData and PropertyMetaData objects.
MetaDataManager.javaClass Manager of MetaData information in JPOX having scope of an ObjectManagerFactory. Each PMF/EMF will effectively have a single MetaDataManager handling all XML/Annotations MetaData.

A MetaDataManager can be "initialised" to start with particular MetaData.

MetaDataManagerTest.javaClass Component tests for the MetaDataManager class.
MetaDataMerger.javaClass Convenience class to handle the merging of MetaData.
MetaDataUtils.javaClass Utilities needed for the processing of MetaData.
NullValue.javaClass jdo config null-value class.
OrderMetaData.javaClass Representation of Order MetaData - the ordering of the elements of a List.
PackageMetaData.javaClass Representation of the Meta-Data for a package.
PersistenceFileMetaData.javaClass Representation of a Meta-Data "persistence.xml" file.
PersistenceFlags.javaClass Series of flag settings used in the persistence process.
PersistenceUnitMetaData.javaClass MetaData representation of a "persistence.xml" persistence unit.
PrimaryKeyMetaData.javaClass Representation of a primary key constraint.
PropertyMetaData.javaClass The property element declares mapping between a virtual field of an implemented interface and the corresponding persistent field of a persistence-capable class.
QueryLanguage.javaClass Representation of the query languages.
QueryMetaData.javaClass Representation of the MetaData of a named Query.
QueryResultMetaData.javaClass Representation of the mapping of (SQL) Query results into a desired output form.
Relation.javaClass Utility class providing enums for the different relation types. TODO Consider adding the other subtypes of relations ...
SequenceMetaData.javaClass Representation of the MetaData of a named Sequence (JDO, or JPA).
SequenceStrategy.javaClass Representation of strategy of a Sequence.
TableGeneratorMetaData.javaClass Representation of the MetaData of a TableGenerator (JPA).
TransactionType.javaClass Representation of a transaction type.
UniqueMetaData.javaClass MetaData representing a unique constraint.
ValueMetaData.javaClass This element specifies the mapping for the value component of maps.
VersionMetaData.javaClass Three common strategies for versioning instances are supported by standard metadata.
VersionStrategy.javaClass Three common strategies for versioning instances are supported by standard metadata.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.