public class JaxbHbmNativeQueryCollectionLoadReturnType extends Object implements Serializable, NativeQueryNonScalarRootReturn
Java class for NativeQueryCollectionLoadReturnType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
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()
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 returnProperty property.
For example, to add a new item, do as follows:
getReturnProperty().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmNativeQueryPropertyReturnType
getReturnProperty
in interface NativeQueryNonScalarRootReturn
public String getAlias()
getAlias
in interface NativeQueryNonScalarRootReturn
String
public void setAlias(String value)
value
- allowed object is
String
public LockMode getLockMode()
getLockMode
in interface NativeQueryNonScalarRootReturn
String
public void setLockMode(LockMode value)
value
- allowed object is
String
public String getRole()
String
Copyright © 2021 JBoss by Red Hat. All rights reserved.