Home » geronimo-eclipse-plugin-2.2-source-release » org.openejb.xml.ns.pkgen_2 » [javadoc | source]
org.openejb.xml.ns.pkgen_2
public class: CustomGeneratorType [javadoc | source]
java.lang.Object
   org.openejb.xml.ns.pkgen_2.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  String generatorName     
protected  String primaryKeyClass     
Method from org.openejb.xml.ns.pkgen_2.CustomGeneratorType Summary:
getGeneratorName,   getPrimaryKeyClass,   setGeneratorName,   setPrimaryKeyClass
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.openejb.xml.ns.pkgen_2.CustomGeneratorType Detail:
 public String getGeneratorName() 
    Gets the value of the generatorName property.
 public String getPrimaryKeyClass() 
    Gets the value of the primaryKeyClass property.
 public  void setGeneratorName(String value) 
    Sets the value of the generatorName property.
 public  void setPrimaryKeyClass(String value) 
    Sets the value of the primaryKeyClass property.