public class NamedPropertyContainer extends PropertyContainer implements Cloneable
| Constructor and Description |
|---|
NamedPropertyContainer(String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
NamedPropertyContainer |
clone()
Return a copy of this object
|
String |
getName()
Return the name of this object
|
void |
setName(String name)
Set the name of this object
|
getAllProperties, getProperty, hasProperty, removeProperty, setPropertypublic NamedPropertyContainer(String name)
name - the name of the objectpublic String getName()
public void setName(String name)
name - the name to setpublic NamedPropertyContainer clone()
clone in class PropertyContainer