Hilbert II - Version 0.03.04

org.qedeq.kernel.dto.module
Class SpecificationVo

java.lang.Object
  extended byorg.qedeq.kernel.dto.module.SpecificationVo
All Implemented Interfaces:
Specification

public class SpecificationVo
extends Object
implements Specification

Describes a specification of a module, that means its name, versions and possible "physical" locations. The combination of getName() and getRuleVersion() defines the file name of that module.

Version:
$Revision: 1.6 $

Constructor Summary
SpecificationVo()
          Constructs an empty module specification.
SpecificationVo(String name, String ruleVersion, LocationList locations)
          Constructs a module specification.
 
Method Summary
 boolean equals(Object obj)
           
 LocationList getLocationList()
          Get list of locations for the module.
 String getName()
          Get module name.
 String getRuleVersion()
          Get rule version, that is needed to verify the module.
 int hashCode()
           
 void setLocationList(LocationListVo locations)
          Set list of locations for the module.
 void setName(String name)
          Set module name.
 void setRuleVersion(String ruleVersion)
          Set rule version, that is needed to verify the module.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpecificationVo

public SpecificationVo(String name,
                       String ruleVersion,
                       LocationList locations)
Constructs a module specification. The combination of name and ruleVersion defines the file name of that module.

Parameters:
name - Module name.
ruleVersion - Rule version. This version is at least needed to verify that module.
locations - List of locations for that module.

SpecificationVo

public SpecificationVo()
Constructs an empty module specification.

Method Detail

setName

public final void setName(String name)
Description copied from interface: Specification
Set module name.

Specified by:
setName in interface Specification
Parameters:
name - Module name.

getName

public final String getName()
Description copied from interface: Specification
Get module name.

Specified by:
getName in interface Specification
Returns:
Module name.

setRuleVersion

public final void setRuleVersion(String ruleVersion)
Description copied from interface: Specification
Set rule version, that is needed to verify the module.

Specified by:
setRuleVersion in interface Specification
Parameters:
ruleVersion - Rule version.

getRuleVersion

public final String getRuleVersion()
Description copied from interface: Specification
Get rule version, that is needed to verify the module.

Specified by:
getRuleVersion in interface Specification
Returns:
Rule version.

setLocationList

public final void setLocationList(LocationListVo locations)
Set list of locations for the module.

Parameters:
locations - List of locations for that module.

getLocationList

public final LocationList getLocationList()
Description copied from interface: Specification
Get list of locations for the module.

Specified by:
getLocationList in interface Specification
Returns:
List of locations for that module.

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.