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

@OpenApiAll public class PerformancesLibrary extends AbstractLibrary
Provides typed access to elements from the Performances standard library.
  • Constructor Details

    • PerformancesLibrary

      public PerformancesLibrary(ModelElementProject project)
      Creates a PerformancesLibrary for the given project.
      Parameters:
      project - the project that provides access to the library model elements
  • Method Details

    • getInstanceByProject

      public static PerformancesLibrary getInstanceByProject(ModelElementProject project)
      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

      public static PerformancesLibrary getInstance(BaseElement element)
      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:
      isSemantic in class AbstractLibrary
      Returns:
      true if this library is semantic
    • packagesNames

      protected Set<String> packagesNames()
      Returns the names of the library packages exposed by this wrapper.
      Specified by:
      packagesNames in class AbstractLibrary
      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

      public PerformancesLibrary.PerformancesStep 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

      public PerformancesLibrary.MetadataAccessEvaluationsExpression 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

      public PerformancesLibrary.LiteralBooleanEvaluationsExpression literalBooleanEvaluations()
      Returns the wrapper for the literalBooleanEvaluations library element.
      Returns:
      the wrapper for the literalBooleanEvaluations element
    • literalIntegerEvaluations

      public PerformancesLibrary.LiteralIntegerEvaluationsExpression literalIntegerEvaluations()
      Returns the wrapper for the literalIntegerEvaluations library element.
      Returns:
      the wrapper for the literalIntegerEvaluations element
    • literalRationalEvaluations

      public PerformancesLibrary.LiteralRationalEvaluationsExpression literalRationalEvaluations()
      Returns the wrapper for the literalRationalEvaluations library element.
      Returns:
      the wrapper for the literalRationalEvaluations element
    • literalStringEvaluations

      public PerformancesLibrary.LiteralStringEvaluationsExpression 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

      protected final Set<com.dassault_systemes.modeler.kerml.libraries.TypeWrapper> getTypeWrappers()
      Returns the type wrappers exposed by this library.
      Specified by:
      getTypeWrappers in class AbstractLibrary
      Returns:
      type wrappers managed by this library