Class DisplayRelatedSymbolsInfo
java.lang.Object
com.nomagic.magicdraw.uml.symbols.DisplayRelatedSymbolsInfo
Controls behavior of display related symbols functionality.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault related element search depth limit.static final booleanDefault is depth limited value.static final booleanDefault is package scope flag value.static final intDefault display relation type.static final intDisplays both clients and suppliers.static final intDisplays only clients.static final intDisplays only suppliers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets depth limit value.Gets link types for display related elements functionality.intGets relation type flag value.booleanGets is create annotated elements flag value.booleanIndicates if relationship clients should be created.static booleanisCreateClients(int relationType) Indicates if relationship clients should be created.booleanGets is create comments flag value.booleanGets is create containment flag value.booleanGets is create new symbols flag value.booleanIndicates if relationship suppliers should be created.static booleanisCreateSuppliers(int relationType) Indicates if relationship suppliers should be created.booleanGets is depth limited flag value.booleanGets is in package scope flag value.voidsetCreateAnnotatedElements(boolean isCreateAnnotatedElements) Sets is create annotated elements flag value.voidsetCreateComments(boolean isCreateComments) Sets is create comments flag value.voidsetCreateContainment(boolean isCreateContainment) Sets is create containment flag value.voidsetCreateNewSymbols(boolean createNewSymbols) Sets create new symbols flag value.voidsetDepthLimit(int depthLimit) Sets depth limit value.voidsetDepthLimited(boolean isDepthLimited) Sets is depth limited flag value.voidsetLinkTypes(Set<LinkType> linkTypes) Sets link types for display related elements functionality.voidsetPackageScope(boolean isPackageScope) Sets is in package scope flag value.voidsetRelationType(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.
-