|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContainerManagedEntity
| Field Summary | |
|---|---|
static int |
DERIVED_FLAG_CHANGE
|
static java.lang.String |
JAVA_LANG_STRING
Set to java.lang.String |
static java.lang.String |
UNKNOWN_PRIMARY_KEY
Set to java.lang.Object |
static java.lang.String |
VERSION_1_X
Denotes 1.x version of the CMP Bean |
static java.lang.String |
VERSION_2_X
Denotes 2.x version of the CMP Bean |
static java.lang.String |
WAS_GENERATED_STRING_FIELD
|
static java.lang.String |
WAS_GENERATED_STRING_KEY
|
| Method Summary | |
|---|---|
CMPAttribute |
addKeyAttributeName(java.lang.String aName)
Create a new instance of CMPAttribute with aName and add it to the keyAttributes of the bean |
CMPAttribute |
addPersistentAttribute(Field aField)
Add a persistent attribute with the same name as the name for aField. |
CMPAttribute |
addPersistentAttributeName(java.lang.String aName)
Create a new instance of CMPAttribute with aName and add it to the persistent attributes |
java.lang.String |
getAbstractSchemaName()
|
java.util.List |
getAllAvailableQueryMethods()
Return a List, sorted by signature, of all the available Query methods on the remote Home, local Home, or ejbSelect methods on the bean class |
java.util.List |
getAvailableFindQueryMethods()
Return a List of all the available Query methods for the Home and Local Home interfaces. |
java.util.List |
getAvailableSelectQueryMethods()
Return a List of all the available Query methods for the Bean class. |
org.eclipse.emf.common.util.EList |
getCMPAttribute()
Returns the value of the 'CMP Attribute' reference list. |
int |
getCMPVersionID()
This returns the module version id. |
java.util.List |
getCMRFields()
Gets the list of CMR Fields |
java.util.List |
getFilteredFeatures(EJBExtensionFilter aFilter)
Returns the list of EJBExtensionFilter |
CMPAttribute |
getKeyAttribute(java.lang.String aName)
Return the keyAttribute with aName. |
org.eclipse.emf.common.util.EList |
getKeyAttributes()
|
CMPAttribute |
getPersistentAttribute(java.lang.String aName)
Return the persistentAttribute with aName. |
org.eclipse.emf.common.util.EList |
getPersistentAttributes()
|
CMPAttribute |
getPrimaryKeyAttribute()
Deprecated. - Use getPrimKeyField() |
CMPAttribute |
getPrimKeyField()
Returns the value of the 'Prim Key Field' reference |
org.eclipse.emf.common.util.EList |
getQueries()
Returns the value of the 'Queries' containment reference list. |
CommonRelationshipRole |
getRole(java.lang.String roleName)
Return a specific CommonRelationshipRole which has a named role that is equal to roleName. |
java.util.List |
getRoles()
|
java.lang.String |
getVersion()
|
boolean |
isContainerManagedEntity()
Returns true when invoked on the instance of this class |
boolean |
isKeyAttribute(CMPAttribute anAttribute)
Returns true if anAttribute is a key attribute of the CMP |
boolean |
isUnknownPrimaryKey()
Return whether this bean represents an instance of the "unknown primary key" case described in the specification. |
boolean |
isVersion1_X()
Returns true if the CMP is of version 1.X |
boolean |
isVersion2_X()
Returns true if the CMP is of version 2.X |
java.lang.String[] |
listPersistentFieldNames()
Returns the list of Persistent Field Names |
void |
makePrimKeyFieldProxy()
Makes the primary Key Field proxy. |
CMPAttribute |
removePersistentAttribute(Field aField)
Removes the attribute with the name specified in the aField from the list of persistent attributes |
void |
setAbstractSchemaName(java.lang.String value)
|
void |
setPrimKeyField(CMPAttribute value)
Sets the value of the ' Prim Key Field' reference |
void |
setVersion(java.lang.String value)
|
| Methods inherited from interface org.eclipse.jst.j2ee.ejb.Entity |
|---|
getPrimaryKey, getPrimaryKeyName, isReentrant, isSetReentrant, setPrimaryKey, setPrimaryKeyName, setReentrant, unsetReentrant |
| Methods inherited from interface org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup |
|---|
getEjbLocalRefs, getEjbRefs, getEnvironmentProperties, getMessageDestinationRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs |
| Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup |
|---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen |
| Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup |
|---|
getDescriptions, getDisplayNames, getIcons |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Field Detail |
|---|
static final java.lang.String VERSION_1_X
static final java.lang.String VERSION_2_X
static final java.lang.String WAS_GENERATED_STRING_KEY
static final java.lang.String WAS_GENERATED_STRING_FIELD
static final java.lang.String UNKNOWN_PRIMARY_KEY
static final java.lang.String JAVA_LANG_STRING
static final int DERIVED_FLAG_CHANGE
| Method Detail |
|---|
CMPAttribute addKeyAttributeName(java.lang.String aName)
aName - the name of the key attribute
CMPAttribute addPersistentAttribute(Field aField)
aField - a reference of type Field
CMPAttribute addPersistentAttributeName(java.lang.String aName)
aName - the name of the persistent attribute
CMPAttribute getKeyAttribute(java.lang.String aName)
aName - java.lang.String
CMPAttribute getPersistentAttribute(java.lang.String aName)
aName - java.lang.String
CMPAttribute getPrimaryKeyAttribute()
boolean isContainerManagedEntity()
isContainerManagedEntity in interface EnterpriseBeanisContainerManagedEntity in interface Entityboolean isVersion1_X()
isVersion1_X in interface EnterpriseBeanJ2EEVersionConstantsboolean isVersion2_X()
isVersion2_X in interface EnterpriseBeanJ2EEVersionConstantsboolean isKeyAttribute(CMPAttribute anAttribute)
anAttribute - a attribute of the CMP of type CMPAttribute
boolean isUnknownPrimaryKey()
java.lang.String[] listPersistentFieldNames()
CMPAttribute removePersistentAttribute(Field aField)
aField - the Field reference
java.lang.String getVersion()
int getCMPVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - throws this exception when an error is encountered in getting version of the CMPvoid setVersion(java.lang.String value)
value - The new value of the Version attributejava.lang.String getAbstractSchemaName()
void setAbstractSchemaName(java.lang.String value)
value - The new value of the AbstractSchemaName attributeorg.eclipse.emf.common.util.EList getPersistentAttributes()
org.eclipse.emf.common.util.EList getKeyAttributes()
org.eclipse.emf.common.util.EList getQueries()
Query.
It is bidirectional and its opposite is 'Entity'.
If the meaning of the 'Queries' containment reference list isn't clear, there really should be more of a description here...
EjbPackage.getContainerManagedEntity_Queries(),
Query.getEntity()org.eclipse.emf.common.util.EList getCMPAttribute()
CMPAttribute.
If the meaning of the 'CMP Attribute' reference list isn't clear, there really should be more of a description here...
EjbPackage.getContainerManagedEntity_CMPAttribute()CMPAttribute getPrimKeyField()
If the meaning of the 'Prim Key Field' reference isn't clear, there really should be more of a description here...
setPrimKeyField(CMPAttribute),
EjbPackage.getContainerManagedEntity_PrimKeyField()void setPrimKeyField(CMPAttribute value)
Prim Key Field' reference.
value - the new value of the 'Prim Key Field' reference.getPrimKeyField()java.util.List getAvailableFindQueryMethods()
java.util.List getAvailableSelectQueryMethods()
java.util.List getAllAvailableQueryMethods()
java.util.List getFilteredFeatures(EJBExtensionFilter aFilter)
aFilter - a reference of type EJBExtensionFilter
void makePrimKeyFieldProxy()
java.util.List getCMRFields()
java.util.List getRoles()
CommonRelationshipRole getRole(java.lang.String roleName)
roleName.
roleName - the role name
CommonRelationshipRole
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||