public class NamedThing extends java.lang.Object implements NamedObject
Constructor and Description |
---|
NamedThing()
_more_
|
NamedThing(java.lang.String name)
_more_
|
NamedThing(java.lang.String name,
java.lang.String description)
_more_
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
_more_
|
java.lang.String |
getDescription()
Get the Description property.
|
java.lang.String |
getName()
Get the Name property.
|
int |
hashCode() |
void |
setDescription(java.lang.String value)
Set the Description property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
java.lang.String |
toString()
_more_
|
public NamedThing()
public NamedThing(java.lang.String name)
name
- _more_public NamedThing(java.lang.String name, java.lang.String description)
name
- _more_description
- _more_public void setName(java.lang.String value)
setName
in interface NamedObject
value
- The new value for Namepublic java.lang.String getName()
getName
in interface NamedObject
public void setDescription(java.lang.String value)
value
- The new value for Descriptionpublic java.lang.String getDescription()
getDescription
in interface NamedObject
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- _more_