|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.oejb2.EntityBeanType
public class EntityBeanType
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 | |
|---|---|
static class |
EntityBeanType.Cache
Java class for anonymous complex type. |
static class |
EntityBeanType.CmpFieldMapping
Java class for anonymous complex type. |
static class |
EntityBeanType.PrefetchGroup
Java class for anonymous complex type. |
| Constructor Summary | |
|---|---|
EntityBeanType()
|
|
| Method Summary | |
|---|---|
List<JAXBElement<? extends AbstractNamingEntryType>> |
getAbstractNamingEntry()
Gets the value of the abstractNamingEntry property. |
EntityBeanType.Cache |
getCache()
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. |
String |
getEjbName()
Gets the value of the ejbName property. |
List<EjbRefType> |
getEjbRef()
Gets the value of the ejbRef property. |
String |
getId()
Gets the value of the id property. |
List<Jndi> |
getJndi()
|
List<String> |
getJndiName()
Gets the value of the jndiName property. |
KeyGeneratorType |
getKeyGenerator()
Gets the value of the keyGenerator property. |
List<String> |
getLocalJndiName()
Gets the value of the localJndiName property. |
List<PersistenceContextRefType> |
getPersistenceContextRef()
|
List<PersistenceUnitRefType> |
getPersistenceUnitRef()
|
EntityBeanType.PrefetchGroup |
getPrefetchGroup()
Gets the value of the prefetchGroup property. |
String |
getPrimkeyField()
Gets the value of the primkeyField property. |
Properties |
getProperties()
|
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. |
String |
getTableName()
Gets the value of the tableName property. |
PatternType |
getTss()
Gets the value of the tss property. |
String |
getTssLink()
Gets the value of the tssLink property. |
boolean |
isSelectForUpdate()
Gets the value of the selectForUpdate property. |
boolean |
isStaticSql()
Gets the value of the staticSql property. |
void |
setCache(EntityBeanType.Cache value)
Sets the value of the cache property. |
void |
setEjbName(String value)
Sets the value of the ejbName property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setKeyGenerator(KeyGeneratorType value)
Sets the value of the keyGenerator property. |
void |
setPrefetchGroup(EntityBeanType.PrefetchGroup value)
Sets the value of the prefetchGroup property. |
void |
setPrimkeyField(String value)
Sets the value of the primkeyField property. |
void |
setSelectForUpdate(boolean value)
Sets the value of the selectForUpdate property. |
void |
setStaticSql(boolean value)
Sets the value of the staticSql property. |
void |
setTableName(String value)
Sets the value of the tableName property. |
void |
setTss(PatternType value)
Sets the value of the tss property. |
void |
setTssLink(String value)
Sets the value of the tssLink property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String ejbName
protected List<String> jndiName
protected List<String> localJndiName
protected List<Jndi> jndi
protected String tssLink
protected PatternType tss
protected String tableName
protected EmptyType staticSql
protected List<EntityBeanType.CmpFieldMapping> cmpFieldMapping
protected String primkeyField
protected KeyGeneratorType keyGenerator
protected EntityBeanType.PrefetchGroup prefetchGroup
protected EmptyType selectForUpdate
protected EntityBeanType.Cache cache
protected List<JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry
protected List<PersistenceContextRefType> persistenceContextRef
protected List<PersistenceUnitRefType> persistenceUnitRef
protected List<EjbRefType> ejbRef
protected List<EjbLocalRefType> ejbLocalRef
protected List<ServiceRefType> serviceRef
protected List<ResourceRefType> resourceRef
protected List<ResourceEnvRefType> resourceEnvRef
protected List<QueryType> query
protected Properties properties
protected String id
| Constructor Detail |
|---|
public EntityBeanType()
| Method Detail |
|---|
public String getEjbName()
getEjbName in interface EnterpriseBeanStringpublic void setEjbName(String value)
setEjbName in interface EnterpriseBeanvalue - allowed object is
Stringpublic List<String> getJndiName()
set method 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 list
String
getJndiName in interface EnterpriseBeangetJndiName in interface RpcBeanpublic List<String> getLocalJndiName()
set method 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 list
String
getLocalJndiName in interface EnterpriseBeangetLocalJndiName in interface RpcBeanpublic List<Jndi> getJndi()
getJndi in interface EnterpriseBeanpublic String getTssLink()
getTssLink in interface RpcBeanStringpublic void setTssLink(String value)
setTssLink in interface RpcBeanvalue - allowed object is
Stringpublic PatternType getTss()
getTss in interface RpcBeanPatternTypepublic void setTss(PatternType value)
setTss in interface RpcBeanvalue - allowed object is
PatternTypepublic String getTableName()
Stringpublic void setTableName(String value)
value - allowed object is
Stringpublic boolean isStaticSql()
boolean public void setStaticSql(boolean value)
value - allowed object is
boolean public List<EntityBeanType.CmpFieldMapping> getCmpFieldMapping()
set method 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 list
EntityBeanType.CmpFieldMapping
public String getPrimkeyField()
Stringpublic void setPrimkeyField(String value)
value - allowed object is
Stringpublic KeyGeneratorType getKeyGenerator()
KeyGeneratorTypepublic void setKeyGenerator(KeyGeneratorType value)
value - allowed object is
KeyGeneratorTypepublic EntityBeanType.PrefetchGroup getPrefetchGroup()
EntityBeanType.PrefetchGrouppublic void setPrefetchGroup(EntityBeanType.PrefetchGroup value)
value - allowed object is
EntityBeanType.PrefetchGrouppublic boolean isSelectForUpdate()
boolean public void setSelectForUpdate(boolean value)
value - allowed object is
boolean public EntityBeanType.Cache getCache()
EntityBeanType.Cachepublic void setCache(EntityBeanType.Cache value)
value - allowed object is
EntityBeanType.Cachepublic List<JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry()
set method 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 list
JAXBElement<AbstractNamingEntryType>
JAXBElement<PersistenceContextRefType>
JAXBElement<PersistenceUnitRefType>
JAXBElement<GbeanRefType>
getAbstractNamingEntry in interface EnterpriseBeanpublic List<PersistenceContextRefType> getPersistenceContextRef()
getPersistenceContextRef in interface EnterpriseBeanpublic List<PersistenceUnitRefType> getPersistenceUnitRef()
getPersistenceUnitRef in interface EnterpriseBeanpublic List<EjbRefType> getEjbRef()
set method 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 list
EjbRefType
getEjbRef in interface EnterpriseBeanpublic List<EjbLocalRefType> getEjbLocalRef()
set method 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 list
EjbLocalRefType
getEjbLocalRef in interface EnterpriseBeanpublic List<ServiceRefType> getServiceRef()
set method 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 list
ServiceRefType
getServiceRef in interface EnterpriseBeanpublic List<ResourceRefType> getResourceRef()
set method 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 list
ResourceRefType
getResourceRef in interface EnterpriseBeanpublic List<ResourceEnvRefType> getResourceEnvRef()
set method 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 list
ResourceEnvRefType
getResourceEnvRef in interface EnterpriseBeanpublic List<QueryType> getQuery()
set method 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 list
QueryType
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic Properties getProperties()
getProperties in interface EnterpriseBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||