Class PerformancesLibrary
java.lang.Object
com.dassault_systemes.modeler.foundation.project.service.ModelElementProjectService<ModelElementProject>
com.dassault_systemes.modeler.kerml.libraries.AbstractLibrary
com.dassault_systemes.modeler.kerml.libraries.standard.PerformancesLibrary
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.project.service.DisposableService
Provides typed access to elements from the Performances standard library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classType wrapper for the BooleanEvaluationPredicate library element.static classType wrapper for the BooleanEvaluationsExpression library element.static classType wrapper for the ConstructorEvaluationsExpression library element.static classType wrapper for the EvaluationFunction library element.static classType wrapper for the EvaluationsExpression library element.static classType wrapper for the FalseEvaluationsExpression library element.static classType wrapper for the LiteralBooleanEvaluationsExpression library element.static classType wrapper for the LiteralEvaluationsExpression library element.static classType wrapper for the LiteralIntegerEvaluationsExpression library element.static classType wrapper for the LiteralRationalEvaluationsExpression library element.static classType wrapper for the LiteralStringEvaluationsExpression library element.static classType wrapper for the MetadataAccessEvaluationsExpression library element.static classType wrapper for the NullEvaluationsExpression library element.static classType wrapper for the PerformanceBehavior library element.static classType wrapper for the PerformancesStep library element.static classType wrapper for the TrueEvaluationsExpression library element. -
Constructor Summary
ConstructorsConstructorDescriptionPerformancesLibrary(ModelElementProject project) Creates a PerformancesLibrary for the given project. -
Method Summary
Modifier and TypeMethodDescriptionReturns the wrapper for the BooleanEvaluation library element.Returns the wrapper for the booleanEvaluations library element.Returns the wrapper for the constructorEvaluations library element.Returns the wrapper for the Evaluation library element.Returns the wrapper for the evaluations library element.Returns the wrapper for the falseEvaluations library element.static PerformancesLibrarygetInstance(BaseElement element) Returns the PerformancesLibrary instance for the project that owns the given element.static PerformancesLibrarygetInstanceByProject(ModelElementProject project) Returns the PerformancesLibrary instance for the given project.protected final Set<com.dassault_systemes.modeler.kerml.libraries.TypeWrapper> Returns the type wrappers exposed by this library.booleanReturns whether this library is treated as semantic.Returns the wrapper for the literalBooleanEvaluations library element.Returns the wrapper for the literalEvaluations library element.Returns the wrapper for the literalIntegerEvaluations library element.Returns the wrapper for the literalRationalEvaluations library element.Returns the wrapper for the literalStringEvaluations library element.Returns the wrapper for the metadataAccessEvaluations library element.Returns the wrapper for the nullEvaluations library element.Returns the names of the library packages exposed by this wrapper.Returns the wrapper for the Performance library element.Returns the wrapper for the performances library element.Returns the wrapper for the trueEvaluations library element.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
-
PerformancesLibrary
Creates a PerformancesLibrary for the given project.- Parameters:
project- the project that provides access to the library model elements
-
-
Method Details
-
getInstanceByProject
Returns the PerformancesLibrary instance for the given project.- Parameters:
project- the project whose library instance is requested- Returns:
- the library instance for the project
-
getInstance
Returns the PerformancesLibrary instance for the project that owns the given element.- Parameters:
element- the element whose owning project is used to resolve the library instance- Returns:
- the library instance associated with the element project
-
isSemantic
public boolean isSemantic()Returns whether this library is treated as semantic.- Specified by:
isSemanticin classAbstractLibrary- Returns:
trueif this library is semantic
-
packagesNames
Returns the names of the library packages exposed by this wrapper.- Specified by:
packagesNamesin classAbstractLibrary- Returns:
- package names that belong to this library
-
Performance
Returns the wrapper for the Performance library element.- Returns:
- the wrapper for the Performance element
-
Evaluation
Returns the wrapper for the Evaluation library element.- Returns:
- the wrapper for the Evaluation element
-
BooleanEvaluation
Returns the wrapper for the BooleanEvaluation library element.- Returns:
- the wrapper for the BooleanEvaluation element
-
performances
Returns the wrapper for the performances library element.- Returns:
- the wrapper for the performances element
-
evaluations
Returns the wrapper for the evaluations library element.- Returns:
- the wrapper for the evaluations element
-
constructorEvaluations
Returns the wrapper for the constructorEvaluations library element.- Returns:
- the wrapper for the constructorEvaluations element
-
booleanEvaluations
Returns the wrapper for the booleanEvaluations library element.- Returns:
- the wrapper for the booleanEvaluations element
-
trueEvaluations
Returns the wrapper for the trueEvaluations library element.- Returns:
- the wrapper for the trueEvaluations element
-
falseEvaluations
Returns the wrapper for the falseEvaluations library element.- Returns:
- the wrapper for the falseEvaluations element
-
metadataAccessEvaluations
Returns the wrapper for the metadataAccessEvaluations library element.- Returns:
- the wrapper for the metadataAccessEvaluations element
-
literalEvaluations
Returns the wrapper for the literalEvaluations library element.- Returns:
- the wrapper for the literalEvaluations element
-
literalBooleanEvaluations
Returns the wrapper for the literalBooleanEvaluations library element.- Returns:
- the wrapper for the literalBooleanEvaluations element
-
literalIntegerEvaluations
Returns the wrapper for the literalIntegerEvaluations library element.- Returns:
- the wrapper for the literalIntegerEvaluations element
-
literalRationalEvaluations
Returns the wrapper for the literalRationalEvaluations library element.- Returns:
- the wrapper for the literalRationalEvaluations element
-
literalStringEvaluations
Returns the wrapper for the literalStringEvaluations library element.- Returns:
- the wrapper for the literalStringEvaluations element
-
nullEvaluations
Returns the wrapper for the nullEvaluations library element.- Returns:
- the wrapper for the nullEvaluations element
-
getTypeWrappers
Returns the type wrappers exposed by this library.- Specified by:
getTypeWrappersin classAbstractLibrary- Returns:
- type wrappers managed by this library
-