public boolean getIgnoreMissingFromData() { return Boolean.valueOf(this.model.getIgnoreMissingFromData().value); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getFrom()); hashCodeBuilder.append(this.getTo()); hashCodeBuilder.append(this.getKeepSrcElementName()); hashCodeBuilder.append(this.getIgnoreMissingFromData()); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getFrom()); hashCodeBuilder.append(this.getTo()); hashCodeBuilder.append(this.getKeepSrcElementName()); hashCodeBuilder.append(this.getIgnoreMissingFromData()); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { TFrom theFrom; theFrom = this.getFrom(); toStringBuilder.append("from", theFrom); } { TTo theTo; theTo = this.getTo(); toStringBuilder.append("to", theTo); } { TBoolean theKeepSrcElementName; theKeepSrcElementName = this.getKeepSrcElementName(); toStringBuilder.append("keepSrcElementName", theKeepSrcElementName); } { TBoolean theIgnoreMissingFromData; theIgnoreMissingFromData = this.getIgnoreMissingFromData(); toStringBuilder.append("ignoreMissingFromData", theIgnoreMissingFromData); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TCopy)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TCopy that = ((TCopy) object); equalsBuilder.append(this.getFrom(), that.getFrom()); equalsBuilder.append(this.getTo(), that.getTo()); equalsBuilder.append(this.getKeepSrcElementName(), that.getKeepSrcElementName()); equalsBuilder.append(this.getIgnoreMissingFromData(), that.getIgnoreMissingFromData()); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { TFrom theFrom; theFrom = this.getFrom(); toStringBuilder.append("from", theFrom); } { TTo theTo; theTo = this.getTo(); toStringBuilder.append("to", theTo); } { TBoolean theKeepSrcElementName; theKeepSrcElementName = this.getKeepSrcElementName(); toStringBuilder.append("keepSrcElementName", theKeepSrcElementName); } { TBoolean theIgnoreMissingFromData; theIgnoreMissingFromData = this.getIgnoreMissingFromData(); toStringBuilder.append("ignoreMissingFromData", theIgnoreMissingFromData); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TCopy)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TCopy that = ((TCopy) object); equalsBuilder.append(this.getFrom(), that.getFrom()); equalsBuilder.append(this.getTo(), that.getTo()); equalsBuilder.append(this.getKeepSrcElementName(), that.getKeepSrcElementName()); equalsBuilder.append(this.getIgnoreMissingFromData(), that.getIgnoreMissingFromData()); }
public void validate() { // validation log.finest("validate copy"); // unsupported element if((((TCopy)((BPELElementImpl)this.copy).getModel()).getKeepSrcElementName() != null) && ((TCopy)((BPELElementImpl)this.copy).getModel()).getKeepSrcElementName().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.copy, "In copy => [BPEL engine restriction] Sorry, but the keepSrcElementName attribute at yes is ignored for the moment")); } if((((TCopy)((BPELElementImpl)this.copy).getModel()).getIgnoreMissingFromData() != null) && ((TCopy)((BPELElementImpl)this.copy).getModel()).getIgnoreMissingFromData().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.copy, "In copy => [BPEL engine restriction] Sorry, but the ignoreMissingFromData attribute at yes is ignored for the moment")); } // validation if exist if(((TCopy)((BPELElementImpl)this.copy).getModel()).getFrom() == null) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.copy, new BPELException("In copy => the from element cannot be null"))); } if(((TCopy)((BPELElementImpl)this.copy).getModel()).getTo() == null) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.copy, new BPELException("In copy => the to element cannot be null"))); } }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TCopy copy = ((target == null)?((TCopy) createCopy()):((TCopy) target)); super.copyTo(copy, copyBuilder); { TFrom sourceFrom; sourceFrom = this.getFrom(); TFrom copyFrom = ((TFrom) copyBuilder.copy(sourceFrom)); copy.setFrom(copyFrom); } { TTo sourceTo; sourceTo = this.getTo(); TTo copyTo = ((TTo) copyBuilder.copy(sourceTo)); copy.setTo(copyTo); } { TBoolean sourceKeepSrcElementName; sourceKeepSrcElementName = this.getKeepSrcElementName(); TBoolean copyKeepSrcElementName = ((TBoolean) copyBuilder.copy(sourceKeepSrcElementName)); copy.setKeepSrcElementName(copyKeepSrcElementName); } { TBoolean sourceIgnoreMissingFromData; sourceIgnoreMissingFromData = this.getIgnoreMissingFromData(); TBoolean copyIgnoreMissingFromData = ((TBoolean) copyBuilder.copy(sourceIgnoreMissingFromData)); copy.setIgnoreMissingFromData(copyIgnoreMissingFromData); } return copy; }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TCopy copy = ((target == null)?((TCopy) createCopy()):((TCopy) target)); super.copyTo(copy, copyBuilder); { TFrom sourceFrom; sourceFrom = this.getFrom(); TFrom copyFrom = ((TFrom) copyBuilder.copy(sourceFrom)); copy.setFrom(copyFrom); } { TTo sourceTo; sourceTo = this.getTo(); TTo copyTo = ((TTo) copyBuilder.copy(sourceTo)); copy.setTo(copyTo); } { TBoolean sourceKeepSrcElementName; sourceKeepSrcElementName = this.getKeepSrcElementName(); TBoolean copyKeepSrcElementName = ((TBoolean) copyBuilder.copy(sourceKeepSrcElementName)); copy.setKeepSrcElementName(copyKeepSrcElementName); } { TBoolean sourceIgnoreMissingFromData; sourceIgnoreMissingFromData = this.getIgnoreMissingFromData(); TBoolean copyIgnoreMissingFromData = ((TBoolean) copyBuilder.copy(sourceIgnoreMissingFromData)); copy.setIgnoreMissingFromData(copyIgnoreMissingFromData); } return copy; }