CLRA 0.1.2

com.clra.util
Interface INamed

All Known Subinterfaces:
IName
All Known Implementing Classes:
MemberView

public interface INamed

Declares a read-only interface for named objects. Named objects should guarantee that getName() returns a non-null and non-blank value (otherwise it doesn't make much sense to declare an object as 'Named'). Implementations should also trim names (i.e. remove leading and trailing whitespace) since whitespace doesn't make much sense in a name.

Version:
$Revision: 1.2 $ $Date: 2002/02/18 18:05:26 $
Author:
Rick Hall

Method Summary
 String getName()
          Returns the name of an object.
 

Method Detail

getName

public String getName()
Returns the name of an object.
Returns:
a non-null, non-blank, trimmed value. much sense to declare an object as 'named').

CLRA 0.1.2