public class FumlRepository extends Object implements Repository
| Modifier and Type | Method and Description |
|---|---|
Classifier |
findClassifier(String name)
Searches for a classifier using the given artifact, package or namespace
qualified name.
|
Element |
findElementById(String id) |
Element |
findElementByName(String name) |
Element |
findElementByQualifiedName(String qualifiedName) |
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.
|
Classifier |
getClassifierById(String id) |
Classifier |
getClassifierByName(String name) |
Classifier |
getClassifierByQualifiedName(String qualifiedName) |
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.
|
String |
getDefaultUMLNamespaceURI() |
Element |
getElementById(String id) |
Element |
getElementByName(String name) |
Element |
getElementByQualifiedName(String qualifiedName) |
Enumeration |
getEnumerationById(String id) |
EnumerationLiteral |
getEnumerationLiteralById(String id) |
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.
|
static Repository |
getInstance() |
org.plasma.sdo.repository.fuml.FumlNamespace |
getNamespaceForUri(String uri) |
Property |
getPropertyById(String id) |
RelationCache |
getRelationCache() |
public static Repository getInstance() throws RepositoryException
RepositoryExceptionpublic List<String> getAllNamespaceUris()
getAllNamespaceUris in interface Repositorypublic List<Namespace> getAllNamespaces()
getAllNamespaces in interface Repositorypublic org.plasma.sdo.repository.fuml.FumlNamespace getNamespaceForUri(String uri)
getNamespaceForUri in interface Repositorypublic List<Classifier> getClassifiers(String uri)
RepositorygetClassifiers in interface Repositoryuri - the SDO namespace URISDONamespacepublic List<Classifier> getEnumerations(String uri)
RepositorygetEnumerations in interface Repositoryuri - the SDO namespace URISDONamespacepublic Class_ getClassById(String id)
getClassById in interface Repositorypublic Enumeration getEnumerationById(String id)
public EnumerationLiteral getEnumerationLiteralById(String id)
public Classifier getClassifierById(String id)
public 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 Classifier getClassifierByName(String name)
public Classifier getClassifierByQualifiedName(String qualifiedName)
public String getDefaultUMLNamespaceURI()
public RelationCache getRelationCache()
getRelationCache in interface RepositoryCopyright © 2023. All rights reserved.