org.datanucleus.jdo.metadata
Class JDOMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
      extended by org.datanucleus.jdo.metadata.JDOMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.JDOMetadata, javax.jdo.metadata.Metadata

public class JDOMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.JDOMetadata

Implementation of JDOMetadata object.


Constructor Summary
JDOMetadataImpl()
           
JDOMetadataImpl(FileMetaData filemd)
           
 
Method Summary
 java.lang.String getCatalog()
           
 javax.jdo.metadata.FetchPlanMetadata[] getFetchPlans()
           
 FileMetaData getInternal()
           
 int getNumberOfFetchPlans()
           
 int getNumberOfPackages()
           
 int getNumberOfQueries()
           
 javax.jdo.metadata.PackageMetadata[] getPackages()
           
 javax.jdo.metadata.QueryMetadata[] getQueries()
           
 java.lang.String getSchema()
           
 javax.jdo.metadata.ClassMetadata newClassMetadata(java.lang.Class cls)
           
 javax.jdo.metadata.FetchPlanMetadata newFetchPlanMetadata(java.lang.String name)
           
 javax.jdo.metadata.InterfaceMetadata newInterfaceMetadata(java.lang.Class cls)
           
 javax.jdo.metadata.PackageMetadata newPackageMetadata(java.lang.Package pkg)
           
 javax.jdo.metadata.PackageMetadata newPackageMetadata(java.lang.String name)
           
 javax.jdo.metadata.QueryMetadata newQueryMetadata(java.lang.String name)
           
 javax.jdo.metadata.JDOMetadata setCatalog(java.lang.String cat)
           
 javax.jdo.metadata.JDOMetadata setSchema(java.lang.String sch)
           
 
Methods inherited from class org.datanucleus.jdo.metadata.AbstractMetadataImpl
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
 

Constructor Detail

JDOMetadataImpl

public JDOMetadataImpl()

JDOMetadataImpl

public JDOMetadataImpl(FileMetaData filemd)
Method Detail

getInternal

public FileMetaData getInternal()

getFetchPlans

public javax.jdo.metadata.FetchPlanMetadata[] getFetchPlans()
Specified by:
getFetchPlans in interface javax.jdo.metadata.JDOMetadata

newFetchPlanMetadata

public javax.jdo.metadata.FetchPlanMetadata newFetchPlanMetadata(java.lang.String name)
Specified by:
newFetchPlanMetadata in interface javax.jdo.metadata.JDOMetadata

getNumberOfFetchPlans

public int getNumberOfFetchPlans()
Specified by:
getNumberOfFetchPlans in interface javax.jdo.metadata.JDOMetadata

getQueries

public javax.jdo.metadata.QueryMetadata[] getQueries()
Specified by:
getQueries in interface javax.jdo.metadata.JDOMetadata

getNumberOfQueries

public int getNumberOfQueries()
Specified by:
getNumberOfQueries in interface javax.jdo.metadata.JDOMetadata

newQueryMetadata

public javax.jdo.metadata.QueryMetadata newQueryMetadata(java.lang.String name)
Specified by:
newQueryMetadata in interface javax.jdo.metadata.JDOMetadata

getPackages

public javax.jdo.metadata.PackageMetadata[] getPackages()
Specified by:
getPackages in interface javax.jdo.metadata.JDOMetadata

getNumberOfPackages

public int getNumberOfPackages()
Specified by:
getNumberOfPackages in interface javax.jdo.metadata.JDOMetadata

newPackageMetadata

public javax.jdo.metadata.PackageMetadata newPackageMetadata(java.lang.String name)
Specified by:
newPackageMetadata in interface javax.jdo.metadata.JDOMetadata

newPackageMetadata

public javax.jdo.metadata.PackageMetadata newPackageMetadata(java.lang.Package pkg)
Specified by:
newPackageMetadata in interface javax.jdo.metadata.JDOMetadata

newClassMetadata

public javax.jdo.metadata.ClassMetadata newClassMetadata(java.lang.Class cls)
Specified by:
newClassMetadata in interface javax.jdo.metadata.JDOMetadata

newInterfaceMetadata

public javax.jdo.metadata.InterfaceMetadata newInterfaceMetadata(java.lang.Class cls)
Specified by:
newInterfaceMetadata in interface javax.jdo.metadata.JDOMetadata

getCatalog

public java.lang.String getCatalog()
Specified by:
getCatalog in interface javax.jdo.metadata.JDOMetadata

setCatalog

public javax.jdo.metadata.JDOMetadata setCatalog(java.lang.String cat)
Specified by:
setCatalog in interface javax.jdo.metadata.JDOMetadata

getSchema

public java.lang.String getSchema()
Specified by:
getSchema in interface javax.jdo.metadata.JDOMetadata

setSchema

public javax.jdo.metadata.JDOMetadata setSchema(java.lang.String sch)
Specified by:
setSchema in interface javax.jdo.metadata.JDOMetadata


Copyright © 2011. All Rights Reserved.