Tabnine Logo
TVariables.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.ebmwebsourcing.easybpel.model.bpel.executable.TVariables
constructor

Best Java code snippets using com.ebmwebsourcing.easybpel.model.bpel.executable.TVariables.<init> (Showing top 7 results out of 315)

origin: com.ebmwebsourcing.easybpel/model-bpel-api

/**
 * Create an instance of {@link TVariables }
 * 
 */
public TVariables createTVariables() {
  return new TVariables();
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.api

/**
 * Create an instance of {@link TVariables }
 * 
 */
public TVariables createTVariables() {
  return new TVariables();
}
origin: com.ebmwebsourcing.easybpel/model-bpel-api

public Object createCopy() {
  return new TVariables();
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.api

public Object createCopy() {
  return new TVariables();
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

public BPELIntVariable createBPELIntVariable(String varName, QName e){
  TVariable tvar = new TVariable();
  tvar.setName(varName);
  tvar.setType(e);
  
  TVariables tvars = this.model.getVariables();
  if(tvars == null){
    tvars = new TVariables();
    this.model.setVariables(tvars);
  }
  
  this.model.getVariables().getVariable().add(tvar);
  BPELIntVariable var = new BPELIntVariableImpl(tvar, this.model.getVariables(), this);
  
  return var;
}

origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

public static BPELVariable findVariableRecursively(final QName name, final BPELElement parent) {
  BPELVariable res = null;
  if((name != null) && (parent != null)) {
    if(parent instanceof BPELProcess) {
      res = ((BPELProcess)parent).findVariable(name); 
    } else if(parent instanceof Scope) {
      res = ((Scope)parent).findVariable(name); 
    } else if(parent instanceof ForEach) {
      final ForEach forEach = (ForEach)parent;
      if(forEach.getCounterName().equals(name.getLocalPart())) {
        final TVariable tvar = new TVariable();
        tvar.setName(name.getLocalPart());
        tvar.setType(DefaultSchemaImpl.getInstance().getTypeInt().getQName());
        final TVariables tvars = new TVariables();
        tvars.getVariable().add(tvar);
        final BPELVariable<Integer> var = new BPELIntVariableImpl(tvar, tvars, parent);
        res = var;
      }
    }
    if(res == null) {
      res = ScopeImpl.findVariableRecursively(name, (BPELElement) ((AbstractSchemaElementImpl)parent).getParent()); 
    }
  }
  return res;
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

  public BPELElementVariable createBPELElementVariable(String varName, QName e, BPELElementVariable.VariableType varType){
    
    
    TVariable tvar = new TVariable();
    tvar.setName(varName);
    //TODO switch to if
    switch( varType ){
    case MESSAGE:
      tvar.setMessageType(e);
      break;
    case ELEMENT:
      tvar.setElement(e);
      break;
    case TYPE:
      tvar.setType(e);
    }
    
    TVariables tvars = this.model.getVariables();
    if(tvars == null){
      tvars = new TVariables();
      this.model.setVariables(tvars);
    }
    
//        this.model.getVariables().getVariable().add(tvar);
    BPELElementVariable var = new BPELElementVariableImpl(tvar, this.model.getVariables(), this); 
    this.addVariable(var);
    return var;
  }

com.ebmwebsourcing.easybpel.model.bpel.executableTVariables<init>

Popular methods of TVariables

  • getVariable
    Gets the value of the variable property. This accessor method returns a reference to the live list,
  • copyTo
  • createCopy
  • equals
  • hashCode
  • toString

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Sublime Text plugins
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