org.objectweb.jonas_ejb.deployment.xml
Class Entity

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
          extended by org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
              extended by org.objectweb.jonas_ejb.deployment.xml.CommonEjb
                  extended by org.objectweb.jonas_ejb.deployment.xml.Entity
All Implemented Interfaces:
java.io.Serializable, CommonEjbXml, DescriptionGroupXml, Element, JndiEnvRefsGroupXml

public class Entity
extends CommonEjb

This class defines the implementation of the element entity

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
Entity()
          Constructor
 
Method Summary
 void addCmpField(CmpField cmpField)
          Add a new cmp-field element to this object
 void addQuery(Query query)
          Add a new query element to this object
 java.lang.String getAbstractSchemaName()
          Gets the abstract-schema-name
 JLinkedList getCmpFieldList()
          Gets the cmp-field
 java.lang.String getCmpVersion()
          Gets the cmp-version
 java.lang.String getPersistenceType()
          Gets the persistence-type
 java.lang.String getPrimKeyClass()
          Gets the prim-key-class
 java.lang.String getPrimkeyField()
          Gets the primkey-field
 JLinkedList getQueryList()
          Gets the query
 java.lang.String getReentrant()
          Gets the reentrant
 void setAbstractSchemaName(java.lang.String abstractSchemaName)
          Set the abstract-schema-name
 void setCmpFieldList(JLinkedList cmpFieldList)
          Set the cmp-field
 void setCmpVersion(java.lang.String cmpVersion)
          Set the cmp-version
 void setPersistenceType(java.lang.String persistenceType)
          Set the persistence-type
 void setPrimKeyClass(java.lang.String primKeyClass)
          Set the prim-key-class
 void setPrimkeyField(java.lang.String primkeyField)
          Set the primkey-field
 void setQueryList(JLinkedList queryList)
          Set the query
 void setReentrant(java.lang.String reentrant)
          Set the reentrant
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_ejb.deployment.xml.CommonEjb
addSecurityRoleRef, getEjbClass, getEjbName, getHome, getLocal, getLocalHome, getMessagingType, getRemote, getSecurityIdentity, getSecurityRoleRefList, getTransactionType, setEjbClass, setEjbName, setHome, setLocal, setLocalHome, setMessagingType, setRemote, setSecurityIdentity, setSecurityRoleRefList, setTransactionType
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.JndiEnvRefsGroupXml
getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

Entity

public Entity()
Constructor

Method Detail

getPersistenceType

public java.lang.String getPersistenceType()
Gets the persistence-type

Returns:
the persistence-type

setPersistenceType

public void setPersistenceType(java.lang.String persistenceType)
Set the persistence-type

Parameters:
persistenceType - persistenceType

getPrimKeyClass

public java.lang.String getPrimKeyClass()
Gets the prim-key-class

Returns:
the prim-key-class

setPrimKeyClass

public void setPrimKeyClass(java.lang.String primKeyClass)
Set the prim-key-class

Parameters:
primKeyClass - primKeyClass

getReentrant

public java.lang.String getReentrant()
Gets the reentrant

Returns:
the reentrant

setReentrant

public void setReentrant(java.lang.String reentrant)
Set the reentrant

Parameters:
reentrant - reentrant

getCmpVersion

public java.lang.String getCmpVersion()
Gets the cmp-version

Returns:
the cmp-version

setCmpVersion

public void setCmpVersion(java.lang.String cmpVersion)
Set the cmp-version

Parameters:
cmpVersion - cmpVersion

getAbstractSchemaName

public java.lang.String getAbstractSchemaName()
Gets the abstract-schema-name

Returns:
the abstract-schema-name

setAbstractSchemaName

public void setAbstractSchemaName(java.lang.String abstractSchemaName)
Set the abstract-schema-name

Parameters:
abstractSchemaName - abstractSchemaName

getCmpFieldList

public JLinkedList getCmpFieldList()
Gets the cmp-field

Returns:
the cmp-field

setCmpFieldList

public void setCmpFieldList(JLinkedList cmpFieldList)
Set the cmp-field

Parameters:
cmpFieldList - cmpField

addCmpField

public void addCmpField(CmpField cmpField)
Add a new cmp-field element to this object

Parameters:
cmpField - the cmpFieldobject

getPrimkeyField

public java.lang.String getPrimkeyField()
Gets the primkey-field

Returns:
the primkey-field

setPrimkeyField

public void setPrimkeyField(java.lang.String primkeyField)
Set the primkey-field

Parameters:
primkeyField - primkeyField

getQueryList

public JLinkedList getQueryList()
Gets the query

Returns:
the query

setQueryList

public void setQueryList(JLinkedList queryList)
Set the query

Parameters:
queryList - query

addQuery

public void addQuery(Query query)
Add a new query element to this object

Parameters:
query - the queryobject

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.