package com.c2kernel.entity.imports; import com.c2kernel.common.ObjectNotFoundException; import com.c2kernel.process.Gateway; public class ImportOutcome { public String schema, viewname, path, data; public int version; public ImportOutcome() { } public ImportOutcome(String schema, int version, String viewname, String path) { super(); this.schema = schema; this.version = version; this.viewname = viewname; this.path = path; } public String getData(String ns) throws ObjectNotFoundException { if (data == null) data = Gateway.getResource().getTextResource(ns, path); return data; } }