Package org.hibernate.boot.jaxb.mapping
Class JaxbHbmFilter
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbHbmFilter
-
- All Implemented Interfaces:
Serializable
public class JaxbHbmFilter extends Object implements Serializable
Applies a filter defined by hbm-filter-def usageJava class for hbm-filter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="hbm-filter"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="aliases" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="entity" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> </element> <element name="condition" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="autoAliasInjection" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="condition" 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 classJaxbHbmFilter.JaxbAliasesJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected BooleanautoAliasInjectionprotected Stringconditionprotected List<Serializable>contentprotected Stringname
-
Constructor Summary
Constructors Constructor Description JaxbHbmFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCondition()Gets the value of the condition property.List<Serializable>getContent()Applies a filter defined by hbm-filter-def usage Gets the value of the content property.StringgetName()Gets the value of the name property.BooleanisAutoAliasInjection()Gets the value of the autoAliasInjection property.voidsetAutoAliasInjection(Boolean 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.
-
-
-
Field Detail
-
content
protected List<Serializable> content
-
name
protected String name
-
autoAliasInjection
protected Boolean autoAliasInjection
-
condition
protected String condition
-
-
Method Detail
-
getContent
public List<Serializable> getContent()
Applies a filter defined by hbm-filter-def usage 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
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<String>JAXBElement<JaxbHbmFilter.JaxbAliases>String
-
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
-
isAutoAliasInjection
public Boolean isAutoAliasInjection()
Gets the value of the autoAliasInjection property.- Returns:
- possible object is
Boolean
-
setAutoAliasInjection
public void setAutoAliasInjection(Boolean value)
Sets the value of the autoAliasInjection property.- Parameters:
value- allowed object isBoolean
-
getCondition
public String getCondition()
Gets the value of the condition property.- Returns:
- possible object is
String
-
-