Modifier and Type | Method and Description |
---|---|
String |
getCatalog()
Accessor for the catalog (ORM) that all classes in this JDO Metadata
default to.
|
FetchPlanMetadata[] |
getFetchPlans()
Accessor for any fetch plans defined on the JDO Metadata.
|
int |
getNumberOfFetchPlans()
Accessor for the number of fetch plans defined in this JDO Metadata.
|
int |
getNumberOfPackages()
Accessor for the number of packages defined in this JDO Metadata.
|
int |
getNumberOfQueries()
Accessor for the number of named queries defined in this JDO Metadata.
|
PackageMetadata[] |
getPackages()
Accessor for all packages defined on the JDO Metadata.
|
QueryMetadata[] |
getQueries()
Accessor for any named queries defined on the JDO Metadata.
|
String |
getSchema()
Accessor for the schema (ORM) that all classes in this JDO Metadata
default to.
|
ClassMetadata |
newClassMetadata(Class cls)
Add a new class to this JDO Metadata.
|
FetchPlanMetadata |
newFetchPlanMetadata(String name)
Add a new fetch plan to this JDO Metadata.
|
InterfaceMetadata |
newInterfaceMetadata(Class cls)
Add a new interface to this JDO Metadata.
|
PackageMetadata |
newPackageMetadata(Package pkg)
Add a new package to this JDO Metadata.
|
PackageMetadata |
newPackageMetadata(String pkgName)
Add a new package to this JDO Metadata.
|
QueryMetadata |
newQueryMetadata(String name)
Add a new named query to this JDO Metadata.
|
JDOMetadata |
setCatalog(String catalog)
Method to set the catalog (ORM) to apply to all classes in this
JDO Metadata.
|
JDOMetadata |
setSchema(String schema)
Method to set the schema (ORM) to apply to all classes in this JDO
Metadata.
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
JDOMetadata setCatalog(String catalog)
catalog
- Catalog nameString getCatalog()
JDOMetadata setSchema(String schema)
schema
- Schema nameString getSchema()
PackageMetadata[] getPackages()
PackageMetadata newPackageMetadata(String pkgName)
pkgName
- Name of the packagePackageMetadata newPackageMetadata(Package pkg)
pkg
- The packageint getNumberOfPackages()
ClassMetadata newClassMetadata(Class cls)
cls
- Class to addInterfaceMetadata newInterfaceMetadata(Class cls)
cls
- Class to addQueryMetadata[] getQueries()
QueryMetadata newQueryMetadata(String name)
name
- Name of the queryint getNumberOfQueries()
FetchPlanMetadata[] getFetchPlans()
FetchPlanMetadata newFetchPlanMetadata(String name)
name
- Name of the queryint getNumberOfFetchPlans()
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.