Class DataFunctionsLibrary
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.DataFunctionsLibrary
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.project.service.DisposableService
Provides typed access to elements from the DataFunctions standard library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classType wrapper for the AMPFunction library element.static classType wrapper for the EQUALEQUALEQUALFunction library element.static classType wrapper for the EQUALEQUALFunction library element.static classType wrapper for the LESSEQUALFunction library element.static classType wrapper for the LESSFunction library element.static classType wrapper for the MOREEQUALFunction library element.static classType wrapper for the MOREFunction library element.static classType wrapper for the NotFunction library element.static classType wrapper for the PIPEFunction library element.static classType wrapper for the XorFunction library element. -
Constructor Summary
ConstructorsConstructorDescriptionDataFunctionsLibrary(ModelElementProject project) Creates a DataFunctionsLibrary for the given project. -
Method Summary
Modifier and TypeMethodDescriptionAMP()Returns the wrapper for the AMP library element.Returns the wrapper for the EQUALEQUAL library element.Returns the wrapper for the EQUALEQUALEQUAL library element.static DataFunctionsLibrarygetInstance(BaseElement element) Returns the DataFunctionsLibrary instance for the project that owns the given element.static DataFunctionsLibrarygetInstanceByProject(ModelElementProject project) Returns the DataFunctionsLibrary 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.LESS()Returns the wrapper for the LESS library element.Returns the wrapper for the LESSEQUAL library element.MORE()Returns the wrapper for the MORE library element.Returns the wrapper for the MOREEQUAL library element.not()Returns the wrapper for the not library element.Returns the names of the library packages exposed by this wrapper.PIPE()Returns the wrapper for the PIPE library element.xor()Returns the wrapper for the xor 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
-
DataFunctionsLibrary
Creates a DataFunctionsLibrary for the given project.- Parameters:
project- the project that provides access to the library model elements
-
-
Method Details
-
getInstanceByProject
Returns the DataFunctionsLibrary instance for the given project.- Parameters:
project- the project whose library instance is requested- Returns:
- the library instance for the project
-
getInstance
Returns the DataFunctionsLibrary 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
-
EQUALEQUAL
Returns the wrapper for the EQUALEQUAL library element.- Returns:
- the wrapper for the EQUALEQUAL element
-
EQUALEQUALEQUAL
Returns the wrapper for the EQUALEQUALEQUAL library element.- Returns:
- the wrapper for the EQUALEQUALEQUAL element
-
not
Returns the wrapper for the not library element.- Returns:
- the wrapper for the not element
-
xor
Returns the wrapper for the xor library element.- Returns:
- the wrapper for the xor element
-
PIPE
Returns the wrapper for the PIPE library element.- Returns:
- the wrapper for the PIPE element
-
AMP
Returns the wrapper for the AMP library element.- Returns:
- the wrapper for the AMP element
-
LESS
Returns the wrapper for the LESS library element.- Returns:
- the wrapper for the LESS element
-
MORE
Returns the wrapper for the MORE library element.- Returns:
- the wrapper for the MORE element
-
LESSEQUAL
Returns the wrapper for the LESSEQUAL library element.- Returns:
- the wrapper for the LESSEQUAL element
-
MOREEQUAL
Returns the wrapper for the MOREEQUAL library element.- Returns:
- the wrapper for the MOREEQUAL element
-
getTypeWrappers
Returns the type wrappers exposed by this library.- Specified by:
getTypeWrappersin classAbstractLibrary- Returns:
- type wrappers managed by this library
-