Tabnine Logo
TVariables.getVariable
Code IndexAdd Tabnine to your IDE (free)

How to use
getVariable
method
in
com.ebmwebsourcing.easybpel.model.bpel.executable.TVariables

Best Java code snippets using com.ebmwebsourcing.easybpel.model.bpel.executable.TVariables.getVariable (Showing top 14 results out of 315)

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

public void toString(ToStringBuilder toStringBuilder) {
  super.toString(toStringBuilder);
  {
    List<TVariable> theVariable;
    theVariable = this.getVariable();
    toStringBuilder.append("variable", theVariable);
  }
}
origin: com.ebmwebsourcing.easybpel/model-bpel-api

public void toString(ToStringBuilder toStringBuilder) {
  super.toString(toStringBuilder);
  {
    List<TVariable> theVariable;
    theVariable = this.getVariable();
    toStringBuilder.append("variable", theVariable);
  }
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.api

public void equals(Object object, EqualsBuilder equalsBuilder) {
  if (!(object instanceof TVariables)) {
    equalsBuilder.appendSuper(false);
    return ;
  }
  if (this == object) {
    return ;
  }
  super.equals(object, equalsBuilder);
  final TVariables that = ((TVariables) object);
  equalsBuilder.append(this.getVariable(), that.getVariable());
}
origin: com.ebmwebsourcing.easybpel/model-bpel-api

public void equals(Object object, EqualsBuilder equalsBuilder) {
  if (!(object instanceof TVariables)) {
    equalsBuilder.appendSuper(false);
    return ;
  }
  if (this == object) {
    return ;
  }
  super.equals(object, equalsBuilder);
  final TVariables that = ((TVariables) object);
  equalsBuilder.append(this.getVariable(), that.getVariable());
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.api

public void hashCode(HashCodeBuilder hashCodeBuilder) {
  super.hashCode(hashCodeBuilder);
  hashCodeBuilder.append(this.getVariable());
}
origin: com.ebmwebsourcing.easybpel/model-bpel-api

public void hashCode(HashCodeBuilder hashCodeBuilder) {
  super.hashCode(hashCodeBuilder);
  hashCodeBuilder.append(this.getVariable());
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.api

public Object copyTo(Object target, CopyBuilder copyBuilder) {
  final TVariables copy = ((target == null)?((TVariables) createCopy()):((TVariables) target));
  super.copyTo(copy, copyBuilder);
  {
    List<TVariable> sourceVariable;
    sourceVariable = this.getVariable();
    List<TVariable> copyVariable = ((List<TVariable> ) copyBuilder.copy(sourceVariable));
    copy.variable = null;
    List<TVariable> uniqueVariablel = copy.getVariable();
    uniqueVariablel.addAll(copyVariable);
  }
  return copy;
}
origin: com.ebmwebsourcing.easybpel/model-bpel-api

public Object copyTo(Object target, CopyBuilder copyBuilder) {
  final TVariables copy = ((target == null)?((TVariables) createCopy()):((TVariables) target));
  super.copyTo(copy, copyBuilder);
  {
    List<TVariable> sourceVariable;
    sourceVariable = this.getVariable();
    List<TVariable> copyVariable = ((List<TVariable> ) copyBuilder.copy(sourceVariable));
    copy.variable = null;
    List<TVariable> uniqueVariablel = copy.getVariable();
    uniqueVariablel.addAll(copyVariable);
  }
  return copy;
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

public void addVariable(final BPELVariable variable) {
  this.variables.add(variable);
  this.model.getVariables().getVariable().add((TVariable) ((AbstractSchemaElementImpl)variable).getModel());
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

  public static List<BPELVariable> extractVariablesInModel(final TVariables variables, final BPELElement parent) throws BPELException {
    final List<BPELVariable> res = new ArrayList<BPELVariable>(); 
    if(variables != null) {
      if((variables.getVariable() != null)&&
          (variables.getVariable().size() > 0)) {
        for(final TVariable variable: variables.getVariable()) {
          if((variable.getType() != null) && variable.getType().equals(DefaultSchemaImpl.getInstance().getTypeInt().getQName())) {
            res.add(new BPELIntVariableImpl(variable, variables, parent));
          } else if((variable.getType() != null) && variable.getType().equals(DefaultSchemaImpl.getInstance().getTypeLong().getQName())) {
            res.add(new BPELLongVariableImpl(variable, variables, parent));
          } else if((variable.getType() != null) && variable.getType().equals(DefaultSchemaImpl.getInstance().getTypeDateTime().getQName())) {
            res.add(new BPELDateVariableImpl(variable, variables, parent));
          } else {
            res.add(new BPELElementVariableImpl(variable, variables, parent));
          }
        }
      }
    }
    return res;
  }
}
origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

public static List<BPELVariable> extractVariablesInModel(final TVariables variables, final BPELElement parent) throws BPELException {
  final List<BPELVariable> res = new ArrayList<BPELVariable>(); 
  if(variables != null) {
    if((variables.getVariable() != null)&&
        (variables.getVariable().size() > 0)) {
      for(final TVariable variable: variables.getVariable()) {
        if((variable.getType() != null) && variable.getType().equals(DefaultSchemaImpl.getInstance().getTypeInt().getQName())) {
          res.add(new BPELIntVariableImpl(variable, variables, parent));
        } else if((variable.getType() != null) && variable.getType().equals(DefaultSchemaImpl.getInstance().getTypeLong().getQName())) {
          res.add(new BPELLongVariableImpl(variable, variables, parent));
        } else if((variable.getType() != null) && variable.getType().equals(DefaultSchemaImpl.getInstance().getTypeDateTime().getQName())) {
          res.add(new BPELDateVariableImpl(variable, variables, parent));
        } else {
          res.add(new BPELElementVariableImpl(variable, variables, parent));
        }
      }
    }
  }
  return res;
}
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 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

if((tprocess.getVariables() == null) || (tprocess.getVariables().getVariable() == null) || (tprocess.getVariables().getVariable().size() == 0)) {
  BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.process, new BPELException("In process => A process MUST have at less one variable")));
com.ebmwebsourcing.easybpel.model.bpel.executableTVariablesgetVariable

Javadoc

Gets the value of the variable property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the variable property.

For example, to add a new item, do as follows:

 
getVariable().add(newItem); 

Objects of the following type(s) are allowed in the list TVariable

Popular methods of TVariables

  • <init>
  • copyTo
  • createCopy
  • equals
  • hashCode
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
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