org.opengts.war.report
Class ReportOption

java.lang.Object
  extended by org.opengts.war.report.ReportOption

public class ReportOption
extends java.lang.Object


Constructor Summary
ReportOption(java.lang.String name)
          Constructor
ReportOption(java.lang.String name, I18N.Text desc, RTProperties rtProps)
          Constructor
ReportOption(java.lang.String name, java.lang.String desc, RTProperties rtProps)
          Constructor
 
Method Summary
 java.lang.String getDescription(java.util.Locale locale)
          Gets the localized description of this ReportOption
 java.lang.String getDescription(java.util.Locale locale, RequestProperties reqState)
          Gets the localized description of this ReportOption
 java.lang.String getName()
          Gets the name of this ReportOption
 RTProperties getProperties()
          Gets the defined properties for this ReportOption
 java.lang.String getValue(java.lang.String key)
          Gets the specified property value
 boolean hasProperties()
          Returns true if this ReportOption has defined properties
 void setDescription(I18N.Text desc)
          Sets a localizable text description for this ReportOption
 void setDescription(java.lang.String desc)
          Sets the String description (non-localizable)
 void setValue(java.lang.String key, java.lang.String val)
          Sets the specified property value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportOption

public ReportOption(java.lang.String name,
                    I18N.Text desc,
                    RTProperties rtProps)
Constructor


ReportOption

public ReportOption(java.lang.String name,
                    java.lang.String desc,
                    RTProperties rtProps)
Constructor


ReportOption

public ReportOption(java.lang.String name)
Constructor

Method Detail

getName

public java.lang.String getName()
Gets the name of this ReportOption


setDescription

public void setDescription(java.lang.String desc)
Sets the String description (non-localizable)


setDescription

public void setDescription(I18N.Text desc)
Sets a localizable text description for this ReportOption


getDescription

public java.lang.String getDescription(java.util.Locale locale)
Gets the localized description of this ReportOption


getDescription

public java.lang.String getDescription(java.util.Locale locale,
                                       RequestProperties reqState)
Gets the localized description of this ReportOption


hasProperties

public boolean hasProperties()
Returns true if this ReportOption has defined properties


getProperties

public RTProperties getProperties()
Gets the defined properties for this ReportOption


setValue

public void setValue(java.lang.String key,
                     java.lang.String val)
Sets the specified property value


getValue

public java.lang.String getValue(java.lang.String key)
Gets the specified property value