Home » geronimo-eclipse-plugin-2.2-source-release » org.openejb.xml.ns.pkgen_2 » [javadoc | source]
org.openejb.xml.ns.pkgen_2
public class: KeyGeneratorType [javadoc | source]
java.lang.Object
   org.openejb.xml.ns.pkgen_2.KeyGeneratorType
Primary Key generation element. If this is present, a key generator GBean will be created and configured to generate IDs for the surrounding object.

Java class for key-generatorType complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="key-generatorType">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <choice>
        <element name="sequence-table" type="{http://www.openejb.org/xml/ns/pkgen-2.0}sequence-tableType"/>
        <element name="auto-increment-table" type="{http://www.openejb.org/xml/ns/pkgen-2.0}auto-increment-tableType"/>
        <element name="sql-generator" type="{http://www.openejb.org/xml/ns/pkgen-2.0}sql-generatorType"/>
        <element name="custom-generator" type="{http://www.openejb.org/xml/ns/pkgen-2.0}custom-generatorType"/>
      </choice>
    </restriction>
  </complexContent>
</complexType>
Field Summary
protected  SequenceTableType sequenceTable     
protected  AutoIncrementTableType autoIncrementTable     
protected  SqlGeneratorType sqlGenerator     
protected  CustomGeneratorType customGenerator     
Method from org.openejb.xml.ns.pkgen_2.KeyGeneratorType Summary:
getAutoIncrementTable,   getCustomGenerator,   getSequenceTable,   getSqlGenerator,   setAutoIncrementTable,   setCustomGenerator,   setSequenceTable,   setSqlGenerator
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.openejb.xml.ns.pkgen_2.KeyGeneratorType Detail:
 public AutoIncrementTableType getAutoIncrementTable() 
    Gets the value of the autoIncrementTable property.
 public CustomGeneratorType getCustomGenerator() 
    Gets the value of the customGenerator property.
 public SequenceTableType getSequenceTable() 
    Gets the value of the sequenceTable property.
 public SqlGeneratorType getSqlGenerator() 
    Gets the value of the sqlGenerator property.
 public  void setAutoIncrementTable(AutoIncrementTableType value) 
    Sets the value of the autoIncrementTable property.
 public  void setCustomGenerator(CustomGeneratorType value) 
    Sets the value of the customGenerator property.
 public  void setSequenceTable(SequenceTableType value) 
    Sets the value of the sequenceTable property.
 public  void setSqlGenerator(SqlGeneratorType value) 
    Sets the value of the sqlGenerator property.