|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.qedeq.kernel.bo.module.ModuleReferenceList
Represents a reference list of modules. Every entry has a symbolic name for one referenced QEDEQ module. This module label acts as a prefix for all references to that module. The module label must be an unique String.
| Constructor Summary | |
ModuleReferenceList()
Constructs an empty list of module references. |
|
| Method Summary | |
void |
add(ModuleContext context,
String label,
ModuleProperties prop)
Add module reference to list. |
boolean |
equals(Object obj)
|
String |
getLabel(int index)
Get label for certain module. |
ModuleContext |
getModuleContext(int index)
Get import context of referenced module. |
ModuleProperties |
getModuleProperties(int index)
Get properties of referenced module. |
ModuleProperties |
getModuleProperties(String label)
Get ModuleProperties of referenced module via label. |
int |
hashCode()
|
int |
size()
Get number of module references. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ModuleReferenceList()
| Method Detail |
public final void add(ModuleContext context,
String label,
ModuleProperties prop)
throws IllegalModuleDataException
context - Within this context.label - Referenced module gets this label. Must not be null or empty.prop - Referenced module has this properties. Must not be null.
IllegalModuleDataException - The id already exists or is
null.public final int size()
public final String getLabel(int index)
index - Entry index.
public final ModuleProperties getModuleProperties(int index)
index - Entry index.
public final ModuleContext getModuleContext(int index)
index - Entry index.
public final ModuleProperties getModuleProperties(String label)
null.
label - Label for referenced module or null if not found.
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |