public OActivity newInstance(Activity src) {
return new OWhile(_context.getOProcess(), _context.getCurrent());
}
public void compile(OActivity output, Activity srcx) {
OWhile owhile = (OWhile) output;
WhileActivity src = (WhileActivity)srcx;
owhile.whileCondition = _context.compileExpr(src.getCondition());
owhile.activity = _context.compile(src.getActivity());
}