Class JaxbGenericIdGeneratorImpl

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

public class JaxbGenericIdGeneratorImpl 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">
       <sequence>
         <element name="parameter" type="{http://www.hibernate.org/xsd/orm/mapping}configuration-parameter" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <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

  • Constructor Details

    • JaxbGenericIdGeneratorImpl

      public JaxbGenericIdGeneratorImpl()
  • Method Details

    • getParameters

      public List<JaxbConfigurationParameterImpl> getParameters()
      Gets the value of the parameters property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the parameters property.

      For example, to add a new item, do as follows:

       getParameters().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbConfigurationParameterImpl

      Returns:
      The value of the parameters property.
    • 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