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

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

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

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

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

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

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

public Object createCopy() {
  return new TVariable();
}
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;
  }

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

final TVariable fvar = new TVariable();
fvar.setElement(catch_.getFaultElement());
fvar.setMessageType(catch_.getFaultMessageType());
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

final TVariable model = new TVariable();
model.setName(counter.getQName().getLocalPart());
model.setElement(counter.getQName());
com.ebmwebsourcing.easybpel.model.bpel.executableTVariable<init>

Popular methods of TVariable

  • getElement
    Gets the value of the element property.
  • getFrom
    Gets the value of the from property.
  • getMessageType
    Gets the value of the messageType property.
  • getName
    Gets the value of the name property.
  • getType
    Gets the value of the type property.
  • setElement
    Sets the value of the element property.
  • setMessageType
    Sets the value of the messageType property.
  • setName
    Sets the value of the name property.
  • setType
    Sets the value of the type property.
  • copyTo
  • createCopy
  • equals
  • createCopy,
  • equals,
  • hashCode,
  • setFrom,
  • toString

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • 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
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Join (org.hibernate.mapping)
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
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