| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| IMetaLoader |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * This file is part of Mosquito meta-loader. | |
| 3 | * | |
| 4 | * Mosquito meta-loader is free software; you can redistribute it and/or modify | |
| 5 | * it under the terms of the GNU Lesser General Public License as published by | |
| 6 | * the Free Software Foundation; either version 3 of the License, or | |
| 7 | * (at your option) any later version. | |
| 8 | * | |
| 9 | * Mosquito meta-loader is distributed in the hope that it will be useful, | |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | * GNU Lesser General Public License for more details. | |
| 13 | * | |
| 14 | * You should have received a copy of the GNU Lesser General Public License | |
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | */ | |
| 17 | ||
| 18 | package rs.mgifos.mosquito; | |
| 19 | ||
| 20 | import java.util.Properties; | |
| 21 | ||
| 22 | import rs.mgifos.mosquito.model.MetaModel; | |
| 23 | ||
| 24 | /** | |
| 25 | * Creates and loads meta-model (<code>rs.mgifos.mosquito.model.MetaModel</code>). | |
| 26 | * | |
| 27 | * @author <a href="mailto:nikola.petkov@gmail.com">Nikola Petkov | |
| 28 | * <nikola.petkov@gmail.com></a> | |
| 29 | */ | |
| 30 | public interface IMetaLoader { | |
| 31 | ||
| 32 | /** | |
| 33 | * Creates meta model and returns reference to it. | |
| 34 | * | |
| 35 | * @param config | |
| 36 | * Configuration properties that may be diffrent for each | |
| 37 | * implementation. Every implementation should have its own | |
| 38 | * subset of properties and it should be documented under the | |
| 39 | * implementation documentation. | |
| 40 | * | |
| 41 | * @return Newly created and loaded meta-model. | |
| 42 | * @throws LoadingException. | |
| 43 | */ | |
| 44 | /** | |
| 45 | * @return | |
| 46 | * @throws LoadingException | |
| 47 | */ | |
| 48 | MetaModel getMetaModel(Properties config) throws LoadingException; | |
| 49 | ||
| 50 | } |