|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.oejb2.KeyGeneratorType
public class 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="uuid" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType"/> <element name="sequence-table" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}sequence-tableType"/> <element name="auto-increment-table" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}auto-increment-tableType"/> <element name="sql-generator" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}sql-generatorType"/> <element name="custom-generator" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}custom-generatorType"/> </choice> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected AutoIncrementTableType |
autoIncrementTable
|
protected CustomGeneratorType |
customGenerator
|
protected SequenceTableType |
sequenceTable
|
protected SqlGeneratorType |
sqlGenerator
|
protected EmptyType |
uuid
|
Constructor Summary | |
---|---|
KeyGeneratorType()
|
Method Summary | |
---|---|
AutoIncrementTableType |
getAutoIncrementTable()
Gets the value of the autoIncrementTable property. |
CustomGeneratorType |
getCustomGenerator()
Gets the value of the customGenerator property. |
SequenceTableType |
getSequenceTable()
Gets the value of the sequenceTable property. |
SqlGeneratorType |
getSqlGenerator()
Gets the value of the sqlGenerator property. |
boolean |
isUuid()
Gets the value of the uuid property. |
void |
setAutoIncrementTable(AutoIncrementTableType value)
Sets the value of the autoIncrementTable property. |
void |
setCustomGenerator(CustomGeneratorType value)
Sets the value of the customGenerator property. |
void |
setSequenceTable(SequenceTableType value)
Sets the value of the sequenceTable property. |
void |
setSqlGenerator(SqlGeneratorType value)
Sets the value of the sqlGenerator property. |
void |
setUuid(boolean value)
Sets the value of the uuid property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EmptyType uuid
protected SequenceTableType sequenceTable
protected AutoIncrementTableType autoIncrementTable
protected SqlGeneratorType sqlGenerator
protected CustomGeneratorType customGenerator
Constructor Detail |
---|
public KeyGeneratorType()
Method Detail |
---|
public boolean isUuid()
boolean
public void setUuid(boolean value)
value
- allowed object is
boolean
public SequenceTableType getSequenceTable()
SequenceTableType
public void setSequenceTable(SequenceTableType value)
value
- allowed object is
SequenceTableType
public AutoIncrementTableType getAutoIncrementTable()
AutoIncrementTableType
public void setAutoIncrementTable(AutoIncrementTableType value)
value
- allowed object is
AutoIncrementTableType
public SqlGeneratorType getSqlGenerator()
SqlGeneratorType
public void setSqlGenerator(SqlGeneratorType value)
value
- allowed object is
SqlGeneratorType
public CustomGeneratorType getCustomGenerator()
CustomGeneratorType
public void setCustomGenerator(CustomGeneratorType value)
value
- allowed object is
CustomGeneratorType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |