@@ -0,0 +1,1447 @@
+/*%0A * Copyright (c) 2013-2014 Josef Hardi %3Cjosef.hardi@gmail.com%3E%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A *   http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.obidea.semantika.app;%0A%0Aimport com.obidea.semantika.database.IDatabaseMetadata;%0Aimport com.obidea.semantika.mapping.IMetaModel;%0Aimport com.obidea.semantika.ontology.IOntology;%0A%0Apublic final class MetaModel implements IMetaModel%0A%7B%0A   private IDatabaseMetadata mDatabaseMetadata;%0A   private IOntology mOntology;%0A%0A   public MetaModel(IDatabaseMetadata metadata, IOntology ontology)%0A   %7B%0A      if (metadata == null) %7B%0A         throw new IllegalArgumentException(%22Database metadata cannot be null%22); //$NON-NLS-1$%0A      %7D%0A      mDatabaseMetadata = metadata;%0A      %0A      // Ontology can be null (optional resource)%0A      mOntology = ontology;%0A   %7D%0A%0A   public IDatabaseMetadata getDatabaseMetadata()%0A   %7B%0A      return mDatabaseMetadata;%0A   %7D%0A%0A   public IOntology getOntology()%0A   %7B%0A      return mOntology;%0A   %7D%0A%7D%0A

Implement a MetaModel class.