org.base.apps.util
Class BaseNameable

java.lang.Object
  extended by org.base.apps.util.BaseNameable
All Implemented Interfaces:
Nameable, Named
Direct Known Subclasses:
BaseApplication, BaseData, BoundProperty, ColumnInfo

public abstract class BaseNameable
extends Object
implements Nameable

Abstract base Nameable to avoid duplicating name attribute everywhere.

Author:
Kevan Simpson

Constructor Summary
BaseNameable()
           
 
Method Summary
 String getName()
          Fetches the name of this instance.
 void setName(String name)
          Sets the name of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseNameable

public BaseNameable()
Method Detail

setName

public void setName(String name)
Description copied from interface: Nameable
Sets the name of this instance.

Specified by:
setName in interface Nameable
Parameters:
name - The new name.
See Also:
Nameable.setName(java.lang.String)

getName

public String getName()
Description copied from interface: Named
Fetches the name of this instance.

Specified by:
getName in interface Named
Returns:
the name of this instance.
See Also:
Named.getName()

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)