Codota Logo
VariableDefinitionImpl.getKey
Code IndexAdd Codota to your IDE (free)

How to use
getKey
method
in
org.jbpm.pvm.internal.model.VariableDefinitionImpl

Best Java code snippets using org.jbpm.pvm.internal.model.VariableDefinitionImpl.getKey (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.jbpm/pvm

protected void initializeVariables(CompositeElementImpl scope, ExecutionImpl outerExecution) {
 // loop over all variable definitions
 List<VariableDefinitionImpl> variableDefinitions = scope.getVariableDefinitions();
 if (!variableDefinitions.isEmpty()){
  if (log.isTraceEnabled()) {
   log.trace("initializing variables in scope "+scope);
  }
  variables = new HashMap<String, Variable>();
  for (VariableDefinitionImpl variableDefinition: variableDefinitions) {
   String key = variableDefinition.getKey();
   Object value = variableDefinition.getSourceValue(outerExecution);
   Type type = variableDefinition.getType();
   createVariable(key, value, type);
  }
 }
}
origin: org.jbpm/pvm

protected void destroyVariables(CompositeElementImpl scope, ExecutionImpl outerExecution) {
 // loop over all variable definitions
 List<VariableDefinitionImpl> variableDefinitions = scope.getVariableDefinitions();
 if (variableDefinitions!=null) {
  if (log.isTraceEnabled()) {
   log.trace("destroying var scope "+scope);
  }
  
  for (VariableDefinitionImpl variableDefinition: variableDefinitions) {
   String destination = variableDefinition.getDestination();
   if (destination!=null) {
    String key = variableDefinition.getKey();
    Object value = variableDefinition.getDestinationValue(this);
    outerExecution.setVariable(key, value);
   }
  }
 }
}

origin: org.ow2.bonita/bonita-core

   inParameters.put(var.getKey(), var.getKey());
if (node.getVariableDefinitions() != null) {
 for (VariableDefinitionImpl var : node.getVariableDefinitions()) {
  if (var.getKey().equals(variableId)) {
   variableExists = true;
   break;
org.jbpm.pvm.internal.modelVariableDefinitionImplgetKey

Popular methods of VariableDefinitionImpl

  • <init>
  • setKey
  • setSourceDescriptor
  • getDestination
  • getDestinationValue
  • getSourceValue
  • getType
  • setName
  • setTypeName

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now