Interface BPDiaTaskNode
-
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,BPDiaFlowNode,BPDiaMessageFlowNode,BPDiaSequenceFlowNode,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMFormatAble,PRDiaNode,PRPresContent,PRPresElement
- All Known Subinterfaces:
BPDiaMaskTaskNode
public interface BPDiaTaskNode extends BPDiaMessageFlowNode, BPDiaSequenceFlowNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBPDiaTaskNode.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcorrectOwnedProcessViewContent()If the node is a call activity which contains a reference to the process called, it makes the view a correct but not necessarily complete copy of the current master view.BPDiaProcessViewNodegetCalledProcessViewNode()java.util.List<BPDiaEventNode>getOwnedBoundaryEventNode(K_CONTROL_OPTION... behaviourFlags)All boundary event nodes of theBPDiaTaskNode.<T extends BPDiaTaskNode>
java.util.List<T>getOwnedCallActivityNodes(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)All call activity nodes contained at the next level below the activity node.java.util.List<BPDiaMaskNode>getOwnedMaskNode(K_CONTROL_OPTION... behaviourFlags)All mask node of theBPDiaTaskNode.booleanisOwnedProcessViewCompletelyMaintained()Returns TRUE if the node is a call activity which contains a reference to the process called and if all model elements contained in the element being displayed by the view have a presentation element.booleanisOwnedProcessViewCorrect()Returns true if the node is a call activity which contains a reference to the process called and if the hierarchy of the model elements is displayed correctly.booleanisOwnedProcessViewCorrectAndComplete()booleanisOwnedProcessViewMaster()True if it contains a master process view node.voidletOwnedProcessViewBecomeMaster()ARG_BPDiaMasterDiaWithViewmoveContainedMasterToNewDiagram()If the node is a call activity which contains a reference to the process called, it creates a new diagram of the same stereotype the diagram of the view to be moved has.voidrebuildOwnedProcessViewExactlyFromMaster()If the node is a call activity which contains a reference to the process called, it makes this view a perfect copy of the current master view.BPDiaSubProcessNoderefactorCallAndProcessAsSubProcess()Creates a new sub process containing the elements of the process.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2bpdia.BPDiaFlowNode
getOwnedViewElementTransitiveDownByOrder, getOwningGroupNode
-
Methods inherited from interface de.mid.innovator.srv2api.icw2bpdia.BPDiaSequenceFlowNode
getOwningChoreographyViewNode, getOwningLaneNode, getOwningProcessViewNode, getOwningSubProcessNode
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormat
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRDiaNode
collapse, expand, getDiagram, getExpandedNodeRoot, getExpandedPresContext, getOnFramePositionSpecification, getOrientation, getOwningFrameNode, getPosition, getPositionAbsolute, getPresContainer, getSize, getTextPositionAbsolute, getXClientNode, hasEmbeddedContent, isExpanded, setCoord, setEmbeddedContent, setPosition, setSize
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresContent
getIncoming, getMEModelElement, getModelContainer, getOutgoing, getOwnedPresContent, getOwningPresContent, getOwningPresContext, getOwningPresElement, getPresentationLevel, getTextPosition, getTextSize, setPresentationLevel, setTextCoord, setTextPosition, setTextSize
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresElement
getOpacity, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setOpacity, setPresColor
-
-
-
-
Method Detail
-
isOwnedProcessViewCorrectAndComplete
boolean isOwnedProcessViewCorrectAndComplete() throws InoNetException, SrvErrorExceptionTrue if the node is a call activity which contains a reference to the process called and if the view is correct and complete.- Throws:
InoNetExceptionSrvErrorException
-
isOwnedProcessViewCompletelyMaintained
boolean isOwnedProcessViewCompletelyMaintained() throws InoNetException, SrvErrorExceptionReturns TRUE if the node is a call activity which contains a reference to the process called and if all model elements contained in the element being displayed by the view have a presentation element.- Throws:
InoNetExceptionSrvErrorException
-
isOwnedProcessViewCorrect
boolean isOwnedProcessViewCorrect() throws InoNetException, SrvErrorExceptionReturns true if the node is a call activity which contains a reference to the process called and if the hierarchy of the model elements is displayed correctly. There may be missing model elements but if they are displayed, they have to be displayed with their correct owners.- Throws:
InoNetExceptionSrvErrorException
-
isOwnedProcessViewMaster
boolean isOwnedProcessViewMaster() throws InoNetException, SrvErrorExceptionTrue if it contains a master process view node.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedCallActivityNodes
<T extends BPDiaTaskNode> java.util.List<T> getOwnedCallActivityNodes(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All call activity nodes contained at the next level below the activity node.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
correctOwnedProcessViewContent
void correctOwnedProcessViewContent() throws InoNetException, SrvErrorExceptionIf the node is a call activity which contains a reference to the process called, it makes the view a correct but not necessarily complete copy of the current master view.- Throws:
InoNetExceptionSrvErrorException
-
letOwnedProcessViewBecomeMaster
void letOwnedProcessViewBecomeMaster() throws InoNetException, SrvErrorExceptionIf the node is a call activity which contains a reference to the process called, declare the view to be the one and only master view. The current master view will become a normal view, but before this view checks if it is complete and if it is not, it copies the current master view exactly.- Throws:
InoNetExceptionSrvErrorException
-
moveContainedMasterToNewDiagram
ARG_BPDiaMasterDiaWithView moveContainedMasterToNewDiagram() throws InoNetException, SrvErrorException
If the node is a call activity which contains a reference to the process called, it creates a new diagram of the same stereotype the diagram of the view to be moved has.- Throws:
InoNetExceptionSrvErrorException
-
rebuildOwnedProcessViewExactlyFromMaster
void rebuildOwnedProcessViewExactlyFromMaster() throws InoNetException, SrvErrorExceptionIf the node is a call activity which contains a reference to the process called, it makes this view a perfect copy of the current master view.- Throws:
InoNetExceptionSrvErrorException
-
refactorCallAndProcessAsSubProcess
BPDiaSubProcessNode refactorCallAndProcessAsSubProcess() throws InoNetException, SrvErrorException
Creates a new sub process containing the elements of the process. If the process is called by any other element or used by any other element the command is forbidden. The process must not contain any lanes.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedBoundaryEventNode
java.util.List<BPDiaEventNode> getOwnedBoundaryEventNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All boundary event nodes of theBPDiaTaskNode.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedMaskNode
java.util.List<BPDiaMaskNode> getOwnedMaskNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All mask node of theBPDiaTaskNode.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getCalledProcessViewNode
BPDiaProcessViewNode getCalledProcessViewNode() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
-