Library module documentation
- Library
** Library represents a Library instance in Simantics ontology.
createLibrary :: Resource -> <Proc> Resource
Creates a new Library under the given Library parameter. Returns the created Library.
createLibraryInModel :: Resource -> <Proc> Resource
Creates a new Library under the given Model parameter. Returns the created Library.
Undocumented entities
getLibrary :: Resource -> String -> <ReadGraph> Resource
getLibrary model name returns the library of the given model that has
the given name, or the local library of the model when name is empty.
Only the libraries that are direct children of the model are searched. The
result is a Java null when there is no such library, as the type of the
result is not a Maybe.
librariesOf :: Resource -> <ReadGraph> [Resource]
Returns the libraries of the given model, recursively. The libraries that are
direct children of the model are returned, and the search continues into those
children of the model that are not libraries themselves, so that libraries
collected under plain folders are found as well.
|