Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmFilterType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmFilterType
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<Serializable>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the autoAliasInjection property.Gets the value of the condition property.FILTER element; used to apply a filter.getName()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.voidSets the value of the name property.
-
Field Details
-
-
condition
-
name
-
autoAliasInjection
-
-
Constructor Details
-
JaxbHbmFilterType
public JaxbHbmFilterType()
-
-
Method Details
-
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
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- Returns:
- The value of the content property.
-
getCondition
Gets the value of the condition property.- Returns:
- possible object is
String
-
setCondition
Sets the value of the condition property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getAutoAliasInjection
Gets the value of the autoAliasInjection property.- Returns:
- possible object is
String
-
setAutoAliasInjection
Sets the value of the autoAliasInjection property.- Parameters:
value- allowed object isString
-