com.rapidtransform.core.meta
Interface Dictionary

All Known Implementing Classes:
DictionaryImpl

public interface Dictionary

The Dictionary contains the loaded meta models and provides some convenience operations for the models.

Author:
Steve Werner

Method Summary
 void addModel(MetaModel model)
           
 java.util.Map<QName,MetaModel> getLoadedModels()
           
 MetaModel getModel(QName qName)
           
 Namespace getNamespace(QName type)
          Returns the namespace associated with the given Meta Type.
 MetaProperty getProperty(java.lang.String propertyName)
           
 QName getQName(Namespace namespace)
          Returns the qualified name for the given namespace.
 java.util.Collection<MetaType> getSearchableTypes()
          Returns a list of all searchable Meta Types defined for the application.
 MetaType getType(QName qName)
           
 void removeModel(QName qName)
           
 

Method Detail

addModel

void addModel(MetaModel model)

removeModel

void removeModel(QName qName)
                 throws MetaException
Throws:
MetaException

getModel

MetaModel getModel(QName qName)

getLoadedModels

java.util.Map<QName,MetaModel> getLoadedModels()

getType

MetaType getType(QName qName)

getProperty

MetaProperty getProperty(java.lang.String propertyName)

getQName

QName getQName(Namespace namespace)
Returns the qualified name for the given namespace.

Parameters:
namespace -
Returns:

getNamespace

Namespace getNamespace(QName type)
Returns the namespace associated with the given Meta Type.

Parameters:
type -
Returns:

getSearchableTypes

java.util.Collection<MetaType> getSearchableTypes()
Returns a list of all searchable Meta Types defined for the application.

Returns: