public java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> getVariables() { java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> ret = service.getVariables(); return ret; }
public java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> getVariables() { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> ret = impl.getVariables(); return ret; }
@SuppressWarnings("unchecked") private void cleanVariables(Scope scope) throws CoreException { ScopeImpl.log.finest("Clean all variables of scope: " + scope.getName()); for(Variable var: scope.getVariables().values()) { var.setValue(null); } }
@SuppressWarnings("unchecked") private void cleanVariables(Scope scope) throws CoreException { ScopeImpl.log.finest("Clean all variables of scope: " + scope.getName()); for(Variable var: scope.getVariables().values()) { var.setValue(null); } }
@SuppressWarnings("unchecked") public Variable findVariable(final QName name) throws CoreException { Variable v = null; v = this.variables.get(name); if (v == null) { Scope current = this.getParentScope(this); while ((v == null) && (current != null)) { v = current.getVariables().get(name); current = this.getParentScope(current); } } return v; }
@SuppressWarnings("unchecked") public Variable findVariable(final QName name) throws CoreException { Variable v = null; v = this.variables.get(name); if (v == null) { Scope current = this.getParentScope(this); while ((v == null) && (current != null)) { v = current.getVariables().get(name); current = this.getParentScope(current); } } return v; }
private BPELVariable addVariableInScope(final Scope scope, final BPELVariable definition) throws BPELException { final BPELVariable v = (BPELVariable) definition.copypaste(); scope.getVariables().put(v.getQName(), v); return v; }
@SuppressWarnings("unchecked") public void setVariable(Variable v) throws CoreException { Scope current = this; Variable var = current.getVariables().get(v.getQName()); if (var == null) { while ((var == null) && (current != null)) { var = current.getVariables().get(v.getQName()); current = this.getParentScope(); } } if (current != null) { current.getVariables().put(v.getQName(), v); } else { this.getVariables().put(v.getQName(), v); } }
private void affectVariablesInScope( final BPELProcess bpelProcess, final com.ebmwebsourcing.easybpel.model.bpel.api.activity.Scope scopeDefinition, final Scope scope) throws BPELException { final MessageMatcher matcher = new BPELMessageMatcher(bpelProcess .getImports()); if (!this.log.getName().equals(BPELCompilerImpl.class.getName())) { matcher.setLog(this.log); } for (final BPELVariable definition : scopeDefinition.getVariables()) { this.addVariableInScope(scope, definition); } }
@SuppressWarnings("unchecked") public void setVariable(Variable v) throws CoreException { Scope current = this; Variable var = current.getVariables().get(v.getQName()); if (var == null) { while ((var == null) && (current != null)) { var = current.getVariables().get(v.getQName()); current = this.getParentScope(); } } if (current != null) { current.getVariables().put(v.getQName(), v); } else { this.getVariables().put(v.getQName(), v); } }
try { if( handlers.size() == 0 ) { java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> ret = impl.getVariables(); return ret;
topScope.getVariables().put(v.getQName(), v);