public class NamedAnything extends java.lang.Object implements NamedObject
Constructor and Description |
---|
NamedAnything(java.lang.String name,
java.lang.String desc) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the object's description.
|
java.lang.String |
getName()
Get the object's name
|
java.lang.String |
toString() |
public java.lang.String getName()
NamedObject
getName
in interface NamedObject
public java.lang.String getDescription()
NamedObject
getDescription
in interface NamedObject
public java.lang.String toString()
toString
in class java.lang.Object