Tabnine Logo
jadex.bpmn.model
Code IndexAdd Tabnine to your IDE (free)

How to use jadex.bpmn.model

Best Java code snippets using jadex.bpmn.model (Showing top 20 results out of 315)

origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Remove a context variable declaration.
 *  @param variable    The variable.
 */
public void removeContextVariable(MContextVariable variable)
{
  removeContextVariable(variable.getName());
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get the initialization expression of a declared context variable.
 *  @param name    The variable name.
 *  @return The initialization expression (if any).
 */
public UnparsedExpression getContextVariableExpression(String name, String config)
{
  MContextVariable variable = getContextVariable(name);
  return config != null? variable.getValue(config) : variable;
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Remove a property.
 *  @param prop The property.
 */
public void removeProperty(MProperty prop)
{
  if(properties!=null)
    removeProperty(prop.getName());
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get a string to identify this activity in a tool such as the debugger.
 *  @return A unique but nicely readable name.
 */
public String getBreakpointId()
{
  String    name    = getName();
  if(name==null)
    name    = getActivityType()+"("+getId()+")";
  return name;
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Legacy conversion from unparsed expression.
 * 
 *  @param name Name
 *  @param exp
 */
public void setPropertyValue(String name, UnparsedExpression exp)
{        
  MProperty mprop = new MProperty();
  mprop.setName(name);
  mprop.setInitialValue(exp); 
  addProperty(mprop);
}
 
origin: net.sourceforge.jadex/jadex-kernel-bpmn

/**
 * 
 */
public ProcessThreadInfo createProcessThreadInfo(ProcessThread thread)
{
   ProcessThreadInfo info = new ProcessThreadInfo(thread.getId(), thread.getActivity().getBreakpointId(),
    thread.getActivity().getPool()!=null ? thread.getActivity().getPool().getName() : null,
    thread.getActivity().getLane()!=null ? thread.getActivity().getLane().getName() : null,
    thread.getException()!=null ? thread.getException().toString() : "",
    thread.isWaiting(), thread.getData()!=null ? thread.getData().toString() : "");
   return info;
}
origin: net.sourceforge.jadex/jadex-kernel-bpmn

/**
 *  Get the activity handler for an activity.
 *  @param actvity The activity.
 *  @return The activity handler.
 */
public IActivityHandler getActivityHandler(MActivity activity)
{
  return (IActivityHandler)activityhandlers.get(activity.getActivityType());
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Helper method disconnecting this edge.
 */
public void disconnect()
{
  if (this.source != null)
  {
    this.source.removeOutgoingDataEdge(this);
  }
  
  if (this.target != null)
  {
    this.target.removeIncomingDataEdge(this);
  }
  
  this.source = null;
  this.target = null;
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Helper method disconnecting this edge.
 */
public void disconnect()
{
  if (this.source != null)
  {
    this.source.removeOutgoingSequenceEdge(this);
  }
  
  if (this.target != null)
  {
    this.target.removeIncomingSequenceEdge(this);
  }
  
  this.source = null;
  this.target = null;
}
origin: org.activecomponents.jadex/jadex-editor-bpmn

public Object getValue()
{
  return parameter.getName();
}

origin: net.sourceforge.jadex/jadex-kernel-bpmn

/**
 *  Get the classloader.
 *  @return the classloader.
 */
public ClassLoader getClassLoader()
{
  return bpmnmodel.getClassLoader();
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get the initialval.
 *  @return The initialval.
 */
public String getInitialValueString()
{
  UnparsedExpression exp = getInitialValue();
  return exp != null? exp.getValue() : null;
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get a property value string from the model.
 *  @param name The name.
 */
public String getPropertyValueString(String name)
{
  UnparsedExpression exp = getPropertyValue(name);
  return exp != null? exp.getValue() : null;
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get all start activities of the pool.
 *  @return A non-empty List of start activities or null, if none.
 */
public List<MActivity> getStartActivities()
{
  return MBpmnModel.getStartActivities(activities);
}    
 
origin: net.sourceforge.jadex/jadex-kernel-bpmn

/**
 *  Test, if a property is declared.
 *  @param name    The property name.
 *  @return True, if the property is declared.
 */
public boolean	hasPropertyValue(String name)
{
  return activity.hasPropertyValue(name);
}
 
origin: org.activecomponents.jadex/jadex-editor-bpmn

/** 
 *  Sets the value.
 */
public void setValue(Object value)
{
  if (getBpmnElement() != null)
  {
    ((MNamedIdElement) getBpmnElement()).setName((String) value);
  }
}

origin: org.activecomponents.jadex/jadex-editor-bpmn

public Object getValue()
{
  return parameter.getName();
}

origin: net.sourceforge.jadex/jadex-model-bpmn

  /**
   *  Get all start activities of the pool.
   *  @return A non-empty List of start activities or null, if none.
   */
  public List<MActivity> getStartActivities()
  {
    return MBpmnModel.getStartActivities(activities);
  }
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Remove a parameter.
 *  @param param The parameter.
 */
public void removeParameter(MParameter param)
{
  if(parameters!=null)
    parameters.removeValue(param.getName());
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

  /**
   *  Get all start activities of the pool.
   *  @return A non-empty List of start activities or null, if none.
   */
  public List<MActivity> getStartActivities()
  {
    return MBpmnModel.getStartActivities(activities);
  }    
}
jadex.bpmn.model

Most used classes

  • MActivity
    Base class for all kinds of activities.
  • MBpmnModel
    Java representation of a bpmn model for xml description.
  • ITaskContext
    The task context contains the data available to an application task implementation.
  • Task
  • TaskParameter
  • MAssociation,
  • MContextVariable,
  • MDataEdge,
  • MIdElement,
  • MLane,
  • MMessagingEdge,
  • MParameter,
  • MPool,
  • MProperty,
  • MSequenceEdge,
  • MSubProcess,
  • SBpmnModelReader,
  • MAnnotation,
  • MAnnotationDetail
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now