org.jboss.portal.portlet.support.info
Class ModeInfoSupport

java.lang.Object
  extended by org.jboss.portal.portlet.support.info.ModeInfoSupport
All Implemented Interfaces:
ModeInfo

public class ModeInfoSupport
extends java.lang.Object
implements ModeInfo

Version:
$Revision: 5448 $
Author:
Julien Viet

Constructor Summary
ModeInfoSupport(Mode mode)
           
 
Method Summary
 LocalizedString getDescription()
          The mode description.
 Mode getMode()
          The mode value.
 java.lang.String getModeName()
          Retrieves the associated Mode name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModeInfoSupport

public ModeInfoSupport(Mode mode)
Method Detail

getDescription

public LocalizedString getDescription()
Description copied from interface: ModeInfo
The mode description.

Specified by:
getDescription in interface ModeInfo

getMode

public Mode getMode()
Description copied from interface: ModeInfo
The mode value.

Specified by:
getMode in interface ModeInfo

getModeName

public java.lang.String getModeName()
Description copied from interface: ModeInfo
Retrieves the associated Mode name.

Specified by:
getModeName in interface ModeInfo
Returns:
the associated Mode name.