|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specification | Line # 29 | 0 | 0 | - |
-1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | /* $Id: Specification.java,v 1.6 2008/03/27 05:16:26 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.base.module; | |
19 | ||
20 | ||
21 | /** | |
22 | * Describes a specification of a module, that means its name, versions and possible | |
23 | * "physical" locations. The combination of {@link #getName()} and | |
24 | * {@link #getRuleVersion()} defines the file name of that module. | |
25 | * | |
26 | * @version $Revision: 1.6 $ | |
27 | * @author Michael Meyling | |
28 | */ | |
29 | public interface Specification { | |
30 | ||
31 | /** | |
32 | * Set module name. | |
33 | * | |
34 | * @param name Module name. | |
35 | */ | |
36 | public void setName(String name); | |
37 | ||
38 | /** | |
39 | * Get module name. | |
40 | * | |
41 | * @return Module name. | |
42 | */ | |
43 | public String getName(); | |
44 | ||
45 | /** | |
46 | * Set rule version, that is needed to verify the module. | |
47 | * | |
48 | * @param ruleVersion Rule version. | |
49 | */ | |
50 | public void setRuleVersion(String ruleVersion); | |
51 | ||
52 | /** | |
53 | * Get rule version, that is needed to verify the module. | |
54 | * | |
55 | * @return Rule version. | |
56 | */ | |
57 | public String getRuleVersion(); | |
58 | ||
59 | /** | |
60 | * Get list of locations for the module. | |
61 | * | |
62 | * @return List of locations for that module. | |
63 | */ | |
64 | public LocationList getLocationList(); | |
65 | } |
|