Examples of ThemeType


Examples of edu.indiana.extreme.lead.metadata.ThemeType

        LEADResourceType leadResourceType = leadResourceDoc.getLEADresource();
       
    DataType data = leadResourceType.getData();
    IdinfoBase idInfo = data.getIdinfo();
    KeywordsType keywords = idInfo.getKeywords();
    ThemeType leadProjectThema = keywords.getThemeArray(0);
    // This will get "leadproject.org";
    leadProjectThema.addThemekey("workflow");
    leadProjectThema.addThemekey("workflow-ODE");
    leadProjectThema.addThemekey("workflow-ODE-Process");

    // Set workflow ID.
    ThemeType idThema = keywords.addNewTheme();
    idThema.setThemekt(WORKFLOW_TEMPLATE_ID_THEMEKT);
    idThema.addThemekey(templateID.toString());

    XMLUtil.validate(leadResourceDoc);
    } catch (XmlException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
View Full Code Here

Examples of edu.indiana.extreme.lead.metadata.ThemeType

    MinimalLEADMetadata minimalLEADMetadata = new MinimalLEADMetadata(
        userDN, experimentName, experimentDescription);

    LEADResourceType leadResource = minimalLEADMetadata
        .getLeadResourceDoc().getLEADresource();
    ThemeType theme = leadResource.addNewData().addNewIdinfo()
        .addNewKeywords().addNewTheme();

    theme.addNewThemekey().setStringValue(instanceID);
    theme.setThemekt("ROOT_WORKFLOW_ID");

    theme = leadResource.addNewData().addNewIdinfo().addNewKeywords()
        .addNewTheme();

    theme.addNewThemekey().setStringValue(templateID);
    theme.setThemekt("ROOT_WORKFLOW_INSTANCE_ID");

    collectionInfo.setLEADresource(leadResource);

    collectionInfo.setAssignNewResourceID(true);
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.