Data Transfer Object representing GeoServer Service information.
ServiceConfig is intended to be extended to provide some basic data storage
facilities. This class represents the basic properties of a web 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.
It is very tempting to force Web Services to completely define their own DTO
elements (rather than trying for reuse using subclassing or aggregation) -
simply to force each service to document what it means by each of
these peices of information.
This is equivalent to calling the clone method. When a null value is
passed in, the default values are used. All non-primary datatypes are
cloned with the exception of Strings (which have a singleton hash
table in memory representation).
Parameters: dto - The ServiceConfig object to copy into the new ServiceConfigobject. throws: NullPointerException - If dto is null See Also: defaultSettings() See Also: clone()
Implement equals.
Parameters: other - The ServiceConfig object which will be tested. true when the classes are equal. See Also:java.lang.Object.equals(java.lang.Object)