类 JaxbHbmNativeQueryCollectionLoadReturnType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmNativeQueryCollectionLoadReturnType
-
- 所有已实现的接口:
Serializable,NativeQueryNonScalarRootReturn
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>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringaliasprotected LockModelockModeprotected List<JaxbHbmNativeQueryPropertyReturnType>returnPropertyprotected Stringrole
-
构造器概要
构造器 构造器 说明 JaxbHbmNativeQueryCollectionLoadReturnType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAlias()Gets the value of the alias property.LockModegetLockMode()Gets the value of the lockMode property.List<JaxbHbmNativeQueryPropertyReturnType>getReturnProperty()Gets the value of the returnProperty property.StringgetRole()Gets the value of the role property.voidsetAlias(String value)Sets the value of the alias property.voidsetLockMode(LockMode value)Sets the value of the lockMode property.voidsetRole(String value)Sets the value of the role property.
-
-
-
字段详细资料
-
returnProperty
protected List<JaxbHbmNativeQueryPropertyReturnType> returnProperty
-
alias
protected String alias
-
lockMode
protected LockMode lockMode
-
role
protected String role
-
-
方法详细资料
-
getReturnProperty
public 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- 指定者:
getReturnProperty在接口中NativeQueryNonScalarRootReturn- 返回:
- The nested property mappings
-
getAlias
public String getAlias()
Gets the value of the alias property.- 指定者:
getAlias在接口中NativeQueryNonScalarRootReturn- 返回:
- possible object is
String
-
setAlias
public void setAlias(String value)
Sets the value of the alias property.- 参数:
value- allowed object isString
-
getLockMode
public LockMode getLockMode()
Gets the value of the lockMode property.- 指定者:
getLockMode在接口中NativeQueryNonScalarRootReturn- 返回:
- possible object is
String
-
setLockMode
public void setLockMode(LockMode value)
Sets the value of the lockMode property.- 参数:
value- allowed object isString
-
-