org.onemind.commons.relabean.serialize
Class BeanModelReader

java.lang.Object
  extended byorg.onemind.commons.relabean.serialize.BeanModelReader

public abstract class BeanModelReader
extends java.lang.Object

A model reader

Version:
$Id: BeanModelReader.java,v 1.2 2004/08/26 16:29:00 thlee Exp $ $Name: $
Author:
TiongHiang Lee (thlee@onemindsoft.org)

Constructor Summary
BeanModelReader(RelationalBeanModel model)
          Constructor
 
Method Summary
abstract  RelationalBeanModel readMetaModel(java.io.InputStream instream)
          Read the metamodel from the stream
abstract  java.util.Collection readModel(java.io.InputStream stream)
          Read the model instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanModelReader

public BeanModelReader(RelationalBeanModel model)
Constructor

Parameters:
model - the model
Method Detail

readMetaModel

public abstract RelationalBeanModel readMetaModel(java.io.InputStream instream)
Read the metamodel from the stream

Parameters:
instream - the input stream
Returns:
the relational bean model

readModel

public abstract java.util.Collection readModel(java.io.InputStream stream)
Read the model instance

Parameters:
stream - the input stream
Returns:
the model instance


Copyright © 2004-2005 . All Rights Reserved.