org.vfny.geoserver.global.dto
Interface DataTransferObject

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AttributeTypeInfoDTO, ContactDTO, DataDTO, DataStoreInfoDTO, FeatureTypeInfoDTO, GeoServerDTO, NameSpaceInfoDTO, ServiceDTO, StyleDTO, WFSDTO, WMSDTO

public interface DataTransferObject
extends java.lang.Cloneable

Marker used to indicate a public "Deep Copy" clone implementation.

This is intended to be used to provide a known interface for data structures to recursively clone or test equality through data structures such as Maps or Lists.

See Also:
Map, List

Method Summary
 java.lang.Object clone()
          Implement clone as a Deep Copy.
 boolean equals(java.lang.Object other)
          Compares the equality of the two objects.
 int hashCode()
          DOCUMENT ME!
 

Method Detail

clone

public java.lang.Object clone()
Implement clone as a Deep Copy.

Create a clone of this object and return it.

Returns:
A new DataStructure which is a copy of this DataStructure.
See Also:
Object.clone()

equals

public boolean equals(java.lang.Object other)
Compares the equality of the two objects.

Returns:
true when the objects are the same.
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
DOCUMENT ME!

Returns:
hasCode for this Object
See Also:
Object.hashCode()