1 21 package com.jaspersoft.jasperserver.api.metadata.view.domain; 22 23 27 public class PropertyFilter implements FilterElement { 28 public static final byte EQ = 0; 29 public static final byte LIKE = 1; 30 31 private String property; 32 private Object value; 33 private byte op; 34 35 public PropertyFilter() { 36 } 37 38 public void apply(Filter filter) { 39 filter.applyPropertyFilter(this); 40 } 41 42 public byte getOp() { 43 return op; 44 } 45 46 public void setOp(byte op) { 47 this.op = op; 48 } 49 50 public String getProperty() { 51 return property; 52 } 53 54 public void setProperty(String property) { 55 this.property = property; 56 } 57 58 public Object getValue() { 59 return value; 60 } 61 62 public void setValue(Object value) { 63 this.value = value; 64 } 65 66 } 67 | Popular Tags |