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 java.lang.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 java.util.List<java.lang.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 java.util.List<Namespace> getAllNamespaces()
getNamespaceForUri
public Namespace getNamespaceForUri(java.lang.String uri)
getClassifiers
public java.util.List<org.modeldriven.fuml.repository.Classifier> getClassifiers(java.lang.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(java.lang.String id)
- Specified by:
getElementById in interface org.modeldriven.fuml.repository.Repository
getClassifier
public org.modeldriven.fuml.repository.Classifier getClassifier(java.lang.String name)
- Specified by:
getClassifier in interface org.modeldriven.fuml.repository.Repository
getStereotypes
public java.util.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(java.lang.String name)
- Specified by:
findClassifier in interface org.modeldriven.fuml.repository.Repository
findElementById
public org.modeldriven.fuml.repository.Element findElementById(java.lang.String id)
- Specified by:
findElementById in interface org.modeldriven.fuml.repository.Repository
findElementByName
public org.modeldriven.fuml.repository.Element findElementByName(java.lang.String name)
- Specified by:
findElementByName in interface org.modeldriven.fuml.repository.Repository
findElementByQualifiedName
public org.modeldriven.fuml.repository.Element findElementByQualifiedName(java.lang.String qualifiedName)
- Specified by:
findElementByQualifiedName in interface org.modeldriven.fuml.repository.Repository
findJavaPackageNamePackageForClass
public java.lang.String findJavaPackageNamePackageForClass(org.modeldriven.fuml.repository.Classifier classifier)
- Specified by:
findJavaPackageNamePackageForClass in interface org.modeldriven.fuml.repository.Repository
getAllStereotypes
public java.util.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(java.lang.String name)
- Specified by:
getClassifierByName in interface org.modeldriven.fuml.repository.Repository
getClassifierByQualifiedName
public org.modeldriven.fuml.repository.Classifier getClassifierByQualifiedName(java.lang.String qualifiedName)
- Specified by:
getClassifierByQualifiedName in interface org.modeldriven.fuml.repository.Repository
getDefaultUMLNamespaceURI
public java.lang.String getDefaultUMLNamespaceURI()
- Specified by:
getDefaultUMLNamespaceURI in interface org.modeldriven.fuml.repository.Repository
getElementByName
public org.modeldriven.fuml.repository.Element getElementByName(java.lang.String name)
- Specified by:
getElementByName in interface org.modeldriven.fuml.repository.Repository
getElementByQualifiedName
public org.modeldriven.fuml.repository.Element getElementByQualifiedName(java.lang.String qualifiedName)
- Specified by:
getElementByQualifiedName in interface org.modeldriven.fuml.repository.Repository
getElementCount
public int getElementCount(java.lang.Class<? extends fUML.Syntax.Classes.Kernel.Element> clss)
- Specified by:
getElementCount in interface org.modeldriven.fuml.repository.Repository
getElementNames
public java.lang.String[] getElementNames(java.lang.Class<? extends fUML.Syntax.Classes.Kernel.Element> clss)
- Specified by:
getElementNames in interface org.modeldriven.fuml.repository.Repository
getExtensions
public java.util.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 java.lang.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(java.lang.String qualifiedName)
- Specified by:
getPackageByQualifiedName in interface org.modeldriven.fuml.repository.Repository
getStereotypes
public java.util.List<org.modeldriven.fuml.repository.Stereotype> getStereotypes(java.lang.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 java.util.List<org.modeldriven.fuml.repository.Classifier> getSpecializations(org.modeldriven.fuml.repository.Classifier classifier)
- Specified by:
getSpecializations in interface org.modeldriven.fuml.repository.Repository
Copyright © 2013. All Rights Reserved.