summaryrefslogtreecommitdiffstats
path: root/libmlr/src/main/java/com/yahoo/yst/libmlr/converter/entity/FuncPolytransform.java
blob: 9925d60cd934f18b6c13c7f92c064eabb9615691 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.yst.libmlr.converter.entity;

public class FuncPolytransform implements Function {
    /*
     * The following parameters are type String to preserve precision.
     */
    protected String a0;
    protected String a1;
    protected String a2;
    protected String a3;

    public FuncPolytransform() {}

    public String getA0() {
        return a0;
    }

    public void setA0(String a0) {
        this.a0 = a0;
    }

    public String getA1() {
        return a1;
    }

    public void setA1(String a1) {
        this.a1 = a1;
    }

    public String getA2() {
        return a2;
    }

    public void setA2(String a2) {
        this.a2 = a2;
    }

    public String getA3() {
        return a3;
    }

    public void setA3(String a3) {
        this.a3 = a3;
    }

    public boolean validateParams() {
        return (a0 != null && a1 != null && a2 != null && a3 != null);
    }
}