Interface BRDia
-
- All Superinterfaces:
ADAccessAble
,ADClientAble
,ADFindAble
,ADHistoryAble
,ADLockAble
,ADM2AttrModifyAble
,ADOptionAble
,ADReferenceAble
,ADVersionAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELPictureAble
,ELUUIDAble
,ELValueContainerAble
,MMAttachmentAble
,MMCommentContainerAble
,MMFormatAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMMenuAble
,MMStereotypeAble
,MMTextAble
,PRDia
,PRPresContext
,PRPresElement
,PRVersionAbleDia
public interface BRDia extends PRVersionAbleDia
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BRDia.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<PRDiaNode>
addDiaNodes(java.lang.Class<? extends ELObject> kVOclModel, java.lang.Class<? extends ELObject> kVOclPres, java.util.List<? extends ADClientAble> adds, java.awt.Point position, java.awt.Point size, java.awt.Point offset)
BRDiaResourceEdge
addEdgeForResourceRel(BRResourceRel ohResourceRel, java.lang.Class<? extends ELObject> kVOclPres, BRDiaResourceNode ohNodeSrc, BRDiaResourceNode ohNodeTrg, boolean ifExistsDontAdd)
BRDiaResourceNode
addNodeForResource(BRResource ohResource, java.lang.Class<? extends ELObject> kVOclPres, boolean allowMultiple, java.awt.Point position, java.awt.Point size)
java.util.List<BRDiaResourceEdge>
addResourceRelationship(java.util.List<? extends BRDiaResourceNode> seqNode, java.util.List<? extends BRResourceRel> seqSel, boolean isDirParent, boolean addNode)
java.util.List<BRDiaResourceNode>
getNodeForResource(BRResource refObj, K_CONTROL_OPTION... behaviourFlags)
<T extends BRDiaResourceEdge>
java.util.List<T>getOwnedResourceEdge(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
The resource edges in thisBRDia
.java.util.List<BRDiaResourceNode>
getOwnedResourceNode(K_CONTROL_OPTION... behaviourFlags)
The resource nodes in thisBRDia
.<T extends BRDiaTextNode>
java.util.List<T>getOwnedTextNode(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
The text nodes in thisBRDia
.<T extends BRResource>
java.util.List<T>getResourceInDia(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
Returns a unique list of all business resources being displayed in theBRDia
.<T extends BRResource>
java.util.List<T>getResourceInDia(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getResourceInDia and filters its return values according to the given stereotype value.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
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.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainer
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPictureAble
getOwnedPicture, getPictureRawData, pictureSetRawData
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormat
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuAble
getMenu, getMenuItem, getMenuItemsForTransform
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRDia
addAbleDiaEdge, addEdgeAndTargetNode, addEdgesAndTargetNodes, getAddAbleDiaEdge, getAddEdgeAndTargetNodeList, getDiaWhiteboardNode, getOwnedAnnotations, getOwnedCalloutNode, getOwnedDiaAttachmentNode, getOwnedDiaNote, getOwnedFrameNode, setDiaFilterCriteria
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresContext
getContextValue, getCopy, getCopyToFile, getFormat, getHorPage, getLayout, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginUnit, getModelElementOfTransitiveOwnedPresentationElement, getModelElementOfTransitiveOwnedPresentationElement, getOrientation, getOwnedFooterText, getOwnedHeaderText, getOwnedPresContent, getPageBreakX, getPageBreakY, getPageOrder, getPageView, getVerPage, getXClient, getXClientContentModelElementList, getXClientContentModelElementList, getXClientHash, isPageViewActive, layout, pageView, paste, pasteFromFile, setContextValue, setFormat, setHorPage, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOrientation, setPageViewActive, setVerPage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresElement
getOpacity, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setOpacity, setPresColor
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRVersionAbleDia
getMEModelName, getVersionAbleDiaClientDependency, getVersionAbleDiaSupplierDependency, isMapped, setMapped
-
-
-
-
Method Detail
-
getResourceInDia
<T extends BRResource> java.util.List<T> getResourceInDia(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Returns a unique list of all business resources being displayed in theBRDia
.- 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
-
getResourceInDia
<T extends BRResource> java.util.List<T> getResourceInDia(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getResourceInDia and filters its return values according to the given stereotype value.- Parameters:
returnType
- Specifies the type of elements to be returned.stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getNodeForResource
java.util.List<BRDiaResourceNode> getNodeForResource(BRResource refObj, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
refObj
- A further instance of type BRResource which is used to control the behaviour of the method. (see description above)behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
addDiaNodes
java.util.List<PRDiaNode> addDiaNodes(java.lang.Class<? extends ELObject> kVOclModel, java.lang.Class<? extends ELObject> kVOclPres, java.util.List<? extends ADClientAble> adds, java.awt.Point position, java.awt.Point size, java.awt.Point offset) throws InoNetException, SrvErrorException
- Parameters:
kVOclModel
- Type of the model element to be addedkVOclPres
- Type of the presentation element to be createdadds
- List of the elements to be addedposition
- Position of the first created nodesize
- Size of the first created nodeoffset
- Position offset, if more than one node is created- Throws:
InoNetException
SrvErrorException
-
addEdgeForResourceRel
BRDiaResourceEdge addEdgeForResourceRel(BRResourceRel ohResourceRel, java.lang.Class<? extends ELObject> kVOclPres, BRDiaResourceNode ohNodeSrc, BRDiaResourceNode ohNodeTrg, boolean ifExistsDontAdd) throws InoNetException, SrvErrorException
Adds an resource relationship edge representing a business resource relationship to the diagram. The source node and the target node have to be specified since the source resource and the target resource of the business resource relationship may have more than one representation in the diagram.- Parameters:
ohResourceRel
- Model Element to be addedkVOclPres
- Type of the new edgeohNodeSrc
- source nodeohNodeTrg
- target nodeifExistsDontAdd
- if true and if the edge does already exist, the existing edge is taken- Throws:
InoNetException
SrvErrorException
-
addNodeForResource
BRDiaResourceNode addNodeForResource(BRResource ohResource, java.lang.Class<? extends ELObject> kVOclPres, boolean allowMultiple, java.awt.Point position, java.awt.Point size) throws InoNetException, SrvErrorException
- Parameters:
ohResource
- Business resource to be added as nodekVOclPres
- Type of the new nodeallowMultiple
- If true, more than one node of the resource is allowedposition
- Position of the new nodesize
- Size of the new node- Throws:
InoNetException
SrvErrorException
-
addResourceRelationship
java.util.List<BRDiaResourceEdge> addResourceRelationship(java.util.List<? extends BRDiaResourceNode> seqNode, java.util.List<? extends BRResourceRel> seqSel, boolean isDirParent, boolean addNode) throws InoNetException, SrvErrorException
- Parameters:
seqNode
- List of selected nodesseqSel
- List of selected relationshipsisDirParent
- isTrue/isFalse means Edges to parent/sonaddNode
- isTrue, if nodes may be added- Throws:
InoNetException
SrvErrorException
-
getOwnedResourceEdge
<T extends BRDiaResourceEdge> java.util.List<T> getOwnedResourceEdge(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The resource edges in thisBRDia
.- 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
-
getOwnedResourceNode
java.util.List<BRDiaResourceNode> getOwnedResourceNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The resource nodes in thisBRDia
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOwnedTextNode
<T extends BRDiaTextNode> java.util.List<T> getOwnedTextNode(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The text nodes in thisBRDia
.- 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
-
-