org.vfny.geoserver.global.dto
Class WMSDTO

java.lang.Object
  extended byorg.vfny.geoserver.global.dto.WMSDTO
All Implemented Interfaces:
java.lang.Cloneable, DataTransferObject

public final class WMSDTO
extends java.lang.Object
implements DataTransferObject

Data Transfer Object for communication GeoServer Web Map Server information.

Information required for GeoServer to set up a Web Map Service.

Data Transfer object are used to communicate between the GeoServer application and its configuration and persistent layers. As such the class is final - to allow for its future use as an on-the-wire message.


Constructor Summary
WMSDTO()
          WMS constructor.
WMSDTO(WMSDTO other)
          WMS constructor.
 
Method Summary
 java.lang.Object clone()
          Implement clone as a DeepCopy.
 boolean equals(java.lang.Object other)
          Implement equals.
 ServiceDTO getService()
          getService purpose.
 int hashCode()
          Implement hashCode.
 boolean isGmlPrefixing()
          isGmlPrefixing purpose.
 void setGmlPrefixing(boolean b)
          setGmlPrefixing purpose.
 void setService(ServiceDTO service)
          setService purpose.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSDTO

public WMSDTO()
WMS constructor. does nothing


WMSDTO

public WMSDTO(WMSDTO other)
WMS constructor.

Creates a copy of the WMS provided. If the WMS provided is null then default values are used. All the data structures are cloned.

Parameters:
other - The WMS to copy.
Throws:
java.lang.NullPointerException - DOCUMENT ME!
Method Detail

clone

public java.lang.Object clone()
Implement clone as a DeepCopy.

Specified by:
clone in interface DataTransferObject
Returns:
A Deep Copy of this WMSDTO
See Also:
Object.clone()

equals

public boolean equals(java.lang.Object other)
Implement equals.

recursively tests to determine if the object passed in is a copy of this object.

Specified by:
equals in interface DataTransferObject
Parameters:
other - The WMS object to test.
Returns:
true when the object passed is the same as this object.
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Implement hashCode.

Specified by:
hashCode in interface DataTransferObject
Returns:
Service hashcode or 0
See Also:
Object.hashCode()

getService

public ServiceDTO getService()
getService purpose.

Description ...

Returns:

setService

public void setService(ServiceDTO service)
setService purpose.

Description ...

Parameters:
service -
Throws:
java.lang.NullPointerException - DOCUMENT ME!

isGmlPrefixing

public boolean isGmlPrefixing()
isGmlPrefixing purpose.

Description ...

Returns:

setGmlPrefixing

public void setGmlPrefixing(boolean b)
setGmlPrefixing purpose.

Description ...

Parameters:
b -