Class ActionsLibrary
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.ActionsLibrary
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.project.service.DisposableService
Access helper for the actions standard library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper for the accept actions action usage library element.static classWrapper for the action action definition library element.static classWrapper for the actions action usage library element.static classWrapper for the assignment actions action usage library element.static classWrapper for the for loop action action definition library element.static classWrapper for the for loop actions action usage library element.static classWrapper for the if then actions action usage library element.static classWrapper for the if then else action action definition library element.static classWrapper for the if then else actions action usage library element.static classWrapper for the send actions action usage library element.static classWrapper for the terminate actions action usage library element.static classWrapper for the transition action action definition library element.static classWrapper for the transition actions action usage library element.static classWrapper for the while loop actions action usage library element. -
Constructor Summary
ConstructorsConstructorDescriptionActionsLibrary(ModelElementProject project) Creates a new actions library instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns accept actions.Action()Returns action.actions()Returns actions.Returns assignment actions.Returns for loop action.Returns for loop actions.static ActionsLibrarygetInstance(BaseElement element) Returns the library instance for the project that owns the given element.static ActionsLibrarygetInstanceByProject(ModelElementProject project) Returns the library instance for the given project.protected final Set<com.dassault_systemes.modeler.kerml.libraries.TypeWrapper> Returns get type wrappers.Returns if then actions.Returns if then else action.Returns if then else actions.booleanReturns whether this library is semantic.Returns the names of the packages that belong to this library.Returns send actions.Returns terminate actions.Returns transition action.Returns transition actions.Returns while loop actions.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
-
ActionsLibrary
Creates a new actions 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
-
Action
Returns action.- Returns:
- action
-
actions
Returns actions.- Returns:
- actions
-
sendActions
Returns send actions.- Returns:
- send actions
-
acceptActions
Returns accept actions.- Returns:
- accept actions
-
terminateActions
Returns terminate actions.- Returns:
- terminate actions
-
TransitionAction
Returns transition action.- Returns:
- transition action
-
transitionActions
Returns transition actions.- Returns:
- transition actions
-
assignmentActions
Returns assignment actions.- Returns:
- assignment actions
-
IfThenElseAction
Returns if then else action.- Returns:
- if then else action
-
ifThenActions
Returns if then actions.- Returns:
- if then actions
-
ifThenElseActions
Returns if then else actions.- Returns:
- if then else actions
-
ForLoopAction
Returns for loop action.- Returns:
- for loop action
-
whileLoopActions
Returns while loop actions.- Returns:
- while loop actions
-
forLoopActions
Returns for loop actions.- Returns:
- for loop actions
-
getTypeWrappers
Returns get type wrappers.- Specified by:
getTypeWrappersin classAbstractLibrary- Returns:
- get type wrappers
-