org.openejb.alt.assembler.classic.xml
Class EntityBean
java.lang.Object
|
+--org.openejb.alt.assembler.classic.InfoObject
|
+--org.openejb.alt.assembler.classic.EnterpriseBeanInfo
|
+--org.openejb.alt.assembler.classic.EntityBeanInfo
|
+--org.openejb.alt.assembler.classic.xml.EntityBean
- All Implemented Interfaces:
- DomObject, java.io.Serializable
- public class EntityBean
- extends EntityBeanInfo
- implements DomObject
A subclass of EntityBeanInfo filled with data from an XML file.
Populates the member variables of EntityBeanInfo in this classes initializeFromDOM method.
- See Also:
EntityBeanInfo
,
#EntityBean.initializeFromDOM
, Serialized Form
Field Summary |
static java.lang.String |
CMP_FIELD_NAME
Represents the cmr-field element in the XML config file. |
static java.lang.String |
PERSISTENCE_TYPE
Represents the persistence-type element in the XML config file. |
static java.lang.String |
PRIMARY_KEY_CLASS
Represents the prim-key-class element in the XML config file. |
static java.lang.String |
PRIMARY_KEY_FIELD
Represents the primkey-field element in the XML config file. |
static java.lang.String |
QUERY
Represents the query element in the XML config file. |
static java.lang.String |
REENTRANT
Represents the reentrant element in the XML config file. |
Fields inherited from class org.openejb.alt.assembler.classic.EnterpriseBeanInfo |
codebase, description, displayName, ejbClass, ejbDeploymentId, ejbName, ENTITY, home, jndiEnc, largeIcon, remote, securityRoleReferences, smallIcon, STATEFUL, STATELESS, transactionType, type |
Method Summary |
void |
initializeFromDOM(org.w3c.dom.Node node)
Parses out the values needed by this DomObject from the DOM Node passed in. |
void |
serializeToDOM(org.w3c.dom.Node node)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERSISTENCE_TYPE
public static final java.lang.String PERSISTENCE_TYPE
- Represents the persistence-type element in the XML config file.
PRIMARY_KEY_CLASS
public static final java.lang.String PRIMARY_KEY_CLASS
- Represents the prim-key-class element in the XML config file.
PRIMARY_KEY_FIELD
public static final java.lang.String PRIMARY_KEY_FIELD
- Represents the primkey-field element in the XML config file.
REENTRANT
public static final java.lang.String REENTRANT
- Represents the reentrant element in the XML config file.
CMP_FIELD_NAME
public static final java.lang.String CMP_FIELD_NAME
- Represents the cmr-field element in the XML config file.
QUERY
public static final java.lang.String QUERY
- Represents the query element in the XML config file.
EntityBean
public EntityBean()
initializeFromDOM
public void initializeFromDOM(org.w3c.dom.Node node)
throws OpenEJBException
- Parses out the values needed by this DomObject from the DOM Node passed in.
- Specified by:
initializeFromDOM
in interface DomObject
- See Also:
Node
serializeToDOM
public void serializeToDOM(org.w3c.dom.Node node)
throws OpenEJBException
- Specified by:
serializeToDOM
in interface DomObject