Package org.apache.openejb.jee.oejb2
Class SequenceTableType
- java.lang.Object
-
- org.apache.openejb.jee.oejb2.SequenceTableType
-
public class SequenceTableType extends Object
Indicates that a separate table holds a list of table name/ID pairs and the server should fetch the next ID from that table.Java class for sequence-tableType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sequence-tableType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="sequence-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="batch-size" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected intbatchSizeprotected StringsequenceNameprotected StringtableName
-
Constructor Summary
Constructors Constructor Description SequenceTableType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBatchSize()Gets the value of the batchSize property.StringgetSequenceName()Gets the value of the sequenceName property.StringgetTableName()Gets the value of the tableName property.voidsetBatchSize(int value)Sets the value of the batchSize property.voidsetSequenceName(String value)Sets the value of the sequenceName property.voidsetTableName(String value)Sets the value of the tableName property.
-
-
-
Method Detail
-
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
-
getSequenceName
public String getSequenceName()
Gets the value of the sequenceName property.- Returns:
- possible object is
String
-
setSequenceName
public void setSequenceName(String value)
Sets the value of the sequenceName property.- Parameters:
value- allowed object isString
-
getBatchSize
public int getBatchSize()
Gets the value of the batchSize property.
-
setBatchSize
public void setBatchSize(int value)
Sets the value of the batchSize property.
-
-