aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/storage/query/Order.java
blob: 6852c5ba885dac127d59749812a2c28c42db7191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.traccar.storage.query;

public class Order {

    private final String column;
    private final boolean descending;

    public Order(String column) {
        this(false, column);
    }

    public Order(boolean descending, String column) {
        this.column = column;
        this.descending = descending;
    }

    public String getColumn() {
        return column;
    }

    public boolean getDescending() {
        return descending;
    }

}