Class JaxbFilterImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbFilterImpl
- All Implemented Interfaces:
Serializable
Applies a filter defined by hbm-filter-def usage
Java class for filter complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="filter">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="condition" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<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>
</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" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<JaxbFilterImpl.JaxbAliasesImpl>protected Booleanprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the aliases property.Gets the value of the condition property.getName()Gets the value of the name property.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.voidSets the value of the name property.
-
Field Details
-
condition
-
aliases
-
name
-
autoAliasInjection
-
-
Constructor Details
-
JaxbFilterImpl
public JaxbFilterImpl()
-
-
Method Details
-
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
-
getAliases
Gets the value of the aliases 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
setmethod for the aliases property.For example, to add a new item, do as follows:
getAliases().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbFilterImpl.JaxbAliasesImpl- Returns:
- The value of the aliases property.
-
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
-
isAutoAliasInjection
Gets the value of the autoAliasInjection property.- Returns:
- possible object is
Boolean
-
setAutoAliasInjection
Sets the value of the autoAliasInjection property.- Parameters:
value- allowed object isBoolean
-