Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmNativeQueryCollectionLoadReturnType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryCollectionLoadReturnType
- All Implemented Interfaces:
Serializable,NativeQueryNonScalarRootReturn,NativeQueryReturn
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected LockModeprotected List<JaxbHbmNativeQueryPropertyReturnType>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Gets the value of the alias property.Gets the value of the lockMode property.Gets the value of the returnProperty property.getRole()Gets the value of the role property.voidSets the value of the alias property.voidsetLockMode(LockMode value) Sets the value of the lockMode property.voidSets the value of the role property.
-
Field Details
-
returnProperty
-
alias
-
lockMode
-
role
-
-
Constructor Details
-
JaxbHbmNativeQueryCollectionLoadReturnType
public JaxbHbmNativeQueryCollectionLoadReturnType()
-
-
Method Details
-
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 value of the returnProperty property.
-
getAlias
Gets the value of the alias property.- Specified by:
getAliasin interfaceNativeQueryNonScalarRootReturn- Returns:
- possible object is
String
-
setAlias
Sets the value of the alias property.- Parameters:
value- allowed object isString
-
getLockMode
Gets the value of the lockMode property.- Specified by:
getLockModein interfaceNativeQueryNonScalarRootReturn- Returns:
- possible object is
String
-
setLockMode
Sets the value of the lockMode property.- Parameters:
value- allowed object isString
-
getRole
Gets the value of the role property.- Returns:
- possible object is
String
-
setRole
Sets the value of the role property.- Parameters:
value- allowed object isString
-