public class JaxbHbmNativeQueryReturnType extends java.lang.Object implements java.io.Serializable, NativeQueryNonScalarRootReturn
Java class for NativeQueryReturnType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NativeQueryReturnType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="return-discriminator" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="return-property" type="{http://www.hibernate.org/xsd/orm/hbm}NativeQueryPropertyReturnType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="alias" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="lock-mode" type="{http://www.hibernate.org/xsd/orm/hbm}LockModeEnum" default="read" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
alias |
protected java.lang.String |
clazz |
protected java.lang.String |
entityName |
protected LockMode |
lockMode |
protected JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator |
returnDiscriminator |
protected java.util.List<JaxbHbmNativeQueryPropertyReturnType> |
returnProperty |
Constructor and Description |
---|
JaxbHbmNativeQueryReturnType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Gets the value of the alias property.
|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
java.lang.String |
getEntityName()
Gets the value of the entityName property.
|
LockMode |
getLockMode()
Gets the value of the lockMode property.
|
JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator |
getReturnDiscriminator()
Gets the value of the returnDiscriminator property.
|
java.util.List<JaxbHbmNativeQueryPropertyReturnType> |
getReturnProperty()
Gets the value of the returnProperty property.
|
void |
setAlias(java.lang.String value)
Sets the value of the alias property.
|
void |
setClazz(java.lang.String value)
Sets the value of the clazz property.
|
void |
setEntityName(java.lang.String value)
Sets the value of the entityName property.
|
void |
setLockMode(LockMode value)
Sets the value of the lockMode property.
|
void |
setReturnDiscriminator(JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator value)
Sets the value of the returnDiscriminator property.
|
protected JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator returnDiscriminator
protected java.util.List<JaxbHbmNativeQueryPropertyReturnType> returnProperty
protected java.lang.String alias
protected java.lang.String clazz
protected java.lang.String entityName
protected LockMode lockMode
public JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator getReturnDiscriminator()
JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator
public void setReturnDiscriminator(JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator value)
value
- allowed object is
JaxbHbmNativeQueryReturnType.JaxbHbmReturnDiscriminator
public java.util.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 java.lang.String getAlias()
getAlias
in interface NativeQueryNonScalarRootReturn
String
public void setAlias(java.lang.String value)
value
- allowed object is
String
public java.lang.String getClazz()
String
public void setClazz(java.lang.String value)
value
- allowed object is
String
public java.lang.String getEntityName()
String
public void setEntityName(java.lang.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
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.