
com.mntviews.jreport.JRParamStr 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("string")
public final class JRParamStr extends JRParam {
@JsonProperty("val")
private final String val;
@Override
public Object getVal() {
return val;
}
@JsonCreator
private JRParamStr(@JsonProperty("key") String key, @JsonProperty("val") String val) {
super(key);
this.val = val;
}
@Override
public JRParam clone() {
return JRParamStr.createOf(key, val);
}
public static JRParamStr createOf(String key, String val) {
return new JRParamStr(key, val);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy