Package edu.indiana.extreme.lead.metadata

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


    leadResourceDoc = LEADresourceDocument.Factory.parse(metadata.toString());
 
        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");
View Full Code Here


  private String getWorkflowTemplateID(LEADresourceDocument resourceDocument) {
    // Check if the templateID is set in the metadata.
    LEADResourceType resource = resourceDocument.getLEADresource();
    DataType data = resource.getData();
    IdinfoBase idInfo = data.getIdinfo();
    KeywordsType keywords = idInfo.getKeywords();
    ThemeType[] themes = keywords.getThemeArray();

    String templateID = null;
    for (ThemeType theme : themes) {
      String themekt = theme.getThemekt();
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.lead.metadata.IdinfoBase

Copyright © 2018 www.massapicom. 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.