|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.tools.ejb11.EJBXmlBeanDefinition
oracle.toplink.tools.ejb11.EJBXmlEntityBeanDefinition
This type defines the entity fields used by the EJB XML deployment descriptor.
Field Summary | |
java.util.Vector |
cmpFields |
java.lang.String |
persistenceType |
java.lang.Class |
primKeyClass |
java.lang.String |
primKeyField |
boolean |
reentrant |
Fields inherited from class oracle.toplink.tools.ejb11.EJBXmlBeanDefinition |
BEAN, CONTAINER, ejbClass, ejbName, FALSE, home, MANDATORY, NEVER, NOT_SUPPORTED, remote, REQUIRED, REQUIRES_NEW, SUPPORTS, transAttribute, TRUE |
Constructor Summary | |
EJBXmlEntityBeanDefinition(java.lang.String beanName) EJBXmlEntityBeanDefinition constructor |
Method Summary | |
java.util.Vector |
getCmpFields() Return the fields that are container managed. |
java.lang.String |
getPersistenceType() Get the persistence type that specifies BMP or CMP. |
java.lang.Class |
getPrimKeyClass() Get the primary key class. |
java.lang.String |
getPrimKeyField() Get the primary key field. |
boolean |
getReentrant() Get the re-entrancy flag. |
void |
initializeToDefaults() Initialize this object to contain the default values. |
void |
setCmpFields(java.util.Vector fields) Set the fields that are container managed. |
void |
setPersistenceType(java.lang.String type) Set the persistence type that specifies BMP or CMP. |
void |
setPrimKeyClass(java.lang.Class priKeyCls) Set the class of the primary key. |
void |
setPrimKeyField(java.lang.String fieldName) Set the primary key field. |
void |
setReentrant(boolean reentrantFlag) Set the re-entrancy flag. |
org.w3c.dom.Element |
storeBeanProperties(org.w3c.dom.Element parentElement, org.w3c.dom.Document xmlDoc) Store the properties in the element passed in and using the XML document. |
Methods inherited from class oracle.toplink.tools.ejb11.EJBXmlBeanDefinition |
getEjbClass, getEjbName, getHomeClass, getRemoteClass, getTransAttribute, setEjbClass, setEjbName, setHomeClass, setRemoteClass, setTransAttribute, storeAssemblyProperties |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String persistenceType
public java.lang.Class primKeyClass
public java.lang.String primKeyField
public boolean reentrant
public java.util.Vector cmpFields
Constructor Detail |
public EJBXmlEntityBeanDefinition(java.lang.String beanName)
Method Detail |
public java.util.Vector getCmpFields()
public java.lang.String getPersistenceType()
public java.lang.Class getPrimKeyClass()
public java.lang.String getPrimKeyField()
public boolean getReentrant()
public void initializeToDefaults()
initializeToDefaults
in class EJBXmlBeanDefinition
public void setCmpFields(java.util.Vector fields)
fields
- The collection of Strings that are the field namespublic void setPersistenceType(java.lang.String type)
type
- Can be set to either BEAN or CONTAINERpublic void setPrimKeyClass(java.lang.Class priKeyCls)
priKeyCls
- The primary key Classpublic void setPrimKeyField(java.lang.String fieldName)
public void setReentrant(boolean reentrantFlag)
reentrantFlag
- True if the entity bean methods are reentrantpublic org.w3c.dom.Element storeBeanProperties(org.w3c.dom.Element parentElement, org.w3c.dom.Document xmlDoc)
storeBeanProperties
in class EJBXmlBeanDefinition
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |