org.openejb.alt.assembler.classic.xml
Class EntityBean

java.lang.Object
  extended by org.openejb.alt.assembler.classic.InfoObject
      extended by org.openejb.alt.assembler.classic.EnterpriseBeanInfo
          extended by org.openejb.alt.assembler.classic.EntityBeanInfo
              extended by org.openejb.alt.assembler.classic.xml.EntityBean
All Implemented Interfaces:
java.io.Serializable, DomObject

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.

Author:
David Blevins, Richard Monson-Haefel
See Also:
EntityBeanInfo, 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.EntityBeanInfo
cmpFieldNames, persistenceType, primKeyClass, primKeyField, queries, reentrant
 
Fields inherited from class org.openejb.alt.assembler.classic.EnterpriseBeanInfo
codebase, description, displayName, ejbClass, ejbDeploymentId, ejbName, ENTITY, home, jndiEnc, largeIcon, local, localHome, remote, securityRoleReferences, smallIcon, STATEFUL, STATELESS, transactionType, type
 
Constructor Summary
EntityBean()
           
 
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
 

Field Detail

PERSISTENCE_TYPE

public static final java.lang.String PERSISTENCE_TYPE
Represents the persistence-type element in the XML config file.

See Also:
Constant Field Values

PRIMARY_KEY_CLASS

public static final java.lang.String PRIMARY_KEY_CLASS
Represents the prim-key-class element in the XML config file.

See Also:
Constant Field Values

PRIMARY_KEY_FIELD

public static final java.lang.String PRIMARY_KEY_FIELD
Represents the primkey-field element in the XML config file.

See Also:
Constant Field Values

REENTRANT

public static final java.lang.String REENTRANT
Represents the reentrant element in the XML config file.

See Also:
Constant Field Values

CMP_FIELD_NAME

public static final java.lang.String CMP_FIELD_NAME
Represents the cmr-field element in the XML config file.

See Also:
Constant Field Values

QUERY

public static final java.lang.String QUERY
Represents the query element in the XML config file.

See Also:
Constant Field Values
Constructor Detail

EntityBean

public EntityBean()
Method Detail

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
Throws:
OpenEJBException
See Also:
Node

serializeToDOM

public void serializeToDOM(org.w3c.dom.Node node)
                    throws OpenEJBException
Specified by:
serializeToDOM in interface DomObject
Throws:
OpenEJBException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.