org.ow2.jonas.deployment.ejb.xml
Class Entity

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
          extended by org.ow2.jonas.deployment.common.xml.AbsEnvironmentElement
              extended by org.ow2.jonas.deployment.ejb.xml.CommonEjb
                  extended by org.ow2.jonas.deployment.ejb.xml.Entity
All Implemented Interfaces:
Serializable, DescriptionGroupXml, Element, JndiEnvRefsGroupXml, CommonEjbXml

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
 String getAbstractSchemaName()
          Gets the abstract-schema-name
 JLinkedList getCmpFieldList()
          Gets the cmp-field
 String getCmpVersion()
          Gets the cmp-version
 String getPersistenceType()
          Gets the persistence-type
 String getPrimKeyClass()
          Gets the prim-key-class
 String getPrimkeyField()
          Gets the primkey-field
 JLinkedList getQueryList()
          Gets the query
 String getReentrant()
          Gets the reentrant
 void setAbstractSchemaName(String abstractSchemaName)
          Set the abstract-schema-name
 void setCmpFieldList(JLinkedList cmpFieldList)
          Set the cmp-field
 void setCmpVersion(String cmpVersion)
          Set the cmp-version
 void setPersistenceType(String persistenceType)
          Set the persistence-type
 void setPrimKeyClass(String primKeyClass)
          Set the prim-key-class
 void setPrimkeyField(String primkeyField)
          Set the primkey-field
 void setQueryList(JLinkedList queryList)
          Set the query
 void setReentrant(String reentrant)
          Set the reentrant
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.ejb.xml.CommonEjb
addSecurityRoleRef, getEjbClass, getEjbName, getHome, getLocal, getLocalHome, getMappedName, getMessagingType, getRemote, getSecurityIdentity, getSecurityRoleRefList, getTransactionType, setEjbClass, setEjbName, setHome, setLocal, setLocalHome, setMappedName, setMessagingType, setRemote, setSecurityIdentity, setSecurityRoleRefList, setTransactionType
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsEnvironmentElement
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addPersistenceUnitRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getPersistenceUnitRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsDescriptionElement
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 
Methods inherited from class org.ow2.jonas.deployment.common.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.ow2.jonas.deployment.common.xml.JndiEnvRefsGroupXml
getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getPersistenceUnitRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList
 
Methods inherited from interface org.ow2.jonas.deployment.common.xml.DescriptionGroupXml
getDescription, getDisplayName, getIcon
 

Constructor Detail

Entity

public Entity()
Constructor

Method Detail

getPersistenceType

public String getPersistenceType()
Gets the persistence-type

Returns:
the persistence-type

setPersistenceType

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

Parameters:
persistenceType - persistenceType

getPrimKeyClass

public String getPrimKeyClass()
Gets the prim-key-class

Returns:
the prim-key-class

setPrimKeyClass

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

Parameters:
primKeyClass - primKeyClass

getReentrant

public String getReentrant()
Gets the reentrant

Returns:
the reentrant

setReentrant

public void setReentrant(String reentrant)
Set the reentrant

Parameters:
reentrant - reentrant

getCmpVersion

public String getCmpVersion()
Gets the cmp-version

Returns:
the cmp-version

setCmpVersion

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

Parameters:
cmpVersion - cmpVersion

getAbstractSchemaName

public String getAbstractSchemaName()
Gets the abstract-schema-name

Returns:
the abstract-schema-name

setAbstractSchemaName

public void setAbstractSchemaName(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 String getPrimkeyField()
Gets the primkey-field

Returns:
the primkey-field

setPrimkeyField

public void setPrimkeyField(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 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.