Class DisplayRelatedSymbolsInfo
java.lang.Object
com.nomagic.magicdraw.uml.symbols.DisplayRelatedSymbolsInfo
Controls behavior of display related symbols functionality.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default related element search depth limit.static final boolean
Default is depth limited value.static final boolean
Default is package scope flag value.static final int
Default display relation type.static final int
Displays both clients and suppliers.static final int
Displays only clients.static final int
Displays only suppliers. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets depth limit value.Gets link types for display related elements functionality.int
Gets relation type flag value.boolean
Gets is create annotated elements flag value.boolean
Indicates if relationship clients should be created.static boolean
isCreateClients
(int relationType) Indicates if relationship clients should be created.boolean
Gets is create comments flag value.boolean
Gets is create containment flag value.boolean
Gets is create new symbols flag value.boolean
Indicates if relationship suppliers should be created.static boolean
isCreateSuppliers
(int relationType) Indicates if relationship suppliers should be created.boolean
Gets is depth limited flag value.boolean
Gets is in package scope flag value.void
setCreateAnnotatedElements
(boolean isCreateAnnotatedElements) Sets is create annotated elements flag value.void
setCreateComments
(boolean isCreateComments) Sets is create comments flag value.void
setCreateContainment
(boolean isCreateContainment) Sets is create containment flag value.void
setCreateNewSymbols
(boolean createNewSymbols) Sets create new symbols flag value.void
setDepthLimit
(int depthLimit) Sets depth limit value.void
setDepthLimited
(boolean isDepthLimited) Sets is depth limited flag value.void
setLinkTypes
(Set<LinkType> linkTypes) Sets link types for display related elements functionality.void
setPackageScope
(boolean isPackageScope) Sets is in package scope flag value.void
setRelationType
(int relationType) Sets relation type flag value.
-
Field Details
-
RELATION_TYPE_BOTH
public static final int RELATION_TYPE_BOTHDisplays both clients and suppliers.- See Also:
-
RELATION_TYPE_CLIENT
public static final int RELATION_TYPE_CLIENTDisplays only clients.- See Also:
-
RELATION_TYPE_SUPPLIER
public static final int RELATION_TYPE_SUPPLIERDisplays only suppliers.- See Also:
-
DEFAULT_RELATION_TYPE
public static final int DEFAULT_RELATION_TYPEDefault display relation type.- See Also:
-
DEFAULT_IS_PACKAGE_SCOPE
public static final boolean DEFAULT_IS_PACKAGE_SCOPEDefault is package scope flag value.- See Also:
-
DEFAULT_IS_DEPTH_LIMITED
public static final boolean DEFAULT_IS_DEPTH_LIMITEDDefault is depth limited value.- See Also:
-
DEFAULT_DEPTH_LIMIT
public static final int DEFAULT_DEPTH_LIMITDefault related element search depth limit.- See Also:
-
-
Constructor Details
-
DisplayRelatedSymbolsInfo
-
-
Method Details
-
isCreateClients
public static boolean isCreateClients(int relationType) Indicates if relationship clients should be created.- Parameters:
relationType
- value of relation type flag.- Returns:
- true if relationship clients should be created, false otherwise.
-
isCreateClients
public boolean isCreateClients()Indicates if relationship clients should be created.- Returns:
- true if relationship clients should be created, false otherwise.
-
isCreateSuppliers
public static boolean isCreateSuppliers(int relationType) Indicates if relationship suppliers should be created.- Parameters:
relationType
- value of relation type flag.- Returns:
- true if relationship suppliers should be created, false otherwise.
-
isCreateSuppliers
public boolean isCreateSuppliers()Indicates if relationship suppliers should be created.- Returns:
- true if relationship suppliers should be created, false otherwise.
-
getRelationType
public int getRelationType()Gets relation type flag value.- Returns:
- relation type flag value.
-
setRelationType
public void setRelationType(int relationType) Sets relation type flag value.- Parameters:
relationType
- relation type flag value.
-
getLinkTypes
Gets link types for display related elements functionality.- Returns:
- link types.
-
setLinkTypes
Sets link types for display related elements functionality.- Parameters:
linkTypes
- link types to set.
-
isPackageScope
public boolean isPackageScope()Gets is in package scope flag value.- Returns:
- is in package scope flag value.
-
setPackageScope
public void setPackageScope(boolean isPackageScope) Sets is in package scope flag value.- Parameters:
isPackageScope
- is in package scope flag value.
-
isDepthLimited
public boolean isDepthLimited()Gets is depth limited flag value.- Returns:
- is depth limited flag value.
-
setDepthLimited
public void setDepthLimited(boolean isDepthLimited) Sets is depth limited flag value.- Parameters:
isDepthLimited
- is depth limited flag value.
-
getDepthLimit
public int getDepthLimit()Gets depth limit value.- Returns:
- depth limit value.
-
setDepthLimit
public void setDepthLimit(int depthLimit) Sets depth limit value.- Parameters:
depthLimit
- depth limit value.
-
isCreateContainment
public boolean isCreateContainment()Gets is create containment flag value.- Returns:
- create containment flag value.
-
setCreateContainment
public void setCreateContainment(boolean isCreateContainment) Sets is create containment flag value.- Parameters:
isCreateContainment
- is create containment flag value.
-
isCreateComments
public boolean isCreateComments()Gets is create comments flag value.- Returns:
- is create comments flag value.
-
setCreateComments
public void setCreateComments(boolean isCreateComments) Sets is create comments flag value.- Parameters:
isCreateComments
- is create comments flag value.
-
isCreateAnnotatedElements
public boolean isCreateAnnotatedElements()Gets is create annotated elements flag value.- Returns:
- is create annotated elements flag value.
-
setCreateAnnotatedElements
public void setCreateAnnotatedElements(boolean isCreateAnnotatedElements) Sets is create annotated elements flag value.- Parameters:
isCreateAnnotatedElements
- is create annotated elements flag value.
-
isCreateNewSymbols
public boolean isCreateNewSymbols()Gets is create new symbols flag value.- Returns:
- is create new symbols flag value.
-
setCreateNewSymbols
public void setCreateNewSymbols(boolean createNewSymbols) Sets create new symbols flag value.- Parameters:
createNewSymbols
- create new symbols flag value.
-