Class JaxbGenericIdGenerator

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbGenericIdGenerator
All Implemented Interfaces:
Serializable

public class JaxbGenericIdGenerator extends Object implements Serializable
Names a org.hibernate.id.IdentifierGenerator implementation (class attribute) as well as any configuration information need by the implementation (Hibernate will pass it the parameters after instantiation).

Java class for generic-id-generator complex type.

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


 <complexType name="generic-id-generator">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • name

      protected String name
    • clazz

      protected String clazz
  • Constructor Details

    • JaxbGenericIdGenerator

      public JaxbGenericIdGenerator()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getClazz

      public String getClazz()
      Gets the value of the clazz property.
      Returns:
      possible object is String
    • setClazz

      public void setClazz(String value)
      Sets the value of the clazz property.
      Parameters:
      value - allowed object is String