|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.csutils.core.registry.impl.MetaModelAccessor
public abstract class MetaModelAccessor
The meta model accessor is used to read, or modify the registry meta model.
Nested Class Summary | |
---|---|
static class |
MetaModelAccessor.MetaModel
Opaque implementation of a meta model. |
Constructor Summary | |
---|---|
MetaModelAccessor()
|
Method Summary | |
---|---|
protected abstract ROType |
add(MetaModelAccessor.MetaModel pModel,
ROType pType)
Creates the given registry object type in
the registry. |
void |
clear(MetaModelAccessor.MetaModel pModel)
Clears the cached object types. |
ROType |
create(MetaModelAccessor.MetaModel pModel,
ROType pType)
Adds a new object type to the registry. |
abstract ROType |
getROType(MetaModelAccessor.MetaModel pModel,
QName pQName)
Returns the registry object type with the
given name. |
java.util.Map<QName,ROType> |
getROTypes(MetaModelAccessor.MetaModel pModel)
Returns the map of all types. |
abstract MetaModelAccessor.MetaModel |
newMetaModel(RegistryFacade pFacade)
Creates a meta model instance. |
void |
remove(MetaModelAccessor.MetaModel pModel,
QName pQName)
Removes the given object type from the registry. |
protected abstract void |
remove(MetaModelAccessor.MetaModel pModel,
ROType pType)
Removes the given registry object type from
the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaModelAccessor()
Method Detail |
---|
public abstract MetaModelAccessor.MetaModel newMetaModel(RegistryFacade pFacade)
pFacade
- The facade to use.
public abstract ROType getROType(MetaModelAccessor.MetaModel pModel, QName pQName) throws javax.xml.registry.JAXRException
registry object type
with the
given name.
pModel
- The meta model to modify.pQName
- Qualified name of the registry object type to return.
javax.xml.registry.JAXRException
- The operation failed.protected abstract void remove(MetaModelAccessor.MetaModel pModel, ROType pType) throws javax.xml.registry.JAXRException
registry object type
from
the registry.
pModel
- The inner meta model to modify.pType
- The registry object type to remove.
javax.xml.registry.JAXRException
- The operation failed.protected abstract ROType add(MetaModelAccessor.MetaModel pModel, ROType pType) throws javax.xml.registry.JAXRException
registry object type
in
the registry.
pModel
- The inner meta model to modify.pType
- Description of the registry object type to create.
javax.xml.registry.JAXRException
- The operation failed.public java.util.Map<QName,ROType> getROTypes(MetaModelAccessor.MetaModel pModel) throws javax.xml.registry.JAXRException
pModel
- The inner meta model to use.
javax.xml.registry.JAXRException
- The operation failed.public void clear(MetaModelAccessor.MetaModel pModel) throws javax.xml.registry.JAXRException
pModel
- The inner meta model to modify.
javax.xml.registry.JAXRException
- Clearing the cache didn't work.public void remove(MetaModelAccessor.MetaModel pModel, QName pQName) throws javax.xml.registry.JAXRException
pModel
- The inner meta model to modify.pQName
- The qualified name of the registry object type to remove.
javax.xml.registry.JAXRException
- The operation failed.public ROType create(MetaModelAccessor.MetaModel pModel, ROType pType) throws javax.xml.registry.JAXRException
pModel
- The inner meta model to modify.pType
- Description of the registry object type to create.
javax.xml.registry.JAXRException
- The operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |