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

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

public class LocationVo
extends java.lang.Object
implements Location

Describes the "physical" directory location for a module. This is a full or relative URL like: http://www.qedeq.org/principia/0_01_06/ or . or file:///qedeq/

Author:
Michael Meyling

Constructor Summary
LocationVo()
          Constructs an empty location description for a module.
LocationVo(java.lang.String location)
          Constructs a location description for a module.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLocation()
          Get location for a module.
 int hashCode()
           
 void setLocation(java.lang.String location)
          Set URL to "physical" directory location of module.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationVo

public LocationVo(java.lang.String location)
Constructs a location description for a module. The location parameter contains an URL that points to a directory. This is a full or relative URL like: http://www.qedeq.org/principia/0_01_06/ or . or file:///qedeq/ Here it is not tested that it is a formal correct URL.

Parameters:
location - URL directory location.

LocationVo

public LocationVo()
Constructs an empty location description for a module.

Method Detail

setLocation

public final void setLocation(java.lang.String location)
Set URL to "physical" directory location of module. The location parameter contains an URL that points to a directory. This is a full or relative URL like: http://www.qedeq.org/principia/0_01_06/ or . or file:///qedeq/ Here it is not tested that it is a formal correct URL.

Parameters:
location - URL directory location.

getLocation

public final java.lang.String getLocation()
Description copied from interface: Location
Get location for a module. The location parameter contains an URL that points to a directory. This is a full or relative URL like: http://www.qedeq.org/principia/0_01_06/ or . or file:///qedeq/

Specified by:
getLocation in interface Location
Returns:
URL directory location.

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.