com.vaadin.ui
Class UniqueSerializable

java.lang.Object
  extended by com.vaadin.ui.UniqueSerializable
All Implemented Interfaces:
Serializable

public abstract class UniqueSerializable
extends Object
implements Serializable

A base class for generating an unique object that is serializable.

This class is abstract but has no abstract methods to force users to create an anonymous inner class. Otherwise each instance will not be unique.

Since:
7.0
Version:
7.0.0.alpha3
Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
UniqueSerializable()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueSerializable

public UniqueSerializable()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.