Hilbert II - Version 0.02.01

org.qedeq.kernel.bo.module
Class ImportBo

java.lang.Object
  extended byorg.qedeq.kernel.bo.module.ImportBo
All Implemented Interfaces:
Import

public final class ImportBo
extends Object
implements Import

Module import. Every needed module must be referenced as an module import.

Version:
$Revision: 1.4 $

Constructor Summary
ImportBo()
          Constructs an empty import.
ImportBo(String label, Specification specification)
          Constructs a new import.
 
Method Summary
 boolean equals(Object obj)
           
 String getLabel()
          Get label for the imported module.
 Specification getSpecification()
          Get import specification.
 int hashCode()
           
 void setLabel(String label)
          Set label for this import.
 void setSpecification(Specification specification)
          Set import module specification.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportBo

public ImportBo(String label,
                Specification specification)
Constructs a new import.

Parameters:
label - Label for this import. All references to that module must have this prefix.
specification - Import specification. Includes location information.

ImportBo

public ImportBo()
Constructs an empty import.

Method Detail

setLabel

public final void setLabel(String label)
Set label for this import. All references to that module must have this prefix.

Parameters:
label - Module reference prefix.

getLabel

public final String getLabel()
Description copied from interface: Import
Get label for the imported module. All references to that module must have this prefix.

Specified by:
getLabel in interface Import
Returns:
Label.

setSpecification

public final void setSpecification(Specification specification)
Set import module specification.

Parameters:
specification - Import module specifiaction.

getSpecification

public final Specification getSpecification()
Description copied from interface: Import
Get import specification. This includes location information.

Specified by:
getSpecification in interface Import
Returns:
Import specification.

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()

Hilbert II - Version 0.02.01

©left GNU General Public Licence
All Rights Reserved.