Package com.nomagic.uml2
Class MagicDrawProfile.RelationMapStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.RelationMapStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.RelationMapStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile
_p
private Property
contextElement
static java.lang.String
CONTEXTELEMENT
private Property
cutElementNames
static java.lang.String
CUTELEMENTNAMES
Cut element names, if they are too long (the text exceeds reasonable length) and make the Relation Map difficult to read.private Property
depth
static java.lang.String
DEPTH
private Property
descriptionArea
static java.lang.String
DESCRIPTIONAREA
Specify the description of the Dependency Matrix.private Property
elementTypes
static java.lang.String
ELEMENTTYPES
private Property
expandedElements
static java.lang.String
EXPANDEDELEMENTS
private Property
filterAreaExpanded
static java.lang.String
FILTERAREAEXPANDED
private Property
groupingCriterion
static java.lang.String
GROUPINGCRITERION
private Property
includeCustomTypes
static java.lang.String
INCLUDECUSTOMTYPES
Select to include the custom types that extend the specified element types.private Property
includeSubtypes
static java.lang.String
INCLUDESUBTYPES
Select to include the subtypes of the specified element types.private Property
isInitialized
static java.lang.String
ISINITIALIZED
private Property
layout
static java.lang.String
LAYOUT
private Property
layoutData
static java.lang.String
LAYOUTDATA
private Property
makeSelectedAsContext
static java.lang.String
MAKESELECTEDASCONTEXT
private Property
possibleContextTypes
static java.lang.String
POSSIBLECONTEXTTYPES
private Property
relationCriterion
static java.lang.String
RELATIONCRITERION
private Property
removedElements
static java.lang.String
REMOVEDELEMENTS
private Property
scope
static java.lang.String
SCOPE
private Property
showAppliedStereotypes
static java.lang.String
SHOWAPPLIEDSTEREOTYPES
private Property
showContext
static java.lang.String
SHOWCONTEXT
private Property
showElementNumbers
static java.lang.String
SHOWELEMENTNUMBERS
Set to true to display element number before its name.private Property
showElementType
static java.lang.String
SHOWELEMENTTYPE
private Property
showFullTypes
static java.lang.String
SHOWFULLTYPES
private Property
showGrouping
static java.lang.String
SHOWGROUPING
private Property
showLegend
static java.lang.String
SHOWLEGEND
Show relationship type color legendprivate Property
showParameters
static java.lang.String
SHOWPARAMETERS
Show the parameters signatures of operation and behavior (Activity, StateMachine, Interaction, OpaqueBehavior) on symbols.private Property
showRelationCriterion
static java.lang.String
SHOWRELATIONCRITERION
private Property
showRelationStyles
static java.lang.String
SHOWRELATIONSTYLES
private Property
showScope
static java.lang.String
SHOWSCOPE
private Property
showSingleNodePerElement
static java.lang.String
SHOWSINGLENODEPERELEMENT
Show a single node per element when the graph has more than one representation of the same element in the Relation Map.static java.lang.String
STEREOTYPE_NAME
private Property
suppressedElements
static java.lang.String
SUPPRESSEDELEMENTS
-
Constructor Summary
Constructors Modifier Constructor Description protected
RelationMapStereotype(MagicDrawProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
SHOWAPPLIEDSTEREOTYPES
public static final java.lang.String SHOWAPPLIEDSTEREOTYPES
- See Also:
- Constant Field Values
-
CONTEXTELEMENT
public static final java.lang.String CONTEXTELEMENT
- See Also:
- Constant Field Values
-
CUTELEMENTNAMES
public static final java.lang.String CUTELEMENTNAMES
Cut element names, if they are too long (the text exceeds reasonable length) and make the Relation Map difficult to read.- See Also:
- Constant Field Values
-
DEPTH
public static final java.lang.String DEPTH
- See Also:
- Constant Field Values
-
DESCRIPTIONAREA
public static final java.lang.String DESCRIPTIONAREA
Specify the description of the Dependency Matrix.- See Also:
- Constant Field Values
-
ELEMENTTYPES
public static final java.lang.String ELEMENTTYPES
- See Also:
- Constant Field Values
-
EXPANDEDELEMENTS
public static final java.lang.String EXPANDEDELEMENTS
- See Also:
- Constant Field Values
-
FILTERAREAEXPANDED
public static final java.lang.String FILTERAREAEXPANDED
- See Also:
- Constant Field Values
-
GROUPINGCRITERION
public static final java.lang.String GROUPINGCRITERION
- See Also:
- Constant Field Values
-
INCLUDECUSTOMTYPES
public static final java.lang.String INCLUDECUSTOMTYPES
Select to include the custom types that extend the specified element types. For example, if you specify a Package as an element type, the custom types, such as a Smart Package, extending the Package will also be included.- See Also:
- Constant Field Values
-
INCLUDESUBTYPES
public static final java.lang.String INCLUDESUBTYPES
Select to include the subtypes of the specified element types. For example, if you specify a Package as an element type, its subtypes, such as a Model and Profile, will also be included.- See Also:
- Constant Field Values
-
ISINITIALIZED
public static final java.lang.String ISINITIALIZED
- See Also:
- Constant Field Values
-
LAYOUT
public static final java.lang.String LAYOUT
- See Also:
- Constant Field Values
-
LAYOUTDATA
public static final java.lang.String LAYOUTDATA
- See Also:
- Constant Field Values
-
MAKESELECTEDASCONTEXT
public static final java.lang.String MAKESELECTEDASCONTEXT
- See Also:
- Constant Field Values
-
POSSIBLECONTEXTTYPES
public static final java.lang.String POSSIBLECONTEXTTYPES
- See Also:
- Constant Field Values
-
RELATIONCRITERION
public static final java.lang.String RELATIONCRITERION
- See Also:
- Constant Field Values
-
REMOVEDELEMENTS
public static final java.lang.String REMOVEDELEMENTS
- See Also:
- Constant Field Values
-
SCOPE
public static final java.lang.String SCOPE
- See Also:
- Constant Field Values
-
SHOWCONTEXT
public static final java.lang.String SHOWCONTEXT
- See Also:
- Constant Field Values
-
SHOWELEMENTNUMBERS
public static final java.lang.String SHOWELEMENTNUMBERS
Set to true to display element number before its name.- See Also:
- Constant Field Values
-
SHOWELEMENTTYPE
public static final java.lang.String SHOWELEMENTTYPE
- See Also:
- Constant Field Values
-
SHOWFULLTYPES
public static final java.lang.String SHOWFULLTYPES
- See Also:
- Constant Field Values
-
SHOWGROUPING
public static final java.lang.String SHOWGROUPING
- See Also:
- Constant Field Values
-
SHOWLEGEND
public static final java.lang.String SHOWLEGEND
Show relationship type color legend- See Also:
- Constant Field Values
-
SHOWPARAMETERS
public static final java.lang.String SHOWPARAMETERS
Show the parameters signatures of operation and behavior (Activity, StateMachine, Interaction, OpaqueBehavior) on symbols.- See Also:
- Constant Field Values
-
SHOWRELATIONCRITERION
public static final java.lang.String SHOWRELATIONCRITERION
- See Also:
- Constant Field Values
-
SHOWRELATIONSTYLES
public static final java.lang.String SHOWRELATIONSTYLES
- See Also:
- Constant Field Values
-
SHOWSCOPE
public static final java.lang.String SHOWSCOPE
- See Also:
- Constant Field Values
-
SHOWSINGLENODEPERELEMENT
public static final java.lang.String SHOWSINGLENODEPERELEMENT
Show a single node per element when the graph has more than one representation of the same element in the Relation Map.- See Also:
- Constant Field Values
-
SUPPRESSEDELEMENTS
public static final java.lang.String SUPPRESSEDELEMENTS
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
showAppliedStereotypes
@CheckForNull private Property showAppliedStereotypes
-
contextElement
@CheckForNull private Property contextElement
-
cutElementNames
@CheckForNull private Property cutElementNames
-
depth
@CheckForNull private Property depth
-
descriptionArea
@CheckForNull private Property descriptionArea
-
elementTypes
@CheckForNull private Property elementTypes
-
expandedElements
@CheckForNull private Property expandedElements
-
filterAreaExpanded
@CheckForNull private Property filterAreaExpanded
-
groupingCriterion
@CheckForNull private Property groupingCriterion
-
includeCustomTypes
@CheckForNull private Property includeCustomTypes
-
includeSubtypes
@CheckForNull private Property includeSubtypes
-
isInitialized
@CheckForNull private Property isInitialized
-
layout
@CheckForNull private Property layout
-
layoutData
@CheckForNull private Property layoutData
-
makeSelectedAsContext
@CheckForNull private Property makeSelectedAsContext
-
possibleContextTypes
@CheckForNull private Property possibleContextTypes
-
relationCriterion
@CheckForNull private Property relationCriterion
-
removedElements
@CheckForNull private Property removedElements
-
scope
@CheckForNull private Property scope
-
showContext
@CheckForNull private Property showContext
-
showElementNumbers
@CheckForNull private Property showElementNumbers
-
showElementType
@CheckForNull private Property showElementType
-
showFullTypes
@CheckForNull private Property showFullTypes
-
showGrouping
@CheckForNull private Property showGrouping
-
showLegend
@CheckForNull private Property showLegend
-
showParameters
@CheckForNull private Property showParameters
-
showRelationCriterion
@CheckForNull private Property showRelationCriterion
-
showRelationStyles
@CheckForNull private Property showRelationStyles
-
showScope
@CheckForNull private Property showScope
-
showSingleNodePerElement
@CheckForNull private Property showSingleNodePerElement
-
suppressedElements
@CheckForNull private Property suppressedElements
-
-
Constructor Detail
-
RelationMapStereotype
protected RelationMapStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getShowAppliedStereotypesProperty
@CheckForNull public Property getShowAppliedStereotypesProperty()
-
getContextElementProperty
@CheckForNull public Property getContextElementProperty()
-
getCutElementNamesProperty
@CheckForNull public Property getCutElementNamesProperty()
-
getDepthProperty
@CheckForNull public Property getDepthProperty()
-
getDescriptionAreaProperty
@CheckForNull public Property getDescriptionAreaProperty()
-
getElementTypesProperty
@CheckForNull public Property getElementTypesProperty()
-
getExpandedElementsProperty
@CheckForNull public Property getExpandedElementsProperty()
-
getFilterAreaExpandedProperty
@CheckForNull public Property getFilterAreaExpandedProperty()
-
getGroupingCriterionProperty
@CheckForNull public Property getGroupingCriterionProperty()
-
getIncludeCustomTypesProperty
@CheckForNull public Property getIncludeCustomTypesProperty()
-
getIncludeSubtypesProperty
@CheckForNull public Property getIncludeSubtypesProperty()
-
getIsInitializedProperty
@CheckForNull public Property getIsInitializedProperty()
-
getLayoutProperty
@CheckForNull public Property getLayoutProperty()
-
getLayoutDataProperty
@CheckForNull public Property getLayoutDataProperty()
-
getMakeSelectedAsContextProperty
@CheckForNull public Property getMakeSelectedAsContextProperty()
-
getPossibleContextTypesProperty
@CheckForNull public Property getPossibleContextTypesProperty()
-
getRelationCriterionProperty
@CheckForNull public Property getRelationCriterionProperty()
-
getRemovedElementsProperty
@CheckForNull public Property getRemovedElementsProperty()
-
getScopeProperty
@CheckForNull public Property getScopeProperty()
-
getShowContextProperty
@CheckForNull public Property getShowContextProperty()
-
getShowElementNumbersProperty
@CheckForNull public Property getShowElementNumbersProperty()
-
getShowElementTypeProperty
@CheckForNull public Property getShowElementTypeProperty()
-
getShowFullTypesProperty
@CheckForNull public Property getShowFullTypesProperty()
-
getShowGroupingProperty
@CheckForNull public Property getShowGroupingProperty()
-
getShowLegendProperty
@CheckForNull public Property getShowLegendProperty()
-
getShowParametersProperty
@CheckForNull public Property getShowParametersProperty()
-
getShowRelationCriterionProperty
@CheckForNull public Property getShowRelationCriterionProperty()
-
getShowRelationStylesProperty
@CheckForNull public Property getShowRelationStylesProperty()
-
getShowScopeProperty
@CheckForNull public Property getShowScopeProperty()
-
getShowSingleNodePerElementProperty
@CheckForNull public Property getShowSingleNodePerElementProperty()
-
getSuppressedElementsProperty
@CheckForNull public Property getSuppressedElementsProperty()
-
setShowAppliedStereotypes
public void setShowAppliedStereotypes(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowAppliedStereotypes
public void clearShowAppliedStereotypes(Element element)
-
isShowAppliedStereotypes
@CheckForNull public java.lang.Boolean isShowAppliedStereotypes(Element element)
-
clearContextElement
public void clearContextElement(Element element)
-
setCutElementNames
public void setCutElementNames(Element element, @CheckForNull java.lang.Boolean value)
-
clearCutElementNames
public void clearCutElementNames(Element element)
-
isCutElementNames
@CheckForNull public java.lang.Boolean isCutElementNames(Element element)
-
setDepth
public void setDepth(Element element, @CheckForNull java.lang.Integer value)
-
clearDepth
public void clearDepth(Element element)
-
getDepth
@CheckForNull public java.lang.Integer getDepth(Element element)
-
setDescriptionArea
public void setDescriptionArea(Element element, @CheckForNull java.lang.String value)
-
clearDescriptionArea
public void clearDescriptionArea(Element element)
-
getDescriptionArea
@CheckForNull public java.lang.String getDescriptionArea(Element element)
-
setElementTypes
public void setElementTypes(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearElementTypes
public void clearElementTypes(Element element)
-
setExpandedElements
public void setExpandedElements(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearExpandedElements
public void clearExpandedElements(Element element)
-
addExpandedElements
public void addExpandedElements(Element element, java.lang.String value)
-
removeExpandedElements
public void removeExpandedElements(Element element, java.lang.String value)
-
getExpandedElements
public java.util.List<java.lang.String> getExpandedElements(Element element)
-
setFilterAreaExpanded
public void setFilterAreaExpanded(Element element, @CheckForNull java.lang.Boolean value)
-
clearFilterAreaExpanded
public void clearFilterAreaExpanded(Element element)
-
isFilterAreaExpanded
@CheckForNull public java.lang.Boolean isFilterAreaExpanded(Element element)
-
setGroupingCriterion
public void setGroupingCriterion(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearGroupingCriterion
public void clearGroupingCriterion(Element element)
-
addGroupingCriterion
public void addGroupingCriterion(Element element, java.lang.String value)
-
removeGroupingCriterion
public void removeGroupingCriterion(Element element, java.lang.String value)
-
getGroupingCriterion
public java.util.List<java.lang.String> getGroupingCriterion(Element element)
-
setIncludeCustomTypes
public void setIncludeCustomTypes(Element element, @CheckForNull java.lang.Boolean value)
-
clearIncludeCustomTypes
public void clearIncludeCustomTypes(Element element)
-
isIncludeCustomTypes
@CheckForNull public java.lang.Boolean isIncludeCustomTypes(Element element)
-
setIncludeSubtypes
public void setIncludeSubtypes(Element element, @CheckForNull java.lang.Boolean value)
-
clearIncludeSubtypes
public void clearIncludeSubtypes(Element element)
-
isIncludeSubtypes
@CheckForNull public java.lang.Boolean isIncludeSubtypes(Element element)
-
setIsInitialized
public void setIsInitialized(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsInitialized
public void clearIsInitialized(Element element)
-
isIsInitialized
@CheckForNull public java.lang.Boolean isIsInitialized(Element element)
-
setLayout
public void setLayout(Element element, @CheckForNull MagicDrawProfile.relationMapLayoutEnumerationEnum value)
-
clearLayout
public void clearLayout(Element element)
-
getLayout
@CheckForNull public MagicDrawProfile.relationMapLayoutEnumerationEnum getLayout(Element element)
-
setLayoutData
public void setLayoutData(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearLayoutData
public void clearLayoutData(Element element)
-
addLayoutData
public void addLayoutData(Element element, java.lang.String value)
-
removeLayoutData
public void removeLayoutData(Element element, java.lang.String value)
-
getLayoutData
public java.util.List<java.lang.String> getLayoutData(Element element)
-
setMakeSelectedAsContext
public void setMakeSelectedAsContext(Element element, @CheckForNull java.lang.Boolean value)
-
clearMakeSelectedAsContext
public void clearMakeSelectedAsContext(Element element)
-
isMakeSelectedAsContext
@CheckForNull public java.lang.Boolean isMakeSelectedAsContext(Element element)
-
setPossibleContextTypes
public void setPossibleContextTypes(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearPossibleContextTypes
public void clearPossibleContextTypes(Element element)
-
setRelationCriterion
public void setRelationCriterion(Element element, @CheckForNull java.util.Collection<java.lang.Object> value)
-
clearRelationCriterion
public void clearRelationCriterion(Element element)
-
addRelationCriterion
public void addRelationCriterion(Element element, java.lang.Object value)
-
removeRelationCriterion
public void removeRelationCriterion(Element element, java.lang.Object value)
-
getRelationCriterion
public java.util.List<java.lang.Object> getRelationCriterion(Element element)
-
setRemovedElements
public void setRemovedElements(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearRemovedElements
public void clearRemovedElements(Element element)
-
addRemovedElements
public void addRemovedElements(Element element, java.lang.String value)
-
removeRemovedElements
public void removeRemovedElements(Element element, java.lang.String value)
-
getRemovedElements
public java.util.List<java.lang.String> getRemovedElements(Element element)
-
setScope
public void setScope(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearScope
public void clearScope(Element element)
-
setShowContext
public void setShowContext(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowContext
public void clearShowContext(Element element)
-
isShowContext
@CheckForNull public java.lang.Boolean isShowContext(Element element)
-
setShowElementNumbers
public void setShowElementNumbers(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowElementNumbers
public void clearShowElementNumbers(Element element)
-
isShowElementNumbers
@CheckForNull public java.lang.Boolean isShowElementNumbers(Element element)
-
setShowElementType
public void setShowElementType(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowElementType
public void clearShowElementType(Element element)
-
isShowElementType
@CheckForNull public java.lang.Boolean isShowElementType(Element element)
-
setShowFullTypes
public void setShowFullTypes(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowFullTypes
public void clearShowFullTypes(Element element)
-
isShowFullTypes
@CheckForNull public java.lang.Boolean isShowFullTypes(Element element)
-
setShowGrouping
public void setShowGrouping(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGrouping
public void clearShowGrouping(Element element)
-
isShowGrouping
@CheckForNull public java.lang.Boolean isShowGrouping(Element element)
-
setShowLegend
public void setShowLegend(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowLegend
public void clearShowLegend(Element element)
-
isShowLegend
@CheckForNull public java.lang.Boolean isShowLegend(Element element)
-
setShowParameters
public void setShowParameters(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowParameters
public void clearShowParameters(Element element)
-
isShowParameters
@CheckForNull public java.lang.Boolean isShowParameters(Element element)
-
setShowRelationCriterion
public void setShowRelationCriterion(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowRelationCriterion
public void clearShowRelationCriterion(Element element)
-
isShowRelationCriterion
@CheckForNull public java.lang.Boolean isShowRelationCriterion(Element element)
-
setShowRelationStyles
public void setShowRelationStyles(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowRelationStyles
public void clearShowRelationStyles(Element element)
-
isShowRelationStyles
@CheckForNull public java.lang.Boolean isShowRelationStyles(Element element)
-
setShowScope
public void setShowScope(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowScope
public void clearShowScope(Element element)
-
isShowScope
@CheckForNull public java.lang.Boolean isShowScope(Element element)
-
setShowSingleNodePerElement
public void setShowSingleNodePerElement(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowSingleNodePerElement
public void clearShowSingleNodePerElement(Element element)
-
isShowSingleNodePerElement
@CheckForNull public java.lang.Boolean isShowSingleNodePerElement(Element element)
-
setSuppressedElements
public void setSuppressedElements(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearSuppressedElements
public void clearSuppressedElements(Element element)
-
addSuppressedElements
public void addSuppressedElements(Element element, java.lang.String value)
-
removeSuppressedElements
public void removeSuppressedElements(Element element, java.lang.String value)
-
getSuppressedElements
public java.util.List<java.lang.String> getSuppressedElements(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
Description copied from class:ProfileImplementation.StereotypeWrapper
Checks if stereotype of this wrapper is applied to given element.- Parameters:
element
- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-