Project

General

Profile

Revision f24b885c

IDf24b885c3b160d2a0e2050ea12ac5e810563335b
Parent 7de0210e
Child 5bb4d1e3

Added by Andreas Müller 10 months ago

cleanup

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/Restriction.java
20 20
 *
21 21
 * @author a.kohlbecker
22 22
 * @since May 8, 2017
23
 *
24 23
 */
25 24
public class Restriction<T extends Object> {
26 25

  
......
64 63
        }
65 64
    }
66 65

  
67
    /**
68
     * @return the propertyName
69
     */
70 66
    public String getPropertyName() {
71 67
        return propertyName;
72 68
    }
73

  
74
    /**
75
     * @param propertyName the propertyName to set
76
     */
77 69
    public void setPropertyName(String propertyName) {
78 70
        this.propertyName = propertyName;
79 71
    }
80 72

  
81
    /**
82
     * @return the matchMode
83
     */
84 73
    public MatchMode getMatchMode() {
85 74
        return matchMode;
86 75
    }
87

  
88
    /**
89
     * @param matchMode the matchMode to set
90
     */
91 76
    public void setMatchMode(MatchMode matchMode) {
92 77
        this.matchMode = matchMode;
93 78
    }
......
101 86
        }
102 87
        return values;
103 88
    }
104

  
105
    /**
106
     * @param values the values to set
107
     */
108 89
    public void setValues(List<T> values) {
109 90
        this.values = values;
110 91
    }
111

  
112
    /**
113
     *
114
     * @param value
115
     */
116 92
    public void addValue(T value){
117 93
        getValues().add(value);
118 94
    }
119 95

  
120
    /**
121
     * @return the operator
122
     */
123 96
    public Operator getOperator() {
124 97
        return operator;
125 98
    }
126

  
127
    /**
128
     * @param operator the operator to set
129
     */
130 99
    public void setOperator(Operator operator) {
131 100
        this.operator = operator;
132 101
    }
133 102

  
134
    /**
135
     * @return
136
     */
137 103
    public boolean isNot() {
138 104
        return NOT_OPERATORS.contains(operator);
139 105
    }
140

  
141 106
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)