Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.3.5 generated on August 31 2005
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package kodo.meta

JDO MetaData

See:
Description

Interface Summary
ClassMetaData | Contains JDO meta information about a persistent type.
Commentable | Implementations of this interface can be adorned with comments.
Extensions | Manages metadata extensions.
FieldMetaData | Holds metadata on a particular field.
JDOMetaDataRepository | Repository of JDO metadata.
JDOTypes | Type constants for JDO managed fields.
MetaDataLoader | The `JDOMetaDataRepository` uses implementations of this interface to load `ClassMetaData` instances.

Class Summary
DelegatingClassMetaData | Wrapper around an existing class metadata.
DelegatingExtensions | Wrapper around an existing `Extensions` instance.
DelegatingFieldMetaData | Wrapper around an existing field metadata.
DelegatingJDOMetaDataRepository | Wrapper around a repository.
JDOMetaDataGenerator | Generates default JDO metadata for a given class.
JDOMetaDataParser | Custom SAX parser used by the system to quickly parse JDO metadata files.
JDOMetaDataTool | Tool for generating default JDO metadata.
QueryMetaData | Holds metadata about named queries.
QueryMetaDataParser | Custom SAX parser used by the system to parse JDO metadata files for named queries.
QueryMetaDataRepository | Repository for `QueryMetaData` instances.

## Package kodo.meta Description

JDO MetaData

This package provides an extendable framework for parsing JDO metadata. The metadata can be accessed at both enhancement time and at runtime. The framework uses caching and a fast SAX parser to reduce the overhead involved in finding and parsing the metadata for each JDO type.

Typical usage involves getting a `ClassMetaData` via a call to one of the `KodoHelper`.getMetaData() methods: ``

    import kodo.meta.ClassMetaData;
    import kodo.meta.FieldMetaData;
    import kodo.meta.FieldMetaData.MANAGE_PERSISTENT;
    import kodo.runtime.KodoHelper;

    ...

    ClassMetaData orderMeta = KodoHelper.getMetaData (pm, Order.class);
    FieldMetaData[] fields = orderMeta.getFields ();
    for (FieldMetaData fmd : fields)
        System.out.printf ("field %s %s persistent.\n", fmd.getName (),
            (fmd.getManagement () == MANAGE_PERSISTENT ? "is" : "is not");

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.3.5 generated on August 31 2005
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.