public Boolean getMustUnderstand() { Boolean res = null; if(this.model.getMustUnderstand() != null) { if(this.model.getMustUnderstand().equals(TBoolean.YES) ) { res = true; } else { res = false; } } return res; }
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 boolean getCreateInstance() { boolean res = false; if((this.model.getCreateInstance() != null) && this.model.getCreateInstance().equals(TBoolean.YES)) { res = true; } else { res = false; } return res; }
@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 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"))); } }
@Override public void validate() { // validation if((((TAssign)((BPELElementImpl)this.getActivity()).getModel()).getValidate() != null) && ((TAssign)((BPELElementImpl)this.getActivity()).getModel()).getValidate().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In assign " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the validate attribute at yes is ignored for the moment")); } if((((TAssign)((BPELElementImpl)this.getActivity()).getModel()).getCopyOrExtensionAssignOperation() == null) || (((TAssign)((BPELElementImpl)this.getActivity()).getModel()).getCopyOrExtensionAssignOperation().size() == 0)) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In assign " + this.getActivity().getName() + " => the assign MUST have at less one copy"))); } }
((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getParallel().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In ForEach => [BPEL engine restriction] Sorry, but the parrallel attribute at YES is not supported and so, it will be ignored."));
if(((TScope)((BPELElementImpl)this.getActivity()).getModel()).getIsolated().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In receive " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the attribute isolated to yes is currently ignored."));