org.apache.beehive.netui.pageflow.requeststate
Interface INameable

All Known Subinterfaces:
ITreeRootElement
All Known Implementing Classes:
DivPanelState, TreeRootElement

public interface INameable

This interface defines what it means to be a namable object. The name service will name an INameable object which will be unique for the life time of the session.


Method Summary
 String getObjectName()
          Returns the ObjectName of the INameable object.
 void setObjectName(String name)
          Set the ObjectName of the INameable object.
 

Method Detail

setObjectName

void setObjectName(String name)
Set the ObjectName of the INameable object. This should only be set once. If it is called a second time an IllegalStateException should be thrown

Parameters:
name - the Object's name.
Throws:
IllegalStateException - if this method is called more than once for an object

getObjectName

String getObjectName()
Returns the ObjectName of the INameable object.

Returns:
the ObjectName.