public abstract class NameMapper extends AbstractNameMapper
GENERATED_CMR_FIELD_PREFIX, GENERATED_KEY_FIELD_NAME, GENERATED_VERSION_FIELD_PREFIX, PRIMARY_KEY_FIELD, UNKNOWN_KEY_CLASS, USER_DEFINED_KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
NameMapper(EjbBundleDescriptorImpl bundleDescriptor)
Creates a new instance of NameMapper
|
| Modifier and Type | Method and Description |
|---|---|
EjbBundleDescriptorImpl |
getBundleDescriptor()
Gets the EjbBundleDescriptor which defines the universe of
names for this application.
|
abstract String |
getConcreteBeanClassForEjbName(String name)
Gets the name of the concrete bean class which corresponds to the
specified ejb.
|
abstract EjbCMPEntityDescriptor |
getDescriptorForEjbName(String name)
Gets the EjbCMPEntityDescriptor which represents the ejb
with the specified name.
|
abstract String |
getEjbNameForAbstractSchema(String schemaName)
Gets the name of the ejb which corresponds to the specified abstract
schema name.
|
protected Map |
getGeneratedFieldsMap() |
protected Map |
getInverseFieldsMap() |
int |
getKeyClassTypeForEjbName(String name)
Get the type of key class of this ejb.
|
getAbstractBeanClassForEjbName, getAbstractSchemaForEjbName, getEjbFieldForGeneratedField, getEjbFieldForPersistenceField, getEjbNameForLocalInterface, getEjbNameForPersistenceClass, getEjbNameForPersistenceKeyClass, getEjbNameForRemoteInterface, getGeneratedFieldForEjbField, getGeneratedRelationshipsForEjbName, getKeyClassForEjbName, getKeyClassForPersistenceKeyClass, getLocalInterfaceForEjbName, getPersistenceClassForEjbName, getPersistenceClassForLocalInterface, getPersistenceClassForRemoteInterface, getPersistenceFieldForEjbField, getRemoteInterfaceForEjbName, isEjbName, isGeneratedEjbRelationship, isGeneratedField, isLocalInterface, isRemoteInterfaceprotected NameMapper(EjbBundleDescriptorImpl bundleDescriptor)
bundleDescriptor - the EjbBundleDescriptor which defines the
universe of names for this application.protected Map getGeneratedFieldsMap()
getGeneratedFieldsMap in class AbstractNameMapperprotected Map getInverseFieldsMap()
getInverseFieldsMap in class AbstractNameMapperpublic EjbBundleDescriptorImpl getBundleDescriptor()
public abstract EjbCMPEntityDescriptor getDescriptorForEjbName(String name)
name - the name of the ejbpublic int getKeyClassTypeForEjbName(String name)
getKeyClassTypeForEjbName in class AbstractNameMapperAbstractNameMapper.USER_DEFINED_KEY_CLASS,
AbstractNameMapper.PRIMARY_KEY_FIELD, or AbstractNameMapper.UNKNOWN_KEY_CLASSpublic abstract String getEjbNameForAbstractSchema(String schemaName)
schemaName - the name of the abstract schemaCopyright © 2019. All rights reserved.