|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
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. |
EList |
getKeyAttributes()
|
CMPAttribute |
getPersistentAttribute(java.lang.String aName)
Return the persistentAttribute with aName. |
EList |
getPersistentAttributes()
|
CMPAttribute |
getPrimaryKeyAttribute()
Deprecated. - Use getPrimKeyField() |
CMPAttribute |
getPrimKeyField()
Returns the value of the 'Prim Key Field' reference |
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 |
Field Detail |
public static final java.lang.String VERSION_1_X
public static final java.lang.String VERSION_2_X
public static final java.lang.String WAS_GENERATED_STRING_KEY
public static final java.lang.String WAS_GENERATED_STRING_FIELD
public static final java.lang.String UNKNOWN_PRIMARY_KEY
public static final java.lang.String JAVA_LANG_STRING
public static final int DERIVED_FLAG_CHANGE
Method Detail |
public CMPAttribute addKeyAttributeName(java.lang.String aName)
aName
- the name of the key attribute
public CMPAttribute addPersistentAttribute(Field aField)
aField
- a reference of type Field
public CMPAttribute addPersistentAttributeName(java.lang.String aName)
aName
- the name of the persistent attribute
public CMPAttribute getKeyAttribute(java.lang.String aName)
aName
- java.lang.String
public CMPAttribute getPersistentAttribute(java.lang.String aName)
aName
- java.lang.String
public CMPAttribute getPrimaryKeyAttribute()
public boolean isContainerManagedEntity()
isContainerManagedEntity
in interface Entity
public boolean isVersion1_X()
isVersion1_X
in interface EnterpriseBean
J2EEVersionConstants
public boolean isVersion2_X()
isVersion2_X
in interface EnterpriseBean
J2EEVersionConstants
public boolean isKeyAttribute(CMPAttribute anAttribute)
anAttribute
- a attribute of the CMP of type CMPAttribute
public boolean isUnknownPrimaryKey()
public java.lang.String[] listPersistentFieldNames()
public CMPAttribute removePersistentAttribute(Field aField)
aField
- the Field reference
public java.lang.String getVersion()
public int getCMPVersionID() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- throws this exception when an error is encountered in getting version of the CMPpublic void setVersion(java.lang.String value)
value
- The new value of the Version attributepublic java.lang.String getAbstractSchemaName()
public void setAbstractSchemaName(java.lang.String value)
value
- The new value of the AbstractSchemaName attributepublic EList getPersistentAttributes()
public EList getKeyAttributes()
public 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()
public 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()
public 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()
public void setPrimKeyField(CMPAttribute value)
Prim Key Field
' reference.
value
- the new value of the 'Prim Key Field' reference.getPrimKeyField()
public java.util.List getAvailableFindQueryMethods()
public java.util.List getAvailableSelectQueryMethods()
public java.util.List getAllAvailableQueryMethods()
public java.util.List getFilteredFeatures(EJBExtensionFilter aFilter)
aFilter
- a reference of type EJBExtensionFilter
public void makePrimKeyFieldProxy()
public java.util.List getCMRFields()
public java.util.List getRoles()
public 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 |