net.sf.csutils.core.registry.centrasite
Class CentraSiteMetaModelAccessor

java.lang.Object
  extended by net.sf.csutils.core.registry.impl.MetaModelAccessor
      extended by net.sf.csutils.core.registry.centrasite.CentraSiteMetaModelAccessor

public class CentraSiteMetaModelAccessor
extends MetaModelAccessor

CentraSite specific implementation of MetaModelAccessor.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.csutils.core.registry.impl.MetaModelAccessor
MetaModelAccessor.MetaModel
 
Field Summary
static java.util.Map<QName,QName> BUILTIN_NAME_MAP
           
 
Method Summary
 ROType add(MetaModelAccessor.MetaModel pModel, ROType pType)
          Creates the given registry object type in the registry.
static CentraSiteMetaModelAccessor getInstance()
          Returns the singleton instance.
 ROType getROType(MetaModelAccessor.MetaModel pModel, QName pQName)
          Returns the registry object type with the given name.
 MetaModelAccessor.MetaModel newMetaModel(RegistryFacade pFacade)
          Creates a meta model instance.
protected  void remove(MetaModelAccessor.MetaModel pModel, ROType pType)
          Removes the given registry object type from the registry.
 
Methods inherited from class net.sf.csutils.core.registry.impl.MetaModelAccessor
clear, create, getROTypes, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILTIN_NAME_MAP

public static final java.util.Map<QName,QName> BUILTIN_NAME_MAP
Method Detail

getInstance

public static CentraSiteMetaModelAccessor getInstance()
Returns the singleton instance.

Returns:
The singleton instance.

newMetaModel

public MetaModelAccessor.MetaModel newMetaModel(RegistryFacade pFacade)
Description copied from class: MetaModelAccessor
Creates a meta model instance.

Specified by:
newMetaModel in class MetaModelAccessor
Parameters:
pFacade - The facade to use.
Returns:
The created meta model instance.

getROType

public ROType getROType(MetaModelAccessor.MetaModel pModel,
                        QName pQName)
                 throws javax.xml.registry.JAXRException
Description copied from class: MetaModelAccessor
Returns the registry object type with the given name.

Specified by:
getROType in class MetaModelAccessor
Parameters:
pModel - The meta model to modify.
pQName - Qualified name of the registry object type to return.
Returns:
The registry object type with the given name, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.

remove

protected void remove(MetaModelAccessor.MetaModel pModel,
                      ROType pType)
               throws javax.xml.registry.JAXRException
Description copied from class: MetaModelAccessor
Removes the given registry object type from the registry.

Specified by:
remove in class MetaModelAccessor
Parameters:
pModel - The inner meta model to modify.
pType - The registry object type to remove.
Throws:
javax.xml.registry.JAXRException - The operation failed.

add

public ROType add(MetaModelAccessor.MetaModel pModel,
                  ROType pType)
           throws javax.xml.registry.JAXRException
Description copied from class: MetaModelAccessor
Creates the given registry object type in the registry.

Specified by:
add in class MetaModelAccessor
Parameters:
pModel - The inner meta model to modify.
pType - Description of the registry object type to create.
Returns:
The created registry object type.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.