Class FlowsLibrary
java.lang.Object
com.dassault_systemes.modeler.foundation.project.service.ModelElementProjectService<ModelElementProject>
com.dassault_systemes.modeler.kerml.libraries.AbstractLibrary
com.dassault_systemes.modeler.sysml.libraries.standard.FlowsLibrary
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.project.service.DisposableService
Access helper for the flows standard library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper for the flows flow usage library element.static classWrapper for the message action flow definition library element.static classWrapper for the message flow definition library element.static classWrapper for the messages flow usage library element.static classWrapper for the succession flows flow usage library element. -
Constructor Summary
ConstructorsConstructorDescriptionFlowsLibrary(ModelElementProject project) Creates a new flows library instance. -
Method Summary
Modifier and TypeMethodDescriptionflows()Returns flows.static FlowsLibrarygetInstance(BaseElement element) Returns the library instance for the project that owns the given element.static FlowsLibrarygetInstanceByProject(ModelElementProject project) Returns the library instance for the given project.protected final Set<com.dassault_systemes.modeler.kerml.libraries.TypeWrapper> Returns get type wrappers.booleanReturns whether this library is semantic.Message()Returns message.Returns message action.messages()Returns messages.Returns the names of the packages that belong to this library.Returns succession flows.Methods inherited from class com.dassault_systemes.modeler.kerml.libraries.AbstractLibrary
findFunctionInLibrary, findLibraryPackage, findPackage, getLibraryPackages, getNamespace, initializedMethods inherited from class com.dassault_systemes.modeler.foundation.project.service.ModelElementProjectService
disposeService, getIfPresent, getOrCreateInstance, getOrCreateInstanceWithNullSupport, getReferencedProject
-
Constructor Details
-
FlowsLibrary
Creates a new flows library instance.- Parameters:
project- the project
-
-
Method Details
-
getInstanceByProject
Returns the library instance for the given project.- Parameters:
project- the project- Returns:
- get instance by project
-
getInstance
Returns the library instance for the project that owns the given element.- Parameters:
element- the element- Returns:
- get instance
-
isSemantic
public boolean isSemantic()Returns whether this library is semantic.- Specified by:
isSemanticin classAbstractLibrary- Returns:
trueif semantic;falseotherwise
-
packagesNames
Returns the names of the packages that belong to this library.- Specified by:
packagesNamesin classAbstractLibrary- Returns:
- packages names
-
MessageAction
Returns message action.- Returns:
- message action
-
Message
Returns message.- Returns:
- message
-
messages
Returns messages.- Returns:
- messages
-
flows
Returns flows.- Returns:
- flows
-
successionFlows
Returns succession flows.- Returns:
- succession flows
-
getTypeWrappers
Returns get type wrappers.- Specified by:
getTypeWrappersin classAbstractLibrary- Returns:
- get type wrappers
-