net.wimpi.pim.util
Class AbstractIdentifiable

java.lang.Object
  |
  +--net.wimpi.pim.util.AbstractIdentifiable
All Implemented Interfaces:
Identifiable, java.io.Serializable
Direct Known Subclasses:
AddressImpl, ContactCollectionImpl.ContactGroupImpl, ContactDatabaseImpl, ContactImpl, EmailAddressImpl, PhoneNumberImpl

public abstract class AbstractIdentifiable
extends java.lang.Object
implements Identifiable, java.io.Serializable

Abstract class implementing the Identifiable interface.

Version:
0.1 (22/07/2003)
Author:
Dieter Wimberger
See Also:
Serialized Form

Constructor Summary
AbstractIdentifiable()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getUID()
          Returns the unique identifier of this Identifiable instance.
 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 instance.

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)
Overrides:
equals in class java.lang.Object


Copyright © 2001-2003 jpim team.