public boolean getCreateInstance() { boolean res = false; if((this.model.getCreateInstance() != null) && this.model.getCreateInstance().equals(TBoolean.YES)) { res = true; } else { res = false; } return res; }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getOnMessage()); hashCodeBuilder.append(this.getOnAlarm()); hashCodeBuilder.append(this.getCreateInstance()); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getOnMessage()); hashCodeBuilder.append(this.getOnAlarm()); hashCodeBuilder.append(this.getCreateInstance()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TPick)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TPick that = ((TPick) object); equalsBuilder.append(this.getOnMessage(), that.getOnMessage()); equalsBuilder.append(this.getOnAlarm(), that.getOnAlarm()); equalsBuilder.append(this.getCreateInstance(), that.getCreateInstance()); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { List<TOnMessage> theOnMessage; theOnMessage = this.getOnMessage(); toStringBuilder.append("onMessage", theOnMessage); } { List<TOnAlarmPick> theOnAlarm; theOnAlarm = this.getOnAlarm(); toStringBuilder.append("onAlarm", theOnAlarm); } { TBoolean theCreateInstance; theCreateInstance = this.getCreateInstance(); toStringBuilder.append("createInstance", theCreateInstance); } }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { List<TOnMessage> theOnMessage; theOnMessage = this.getOnMessage(); toStringBuilder.append("onMessage", theOnMessage); } { List<TOnAlarmPick> theOnAlarm; theOnAlarm = this.getOnAlarm(); toStringBuilder.append("onAlarm", theOnAlarm); } { TBoolean theCreateInstance; theCreateInstance = this.getCreateInstance(); toStringBuilder.append("createInstance", theCreateInstance); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TPick)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TPick that = ((TPick) object); equalsBuilder.append(this.getOnMessage(), that.getOnMessage()); equalsBuilder.append(this.getOnAlarm(), that.getOnAlarm()); equalsBuilder.append(this.getCreateInstance(), that.getCreateInstance()); }
@Override public void validate() { super.validate(); // validation log.finest("validate pick: " + this.getActivity().getName()); // unsupported element if(((TPick)((BPELElementImpl)this.getActivity()).getModel()).getCreateInstance().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In receive " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the attribute createInstance to yes is currently ignored. The process is created on the first activity detected in the definition")); } }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TPick copy = ((target == null)?((TPick) createCopy()):((TPick) target)); super.copyTo(copy, copyBuilder); { List<TOnMessage> sourceOnMessage; sourceOnMessage = this.getOnMessage(); List<TOnMessage> copyOnMessage = ((List<TOnMessage> ) copyBuilder.copy(sourceOnMessage)); copy.onMessage = null; List<TOnMessage> uniqueOnMessagel = copy.getOnMessage(); uniqueOnMessagel.addAll(copyOnMessage); } { List<TOnAlarmPick> sourceOnAlarm; sourceOnAlarm = this.getOnAlarm(); List<TOnAlarmPick> copyOnAlarm = ((List<TOnAlarmPick> ) copyBuilder.copy(sourceOnAlarm)); copy.onAlarm = null; List<TOnAlarmPick> uniqueOnAlarml = copy.getOnAlarm(); uniqueOnAlarml.addAll(copyOnAlarm); } { TBoolean sourceCreateInstance; sourceCreateInstance = this.getCreateInstance(); TBoolean copyCreateInstance = ((TBoolean) copyBuilder.copy(sourceCreateInstance)); copy.setCreateInstance(copyCreateInstance); } return copy; }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TPick copy = ((target == null)?((TPick) createCopy()):((TPick) target)); super.copyTo(copy, copyBuilder); { List<TOnMessage> sourceOnMessage; sourceOnMessage = this.getOnMessage(); List<TOnMessage> copyOnMessage = ((List<TOnMessage> ) copyBuilder.copy(sourceOnMessage)); copy.onMessage = null; List<TOnMessage> uniqueOnMessagel = copy.getOnMessage(); uniqueOnMessagel.addAll(copyOnMessage); } { List<TOnAlarmPick> sourceOnAlarm; sourceOnAlarm = this.getOnAlarm(); List<TOnAlarmPick> copyOnAlarm = ((List<TOnAlarmPick> ) copyBuilder.copy(sourceOnAlarm)); copy.onAlarm = null; List<TOnAlarmPick> uniqueOnAlarml = copy.getOnAlarm(); uniqueOnAlarml.addAll(copyOnAlarm); } { TBoolean sourceCreateInstance; sourceCreateInstance = this.getCreateInstance(); TBoolean copyCreateInstance = ((TBoolean) copyBuilder.copy(sourceCreateInstance)); copy.setCreateInstance(copyCreateInstance); } return copy; }