ch.panter.li.bi.util
Class NamedItemBase

java.lang.Object
  extended by ch.panter.li.bi.util.NamedItemBase
All Implemented Interfaces:
NamedItem
Direct Known Subclasses:
AsnModuleImpl, AsnTypeImpl

public abstract class NamedItemBase
extends Object
implements NamedItem


Constructor Summary
protected NamedItemBase(String name)
           
 
Method Summary
protected  int computeHashCode(int baseHash)
           
 boolean equals(Object compare)
           
 String getName()
           
 int hashCode()
           
protected  boolean isEqualTo(Object compare)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedItemBase

protected NamedItemBase(String name)
Method Detail

getName

public final String getName()
Specified by:
getName in interface NamedItem
Returns:
item's name

equals

public final boolean equals(Object compare)
Overrides:
equals in class Object

isEqualTo

protected boolean isEqualTo(Object compare)

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

computeHashCode

protected int computeHashCode(int baseHash)

toString

public String toString()
Overrides:
toString in class Object


Copyright 2007-2007 SourceForge. All Rights Reserved.