blob: 142848310ebd1a912742b4d3ace9b088f55ce658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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;
}
}
|