
com.mntviews.jreport.JRParam 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.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type",defaultImpl = JRParamStr.class)
@JsonSubTypes({
@JsonSubTypes.Type(value = JRParamStr.class),
@JsonSubTypes.Type(value = JRParamNum.class)
})
public abstract class JRParam {
@JsonProperty("key")
protected final String key;
protected JRParam(String key) {
this.key = key;
}
public String getKey() {
return key;
}
public abstract JRParam clone();
public abstract Object getVal();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy