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

java.lang.Object
  extended by net.sf.csutils.core.model.impl.AbstractROMetaModel
All Implemented Interfaces:
ROMetaModel
Direct Known Subclasses:
DynamicROMetaModel, StaticROMetaModel

public abstract class AbstractROMetaModel
extends java.lang.Object
implements ROMetaModel

Abstract base class for deriving implementations of ROMetaModel.


Constructor Summary
AbstractROMetaModel()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String pKey)
          Returns a meta model attribute.
 void setAttribute(java.lang.String pKey, java.lang.Object pValue)
          Sets a meta model attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.csutils.core.model.ROMetaModel
getROType, getROTypes
 

Constructor Detail

AbstractROMetaModel

public AbstractROMetaModel()
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String pKey)
                              throws javax.xml.registry.JAXRException
Description copied from interface: ROMetaModel
Returns a meta model attribute.

Specified by:
getAttribute in interface ROMetaModel
Parameters:
pKey - The attributes key.
Returns:
The attributes value, if any, or null.
Throws:
javax.xml.registry.JAXRException - The operation failed.

setAttribute

public void setAttribute(java.lang.String pKey,
                         java.lang.Object pValue)
                  throws javax.xml.registry.JAXRException
Description copied from interface: ROMetaModel
Sets a meta model attribute.

Specified by:
setAttribute in interface ROMetaModel
Parameters:
pKey - The attributes key.
pValue - The attributes value.
Throws:
javax.xml.registry.JAXRException - The operation failed.


Copyright © 2009-2010. All Rights Reserved.