TerminationRecord tr = new TerminationRecord("normal",
TerminationRecord tr = new TerminationRecord(TerminationRecord.NORMAL,
    public static void dTerminate(Prim obj) {        try {            TerminationRecord tr = new TerminationRecord("normal",                    "External Management Action", null);            obj.sfDetachAndTerminate(tr);        } catch (Exception ex) {            ex.printStackTrace();        }    }