public class Filter extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
This element provides filtering mechanism while generating a report. User specified Columns will be filtered
based on provided Operator element in the generated report.
For say user provides:
"filters": [{
"column": {
"columnName": "RATE_PLAN",
"value": "AER_10GB_PLAN"
},
"operator": "EQUALS"
}]
This means the generated report will only have AER_10GB_PLAN rateplan details.
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="column" type="{http://service.aeris.com/reports/v1/compositetype}Column"/> <element name="operator" type="{http://service.aeris.com/reports/v1/basetype}Operator"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Column |
column |
protected Operator |
operator |
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Column |
getColumn()
Gets the value of the column property.
|
Operator |
getOperator()
Gets the value of the operator property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setColumn(Column value)
Sets the value of the column property.
|
void |
setOperator(Operator value)
Sets the value of the operator property.
|
String |
toString() |
public Column getColumn()
Column
public void setColumn(Column value)
value
- allowed object is
Column
public Operator getOperator()
Operator
public void setOperator(Operator value)
value
- allowed object is
Operator
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
Copyright © 2022. All rights reserved.