Hilbert II - Version 0.03.04

org.qedeq.kernel.dto.module
Class ImportVo

java.lang.Object
  extended byorg.qedeq.kernel.dto.module.ImportVo
All Implemented Interfaces:
Import

public class ImportVo
extends Object
implements Import

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

Version:
$Revision: 1.7 $

Constructor Summary
ImportVo()
          Constructs an empty import.
ImportVo(String label, SpecificationVo 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 module.
 void setSpecification(SpecificationVo specification)
          Set specification of this imported module.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportVo

public ImportVo(String label,
                SpecificationVo 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.

ImportVo

public ImportVo()
Constructs an empty import.

Method Detail

setLabel

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

Parameters:
label - Prefix for this imported module.

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(SpecificationVo specification)
Set specification of this imported module. Contains location information.

Parameters:
specification - Module specification.

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.03.04

©left GNU General Public Licence
All Rights Reserved.