public class EJBBundleInfoHelper extends Object implements EJBInfoHelper
| Constructor and Description |
|---|
EJBBundleInfoHelper(EjbBundleDescriptorImpl bundleDescriptor,
Collection availableSchemaNames)
Creates a new instance of EJBBundleInfoHelper
|
| Modifier and Type | Method and Description |
|---|---|
ConversionHelper |
createConversionHelper()
Creates and returns an instance of the ConversionHelper object to
use for this helper.
|
AbstractNameMapper |
createUniqueNameMapper()
Creates and returns an instance of the AbstractNameMapper object to
use for generation of unique names with this helper.
|
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()
Gets the name of the ejb jar.
|
Collection |
getEjbNames()
Gets a collection of names of cmp entity beans defined in this
ejb jar.
|
Collection |
getFieldsForEjb(String ejbName)
Gets a collection of names of cmp fields and cmr fields defined in
this ejb jar for the specified ejb.
|
Model |
getModel()
Gets the Model object to use for this helper.
|
AbstractNameMapper |
getNameMapper()
Gets the AbstractNameMapper object to use for this helper.
|
Collection |
getRelationshipsForEjb(String ejbName)
Gets a collection of names of cmr fields defined in
this ejb jar for the specified ejb.
|
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(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()
EJBInfoHelpergetEjbJarDisplayName in interface EJBInfoHelperEJBInfoHelper.getEjbJarDisplayName()public Collection getAvailableSchemaNames()
null if there was none supplied.getAvailableSchemaNames in interface EJBInfoHelperpublic String getSchemaNameToGenerate()
getSchemaNameToGenerate in interface EJBInfoHelperpublic org.netbeans.modules.dbschema.SchemaElement getSchema(String schemaName)
getSchema in interface EJBInfoHelperschemaName - the name of the schema to be loadedpublic Collection getEjbNames()
EJBInfoHelpergetEjbNames in interface EJBInfoHelperEJBInfoHelper.getEjbNames()public Collection getFieldsForEjb(String ejbName)
EJBInfoHelpergetFieldsForEjb in interface EJBInfoHelperejbName - the name of the ejb for which a list of fields
will be createdEJBInfoHelper.getFieldsForEjb(java.lang.String)public Collection getRelationshipsForEjb(String ejbName)
EJBInfoHelpergetRelationshipsForEjb in interface EJBInfoHelperejbName - the name of the ejb for which a list of cmr fields
will be createdEJBInfoHelper.getRelationshipsForEjb(java.lang.String)public ClassLoader getClassLoader()
getClassLoader in interface EJBInfoHelperpublic AbstractNameMapper getNameMapper()
EJBInfoHelpergetNameMapper in interface EJBInfoHelperEJBInfoHelper.getNameMapper()public AbstractNameMapper createUniqueNameMapper()
EJBInfoHelpercreateUniqueNameMapper in interface EJBInfoHelperEJBInfoHelper.createUniqueNameMapper()public ConversionHelper createConversionHelper()
EJBInfoHelpercreateConversionHelper in interface EJBInfoHelperEJBInfoHelper.createConversionHelper()public Model getModel()
EJBInfoHelpergetModel in interface EJBInfoHelperEJBInfoHelper.getModel()Copyright © 2017. All rights reserved.