Clover Coverage Report
Coverage timestamp: Sat Sep 18 2010 04:09:52 UTC
0   78   0   -
0   10   -   0
0     -  
1    
 
  Node       Line # 25 0 0 - -1.0
 
No Tests
 
1    /* This file is part of the project "Hilbert II" - http://www.qedeq.org
2    *
3    * Copyright 2000-2010, Michael Meyling <mime@qedeq.org>.
4    *
5    * "Hilbert II" is free software; you can redistribute
6    * it and/or modify it under the terms of the GNU General Public
7    * License as published by the Free Software Foundation; either
8    * version 2 of the License, or (at your option) any later version.
9    *
10    * This program is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13    * GNU General Public License for more details.
14    */
15   
16    package org.qedeq.kernel.base.module;
17   
18   
19    /**
20    * A node carries mathematical knowledge.
21    *
22    * @version $Revision: 1.9 $
23    * @author Michael Meyling
24    */
 
25    public interface Node extends SubsectionType {
26   
27    /**
28    * Get label of node. The node is referenced with this label.
29    *
30    * @return Returns the label.
31    */
32    public String getId();
33   
34    /**
35    * Get level of node. Higher levels contain additional informations.
36    *
37    * @return Returns the level.
38    */
39    public String getLevel();
40   
41    /**
42    * Set name of node. Could be used as an readable reference, e.g. "Axiom of Choice".
43    *
44    * @return Returns the name.
45    */
46    public LatexList getName();
47   
48    /**
49    * Get title of subsection.
50    *
51    * @return Returns the name.
52    */
53    public LatexList getTitle();
54   
55    /**
56    * Get text before the formula. Get the preceding LaTeX text. This text comes before a
57    * theorem, definition etc. but belongs to this node regards content.
58    *
59    * @return Returns the preceding LaTeX text.
60    */
61    public LatexList getPrecedingText();
62   
63    /**
64    * Get node content. This is for example a concrete theorem or definition. The main
65    * information of a node could be found here.
66    *
67    * @return Returns the nodeType.
68    */
69    public NodeType getNodeType();
70   
71    /**
72    * Get text after the formula. Get the succeeding LaTeX text. This text comes after
73    * a theorem, definition etc. but belongs to this node regards content.
74    *
75    * @return Returns the succeedingText.
76    */
77    public LatexList getSucceedingText();
78    }