
com.mntviews.jreport.JRParamNum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mnt-report Show documentation
Show all versions of mnt-report Show documentation
JasperReport server engine
package com.mntviews.jreport;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeName("number")
public final class JRParamNum extends JRParam {
@JsonProperty("val")
Long val;
@Override
public JRParam clone() {
return JRParamNum.createOf(key, val);
}
@Override
public Object getVal() {
return val;
}
@JsonCreator
private JRParamNum(@JsonProperty("key") String key, @JsonProperty("val") Long val) {
super(key);
this.val = val;
}
public static JRParamNum createOf(String key, Long val) {
return new JRParamNum(key, val);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy