org.apache.openejb.jee.oejb2
Class SequenceTableType

java.lang.Object
  extended by 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
protected  int batchSize
           
protected  String sequenceName
           
protected  String tableName
           
 
Constructor Summary
SequenceTableType()
           
 
Method Summary
 int getBatchSize()
          Gets the value of the batchSize property.
 String getSequenceName()
          Gets the value of the sequenceName property.
 String getTableName()
          Gets the value of the tableName property.
 void setBatchSize(int value)
          Sets the value of the batchSize property.
 void setSequenceName(String value)
          Sets the value of the sequenceName property.
 void setTableName(String value)
          Sets the value of the tableName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableName

protected String tableName

sequenceName

protected String sequenceName

batchSize

protected int batchSize
Constructor Detail

SequenceTableType

public SequenceTableType()
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 is String

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 is String

getBatchSize

public int getBatchSize()
Gets the value of the batchSize property.


setBatchSize

public void setBatchSize(int value)
Sets the value of the batchSize property.



Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.