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()
EJBInfoHelper
getEjbJarDisplayName
in interface EJBInfoHelper
EJBInfoHelper.getEjbJarDisplayName()
public Collection getAvailableSchemaNames()
null
if there was none supplied.getAvailableSchemaNames
in interface EJBInfoHelper
public String getSchemaNameToGenerate()
getSchemaNameToGenerate
in interface EJBInfoHelper
public org.netbeans.modules.dbschema.SchemaElement getSchema(String schemaName)
getSchema
in interface EJBInfoHelper
schemaName
- the name of the schema to be loadedpublic Collection getEjbNames()
EJBInfoHelper
getEjbNames
in interface EJBInfoHelper
EJBInfoHelper.getEjbNames()
public Collection getFieldsForEjb(String ejbName)
EJBInfoHelper
getFieldsForEjb
in interface EJBInfoHelper
ejbName
- the name of the ejb for which a list of fields
will be createdEJBInfoHelper.getFieldsForEjb(java.lang.String)
public Collection getRelationshipsForEjb(String ejbName)
EJBInfoHelper
getRelationshipsForEjb
in interface EJBInfoHelper
ejbName
- 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 EJBInfoHelper
public AbstractNameMapper getNameMapper()
EJBInfoHelper
getNameMapper
in interface EJBInfoHelper
EJBInfoHelper.getNameMapper()
public AbstractNameMapper createUniqueNameMapper()
EJBInfoHelper
createUniqueNameMapper
in interface EJBInfoHelper
EJBInfoHelper.createUniqueNameMapper()
public ConversionHelper createConversionHelper()
EJBInfoHelper
createConversionHelper
in interface EJBInfoHelper
EJBInfoHelper.createConversionHelper()
public Model getModel()
EJBInfoHelper
getModel
in interface EJBInfoHelper
EJBInfoHelper.getModel()
Copyright © 2019. All rights reserved.