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 class
BPDiaTaskNode.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
correctOwnedProcessViewContent()
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.BPDiaProcessViewNode
getCalledProcessViewNode()
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
.boolean
isOwnedProcessViewCompletelyMaintained()
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.boolean
isOwnedProcessViewCorrect()
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.boolean
isOwnedProcessViewCorrectAndComplete()
boolean
isOwnedProcessViewMaster()
True if it contains a master process view node.void
letOwnedProcessViewBecomeMaster()
ARG_BPDiaMasterDiaWithView
moveContainedMasterToNewDiagram()
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.void
rebuildOwnedProcessViewExactlyFromMaster()
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.BPDiaSubProcessNode
refactorCallAndProcessAsSubProcess()
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, SrvErrorException
True if the node is a call activity which contains a reference to the process called and if the view is correct and complete.- Throws:
InoNetException
SrvErrorException
-
isOwnedProcessViewCompletelyMaintained
boolean isOwnedProcessViewCompletelyMaintained() throws InoNetException, SrvErrorException
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.- Throws:
InoNetException
SrvErrorException
-
isOwnedProcessViewCorrect
boolean isOwnedProcessViewCorrect() throws InoNetException, SrvErrorException
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. There may be missing model elements but if they are displayed, they have to be displayed with their correct owners.- Throws:
InoNetException
SrvErrorException
-
isOwnedProcessViewMaster
boolean isOwnedProcessViewMaster() throws InoNetException, SrvErrorException
True if it contains a master process view node.- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
correctOwnedProcessViewContent
void correctOwnedProcessViewContent() throws InoNetException, SrvErrorException
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.- Throws:
InoNetException
SrvErrorException
-
letOwnedProcessViewBecomeMaster
void letOwnedProcessViewBecomeMaster() throws InoNetException, SrvErrorException
If 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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
rebuildOwnedProcessViewExactlyFromMaster
void rebuildOwnedProcessViewExactlyFromMaster() throws InoNetException, SrvErrorException
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.- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
getCalledProcessViewNode
BPDiaProcessViewNode getCalledProcessViewNode() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
-