Package org.apache.openejb.jee.oejb2
Class EntityBeanType
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.EntityBeanType
-
- All Implemented Interfaces:
EnterpriseBean,RpcBean
public class EntityBeanType extends Object implements EnterpriseBean, RpcBean
Java class for entity-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entity-beanType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="local-jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://tomee.apache.org/xml/ns/openejb-jar-2.2}tssGroup" minOccurs="0"/> <sequence minOccurs="0"> <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="static-sql" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType" minOccurs="0"/> <element name="cmp-field-mapping" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="cmp-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="cmp-field-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="table-column" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="type-converter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="primkey-field" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://tomee.apache.org/xml/ns/pkgen-2.1}key-generator" minOccurs="0"/> <element name="prefetch-group" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="group" type="{http://tomee.apache.org/xml/ns/openejb-jar-2.2}groupType" maxOccurs="unbounded" minOccurs="0"/> <element name="entity-group-mapping" type="{http://tomee.apache.org/xml/ns/openejb-jar-2.2}entity-group-mappingType" minOccurs="0"/> <element name="cmp-field-group-mapping" type="{http://tomee.apache.org/xml/ns/openejb-jar-2.2}cmp-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/> <element name="cmr-field-group-mapping" type="{http://tomee.apache.org/xml/ns/openejb-jar-2.2}cmr-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="select-for-update" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType" minOccurs="0"/> </sequence> <element name="cache" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="isolation-level"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="read-uncommitted"/> <enumeration value="read-committed"/> <enumeration value="repeatable-read"/> </restriction> </simpleType> </element> <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType> </element> <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/> <element name="query" type="{http://tomee.apache.org/xml/ns/openejb-jar-2.2}queryType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityBeanType.CacheJava class for anonymous complex type.static classEntityBeanType.CmpFieldMappingJava class for anonymous complex type.static classEntityBeanType.PrefetchGroupJava class for anonymous complex type.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityBeanType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>>getAbstractNamingEntry()Gets the value of the abstractNamingEntry property.EntityBeanType.CachegetCache()Gets the value of the cache property.List<EntityBeanType.CmpFieldMapping>getCmpFieldMapping()Gets the value of the cmpFieldMapping property.List<EjbLocalRefType>getEjbLocalRef()Gets the value of the ejbLocalRef property.StringgetEjbName()Gets the value of the ejbName property.List<EjbRefType>getEjbRef()Gets the value of the ejbRef property.StringgetId()Gets the value of the id property.List<Jndi>getJndi()List<String>getJndiName()Gets the value of the jndiName property.KeyGeneratorTypegetKeyGenerator()Gets the value of the keyGenerator property.List<String>getLocalJndiName()Gets the value of the localJndiName property.List<PersistenceContextRefType>getPersistenceContextRef()List<PersistenceUnitRefType>getPersistenceUnitRef()EntityBeanType.PrefetchGroupgetPrefetchGroup()Gets the value of the prefetchGroup property.StringgetPrimkeyField()Gets the value of the primkeyField property.PropertiesgetProperties()List<QueryType>getQuery()Gets the value of the query property.List<ResourceEnvRefType>getResourceEnvRef()Gets the value of the resourceEnvRef property.List<ResourceRefType>getResourceRef()Gets the value of the resourceRef property.List<ServiceRefType>getServiceRef()Gets the value of the serviceRef property.StringgetTableName()Gets the value of the tableName property.PatternTypegetTss()Gets the value of the tss property.StringgetTssLink()Gets the value of the tssLink property.booleanisSelectForUpdate()Gets the value of the selectForUpdate property.booleanisStaticSql()Gets the value of the staticSql property.voidsetCache(EntityBeanType.Cache value)Sets the value of the cache property.voidsetEjbName(String value)Sets the value of the ejbName property.voidsetId(String value)Sets the value of the id property.voidsetKeyGenerator(KeyGeneratorType value)Sets the value of the keyGenerator property.voidsetPrefetchGroup(EntityBeanType.PrefetchGroup value)Sets the value of the prefetchGroup property.voidsetPrimkeyField(String value)Sets the value of the primkeyField property.voidsetSelectForUpdate(boolean value)Sets the value of the selectForUpdate property.voidsetStaticSql(boolean value)Sets the value of the staticSql property.voidsetTableName(String value)Sets the value of the tableName property.voidsetTss(PatternType value)Sets the value of the tss property.voidsetTssLink(String value)Sets the value of the tssLink property.
-
-
-
Field Detail
-
ejbName
protected String ejbName
-
tssLink
protected String tssLink
-
tss
protected PatternType tss
-
tableName
protected String tableName
-
staticSql
protected EmptyType staticSql
-
cmpFieldMapping
protected List<EntityBeanType.CmpFieldMapping> cmpFieldMapping
-
primkeyField
protected String primkeyField
-
keyGenerator
protected KeyGeneratorType keyGenerator
-
prefetchGroup
protected EntityBeanType.PrefetchGroup prefetchGroup
-
selectForUpdate
protected EmptyType selectForUpdate
-
cache
protected EntityBeanType.Cache cache
-
abstractNamingEntry
protected List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry
-
persistenceContextRef
protected List<PersistenceContextRefType> persistenceContextRef
-
persistenceUnitRef
protected List<PersistenceUnitRefType> persistenceUnitRef
-
ejbRef
protected List<EjbRefType> ejbRef
-
ejbLocalRef
protected List<EjbLocalRefType> ejbLocalRef
-
serviceRef
protected List<ServiceRefType> serviceRef
-
resourceRef
protected List<ResourceRefType> resourceRef
-
resourceEnvRef
protected List<ResourceEnvRefType> resourceEnvRef
-
properties
protected Properties properties
-
id
protected String id
-
-
Method Detail
-
getEjbName
public String getEjbName()
Gets the value of the ejbName property.- Specified by:
getEjbNamein interfaceEnterpriseBean- Returns:
- possible object is
String
-
setEjbName
public void setEjbName(String value)
Sets the value of the ejbName property.- Specified by:
setEjbNamein interfaceEnterpriseBean- Parameters:
value- allowed object isString
-
getJndiName
public List<String> getJndiName()
Gets the value of the jndiName property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the jndiName property. For example, to add a new item, do as follows:getJndiName().add(newItem);Objects of the following type(s) are allowed in the listString- Specified by:
getJndiNamein interfaceEnterpriseBean- Specified by:
getJndiNamein interfaceRpcBean
-
getLocalJndiName
public List<String> getLocalJndiName()
Gets the value of the localJndiName property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the localJndiName property. For example, to add a new item, do as follows:getLocalJndiName().add(newItem);Objects of the following type(s) are allowed in the listString- Specified by:
getLocalJndiNamein interfaceEnterpriseBean- Specified by:
getLocalJndiNamein interfaceRpcBean
-
getJndi
public List<Jndi> getJndi()
- Specified by:
getJndiin interfaceEnterpriseBean
-
getTssLink
public String getTssLink()
Gets the value of the tssLink property.- Specified by:
getTssLinkin interfaceRpcBean- Returns:
- possible object is
String
-
setTssLink
public void setTssLink(String value)
Sets the value of the tssLink property.- Specified by:
setTssLinkin interfaceRpcBean- Parameters:
value- allowed object isString
-
getTss
public PatternType getTss()
Gets the value of the tss property.- Specified by:
getTssin interfaceRpcBean- Returns:
- possible object is
PatternType
-
setTss
public void setTss(PatternType value)
Sets the value of the tss property.- Specified by:
setTssin interfaceRpcBean- Parameters:
value- allowed object isPatternType
-
getTableName
public String getTableName()
Gets the value of the tableName property.- Returns:
- possible object is
String
-
setTableName
public void setTableName(String value)
Sets the value of the tableName property.- Parameters:
value- allowed object isString
-
isStaticSql
public boolean isStaticSql()
Gets the value of the staticSql property.- Returns:
- possible object is
boolean
-
setStaticSql
public void setStaticSql(boolean value)
Sets the value of the staticSql property.- Parameters:
value- allowed object isboolean
-
getCmpFieldMapping
public List<EntityBeanType.CmpFieldMapping> getCmpFieldMapping()
Gets the value of the cmpFieldMapping property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the cmpFieldMapping property. For example, to add a new item, do as follows:getCmpFieldMapping().add(newItem);Objects of the following type(s) are allowed in the listEntityBeanType.CmpFieldMapping
-
getPrimkeyField
public String getPrimkeyField()
Gets the value of the primkeyField property.- Returns:
- possible object is
String
-
setPrimkeyField
public void setPrimkeyField(String value)
Sets the value of the primkeyField property.- Parameters:
value- allowed object isString
-
getKeyGenerator
public KeyGeneratorType getKeyGenerator()
Gets the value of the keyGenerator property.- Returns:
- possible object is
KeyGeneratorType
-
setKeyGenerator
public void setKeyGenerator(KeyGeneratorType value)
Sets the value of the keyGenerator property.- Parameters:
value- allowed object isKeyGeneratorType
-
getPrefetchGroup
public EntityBeanType.PrefetchGroup getPrefetchGroup()
Gets the value of the prefetchGroup property.- Returns:
- possible object is
EntityBeanType.PrefetchGroup
-
setPrefetchGroup
public void setPrefetchGroup(EntityBeanType.PrefetchGroup value)
Sets the value of the prefetchGroup property.- Parameters:
value- allowed object isEntityBeanType.PrefetchGroup
-
isSelectForUpdate
public boolean isSelectForUpdate()
Gets the value of the selectForUpdate property.- Returns:
- possible object is
boolean
-
setSelectForUpdate
public void setSelectForUpdate(boolean value)
Sets the value of the selectForUpdate property.- Parameters:
value- allowed object isboolean
-
getCache
public EntityBeanType.Cache getCache()
Gets the value of the cache property.- Returns:
- possible object is
EntityBeanType.Cache
-
setCache
public void setCache(EntityBeanType.Cache value)
Sets the value of the cache property.- Parameters:
value- allowed object isEntityBeanType.Cache
-
getAbstractNamingEntry
public List<jakarta.xml.bind.JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
Gets the value of the abstractNamingEntry property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the abstractNamingEntry property. For example, to add a new item, do as follows:getAbstractNamingEntry().add(newItem);Objects of the following type(s) are allowed in the listJAXBElement<AbstractNamingEntryType>JAXBElement<PersistenceContextRefType>JAXBElement<PersistenceUnitRefType>JAXBElement<GbeanRefType>- Specified by:
getAbstractNamingEntryin interfaceEnterpriseBean
-
getPersistenceContextRef
public List<PersistenceContextRefType> getPersistenceContextRef()
- Specified by:
getPersistenceContextRefin interfaceEnterpriseBean
-
getPersistenceUnitRef
public List<PersistenceUnitRefType> getPersistenceUnitRef()
- Specified by:
getPersistenceUnitRefin interfaceEnterpriseBean
-
getEjbRef
public List<EjbRefType> getEjbRef()
Gets the value of the ejbRef property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the ejbRef property. For example, to add a new item, do as follows:getEjbRef().add(newItem);Objects of the following type(s) are allowed in the listEjbRefType- Specified by:
getEjbRefin interfaceEnterpriseBean
-
getEjbLocalRef
public List<EjbLocalRefType> getEjbLocalRef()
Gets the value of the ejbLocalRef property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the ejbLocalRef property. For example, to add a new item, do as follows:getEjbLocalRef().add(newItem);Objects of the following type(s) are allowed in the listEjbLocalRefType- Specified by:
getEjbLocalRefin interfaceEnterpriseBean
-
getServiceRef
public List<ServiceRefType> getServiceRef()
Gets the value of the serviceRef property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the serviceRef property. For example, to add a new item, do as follows:getServiceRef().add(newItem);Objects of the following type(s) are allowed in the listServiceRefType- Specified by:
getServiceRefin interfaceEnterpriseBean
-
getResourceRef
public List<ResourceRefType> getResourceRef()
Gets the value of the resourceRef property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the resourceRef property. For example, to add a new item, do as follows:getResourceRef().add(newItem);Objects of the following type(s) are allowed in the listResourceRefType- Specified by:
getResourceRefin interfaceEnterpriseBean
-
getResourceEnvRef
public List<ResourceEnvRefType> getResourceEnvRef()
Gets the value of the resourceEnvRef property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the resourceEnvRef property. For example, to add a new item, do as follows:getResourceEnvRef().add(newItem);Objects of the following type(s) are allowed in the listResourceEnvRefType- Specified by:
getResourceEnvRefin interfaceEnterpriseBean
-
getQuery
public List<QueryType> getQuery()
Gets the value of the query property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the query property. For example, to add a new item, do as follows:getQuery().add(newItem);Objects of the following type(s) are allowed in the listQueryType
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getProperties
public Properties getProperties()
- Specified by:
getPropertiesin interfaceEnterpriseBean
-
-