net.sf.csutils.core.model
Interface ROMetaModel

All Known Implementing Classes:
AbstractROMetaModel, DynamicROMetaModel, StaticROMetaModel

public interface ROMetaModel

Interface of a registry object meta model.


Method Summary
 java.lang.Object getAttribute(java.lang.String pKey)
          Returns a meta model attribute.
 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 setAttribute(java.lang.String pKey, java.lang.Object pValue)
          Sets a meta model attribute.
 

Method Detail

getROTypes

java.util.Map<QName,ROType> getROTypes()
                                       throws javax.xml.registry.JAXRException
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

ROType getROType(QName pQName)
                 throws javax.xml.registry.JAXRException
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.

setAttribute

void setAttribute(java.lang.String pKey,
                  java.lang.Object pValue)
                  throws javax.xml.registry.JAXRException
Sets a meta model attribute.

Parameters:
pKey - The attributes key.
pValue - The attributes value.
Throws:
javax.xml.registry.JAXRException - The operation failed.

getAttribute

java.lang.Object getAttribute(java.lang.String pKey)
                              throws javax.xml.registry.JAXRException
Returns a meta model attribute.

Parameters:
pKey - The attributes key.
Returns:
The attributes value, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.