类 JaxbHbmFilterType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmFilterType
-
- 所有已实现的接口:
Serializable
public class JaxbHbmFilterType extends Object implements Serializable
FILTER element; used to apply a filter.Java class for filter-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="filter-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="aliases" type="{http://www.hibernate.org/xsd/orm/hbm}filter-alias-mapping-type" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="condition" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="autoAliasInjection" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected StringautoAliasInjectionprotected Stringconditionprotected List<Serializable>contentprotected Stringname
-
构造器概要
构造器 构造器 说明 JaxbHbmFilterType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAutoAliasInjection()Gets the value of the autoAliasInjection property.StringgetCondition()Gets the value of the condition property.List<Serializable>getContent()FILTER element; used to apply a filter.StringgetName()Gets the value of the name property.voidsetAutoAliasInjection(String value)Sets the value of the autoAliasInjection property.voidsetCondition(String value)Sets the value of the condition property.voidsetName(String value)Sets the value of the name property.
-
-
-
字段详细资料
-
content
protected List<Serializable> content
-
condition
protected String condition
-
name
protected String name
-
autoAliasInjection
protected String autoAliasInjection
-
-
方法详细资料
-
getContent
public List<Serializable> getContent()
FILTER element; used to apply a filter. Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<JaxbHbmFilterAliasMappingType>String
-
getCondition
public String getCondition()
Gets the value of the condition property.- 返回:
- possible object is
String
-
setCondition
public void setCondition(String value)
Sets the value of the condition property.- 参数:
value- allowed object isString
-
setName
public void setName(String value)
Sets the value of the name property.- 参数:
value- allowed object isString
-
getAutoAliasInjection
public String getAutoAliasInjection()
Gets the value of the autoAliasInjection property.- 返回:
- possible object is
String
-
-