public interface Repository
| Modifier and Type | Method and Description |
|---|---|
Classifier |
findClassifier(String qualifiedName)
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 qualifiedName)
Fetches a classifier using the given artifact, package or namespace
qualified name.
|
List<Classifier> |
getClassifiers(String uri)
Returns a list of (non enumeration) 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.
|
List<Classifier> |
getEnumerations(String uri)
Returns a list of enumeration 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.
|
Namespace |
getNamespaceForUri(String uri) |
RelationCache |
getRelationCache() |
List<Classifier> getClassifiers(String uri)
uri - the SDO namespace URISDONamespaceList<Classifier> getEnumerations(String uri)
uri - the SDO namespace URISDONamespaceClassifier getClassifier(String qualifiedName)
qualifiedName - the artifact, package or namespace qualified nameRepositoryException - if the classifier is not foundClassifier findClassifier(String qualifiedName)
qualifiedName - the artifact, package or namespace qualified nameRelationCache getRelationCache()
Copyright © 2023. All rights reserved.