public class JaxbResultsetElement
extends java.lang.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 java.lang.String |
name |
protected java.util.List<java.lang.Object> |
returnScalarOrReturnOrReturnJoin |
Constructor and Description |
---|
JaxbResultsetElement() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<java.lang.Object> |
getReturnScalarOrReturnOrReturnJoin()
Gets the value of the returnScalarOrReturnOrReturnJoin property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
protected java.util.List<java.lang.Object> returnScalarOrReturnOrReturnJoin
protected java.lang.String name
public java.util.List<java.lang.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
JaxbReturnScalarElement
JaxbReturnElement
JaxbReturnJoinElement
JaxbLoadCollectionElement
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.