Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
Structured to relate directly to the JDO Meta-Data file structure. The "data" classes are separated from the creation
classes (e.g parsers).
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.
- MetaDataParser is responsible for parsing of the JDO Meta-Data files
- 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 objects, representing the fields 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.