Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmFilterType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmFilterType
-
- All Implemented Interfaces:
java.io.Serializable
public class JaxbHbmFilterType extends java.lang.Object implements java.io.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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
autoAliasInjection
protected java.lang.String
condition
protected java.util.List<java.io.Serializable>
content
protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description JaxbHbmFilterType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAutoAliasInjection()
Gets the value of the autoAliasInjection property.java.lang.String
getCondition()
Gets the value of the condition property.java.util.List<java.io.Serializable>
getContent()
FILTER element; used to apply a filter.java.lang.String
getName()
Gets the value of the name property.void
setAutoAliasInjection(java.lang.String value)
Sets the value of the autoAliasInjection property.void
setCondition(java.lang.String value)
Sets the value of the condition property.void
setName(java.lang.String value)
Sets the value of the name property.
-
-
-
Method Detail
-
getContent
public java.util.List<java.io.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
set
method 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 java.lang.String getCondition()
Gets the value of the condition property.- Returns:
- possible object is
String
-
setCondition
public void setCondition(java.lang.String value)
Sets the value of the condition property.- Parameters:
value
- allowed object isString
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getAutoAliasInjection
public java.lang.String getAutoAliasInjection()
Gets the value of the autoAliasInjection property.- Returns:
- possible object is
String
-
setAutoAliasInjection
public void setAutoAliasInjection(java.lang.String value)
Sets the value of the autoAliasInjection property.- Parameters:
value
- allowed object isString
-
-