Class JaxbFilterDefImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbFilterDefImpl
- All Implemented Interfaces:
Serializable
Specifies a filter definition. After definition, a filter
can be applied to entity or collection by name.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to identify all bind parameters in the condition element -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the defaultCondition property.Gets the value of the filterParams property.getName()Gets the value of the name property.booleanGets the value of the applyToLoadByKey property.booleanGets the value of the autoEnabled property.voidsetApplyToLoadByKey(Boolean value) Sets the value of the applyToLoadByKey property.voidsetAutoEnabled(Boolean value) Sets the value of the autoEnabled property.voidsetDefaultCondition(String value) Sets the value of the defaultCondition property.voidSets the value of the name property.
-
Field Details
-
defaultCondition
-
filterParams
-
name
-
autoEnabled
-
applyToLoadByKey
-
-
Constructor Details
-
JaxbFilterDefImpl
public JaxbFilterDefImpl()
-
-
Method Details
-
getDefaultCondition
Gets the value of the defaultCondition property.- Returns:
- possible object is
String
-
setDefaultCondition
Sets the value of the defaultCondition property.- Parameters:
value- allowed object isString
-
getFilterParams
Gets the value of the filterParams 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 filterParams property.For example, to add a new item, do as follows:
getFilterParams().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbFilterDefImpl.JaxbFilterParamImpl- Returns:
- The value of the filterParams 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
-
isAutoEnabled
public boolean isAutoEnabled()Gets the value of the autoEnabled property.- Returns:
- possible object is
Boolean
-
setAutoEnabled
Sets the value of the autoEnabled property.- Parameters:
value- allowed object isBoolean
-
isApplyToLoadByKey
public boolean isApplyToLoadByKey()Gets the value of the applyToLoadByKey property.- Returns:
- possible object is
Boolean
-
setApplyToLoadByKey
Sets the value of the applyToLoadByKey property.- Parameters:
value- allowed object isBoolean
-