Jwma

dtw.webmail.util
Class AbstractIdentifiable

java.lang.Object
  |
  +--dtw.webmail.util.AbstractIdentifiable
All Implemented Interfaces:
Identifiable
Direct Known Subclasses:
AssociatedAbstractIdentifiable, CastorContacts, CastorPreferences

public abstract class AbstractIdentifiable
extends java.lang.Object
implements Identifiable

Abstract class implementing the Identifiable interface.

Version:
0.9.7 07/02/2003
Author:
Dieter Wimberger

Constructor Summary
AbstractIdentifiable()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Tests if this Identifiable is equal to a given Object instance.
 java.lang.String getUID()
          Returns the unique identifier of this Identifiable.
 void setUID(java.lang.String uid)
          Sets the unique identifier.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIdentifiable

public AbstractIdentifiable()
Method Detail

getUID

public java.lang.String getUID()
Description copied from interface: Identifiable
Returns the unique identifier of this Identifiable.

Specified by:
getUID in interface Identifiable
Returns:
the unique identifier as String.

setUID

public void setUID(java.lang.String uid)
Sets the unique identifier.

Parameters:
uid - the unique identifer as String.

equals

public boolean equals(java.lang.Object o)
Description copied from interface: Identifiable
Tests if this Identifiable is equal to a given Object instance. Equality is defined by equality of the unique identifier.

Specified by:
equals in interface Identifiable
Overrides:
equals in class java.lang.Object
Parameters:
o - the Object to compare to.
Returns:
true if equal, false otherwise.

Jwma

Copyright © 2000-2003 jwma team (All Rights Reserved.)