Interface DMRelation
- All Superinterfaces:
ADClientAble, ADFindAble, ADHistoryAble, ADM2AttrModifyAble, DMExpression, DMNElement, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELObject, ELUUIDAble, ELValueContainerAble, MEModelElement, MMAttachmentAble, MMLabelAble, MMLabelTextAttachmentAble, MMTextAble
A
DMRelation is convenient shorthand for a list of similar contexts. A DMRelation has a column instead of repeated context entrys, and a DMList is used for every row, with one of the List's expression for each column value.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaddColumn(DMInformationItem ohItem, String name, boolean isMaintaining) Creates a newDMInformationItemas column of thisDMRelation.addRowList(DMList ohRow, boolean isMaintaining) Creates a newDMListas row of thisDMRelation.getOwnedColumns(K_CONTROL_OPTION... behaviourFlags) This attributes lists the instances ofDMInformationItemthat define the columns in thisDMRelation.getOwnedRows(K_CONTROL_OPTION... behaviourFlags) This attributes lists the instances ofDMListthat compose the rows of thisDMRelation.Methods 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 ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface DMExpression
getCallingInvocationMethods inherited from interface DMNElement
getBoxedExpressionClientMethods 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 ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Method Details
-
addColumn
DMInformationItem addColumn(DMInformationItem ohItem, String name, boolean isMaintaining) throws InoNetException, SrvErrorException Creates a newDMInformationItemas column of thisDMRelation. The new column is placed after the specified column or at the end otherwise. The name of column is checked or if empty an unique name is used.- Parameters:
ohItem- the new information item is created after this item or at the end otherwisename- name of the new information itemisMaintaining- true create additional elements- Throws:
InoNetExceptionSrvErrorException
-
addRowList
Creates a newDMListas row of thisDMRelation. The new row is placed after the specified row or at the end otherwise.- Parameters:
ohRow- the new row list is created after this row or at the end otherwiseisMaintaining- true create additional elements- Throws:
InoNetExceptionSrvErrorException
-
getOwnedRows
List<DMList> getOwnedRows(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException This attributes lists the instances ofDMListthat compose the rows of thisDMRelation.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
getOwnedColumns
List<DMInformationItem> getOwnedColumns(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException This attributes lists the instances ofDMInformationItemthat define the columns in thisDMRelation.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-