Class Filter
java.lang.Object
org.tailormap.api.persistence.json.Filter
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.15.0")
public class Filter
extends Object
implements Serializable
A filter for an attribute. The filter can be used to filter the features of a layer, based on attribute value
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumtype of the attributestatic enumGets or Sets conditionstatic enumtype of the filter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValueItem(String valueItem) attributeType(Filter.AttributeTypeEnum attributeType) caseSensitive(Boolean caseSensitive) condition(Filter.ConditionEnum condition) editConfiguration(FilterEditConfiguration editConfiguration) booleanname of the attributetype of the attributetrue when the filter is case sensitiveGet condition@Valid FilterEditConfigurationGet editConfigurationgetId()id of the filterwhen true the condition is to be invertedgetType()type of the filtergetValue()value of the filterinthashCode()invertCondition(Boolean invertCondition) voidsetAttribute(String attribute) voidsetAttributeType(Filter.AttributeTypeEnum attributeType) voidsetCaseSensitive(Boolean caseSensitive) voidsetCondition(Filter.ConditionEnum condition) voidsetEditConfiguration(FilterEditConfiguration editConfiguration) voidvoidsetInvertCondition(Boolean invertCondition) voidsetType(Filter.TypeEnum type) voidtoString()type(Filter.TypeEnum type)
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
id
-
getId
id of the filter- Returns:
- id
-
setId
-
type
-
getType
type of the filter- Returns:
- type
-
setType
-
condition
-
getCondition
Get condition- Returns:
- condition
-
setCondition
-
invertCondition
-
getInvertCondition
when true the condition is to be inverted- Returns:
- invertCondition
-
setInvertCondition
-
attribute
-
getAttribute
name of the attribute- Returns:
- attribute
-
setAttribute
-
attributeType
-
getAttributeType
type of the attribute- Returns:
- attributeType
-
setAttributeType
-
value
-
addValueItem
-
getValue
value of the filter- Returns:
- value
-
setValue
-
caseSensitive
-
getCaseSensitive
true when the filter is case sensitive- Returns:
- caseSensitive
-
setCaseSensitive
-
editConfiguration
-
getEditConfiguration
Get editConfiguration- Returns:
- editConfiguration
-
setEditConfiguration
-
equals
-
hashCode
public int hashCode() -
toString
-