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
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaddDiaNodes(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, Point offset) addEdgeForResourceRel(BRResourceRel ohResourceRel, Class<? extends ELObject> kVOclPres, BRDiaResourceNode ohNodeSrc, BRDiaResourceNode ohNodeTrg, boolean ifExistsDontAdd) addNodeForResource(BRResource ohResource, Class<? extends ELObject> kVOclPres, boolean allowMultiple, Point position, Point size) addResourceRelationship(List<? extends BRDiaResourceNode> seqNode, List<? extends BRResourceRel> seqSel, boolean isDirParent, boolean addNode) getNodeForResource(BRResource refObj) <T extends BRDiaResourceEdge>
List<T> getOwnedResourceEdge(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The resource edges in thisBRDia.The resource nodes in thisBRDia.<T extends BRResource>
List<T> getResourceInDia(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Returns a unique list of all business resources being displayed in theBRDia.<T extends BRResource>
List<T> getResourceInDia(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 ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRoleMethods inherited from interface ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlockMethods inherited from interface ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface ADOptionAble
getOwnedOption, modifyOptionDlgMethods inherited from interface ADReferenceAble
getReferenceContainer, setReferenceContainerMethods inherited from interface ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfoMethods inherited from interface ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface ELDeleteAble
deleteMethods inherited from interface ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface ELPictureAble
getOwnedPicture, getOwnedPictures, getPictureRawData, pictureSetRawDataMethods inherited from interface ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormatMethods inherited from interface MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods inherited from interface MMMenuAble
getMenu, getMenuItem, getMenuItemsForTransformMethods inherited from interface MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getExtendingStereotype, getExtendingStereotypeNames, 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, setExtendingStereotype, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAbleMethods inherited from interface MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlgMethods inherited from interface PRDia
addAbleDiaEdge, addEdgeAndTargetNode, addEdgesAndTargetNodes, getAddAbleDiaEdge, getAddEdgeAndTargetNodeList, getDiaWhiteboardNode, getOwnedAnnotations, getOwnedCalloutNode, getOwnedDiaAttachmentNode, getOwnedDiaNote, getOwnedFrameNode, getSVGPictureRawData, getXClientForSVG, setDiaFilterCriteria, setSVGPictureRawDataMethods inherited from interface PRPresContext
getContextFormat, getContextValue, getCopy, getCopyToFile, getHorPage, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginUnit, getModelElementOfTransitiveOwnedPresentationElement, getModelElementOfTransitiveOwnedPresentationElement, getOrientation, getOwnedFooterText, getOwnedHeaderText, getOwnedPresContent, getPageBreakX, getPageBreakY, getPageOrder, getPageView, getVerPage, getXClient, getXClientContentModelElementList, getXClientContentModelElementList, getXClientHash, isPageViewActive, pageView, paste, pasteFromFile, setContextFormat, setContextValue, setHorPage, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOrientation, setPageViewActive, setVerPageMethods inherited from interface PRPresElement
getDiagramTagValue, getOpacity, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setDiagramTagValue, setOpacity, setPresColorMethods inherited from interface PRVersionAbleDia
getMEModelName, isMapped, setMapped
-
Method Details
-
getResourceInDia
<T extends BRResource> List<T> getResourceInDia(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:
InoNetExceptionSrvErrorException
-
getResourceInDia
<T extends BRResource> List<T> getResourceInDia(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:
InoNetExceptionSrvErrorException
-
getNodeForResource
List<BRDiaResourceNode> getNodeForResource(BRResource refObj) throws InoNetException, SrvErrorException - Parameters:
refObj- A further instance of type BRResource which is used to control the behaviour of the method. (see description above)- Throws:
InoNetExceptionSrvErrorException
-
addDiaNodes
List<PRDiaNode> addDiaNodes(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, 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:
InoNetExceptionSrvErrorException
-
addEdgeForResourceRel
BRDiaResourceEdge addEdgeForResourceRel(BRResourceRel ohResourceRel, 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:
InoNetExceptionSrvErrorException
-
addNodeForResource
BRDiaResourceNode addNodeForResource(BRResource ohResource, Class<? extends ELObject> kVOclPres, boolean allowMultiple, Point position, 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:
InoNetExceptionSrvErrorException
-
addResourceRelationship
List<BRDiaResourceEdge> addResourceRelationship(List<? extends BRDiaResourceNode> seqNode, 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:
InoNetExceptionSrvErrorException
-
getOwnedResourceEdge
<T extends BRDiaResourceEdge> List<T> getOwnedResourceEdge(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:
InoNetExceptionSrvErrorException
-
getOwnedResourceNode
The resource nodes in thisBRDia.- Throws:
InoNetExceptionSrvErrorException
-