All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mntviews.jreport.JRInputSource Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package com.mntviews.jreport;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import net.sf.jasperreports.engine.JRDataSource;

@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,
        include = JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
        @JsonSubTypes.Type(value = JRInputSourceNull.class, name = "null"),
        @JsonSubTypes.Type(value = JRInputSourceDB.class, name = "db")
})
public abstract class JRInputSource {
    abstract JRDataSource find();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy