01: /**
02: * Objective Database Abstraction Layer (ODAL)
03: * Copyright (c) 2004, The ODAL Development Group
04: * All rights reserved.
05: * For definition of the ODAL Development Group please refer to LICENCE.txt file
06: *
07: * Distributable under LGPL license.
08: * See terms of license at gnu.org.
09: */package com.completex.objective.components.persistency.meta.impl;
10:
11: import com.completex.objective.components.persistency.JavaToMetaType;
12: import com.completex.objective.components.persistency.meta.MetaModel;
13: import com.completex.objective.components.persistency.meta.ModelLoader;
14:
15: /**
16: * @author Gennady Krizhevsky
17: */
18: public class NullModelLoaderImpl implements ModelLoader {
19:
20: public MetaModel load(MetaModel model) throws Exception {
21: return model;
22: }
23:
24: public MetaModel load() throws Exception {
25: return this .load(new MetaModel());
26: }
27:
28: public void setJavaToMetaType(JavaToMetaType javaToMetaType) {
29: }
30: }
|