org.plasma.sdo.repository
Class PlasmaRepository
java.lang.Object
org.plasma.sdo.repository.PlasmaRepository
- All Implemented Interfaces:
- org.modeldriven.fuml.repository.Repository
public class PlasmaRepository
- extends Object
- implements Repository
| Fields inherited from interface org.modeldriven.fuml.repository.Repository |
INSTANCE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static Repository getInstance()
throws RepositoryException
- Throws:
RepositoryException
getAllNamespaceUris
public List<String> getAllNamespaceUris()
- Description copied from interface:
Repository
- Returns all SDO namespace URIs within the repository.
- Returns:
- all SDO namespace URIs within the repository.
getAllNamespaces
public List<Namespace> getAllNamespaces()
getNamespaceForUri
public Namespace getNamespaceForUri(String uri)
getClassifiers
public List<org.modeldriven.fuml.repository.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.
- Parameters:
uri - the SDO namespace URI
- Returns:
- a list of classifiers contained by the package, as wells as all
classifiers within its contained packages, linked through an SDONamespace
stereotype where the uri which matches the given uri.
- See Also:
SDONamespace
getElementById
public org.modeldriven.fuml.repository.Element getElementById(String id)
- Specified by:
getElementById in interface org.modeldriven.fuml.repository.Repository
getClassifier
public org.modeldriven.fuml.repository.Classifier getClassifier(String name)
- Specified by:
getClassifier in interface org.modeldriven.fuml.repository.Repository
getStereotypes
public List<org.modeldriven.fuml.repository.Stereotype> getStereotypes(org.modeldriven.fuml.repository.Element element)
- Specified by:
getStereotypes in interface org.modeldriven.fuml.repository.Repository
findClassifier
public org.modeldriven.fuml.repository.Classifier findClassifier(String name)
- Specified by:
findClassifier in interface org.modeldriven.fuml.repository.Repository
findElementById
public org.modeldriven.fuml.repository.Element findElementById(String id)
- Specified by:
findElementById in interface org.modeldriven.fuml.repository.Repository
findElementByName
public org.modeldriven.fuml.repository.Element findElementByName(String name)
- Specified by:
findElementByName in interface org.modeldriven.fuml.repository.Repository
findElementByQualifiedName
public org.modeldriven.fuml.repository.Element findElementByQualifiedName(String qualifiedName)
- Specified by:
findElementByQualifiedName in interface org.modeldriven.fuml.repository.Repository
findJavaPackageNamePackageForClass
public String findJavaPackageNamePackageForClass(org.modeldriven.fuml.repository.Classifier classifier)
- Specified by:
findJavaPackageNamePackageForClass in interface org.modeldriven.fuml.repository.Repository
getAllStereotypes
public List<org.modeldriven.fuml.repository.Stereotype> getAllStereotypes()
- Specified by:
getAllStereotypes in interface org.modeldriven.fuml.repository.Repository
getClassifierByName
public org.modeldriven.fuml.repository.Classifier getClassifierByName(String name)
- Specified by:
getClassifierByName in interface org.modeldriven.fuml.repository.Repository
getClassifierByQualifiedName
public org.modeldriven.fuml.repository.Classifier getClassifierByQualifiedName(String qualifiedName)
- Specified by:
getClassifierByQualifiedName in interface org.modeldriven.fuml.repository.Repository
getDefaultUMLNamespaceURI
public String getDefaultUMLNamespaceURI()
- Specified by:
getDefaultUMLNamespaceURI in interface org.modeldriven.fuml.repository.Repository
getElementByName
public org.modeldriven.fuml.repository.Element getElementByName(String name)
- Specified by:
getElementByName in interface org.modeldriven.fuml.repository.Repository
getElementByQualifiedName
public org.modeldriven.fuml.repository.Element getElementByQualifiedName(String qualifiedName)
- Specified by:
getElementByQualifiedName in interface org.modeldriven.fuml.repository.Repository
getElementCount
public int getElementCount(Class<? extends fUML.Syntax.Classes.Kernel.Element> clss)
- Specified by:
getElementCount in interface org.modeldriven.fuml.repository.Repository
getElementNames
public String[] getElementNames(Class<? extends fUML.Syntax.Classes.Kernel.Element> clss)
- Specified by:
getElementNames in interface org.modeldriven.fuml.repository.Repository
getExtensions
public List<org.modeldriven.fuml.repository.Extension> getExtensions(org.modeldriven.fuml.repository.Element element)
- Specified by:
getExtensions in interface org.modeldriven.fuml.repository.Repository
getJavaPackageNameForClass
public String getJavaPackageNameForClass(org.modeldriven.fuml.repository.Classifier classifier)
- Specified by:
getJavaPackageNameForClass in interface org.modeldriven.fuml.repository.Repository
getMapping
public org.modeldriven.fuml.repository.RepositoryMapping getMapping()
- Specified by:
getMapping in interface org.modeldriven.fuml.repository.Repository
getPackageByQualifiedName
public org.modeldriven.fuml.repository.Package getPackageByQualifiedName(String qualifiedName)
- Specified by:
getPackageByQualifiedName in interface org.modeldriven.fuml.repository.Repository
getStereotypes
public List<org.modeldriven.fuml.repository.Stereotype> getStereotypes(Class<?> clss)
- Specified by:
getStereotypes in interface org.modeldriven.fuml.repository.Repository
isIgnoredClassifier
public boolean isIgnoredClassifier(org.modeldriven.fuml.repository.Classifier classifier)
- Specified by:
isIgnoredClassifier in interface org.modeldriven.fuml.repository.Repository
loadClass
public void loadClass(org.modeldriven.fuml.repository.Class_ clss)
- Specified by:
loadClass in interface org.modeldriven.fuml.repository.Repository
getRelationCache
public RelationCache getRelationCache()
getSpecializations
public List<org.modeldriven.fuml.repository.Classifier> getSpecializations(org.modeldriven.fuml.repository.Classifier classifier)
- Specified by:
getSpecializations in interface org.modeldriven.fuml.repository.Repository
Copyright © 2014. All rights reserved.