net.sf.mmm.util.lang.base.attribute
Class AbstractAttributeReadId<T>

java.lang.Object
  extended by net.sf.mmm.util.lang.base.attribute.AbstractAttributeReadId<T>
Type Parameters:
T - is the generic type of the ID.
All Implemented Interfaces:
AttributeReadId<T>

public abstract class AbstractAttributeReadId<T>
extends Object
implements AttributeReadId<T>

This is the abstract base implementation of the AttributeReadId interface. It implements the common methods equals(Object), hashCode() and toString() to make your life easier. You may want to override toString() with a more specific implementation.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
AbstractAttributeReadId()
          The constructor.
 
Method Summary
 boolean equals(Object object)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.mmm.util.lang.api.attribute.AttributeReadId
getId
 

Constructor Detail

AbstractAttributeReadId

public AbstractAttributeReadId()
The constructor.

Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object object)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2001-2010 mmm-Team. All Rights Reserved.