Package org.hibernate.boot.jaxb.mapping
Class JaxbFilterDef
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbFilterDef
-
- All Implemented Interfaces:
Serializable
public class JaxbFilterDef extends Object implements Serializable
Specifies a filter definition. After definition, a filter can be applied to entity or collection by name.Java class for filter-def complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="filter-def"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="filter-param" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="condition" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJaxbFilterDef.JaxbFilterParamUsed to identify all bind parameters in the condition elemement
-
Field Summary
Fields Modifier and Type Field Description protected Stringconditionprotected List<JaxbFilterDef.JaxbFilterParam>filterParamprotected Stringname
-
Constructor Summary
Constructors Constructor Description JaxbFilterDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCondition()Gets the value of the condition property.List<JaxbFilterDef.JaxbFilterParam>getFilterParam()Gets the value of the filterParam property.StringgetName()Gets the value of the name property.voidsetCondition(String value)Sets the value of the condition property.voidsetName(String value)Sets the value of the name property.
-
-
-
Field Detail
-
filterParam
protected List<JaxbFilterDef.JaxbFilterParam> filterParam
-
condition
protected String condition
-
name
protected String name
-
-
Method Detail
-
getFilterParam
public List<JaxbFilterDef.JaxbFilterParam> getFilterParam()
Gets the value of the filterParam 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
setmethod for the filterParam property.For example, to add a new item, do as follows:
getFilterParam().add(newItem);Objects of the following type(s) are allowed in the list
JaxbFilterDef.JaxbFilterParam
-
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
-
-