Examples of JaWETypes


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

        return act;
    }

    protected Activity createSpecialActivity(Activities acts, String type) {
        Activity act = createXPDLActivity(acts, type);
        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);

        if (!hasTemplate) {
            act.getActivityTypes().getImplementation().getImplementationTypes().setTools();
            act.getActivityTypes().setImplementation();
        }
View Full Code Here

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

        return act;
    }

    protected Activity createXPDLActivity(Activities acts, String type) {
        Activity act = (Activity) acts.generateNewElement();
        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(act, type);
        }
        String id = act.getId();
        if (!hasTemplate || id.equals("") || acts.getActivity(id) != null) {

            if (id.equals("")) {
View Full Code Here

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

            String type,
            boolean addToCollection) {
        ActualParameter ap = (ActualParameter) aps.generateNewElement();
        adjustType(ap, type);

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

        adjustXPDLObject(ap, type);

        if (addToCollection) {
View Full Code Here

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

            String type,
            boolean addToCollection) {
        Application app = (Application) apps.generateNewElement();
        adjustType(app, type);

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

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

    public DataField createXPDLObject(DataFields dfs, String type, boolean addToCollection) {
        DataField df = (DataField) dfs.generateNewElement();
        adjustType(df, type);

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

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

    public Deadline createXPDLObject(Deadlines dls, String type, boolean addToCollection) {
        Deadline dl = (Deadline) dls.generateNewElement();
        adjustType(dl, type);

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

        adjustXPDLObject(dl, type);

        if (addToCollection) {
View Full Code Here

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

            String type,
            boolean addToCollection) {
        EnumerationValue ev = (EnumerationValue) et.generateNewElement();
        adjustType(ev, type);

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

        adjustXPDLObject(ev, type);

        if (addToCollection) {
View Full Code Here

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

            String type,
            boolean addToCollection) {
        ExtendedAttribute ea = (ExtendedAttribute) eas.generateNewElement();
        adjustType(ea, type);

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

        adjustXPDLObject(ea, type);

        if (addToCollection) {
View Full Code Here

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

            String type,
            boolean addToCollection) {
        ExternalPackage ep = (ExternalPackage) eps.generateNewElement();
        adjustType(ep, type);

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

        adjustXPDLObject(ep, type);

        if (addToCollection) {
View Full Code Here

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

            String type,
            boolean addToCollection) {
        FormalParameter fp = (FormalParameter) fps.generateNewElement();
        adjustType(fp, type);

        JaWETypes jts = JaWEManager.getInstance().getJaWEController().getJaWETypes();
        boolean hasTemplate = jts.hasTemplateId(type);
        if (hasTemplate) {
            jts.fillFromTemplate(fp, type);
        }
        String id = fp.getId();
        if (!hasTemplate || id.equals("") || fps.getFormalParameter(id) != null) {
            if (id.equals("")) {
                id = JaWEManager.getInstance().getIdFactory().generateUniqueId(fps);
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.