public class PlasmaRepository extends Object implements Repository
| Modifier and Type | Method and Description |
|---|---|
void |
addRepository(Repository repo) |
Classifier |
findClassifier(String name)
Searches for a classifier using the given artifact, package or namespace
qualified name.
|
List<Namespace> |
getAllNamespaces() |
List<String> |
getAllNamespaceUris() |
Class_ |
getClassById(String id) |
Classifier |
getClassifier(String name)
Fetches a classifier using the given artifact, package or namespace
qualified name.
|
List<Classifier> |
getClassifiers(String uri)
Returns a list of classifiers contained by the package, as well as all
classifiers within its contained packages, linked/stereotyped through an
SDONamespace stereotype where the stereotype uri matches the given uri.
|
static Repository |
getInstance() |
Namespace |
getNamespaceForUri(String uri) |
RelationCache |
getRelationCache() |
public static Repository getInstance() throws RepositoryException
RepositoryExceptionpublic void addRepository(Repository repo)
public List<String> getAllNamespaceUris()
getAllNamespaceUris in interface Repositorypublic List<Namespace> getAllNamespaces()
getAllNamespaces in interface Repositorypublic Namespace getNamespaceForUri(String uri)
getNamespaceForUri in interface Repositorypublic List<Classifier> getClassifiers(String uri)
RepositorygetClassifiers in interface Repositoryuri - the SDO namespace URISDONamespacepublic Classifier getClassifier(String name)
RepositorygetClassifier in interface Repositoryname - the artifact, package or namespace qualified namepublic Classifier findClassifier(String name)
RepositoryfindClassifier in interface Repositoryname - the artifact, package or namespace qualified namepublic RelationCache getRelationCache()
getRelationCache in interface Repositorypublic Class_ getClassById(String id)
getClassById in interface RepositoryCopyright © 2021. All rights reserved.