public class JaxbGeneratorElement extends Object
Java class for generator-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="generator-element">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="param" type="{http://www.hibernate.org/xsd/hibernate-mapping}param-element" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
clazz |
protected List<JaxbParamElement> |
param |
| Constructor and Description |
|---|
JaxbGeneratorElement() |
protected List<JaxbParamElement> param
protected String clazz
public List<JaxbParamElement> getParam()
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 param property.
For example, to add a new item, do as follows:
getParam().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbParamElement
public String getClazz()
StringCopyright © 2012 JBoss by Red Hat. All Rights Reserved.