net.coalevo.foundation.model
Class BaseIdentifiable
java.lang.Object
net.coalevo.foundation.model.BaseIdentifiable
- All Implemented Interfaces:
- Identifiable
- Direct Known Subclasses:
- Action, BaseService
public abstract class BaseIdentifiable
- extends java.lang.Object
- implements Identifiable
Provides an abstract base Identifiable.
The identifying String is handled as
final.
- Version:
- 1.0.0 (10/02/2009)
- Author:
- Dieter Wimberger (wimpi)
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
m_Identifier
protected final java.lang.String m_Identifier
BaseIdentifiable
public BaseIdentifiable(java.lang.String id)
getIdentifier
public java.lang.String getIdentifier()
- Description copied from interface:
Identifiable
- Returns the identifier of this Identifiable.
- Specified by:
getIdentifier in interface Identifiable
- Returns:
- the identifier as String.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
(c) 2004-2009 VFI (http://www.vfi.or.at)