package com.c2kernel.lifecycle.instance.predefined.entitycreation; import com.c2kernel.common.ObjectNotFoundException; import com.c2kernel.process.Gateway; public class Outcome { public String schema, viewname, path, data; public int version; public Outcome() { } public Outcome(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; } }