Tabnine Logo
MActivity.getPropertyValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getPropertyValue
method
in
jadex.bpmn.model.MActivity

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

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: org.activecomponents.jadex/jadex-editor-bpmn

String typename = (String)SJavaParser.parseExpression(vact.getMActivity().getPropertyValue(MActivity.RESULTTYPE), null, null).getValue(null);
if(typename!=null && typename.length()>0)
  acc.setSelectedItem(new ClassInfo(typename));
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get a property value from the model.
 *  @param name The name.
 */
public Object getParsedPropertyValue(String name)
{
  UnparsedExpression    upex    = getPropertyValue(name);
  Object val = ((IParsedExpression)upex.getParsed()).getValue(null);
  
  return val;
}
 
origin: net.sourceforge.jadex/jadex-kernel-bpmn

/**
 *  Hack: method is necessary because thread.activity is not always 
 *  the activity to execute in case of multiple event.
 *  Get the value of a property.
 *  @param name    The property name. 
 *  @return    The property value. 
 */
public Object getPropertyValue(String name, MActivity activity)
{
  assert activity!=null;
  UnparsedExpression    upex    = activity.getPropertyValue(name);
  try
  {
    return upex!=null ? ((IParsedExpression)upex.getParsed()).getValue(new ProcessThreadValueFetcher(this, true, instance.getFetcher())) : null;
  }
  catch(RuntimeException e)
  {
    throw new RuntimeException("Error parsing property: "+instance+", "+this+", "+name+", "+upex, e);
  }
}
 
origin: org.activecomponents.jadex/jadex-editor-bpmn

UnparsedExpression dur = (UnparsedExpression) ((MActivity) event.getBpmnElement()).getPropertyValue("duration");
if (dur != null)
origin: org.activecomponents.jadex/jadex-editor-bpmn

UnparsedExpression trig = (UnparsedExpression) msighandler.getPropertyValue(MBpmnModel.SIGNAL_EVENT_TRIGGER);
if (trig != null)
origin: org.activecomponents.jadex/jadex-editor-bpmn

UnparsedExpression cond = (UnparsedExpression)((MActivity)event.getBpmnElement()).getPropertyValue("condition");
if(cond!=null)
UnparsedExpression evt = (UnparsedExpression)((MActivity)event.getBpmnElement()).getPropertyValue("eventtypes");
String vals[] = null;
if(evt!=null)
origin: net.sourceforge.jadex/jadex-model-bpmn

out.print("<semantic:timerEventDefinition");
if (activity.hasPropertyValue("duration") &&
  ((UnparsedExpression) activity.getPropertyValue("duration")).getValue().length() > 0)
  out.print(escapeString(((UnparsedExpression) activity.getPropertyValue("duration")).getValue()));
  out.println("</semantic:timeDuration>");
  out.print(getIndent(baseind + 1));
jadex.bpmn.modelMActivitygetPropertyValue

Javadoc

Get a property value from the model.

Popular methods of MActivity

  • getActivityType
    Get the activity type.
  • getId
  • getName
  • <init>
  • addIncomingMessagingEdge
    Add an incoming message edge.
  • addIncomingSequenceEdge
    Add an incoming edge.
  • addOutgoingMessagingEdge
    Add an outgoing message edge.
  • addOutgoingSequenceEdge
    Add an outgoing edge.
  • addParameter
    Add a parameter.
  • getClazz
    Get the class.
  • getEventHandlers
    Get the event handlers.
  • getIncomingSequenceEdges
    Get the incoming edges.
  • getEventHandlers,
  • getIncomingSequenceEdges,
  • getLane,
  • getOutgoingSequenceEdges,
  • getParameters,
  • getProperties,
  • isEventHandler,
  • isThrowing,
  • setActivityType

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for Android Studio
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