Examples of ItemDefinition


Examples of org.cipres.treebase.domain.matrix.ItemDefinition

      String itemName = continuousData.getItemName(j);
      mItemDefinitionNames[j] = itemName;
      mItemDefinitions[j] = anItem;
       
      // This can be null, means the default definition 'AVG' is used.
      ItemDefinition definition = getItemDefinition(itemName);
      //ItemDefinitionJDBC itemDefJDBC = new ItemDefinitionJDBC();
      //itemDefJDBC.setColumnIndex(pNewColumnIndex);
      //itemDefJDBC.setItemDefinitionDesc(itemName);
     
      if (definition != null) {
View Full Code Here

Examples of org.drools.bpmn2.core.ItemDefinition

      // retrieve type from item definition
      DataType dataType = new ObjectDataType();
      Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
              ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
          if (itemDefinitions != null) {
            ItemDefinition itemDefinition = itemDefinitions.get(itemSubjectRef);
            if (itemDefinition != null) {
              dataType = new ObjectDataType(itemDefinition.getStructureRef());
            }
          }
      variable.setType(dataType);
      variables.add(variable);
      return variable;
View Full Code Here

Examples of org.drools.bpmn2.core.ItemDefinition

    Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
            ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
        if (itemDefinitions == null) {
            throw new IllegalArgumentException("No item definitions found");
        }
        ItemDefinition itemDefinition = itemDefinitions.get(structureRef);
        if (itemDefinition == null) {
            throw new IllegalArgumentException("Could not find itemDefinition " + structureRef);
        }
       
        ProcessBuildData buildData = (ProcessBuildData) parser.getData();
    Map<String, Message> messages = (Map<String, Message>)
            ((ProcessBuildData) parser.getData()).getMetaData("Messages");
        if (messages == null) {
            messages = new HashMap<String, Message>();
            buildData.setMetaData("Messages", messages);
        }
        Message message = new Message(id);
        message.setType(itemDefinition.getStructureRef());
        messages.put(id, message);
    return message;
  }
View Full Code Here

Examples of org.drools.bpmn2.core.ItemDefinition

      // retrieve type from item definition
      DataType dataType = new ObjectDataType();
      Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
              ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
          if (itemDefinitions != null) {
            ItemDefinition itemDefinition = itemDefinitions.get(itemSubjectRef);
            if (itemDefinition != null) {
              dataType = new ObjectDataType(itemDefinition.getStructureRef());
            }
          }
      variable.setType(dataType);
      variables.add(variable);
      return variable;
View Full Code Here

Examples of org.drools.bpmn2.core.ItemDefinition

              String itemSubjectRef = ((Element) subNode).getAttribute("itemSubjectRef");
              DataType dataType = null;
              Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
                ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
            if (itemDefinitions != null) {
              ItemDefinition itemDefinition = itemDefinitions.get(itemSubjectRef);
              if (itemDefinition != null) {
                dataType = new ObjectDataType(itemDefinition.getStructureRef());
              }
            }
            if (dataType == null) {
              dataType = new ObjectDataType("java.lang.Object");
            }
View Full Code Here

Examples of org.drools.bpmn2.core.ItemDefinition

            buildData.getMetaData("ItemDefinitions");
        if (itemDefinitions == null) {
            itemDefinitions = new HashMap<String, ItemDefinition>();
            buildData.setMetaData("ItemDefinitions", itemDefinitions);
        }
        ItemDefinition itemDefinition = new ItemDefinition(id);
        itemDefinition.setStructureRef(type);
        itemDefinitions.put(id, itemDefinition);
    return itemDefinition;
  }
View Full Code Here

Examples of org.eclipse.bpmn2.ItemDefinition

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case Bpmn2Package.ITEM_DEFINITION: {
            ItemDefinition itemDefinition = (ItemDefinition) theEObject;
            T result = caseItemDefinition(itemDefinition);
            if (result == null)
                result = caseRootElement(itemDefinition);
            if (result == null)
                result = caseBaseElement(itemDefinition);
View Full Code Here

Examples of org.jbpm.bpmn2.core.ItemDefinition

      // retrieve type from item definition
      DataType dataType = new ObjectDataType();
      Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
              ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
          if (itemDefinitions != null) {
            ItemDefinition itemDefinition = itemDefinitions.get(itemSubjectRef);
            if (itemDefinition != null) {
              dataType = new ObjectDataType(itemDefinition.getStructureRef());
            }
          }
      variable.setType(dataType);
      variables.add(variable);
      return variable;
View Full Code Here

Examples of org.jbpm.bpmn2.core.ItemDefinition

              String itemSubjectRef = ((Element) subNode).getAttribute("itemSubjectRef");
              DataType dataType = null;
              Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
                ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
            if (itemDefinitions != null) {
              ItemDefinition itemDefinition = itemDefinitions.get(itemSubjectRef);
              if (itemDefinition != null) {
                dataType = new ObjectDataType(itemDefinition.getStructureRef());
              }
            }
            if (dataType == null) {
              dataType = new ObjectDataType("java.lang.Object");
            }
View Full Code Here

Examples of org.jbpm.bpmn2.core.ItemDefinition

              String itemSubjectRef = ((Element) subNode).getAttribute("itemSubjectRef");
              DataType dataType = null;
              Map<String, ItemDefinition> itemDefinitions = (Map<String, ItemDefinition>)
                ((ProcessBuildData) parser.getData()).getMetaData("ItemDefinitions");
            if (itemDefinitions != null) {
              ItemDefinition itemDefinition = itemDefinitions.get(itemSubjectRef);
              if (itemDefinition != null) {
                dataType = new ObjectDataType(itemDefinition.getStructureRef());
              }
            }
            if (dataType == null) {
              dataType = new ObjectDataType("java.lang.Object");
            }
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.