net.sf.csutils.core.registry
Interface ROMetaModelAccessor

All Known Implementing Classes:
ROMetaModelAccessorImpl

public interface ROMetaModelAccessor

The meta model accessor is used to read, or modify the registry meta model. Note, that meta model operations may enforce to reread the meta model. In other words, they are likely to be a source for problems with performance. Use this accessor with care!


Method Summary
 ROType create(ROType pType)
          Creates the given registry object type in the registry.
 ROMetaModel getMetaModel()
          Returns the meta model.
 ModelDrivenRegistryFacade getRegistryFacade()
          Returns the accessors registry facade.
 void remove(QName pQName)
          Removes the given object type from the registry.
 

Method Detail

getRegistryFacade

ModelDrivenRegistryFacade getRegistryFacade()
Returns the accessors registry facade.

Returns:
The registry facade to use.

getMetaModel

ROMetaModel getMetaModel()
Returns the meta model.

Returns:
The meta model to use.

remove

void remove(QName pQName)
            throws javax.xml.registry.JAXRException
Removes the given object type from the registry. This includes removal of instances, if there are any.

Parameters:
pQName - Qualified name of the registry object type to remove.
Throws:
javax.xml.registry.JAXRException - The operation failed.

create

ROType create(ROType pType)
              throws javax.xml.registry.JAXRException
Creates the given registry object type in the registry.

Parameters:
pType - Description of the type to create.
Returns:
An instance of ROType, which matches the type that has just been created.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.