/** * Create an instance of {@link TBooleanExpr } * */ public TBooleanExpr createTBooleanExpr() { return new TBooleanExpr(); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TBooleanExpr copy = ((target == null)?((TBooleanExpr) createCopy()):((TBooleanExpr) target)); super.copyTo(copy, copyBuilder); return copy; }
public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); }
public boolean equals(Object object) { if (!(object instanceof TBooleanExpr)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); }
public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); }
public Object copyTo(Object target) { final CopyBuilder copyBuilder = new JAXBCopyBuilder(); return copyTo(target, copyBuilder); }
public RepeatUntilImpl(final TRepeatUntil model, final BPELElementImpl parent) { super(Constants._RepeatUntil_QNAME, model, parent); if(this.model.getCondition() != null) { try { this.condition = new BPELBooleanExpressionImpl(this.model.getCondition(), parent); } catch (XPathExpressionException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException(e))); } if((this.model.getCondition().getContent() != null)&& (this.model.getCondition().getContent().size() > 0)) { this.condition.setContent((String)this.model.getCondition().getContent().get(0)); } } try { this.activity = ActivityImpl.analyzeRepeatUntilActivity(this.model, this); } catch (final BPELException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException("In repeatUntil " + this.getName() + " => " + e.getMessage(), e))); } }
public boolean equals(Object object) { if (!(object instanceof TBooleanExpr)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); }
public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); }
public Object copyTo(Object target) { final CopyBuilder copyBuilder = new JAXBCopyBuilder(); return copyTo(target, copyBuilder); }
public WhileImpl(final TWhile model, final BPELElement parent) { super(Constants._While_QNAME, model, parent); if(this.model.getCondition() != null) { try { this.condition = new BPELBooleanExpressionImpl(this.model.getCondition(), parent); } catch (XPathExpressionException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException(e))); } if((this.model.getCondition().getContent() != null)&& (this.model.getCondition().getContent().size() > 0)) { this.condition.setContent((String)this.model.getCondition().getContent().get(0)); } } try { this.activity = ActivityImpl.analyzeWhileActivity(this.model, this); } catch (final BPELException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException("In while " + this.getName() + " => " + e.getMessage(), e))); } }
/** * Create an instance of {@link TBooleanExpr } * */ public TBooleanExpr createTBooleanExpr() { return new TBooleanExpr(); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TBooleanExpr copy = ((target == null)?((TBooleanExpr) createCopy()):((TBooleanExpr) target)); super.copyTo(copy, copyBuilder); return copy; }
public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); }
if((this.model.getCondition().getContent() != null) && (this.model.getCondition().getContent().size() > 0)) { exp.setContent((String)this.model.getCondition().getContent().get(0)); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException(e))); if((elseIf.getCondition().getContent() != null)&& (elseIf.getCondition().getContent().size() > 0)) { expElse.setContent((String)elseIf.getCondition().getContent().get(0));
public Object createCopy() { return new TBooleanExpr(); }
public Object createCopy() { return new TBooleanExpr(); }
public void addElseIf(If _if, String expressionContent, URI expressionLanguage, Activity activity) throws XPathExpressionException, BPELException{ BPELBooleanExpression condition = new BPELBooleanExpressionImpl(new TBooleanExpr(), _if); condition.setContent(expressionContent); condition.setExpressionLanguage(expressionLanguage); _if.addElseIfActivity(condition, activity); }
public If addIf(String ifName, BPELElement parent, String expressionContent, URI expressionLanguage) throws XPathExpressionException{ If res = new IfImpl(new TIf(), parent); BPELBooleanExpression condition = new BPELBooleanExpressionImpl(new TBooleanExpr(), res); condition.setContent(expressionContent); condition.setExpressionLanguage(expressionLanguage); try { res.addIfActivity(condition, null); } catch (BPELException e) { throw new XPathExpressionException(e); } res.setName(ifName); return res; }