类 JaxbHbmResultSetMappingType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmResultSetMappingType
-
- 所有已实现的接口:
Serializable,ResultSetMappingBindingDefinition
public class JaxbHbmResultSetMappingType extends Object implements Serializable, ResultSetMappingBindingDefinition
The resultset element declares a named resultset mapping definition for SQL queriesJava class for ResultSetMappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResultSetMappingType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <group ref="{http://www.hibernate.org/xsd/orm/hbm}NativeQueryReturnGroup"/> </choice> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Stringnameprotected List<Serializable>valueMappingSources
-
构造器概要
构造器 构造器 说明 JaxbHbmResultSetMappingType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetName()Gets the value of the name property.List<Serializable>getValueMappingSources()Gets the value of the valueMappingSources property.voidsetName(String value)Sets the value of the name property.
-
-
-
字段详细资料
-
valueMappingSources
protected List<Serializable> valueMappingSources
-
name
protected String name
-
-
方法详细资料
-
getValueMappingSources
public List<Serializable> getValueMappingSources()
Gets the value of the valueMappingSources 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 valueMappingSources property.For example, to add a new item, do as follows:
getValueMappingSources().add(newItem);Objects of the following type(s) are allowed in the list
JaxbHbmNativeQueryScalarReturnTypeJaxbHbmNativeQueryReturnTypeJaxbHbmNativeQueryJoinReturnTypeJaxbHbmNativeQueryCollectionLoadReturnType- 指定者:
getValueMappingSources在接口中ResultSetMappingBindingDefinition- 返回:
- The value return JAXB mappings.
-
getName
public String getName()
Gets the value of the name property.- 指定者:
getName在接口中ResultSetMappingBindingDefinition- 返回:
- possible object is
String
-
-