Package org.hibernate.boot.jaxb.mapping
Class JaxbHbmFilter
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbHbmFilter
- All Implemented Interfaces:
Serializable
Applies a filter defined by hbm-filter-def usage
Java 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected List<Serializable>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the condition property.Applies a filter defined by hbm-filter-def usage Gets the value of the content 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
-
-
name
-
autoAliasInjection
-
condition
-
-
Constructor Details
-
JaxbHbmFilter
public JaxbHbmFilter()
-
-
Method Details
-
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- Returns:
- The value of the content 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
-
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
-