Class JaxbGenericIdGeneratorImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbGenericIdGeneratorImpl
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected List<JaxbConfigurationParameterImpl>
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
parameters
-
name
-
clazz
-
-
Constructor Details
-
JaxbGenericIdGeneratorImpl
public JaxbGenericIdGeneratorImpl()
-
-
Method Details
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-