Revision 43989 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.api/src/main/java/org/gvsig/expressionevaluator/spi/AbstractFunction.java

View differences:

AbstractFunction.java
23 23
    private List<String> alias;
24 24
    private String template;
25 25
    private String returnType;
26
    private boolean sqlCompatible;
26 27

  
27
    protected AbstractFunction(String group, String name, Range argc, String description, String template, String[] descriptionArgs, String returnType) {
28
    protected AbstractFunction(String group, String name, Range argc, String description, String template, String[] descriptionArgs, String returnType, boolean sqlCompatible) {
28 29
        this.name = name;
29 30
        this.group = group;
30 31
        this.argc = argc;
......
32 33
        this.template = template;
33 34
        this.descriptionArgs = descriptionArgs;
34 35
        this.returnType = returnType;
36
        this.sqlCompatible = sqlCompatible;
35 37
    }
36

  
38
    protected AbstractFunction(String group, String name, Range argc, String description, String template, String[] descriptionArgs, String returnType) {
39
        this(group, name, argc, description, template, descriptionArgs, returnType, false);
40
    }
41
    
37 42
    protected AbstractFunction(String group, String name, Range argc, String description, String template, String[] descriptionArgs) {
38 43
        this(group, name, argc, description, template, null, null);
39 44
    }
......
105 110
    }
106 111

  
107 112
    @Override
113
    public boolean isSQLCompatible() {
114
        return sqlCompatible;
115
    }
116
    
117
    @Override
108 118
    public Object call(Interpreter interpreter, Arguments args) throws Exception {
109 119
        return null;
110 120
    }

Also available in: Unified diff