Examples of JaWETypes


Examples of org.enhydra.jawe.base.controller.JaWETypes

    public Namespace createXPDLObject(Namespaces nss, String type, boolean addToCollection) {
        Namespace ns = (Namespace) nss.generateNewElement();
        adjustType(ns, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(ns, type);
        }

        adjustXPDLObject(ns, type);

        if (addToCollection) {
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

            String type,
            boolean addToCollection) {
        Participant par = (Participant) ps.generateNewElement();
        adjustType(par, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(par, type);
        }
        String id = par.getId();
        if (!hasTemplate || id.equals("") || ps.getParticipant(id) != null) {
            if (id.equals("")) {
                id = JaWEManager.getInstance().getIdFactory().generateUniqueId(ps);
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

    public Member createXPDLObject(RecordType rt, String type, boolean addToCollection) {
        Member m = (Member) rt.generateNewElement();
        adjustType(m, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(m, type);
        }

        adjustXPDLObject(m, type);

        if (addToCollection) {
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

            String type,
            boolean addToCollection) {
        Responsible r = (Responsible) rs.generateNewElement();
        adjustType(r, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(r, type);
        }

        adjustXPDLObject(r, type);

        if (addToCollection) {
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

    public Tool createXPDLObject(Tools ts, String type, boolean addToCollection) {
        Tool t = (Tool) ts.generateNewElement();
        adjustType(t, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(t, type);
        }

        adjustXPDLObject(t, type);

        if (addToCollection) {
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

        return tra;
    }

    protected Transition createXPDLTransition(Transitions tras, String type) {
        Transition tra = (Transition) tras.generateNewElement();
        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(tra, type);
        }
        String id = tra.getId();
        if (!hasTemplate || id.equals("") || tras.getTransition(id) != null) {
            if (id.equals("")) {
                id = JaWEManager.getInstance().getIdFactory().generateUniqueId(tras);
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

            String type,
            boolean addToCollection) {
        TransitionRef tr = (TransitionRef) trs.generateNewElement();
        adjustType(tr, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(tr, type);
        }

        adjustXPDLObject(tr, type);

        if (addToCollection) {
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

            String type,
            boolean addToCollection) {
        TransitionRestriction tres = (TransitionRestriction) trests.generateNewElement();
        adjustType(tres, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(tres, type);
        }

        adjustXPDLObject(tres, type);

        if (addToCollection) {
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

            String type,
            boolean addToCollection) {
        TypeDeclaration td = (TypeDeclaration) tds.generateNewElement();
        adjustType(td, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(td, type);
        }
        String id = td.getId();
        if (!hasTemplate || id.equals("") || tds.getTypeDeclaration(id) != null) {
            if (id.equals("")) {
                id = JaWEManager.getInstance().getIdFactory().generateUniqueId(tds);
View Full Code Here

Examples of org.enhydra.jawe.base.controller.JaWETypes

    public Member createXPDLObject(UnionType ut, String type, boolean addToCollection) {
        Member m = (Member) ut.generateNewElement();
        adjustType(m, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(m, type);
        }

        adjustXPDLObject(m, type);

        if (addToCollection) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.