net.sf.csutils.core.model.impl
Class StaticROMetaModel

java.lang.Object
  extended by net.sf.csutils.core.model.impl.AbstractROMetaModel
      extended by net.sf.csutils.core.model.impl.StaticROMetaModel
All Implemented Interfaces:
ROMetaModel

public class StaticROMetaModel
extends AbstractROMetaModel

The static meta model is useful for testing purposes, or for ultimate performance.


Constructor Summary
StaticROMetaModel()
           
 
Method Summary
 ROType getROType(QName pQName)
          Returns the object type with the given name.
 java.util.Map<QName,ROType> getROTypes()
          Returns the map of object types.
 void setROTypes(java.util.Map<QName,ROType> pTypes)
           
 
Methods inherited from class net.sf.csutils.core.model.impl.AbstractROMetaModel
getAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticROMetaModel

public StaticROMetaModel()
Method Detail

setROTypes

public void setROTypes(java.util.Map<QName,ROType> pTypes)

getROTypes

public java.util.Map<QName,ROType> getROTypes()
                                       throws javax.xml.registry.JAXRException
Description copied from interface: ROMetaModel
Returns the map of object types. The map keys are the qualified names, and the map values are the type meta data objects.

Returns:
The map of object types.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getROType

public ROType getROType(QName pQName)
                 throws javax.xml.registry.JAXRException
Description copied from interface: ROMetaModel
Returns the object type with the given name.

Parameters:
pQName - The object types qualified name.
Returns:
Object type, if it exists, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.