Class RequirementsLibrary
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.RequirementsLibrary
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.project.service.DisposableService
Access helper for the requirements standard library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper for the concern check concern definition library element.static classWrapper for the concern checks concern usage library element.static classWrapper for the not satisfied requirement checks requirement usage library element.static classWrapper for the requirement check requirement definition library element.static classWrapper for the requirement checks requirement usage library element.static classWrapper for the satisfied requirement checks requirement usage library element. -
Constructor Summary
ConstructorsConstructorDescriptionRequirementsLibrary(ModelElementProject project) Creates a new requirements library instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns concern check.Returns concern checks.static RequirementsLibrarygetInstance(BaseElement element) Returns the library instance for the project that owns the given element.static RequirementsLibrarygetInstanceByProject(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.Returns not satisfied requirement checks.Returns the names of the packages that belong to this library.Returns requirement check.Returns requirement checks.Returns satisfied requirement checks.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
-
RequirementsLibrary
Creates a new requirements 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
-
RequirementCheck
Returns requirement check.- Returns:
- requirement check
-
ConcernCheck
Returns concern check.- Returns:
- concern check
-
requirementChecks
Returns requirement checks.- Returns:
- requirement checks
-
satisfiedRequirementChecks
Returns satisfied requirement checks.- Returns:
- satisfied requirement checks
-
notSatisfiedRequirementChecks
public RequirementsLibrary.NotSatisfiedRequirementChecksRequirementUsage notSatisfiedRequirementChecks()Returns not satisfied requirement checks.- Returns:
- not satisfied requirement checks
-
concernChecks
Returns concern checks.- Returns:
- concern checks
-
getTypeWrappers
Returns get type wrappers.- Specified by:
getTypeWrappersin classAbstractLibrary- Returns:
- get type wrappers
-