Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.impl / src / main / java / org / gvsig / fmap / dal / swing / impl / searchPostProcess / distinctOn / NullAggregateOperation.java @ 46542

History | View | Annotate | Download (1.15 KB)

1
/*
2
 * To change this license header, choose License Headers in Project Properties.
3
 * To change this template file, choose Tools | Templates
4
 * and open the template in the editor.
5
 */
6
package org.gvsig.fmap.dal.swing.impl.searchPostProcess.distinctOn;
7

    
8
/**
9
 *
10
 * @author jovivas
11
 */
12
public class NullAggregateOperation extends AbstractAggregateOperation {
13
    public static class NullAggregateOperationFactory implements AggregateOperationFactory{
14
        public static final String NAME = "None";
15
        @Override
16
        public String getName() {
17
            return NAME;
18
        }
19

    
20
        @Override
21
        public AggregateOperation create(Object... os) {
22
            return new NullAggregateOperation();
23
        }
24

    
25
        @Override
26
        public boolean isApplicable(Object... value) {
27
            return true;
28
        }
29
    }
30
    
31

    
32
    public NullAggregateOperation() {
33

    
34
    }
35

    
36
    @Override
37
    public boolean isApplicable(Object... value) {
38
        return true;
39
    }
40

    
41
    @Override
42
    public void reset() {
43

    
44
    }
45

    
46
    @Override
47
    public void perform(Object value) {    
48

    
49
    }
50

    
51
    @Override
52
    public Object getValue() {
53
        return null;
54
    }
55
    
56
}