org.progeeks.meta
Interface MetaObjectFactory


public interface MetaObjectFactory

Interface that meta-object implementations can implement to provide toolkit-specific meta-object creation. This is useful to for allowing the generic ui/application to create new objects that will be used as values for meta-object valued fields.

Version:
$Revision: 1.3 $
Author:
Paul Speed

Method Summary
 MetaObject createMetaObject(MetaClass mClass)
          Attempts to create an uninitialized MetaObject of the specified MetaClass.
 

Method Detail

createMetaObject

MetaObject createMetaObject(MetaClass mClass)
                            throws MetaObjectInstantiationException
Attempts to create an uninitialized MetaObject of the specified MetaClass. This is highly dependent on the meta-kit and underlying representations.

Throws:
java.lang.UnsupportedOperationException - if this MetaKit does not support MetaObject instantiation.
MetaObjectInstantiationException - if there was an error creating the new MetaObject.


Copyright © 2002-2003 Paul Speed. All Rights Reserved.