public class JaxbResultsetElement extends Object
Java class for resultset-element complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resultset-element"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="return-scalar" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-scalar-element"/> <element name="return" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-element"/> <element name="return-join" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-join-element"/> <element name="load-collection" type="{http://www.hibernate.org/xsd/hibernate-mapping}load-collection-element"/> </choice> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected List<Object> |
returnScalarOrReturnOrReturnJoin |
Constructor and Description |
---|
JaxbResultsetElement() |
protected String name
public List<Object> getReturnScalarOrReturnOrReturnJoin()
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 returnScalarOrReturnOrReturnJoin property.
For example, to add a new item, do as follows:
getReturnScalarOrReturnOrReturnJoin().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbLoadCollectionElement
JaxbReturnJoinElement
JaxbReturnElement
JaxbReturnScalarElement
public String getName()
String
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.