public class JaxbHbmNativeQueryCollectionLoadReturnType extends Object implements Serializable, NativeQueryNonScalarRootReturn
<p>Java class for NativeQueryCollectionLoadReturnType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="NativeQueryCollectionLoadReturnType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="return-property" type="{http://www.hibernate.org/xsd/orm/hbm}NativeQueryPropertyReturnType"/> </sequence> <attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="lock-mode" type="{http://www.hibernate.org/xsd/orm/hbm}LockModeEnum" default="read" /> <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected LockMode |
lockMode |
protected List<JaxbHbmNativeQueryPropertyReturnType> |
returnProperty |
protected String |
role |
Constructor and Description |
---|
JaxbHbmNativeQueryCollectionLoadReturnType() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Gets the value of the alias property.
|
LockMode |
getLockMode()
Gets the value of the lockMode property.
|
List<JaxbHbmNativeQueryPropertyReturnType> |
getReturnProperty()
Gets the value of the returnProperty property.
|
String |
getRole()
Gets the value of the role property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setLockMode(LockMode value)
Sets the value of the lockMode property.
|
void |
setRole(String value)
Sets the value of the role property.
|
protected List<JaxbHbmNativeQueryPropertyReturnType> returnProperty
protected String alias
protected LockMode lockMode
protected String role
public JaxbHbmNativeQueryCollectionLoadReturnType()
public List<JaxbHbmNativeQueryPropertyReturnType> getReturnProperty()
Gets the value of the returnProperty property.
<p> 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 <CODE>set</CODE> method for the returnProperty property.
<p> For example, to add a new item, do as follows: <pre> getReturnProperty().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmNativeQueryPropertyReturnType
getReturnProperty
in interface NativeQueryNonScalarRootReturn
public String getAlias()
Gets the value of the alias property.
getAlias
in interface NativeQueryNonScalarRootReturn
String
public void setAlias(String value)
Sets the value of the alias property.
value
- allowed object is
String
public LockMode getLockMode()
Gets the value of the lockMode property.
getLockMode
in interface NativeQueryNonScalarRootReturn
String
public void setLockMode(LockMode value)
Sets the value of the lockMode property.
value
- allowed object is
String
public String getRole()
Gets the value of the role property.
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.