org.qedeq.kernel.se.dto.module
Class ImportVo

java.lang.Object
  extended by org.qedeq.kernel.se.dto.module.ImportVo
All Implemented Interfaces:
Import

public class ImportVo
extends java.lang.Object
implements Import

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

Author:
Michael Meyling

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

Constructor Detail

ImportVo

public ImportVo(java.lang.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(java.lang.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 java.lang.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(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2014. All Rights Reserved.