Class JaxbHbmFilterType

java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmFilterType
All Implemented Interfaces:
Serializable

public class JaxbHbmFilterType extends Object implements 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 Details

    • content

      protected List<Serializable> content
      FILTER element; used to apply a filter.
    • condition

      protected String condition
    • name

      protected String name
    • autoAliasInjection

      protected String autoAliasInjection
  • Constructor Details

    • JaxbHbmFilterType

      public JaxbHbmFilterType()
  • Method Details

    • getContent

      public List<Serializable> 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 JAXB object. This is why there is not a set method 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

      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 is 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 is String
    • getAutoAliasInjection

      public String getAutoAliasInjection()
      Gets the value of the autoAliasInjection property.
      Returns:
      possible object is String
    • setAutoAliasInjection

      public void setAutoAliasInjection(String value)
      Sets the value of the autoAliasInjection property.
      Parameters:
      value - allowed object is String