|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.oejb2.CustomGeneratorType
public class CustomGeneratorType
Handles a user-provided generator. You deploy any old generator as a GBean, and then point to that GBean here. The generator should implement org.tranql.pkgenerator.PrimaryKeyGenerator.
Java class for custom-generatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="custom-generatorType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="generator-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="primary-key-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
generatorName
|
protected java.lang.String |
primaryKeyClass
|
| Constructor Summary | |
|---|---|
CustomGeneratorType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getGeneratorName()
Gets the value of the generatorName property. |
java.lang.String |
getPrimaryKeyClass()
Gets the value of the primaryKeyClass property. |
void |
setGeneratorName(java.lang.String value)
Sets the value of the generatorName property. |
void |
setPrimaryKeyClass(java.lang.String value)
Sets the value of the primaryKeyClass property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String generatorName
protected java.lang.String primaryKeyClass
| Constructor Detail |
|---|
public CustomGeneratorType()
| Method Detail |
|---|
public java.lang.String getGeneratorName()
Stringpublic void setGeneratorName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPrimaryKeyClass()
Stringpublic void setPrimaryKeyClass(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||