| java.lang.Object org.ontoware.semversion.Session
Session | public class Session (Code) | | A Session represents a User logged in into SemVersion. Al operations are done
via a session, so the author (User) of an operation can be tracked.
author: voelkel |
close | public void close()(Code) | | Closes the current session.
|
createVersionedModel | public VersionedModel createVersionedModel(URI uri, String label)(Code) | | Parameters: uri - Parameters: label - a new VersionedModel with the given URI and given label. Returnsnull if the label has been used for another VersionedModelalready. |
getModel | public Model getModel()(Code) | | a new empty, model with a random URI. This can later be commitedas a Version. |
getSemVersion | public SemVersion getSemVersion()(Code) | | the SemVersion implementation. |
getUser | public User getUser()(Code) | | the User holding this Session. |
getVersionedModel | public VersionedModel getVersionedModel(String label)(Code) | | Parameters: string - the VersionedModel with the specified Label or null if noVersionedModel with that label exists. |
getVersionedModel | public VersionedModel getVersionedModel(URI uri)(Code) | | Parameters: uri - the VersionedModel identified by the given URI or null if no suchVersionedModel exists. |
getVersionedModels | public VersionedModel[] getVersionedModels()(Code) | | all VersionedModel in the store |
|
|