Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmNativeQueryJoinReturnType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryJoinReturnType
-
- All Implemented Interfaces:
java.io.Serializable,NativeQueryNonScalarRootReturn
public class JaxbHbmNativeQueryJoinReturnType extends java.lang.Object implements java.io.Serializable, NativeQueryNonScalarRootReturn
Java class for NativeQueryJoinReturnType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NativeQueryJoinReturnType"> <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="property" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringaliasprotected LockModelockModeprotected java.lang.Stringpropertyprotected java.util.List<JaxbHbmNativeQueryPropertyReturnType>returnProperty
-
Constructor Summary
Constructors Constructor Description JaxbHbmNativeQueryJoinReturnType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlias()Gets the value of the alias property.LockModegetLockMode()Gets the value of the lockMode property.java.lang.StringgetProperty()Gets the value of the property property.java.util.List<JaxbHbmNativeQueryPropertyReturnType>getReturnProperty()Gets the value of the returnProperty property.voidsetAlias(java.lang.String value)Sets the value of the alias property.voidsetLockMode(LockMode value)Sets the value of the lockMode property.voidsetProperty(java.lang.String value)Sets the value of the property property.
-
-
-
Field Detail
-
returnProperty
protected java.util.List<JaxbHbmNativeQueryPropertyReturnType> returnProperty
-
alias
protected java.lang.String alias
-
lockMode
protected LockMode lockMode
-
property
protected java.lang.String property
-
-
Method Detail
-
getReturnProperty
public java.util.List<JaxbHbmNativeQueryPropertyReturnType> getReturnProperty()
Gets the value of the returnProperty property.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
setmethod 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- Specified by:
getReturnPropertyin interfaceNativeQueryNonScalarRootReturn- Returns:
- The nested property mappings
-
getAlias
public java.lang.String getAlias()
Gets the value of the alias property.- Specified by:
getAliasin interfaceNativeQueryNonScalarRootReturn- Returns:
- possible object is
String
-
setAlias
public void setAlias(java.lang.String value)
Sets the value of the alias property.- Parameters:
value- allowed object isString
-
getLockMode
public LockMode getLockMode()
Gets the value of the lockMode property.- Specified by:
getLockModein interfaceNativeQueryNonScalarRootReturn- Returns:
- possible object is
String
-
setLockMode
public void setLockMode(LockMode value)
Sets the value of the lockMode property.- Parameters:
value- allowed object isString
-
getProperty
public java.lang.String getProperty()
Gets the value of the property property.- Returns:
- possible object is
String
-
setProperty
public void setProperty(java.lang.String value)
Sets the value of the property property.- Parameters:
value- allowed object isString
-
-