Examples of resolveItemRef()


Examples of org.openbp.core.model.Model.resolveItemRef()

    // Select the current data type if present
    if (getExpression() != null)
    {
      // Try to determine the new data type and perform a default configuration
      // of the member according to its new type
      DataTypeItem type = (DataTypeItem) currentModel.resolveItemRef(getExpression(), ItemTypes.TYPE);
      if (type != null)
      {
        state.addSelectedQualifier(type.getQualifier());
      }
      else
View Full Code Here

Examples of org.openbp.core.model.Model.resolveItemRef()

          ident = collectDataTypeName(sp);

          try
          {
            DataTypeItem targetType = (DataTypeItem) model.resolveItemRef(ident, ItemTypes.TYPE);
            if (targetType.isSimpleType())
            {
              throw newError("Expression.EvaluationContextMissing", "Data type '" + ident + "' in '" + ExpressionConstants.REFERENCE_KEY_OPERATOR + "' expression may not be a primitive type.", sp);
            }
View Full Code Here

Examples of org.openbp.core.model.Model.resolveItemRef()

    // Absolute reference: The process specification was given in the start reference
    ProcessItem process;
    if (processName != null)
    {
      // Resolve the process reference
      process = (ProcessItem) processModel.resolveItemRef(processName, ItemTypes.PROCESS);
    }
    else
    {
      // Use the model's default process
      process = processModel.getDefaultProcess();
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.