|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasName
An interface declaring that an instance of a class has a name.
Note that a name is not the same as the string typically returned by
toString()
. Instead, it is an in context name with
significance to the user. For example, an instance of Foo might
return "Foo 23A" for toString
, but "Fred" for getName()
.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the of the object. |
Method Detail |
---|
java.lang.String getName()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |