Hilbert II - Version 0.03.04

org.qedeq.kernel.bo.module
Class ModuleLabels

java.lang.Object
  extended byorg.qedeq.kernel.bo.module.ModuleLabels

public final class ModuleLabels
extends Object

Maps labels of an module to their elements.

Version:
$Revision: 1.3 $

Constructor Summary
ModuleLabels()
          Constructs a new empty module label list.
 
Method Summary
 void addNode(ModuleContext context, NodeVo node)
          Add node with certain id.
 NodeVo getNode(String id)
          Get node for given id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleLabels

public ModuleLabels()
Constructs a new empty module label list.

Method Detail

addNode

public final void addNode(ModuleContext context,
                          NodeVo node)
                   throws IllegalModuleDataException
Add node with certain id.

Parameters:
node - For this node.
context - With this context.
Throws:
IllegalModuleDataException - The id already exists or is null.

getNode

public final NodeVo getNode(String id)
Get node for given id.

Parameters:
id - Label to search node for.
Returns:
Node for given label. Maybe null.

Hilbert II - Version 0.03.04

©left GNU General Public Licence
All Rights Reserved.