Package org.apache.openejb.jee.jba.cmp
Class Entity
- java.lang.Object
-
- org.apache.openejb.jee.jba.cmp.Entity
-
public class Entity extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://jboss.org}ejb-name"/> <element ref="{http://jboss.org}datasource" minOccurs="0"/> <element ref="{http://jboss.org}datasource-mapping" minOccurs="0"/> <element ref="{http://jboss.org}create-table" minOccurs="0"/> <element ref="{http://jboss.org}remove-table" minOccurs="0"/> <element ref="{http://jboss.org}post-table-create" minOccurs="0"/> <element ref="{http://jboss.org}read-only" minOccurs="0"/> <element ref="{http://jboss.org}read-time-out" minOccurs="0"/> <element ref="{http://jboss.org}row-locking" minOccurs="0"/> <element ref="{http://jboss.org}pk-constraint" minOccurs="0"/> <element ref="{http://jboss.org}read-ahead" minOccurs="0"/> <element ref="{http://jboss.org}list-cache-max" minOccurs="0"/> <element ref="{http://jboss.org}clean-read-ahead-on-load" minOccurs="0"/> <element ref="{http://jboss.org}fetch-size" minOccurs="0"/> <element ref="{http://jboss.org}table-name" minOccurs="0"/> <element ref="{http://jboss.org}cmp-field" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://jboss.org}load-groups" minOccurs="0"/> <element ref="{http://jboss.org}eager-load-group" minOccurs="0"/> <element ref="{http://jboss.org}lazy-load-groups" minOccurs="0"/> <element ref="{http://jboss.org}query" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://jboss.org}unknown-pk" minOccurs="0"/> <element ref="{http://jboss.org}entity-command" minOccurs="0"/> <element ref="{http://jboss.org}optimistic-locking" minOccurs="0"/> <element ref="{http://jboss.org}audit" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Auditauditprotected CleanReadAheadOnLoadcleanReadAheadOnLoadprotected List<CmpField>cmpFieldprotected CreateTablecreateTableprotected Datasourcedatasourceprotected DatasourceMappingdatasourceMappingprotected EagerLoadGroupeagerLoadGroupprotected EjbNameejbNameprotected EntityCommandentityCommandprotected FetchSizefetchSizeprotected LazyLoadGroupslazyLoadGroupsprotected ListCacheMaxlistCacheMaxprotected LoadGroupsloadGroupsprotected OptimisticLockingoptimisticLockingprotected PkConstraintpkConstraintprotected PostTableCreatepostTableCreateprotected List<Query>queryprotected ReadAheadreadAheadprotected ReadOnlyreadOnlyprotected ReadTimeOutreadTimeOutprotected RemoveTableremoveTableprotected RowLockingrowLockingprotected TableNametableNameprotected UnknownPkunknownPk
-
Constructor Summary
Constructors Constructor Description Entity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditgetAudit()Gets the value of the audit property.CleanReadAheadOnLoadgetCleanReadAheadOnLoad()Gets the value of the cleanReadAheadOnLoad property.List<CmpField>getCmpField()Gets the value of the cmpField property.CreateTablegetCreateTable()Gets the value of the createTable property.DatasourcegetDatasource()Gets the value of the datasource property.DatasourceMappinggetDatasourceMapping()Gets the value of the datasourceMapping property.EagerLoadGroupgetEagerLoadGroup()Gets the value of the eagerLoadGroup property.EjbNamegetEjbName()Gets the value of the ejbName property.EntityCommandgetEntityCommand()Gets the value of the entityCommand property.FetchSizegetFetchSize()Gets the value of the fetchSize property.LazyLoadGroupsgetLazyLoadGroups()Gets the value of the lazyLoadGroups property.ListCacheMaxgetListCacheMax()Gets the value of the listCacheMax property.LoadGroupsgetLoadGroups()Gets the value of the loadGroups property.OptimisticLockinggetOptimisticLocking()Gets the value of the optimisticLocking property.PkConstraintgetPkConstraint()Gets the value of the pkConstraint property.PostTableCreategetPostTableCreate()Gets the value of the postTableCreate property.List<Query>getQuery()Gets the value of the query property.ReadAheadgetReadAhead()Gets the value of the readAhead property.ReadOnlygetReadOnly()Gets the value of the readOnly property.ReadTimeOutgetReadTimeOut()Gets the value of the readTimeOut property.RemoveTablegetRemoveTable()Gets the value of the removeTable property.RowLockinggetRowLocking()Gets the value of the rowLocking property.TableNamegetTableName()Gets the value of the tableName property.UnknownPkgetUnknownPk()Gets the value of the unknownPk property.voidsetAudit(Audit value)Sets the value of the audit property.voidsetCleanReadAheadOnLoad(CleanReadAheadOnLoad value)Sets the value of the cleanReadAheadOnLoad property.voidsetCreateTable(CreateTable value)Sets the value of the createTable property.voidsetDatasource(Datasource value)Sets the value of the datasource property.voidsetDatasourceMapping(DatasourceMapping value)Sets the value of the datasourceMapping property.voidsetEagerLoadGroup(EagerLoadGroup value)Sets the value of the eagerLoadGroup property.voidsetEjbName(EjbName value)Sets the value of the ejbName property.voidsetEntityCommand(EntityCommand value)Sets the value of the entityCommand property.voidsetFetchSize(FetchSize value)Sets the value of the fetchSize property.voidsetLazyLoadGroups(LazyLoadGroups value)Sets the value of the lazyLoadGroups property.voidsetListCacheMax(ListCacheMax value)Sets the value of the listCacheMax property.voidsetLoadGroups(LoadGroups value)Sets the value of the loadGroups property.voidsetOptimisticLocking(OptimisticLocking value)Sets the value of the optimisticLocking property.voidsetPkConstraint(PkConstraint value)Sets the value of the pkConstraint property.voidsetPostTableCreate(PostTableCreate value)Sets the value of the postTableCreate property.voidsetReadAhead(ReadAhead value)Sets the value of the readAhead property.voidsetReadOnly(ReadOnly value)Sets the value of the readOnly property.voidsetReadTimeOut(ReadTimeOut value)Sets the value of the readTimeOut property.voidsetRemoveTable(RemoveTable value)Sets the value of the removeTable property.voidsetRowLocking(RowLocking value)Sets the value of the rowLocking property.voidsetTableName(TableName value)Sets the value of the tableName property.voidsetUnknownPk(UnknownPk value)Sets the value of the unknownPk property.
-
-
-
Field Detail
-
ejbName
protected EjbName ejbName
-
datasource
protected Datasource datasource
-
datasourceMapping
protected DatasourceMapping datasourceMapping
-
createTable
protected CreateTable createTable
-
removeTable
protected RemoveTable removeTable
-
postTableCreate
protected PostTableCreate postTableCreate
-
readOnly
protected ReadOnly readOnly
-
readTimeOut
protected ReadTimeOut readTimeOut
-
rowLocking
protected RowLocking rowLocking
-
pkConstraint
protected PkConstraint pkConstraint
-
readAhead
protected ReadAhead readAhead
-
listCacheMax
protected ListCacheMax listCacheMax
-
cleanReadAheadOnLoad
protected CleanReadAheadOnLoad cleanReadAheadOnLoad
-
fetchSize
protected FetchSize fetchSize
-
tableName
protected TableName tableName
-
loadGroups
protected LoadGroups loadGroups
-
eagerLoadGroup
protected EagerLoadGroup eagerLoadGroup
-
lazyLoadGroups
protected LazyLoadGroups lazyLoadGroups
-
unknownPk
protected UnknownPk unknownPk
-
entityCommand
protected EntityCommand entityCommand
-
optimisticLocking
protected OptimisticLocking optimisticLocking
-
audit
protected Audit audit
-
-
Method Detail
-
getEjbName
public EjbName getEjbName()
Gets the value of the ejbName property.- Returns:
- possible object is
EjbName
-
setEjbName
public void setEjbName(EjbName value)
Sets the value of the ejbName property.- Parameters:
value- allowed object isEjbName
-
getDatasource
public Datasource getDatasource()
Gets the value of the datasource property.- Returns:
- possible object is
Datasource
-
setDatasource
public void setDatasource(Datasource value)
Sets the value of the datasource property.- Parameters:
value- allowed object isDatasource
-
getDatasourceMapping
public DatasourceMapping getDatasourceMapping()
Gets the value of the datasourceMapping property.- Returns:
- possible object is
DatasourceMapping
-
setDatasourceMapping
public void setDatasourceMapping(DatasourceMapping value)
Sets the value of the datasourceMapping property.- Parameters:
value- allowed object isDatasourceMapping
-
getCreateTable
public CreateTable getCreateTable()
Gets the value of the createTable property.- Returns:
- possible object is
CreateTable
-
setCreateTable
public void setCreateTable(CreateTable value)
Sets the value of the createTable property.- Parameters:
value- allowed object isCreateTable
-
getRemoveTable
public RemoveTable getRemoveTable()
Gets the value of the removeTable property.- Returns:
- possible object is
RemoveTable
-
setRemoveTable
public void setRemoveTable(RemoveTable value)
Sets the value of the removeTable property.- Parameters:
value- allowed object isRemoveTable
-
getPostTableCreate
public PostTableCreate getPostTableCreate()
Gets the value of the postTableCreate property.- Returns:
- possible object is
PostTableCreate
-
setPostTableCreate
public void setPostTableCreate(PostTableCreate value)
Sets the value of the postTableCreate property.- Parameters:
value- allowed object isPostTableCreate
-
getReadOnly
public ReadOnly getReadOnly()
Gets the value of the readOnly property.- Returns:
- possible object is
ReadOnly
-
setReadOnly
public void setReadOnly(ReadOnly value)
Sets the value of the readOnly property.- Parameters:
value- allowed object isReadOnly
-
getReadTimeOut
public ReadTimeOut getReadTimeOut()
Gets the value of the readTimeOut property.- Returns:
- possible object is
ReadTimeOut
-
setReadTimeOut
public void setReadTimeOut(ReadTimeOut value)
Sets the value of the readTimeOut property.- Parameters:
value- allowed object isReadTimeOut
-
getRowLocking
public RowLocking getRowLocking()
Gets the value of the rowLocking property.- Returns:
- possible object is
RowLocking
-
setRowLocking
public void setRowLocking(RowLocking value)
Sets the value of the rowLocking property.- Parameters:
value- allowed object isRowLocking
-
getPkConstraint
public PkConstraint getPkConstraint()
Gets the value of the pkConstraint property.- Returns:
- possible object is
PkConstraint
-
setPkConstraint
public void setPkConstraint(PkConstraint value)
Sets the value of the pkConstraint property.- Parameters:
value- allowed object isPkConstraint
-
getReadAhead
public ReadAhead getReadAhead()
Gets the value of the readAhead property.- Returns:
- possible object is
ReadAhead
-
setReadAhead
public void setReadAhead(ReadAhead value)
Sets the value of the readAhead property.- Parameters:
value- allowed object isReadAhead
-
getListCacheMax
public ListCacheMax getListCacheMax()
Gets the value of the listCacheMax property.- Returns:
- possible object is
ListCacheMax
-
setListCacheMax
public void setListCacheMax(ListCacheMax value)
Sets the value of the listCacheMax property.- Parameters:
value- allowed object isListCacheMax
-
getCleanReadAheadOnLoad
public CleanReadAheadOnLoad getCleanReadAheadOnLoad()
Gets the value of the cleanReadAheadOnLoad property.- Returns:
- possible object is
CleanReadAheadOnLoad
-
setCleanReadAheadOnLoad
public void setCleanReadAheadOnLoad(CleanReadAheadOnLoad value)
Sets the value of the cleanReadAheadOnLoad property.- Parameters:
value- allowed object isCleanReadAheadOnLoad
-
getFetchSize
public FetchSize getFetchSize()
Gets the value of the fetchSize property.- Returns:
- possible object is
FetchSize
-
setFetchSize
public void setFetchSize(FetchSize value)
Sets the value of the fetchSize property.- Parameters:
value- allowed object isFetchSize
-
getTableName
public TableName getTableName()
Gets the value of the tableName property.- Returns:
- possible object is
TableName
-
setTableName
public void setTableName(TableName value)
Sets the value of the tableName property.- Parameters:
value- allowed object isTableName
-
getCmpField
public List<CmpField> getCmpField()
Gets the value of the cmpField 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 cmpField property. For example, to add a new item, do as follows:getCmpField().add(newItem);Objects of the following type(s) are allowed in the listCmpField
-
getLoadGroups
public LoadGroups getLoadGroups()
Gets the value of the loadGroups property.- Returns:
- possible object is
LoadGroups
-
setLoadGroups
public void setLoadGroups(LoadGroups value)
Sets the value of the loadGroups property.- Parameters:
value- allowed object isLoadGroups
-
getEagerLoadGroup
public EagerLoadGroup getEagerLoadGroup()
Gets the value of the eagerLoadGroup property.- Returns:
- possible object is
EagerLoadGroup
-
setEagerLoadGroup
public void setEagerLoadGroup(EagerLoadGroup value)
Sets the value of the eagerLoadGroup property.- Parameters:
value- allowed object isEagerLoadGroup
-
getLazyLoadGroups
public LazyLoadGroups getLazyLoadGroups()
Gets the value of the lazyLoadGroups property.- Returns:
- possible object is
LazyLoadGroups
-
setLazyLoadGroups
public void setLazyLoadGroups(LazyLoadGroups value)
Sets the value of the lazyLoadGroups property.- Parameters:
value- allowed object isLazyLoadGroups
-
getQuery
public List<Query> 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 listQuery
-
getUnknownPk
public UnknownPk getUnknownPk()
Gets the value of the unknownPk property.- Returns:
- possible object is
UnknownPk
-
setUnknownPk
public void setUnknownPk(UnknownPk value)
Sets the value of the unknownPk property.- Parameters:
value- allowed object isUnknownPk
-
getEntityCommand
public EntityCommand getEntityCommand()
Gets the value of the entityCommand property.- Returns:
- possible object is
EntityCommand
-
setEntityCommand
public void setEntityCommand(EntityCommand value)
Sets the value of the entityCommand property.- Parameters:
value- allowed object isEntityCommand
-
getOptimisticLocking
public OptimisticLocking getOptimisticLocking()
Gets the value of the optimisticLocking property.- Returns:
- possible object is
OptimisticLocking
-
setOptimisticLocking
public void setOptimisticLocking(OptimisticLocking value)
Sets the value of the optimisticLocking property.- Parameters:
value- allowed object isOptimisticLocking
-
getAudit
public Audit getAudit()
Gets the value of the audit property.- Returns:
- possible object is
Audit
-
-