|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbyucc.jhdl.synth.graph.NamedObject
An abstract class for an object which can have a name
| Field Summary | |
protected java.lang.String |
name
|
| Constructor Summary | |
NamedObject()
Default constructor - Constructs a new NamedObject |
|
NamedObject(Nameable owner,
java.lang.String n)
Constructs a new NamedObject with the given owner and name |
|
NamedObject(java.lang.String name)
Constructs a new NamedObject with the given name |
|
| Method Summary | |
java.lang.String |
getName()
Returns the name of this object. |
void |
setName(java.lang.String n)
Sets the name of this object. |
java.lang.String |
toString()
Gets a String representation of this NamedObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String name
| Constructor Detail |
public NamedObject()
public NamedObject(java.lang.String name)
name - the name for this object
public NamedObject(Nameable owner,
java.lang.String n)
owner - the owner of this object, (ie. an object which can define
a namespace for this object.| Method Detail |
public java.lang.String getName()
getName in interface Nameablepublic void setName(java.lang.String n)
setName in interface Nameablen - the new name for this object.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||