public class EJBBundleInfoHelper extends Object implements com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelper
| Constructor and Description |
|---|
EJBBundleInfoHelper(org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl bundleDescriptor,
Collection availableSchemaNames)
Creates a new instance of EJBBundleInfoHelper
|
| Modifier and Type | Method and Description |
|---|---|
com.sun.jdo.api.persistence.mapping.ejb.ConversionHelper |
createConversionHelper() |
com.sun.jdo.api.persistence.mapping.ejb.AbstractNameMapper |
createUniqueNameMapper() |
Collection |
getAvailableSchemaNames()
Gets a collection of names of schemas defined in this
ejb jar.
|
ClassLoader |
getClassLoader()
Gets the class loader which corresponds to this ejb bundle.
|
String |
getEjbJarDisplayName() |
Collection |
getEjbNames() |
Collection |
getFieldsForEjb(String ejbName) |
com.sun.jdo.api.persistence.model.Model |
getModel() |
com.sun.jdo.api.persistence.mapping.ejb.AbstractNameMapper |
getNameMapper() |
Collection |
getRelationshipsForEjb(String ejbName) |
org.netbeans.modules.dbschema.SchemaElement |
getSchema(String schemaName)
Gets the schema with the specified name, loading it if necessary.
|
String |
getSchemaNameToGenerate()
Gets the name to use for schema generation.
|
public EJBBundleInfoHelper(org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl bundleDescriptor,
Collection availableSchemaNames)
bundleDescriptor - the EjbBundleDescriptor which defines the
universe of names for this application.availableSchemaNames - a Collection of available schemas
in the application - used only during developmentpublic String getEjbJarDisplayName()
getEjbJarDisplayName in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.getEjbJarDisplayName()public Collection getAvailableSchemaNames()
null if there was none supplied.getAvailableSchemaNames in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperpublic String getSchemaNameToGenerate()
getSchemaNameToGenerate in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperpublic org.netbeans.modules.dbschema.SchemaElement getSchema(String schemaName)
getSchema in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperschemaName - the name of the schema to be loadedpublic Collection getEjbNames()
getEjbNames in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.getEjbNames()public Collection getFieldsForEjb(String ejbName)
getFieldsForEjb in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.getFieldsForEjb(java.lang.String)public Collection getRelationshipsForEjb(String ejbName)
getRelationshipsForEjb in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.getRelationshipsForEjb(java.lang.String)public ClassLoader getClassLoader()
getClassLoader in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperpublic com.sun.jdo.api.persistence.mapping.ejb.AbstractNameMapper getNameMapper()
getNameMapper in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.getNameMapper()public com.sun.jdo.api.persistence.mapping.ejb.AbstractNameMapper createUniqueNameMapper()
createUniqueNameMapper in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.createUniqueNameMapper()public com.sun.jdo.api.persistence.mapping.ejb.ConversionHelper createConversionHelper()
createConversionHelper in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.createConversionHelper()public com.sun.jdo.api.persistence.model.Model getModel()
getModel in interface com.sun.jdo.api.persistence.mapping.ejb.EJBInfoHelperEJBInfoHelper.getModel()Copyright © 2017–2019 Eclipse Foundation. All rights reserved.