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