com.ideo.sweetdevria.config.elements
Class MessageResourcesConfig

java.lang.Object
  extended by com.ideo.sweetdevria.config.elements.MessageResourcesConfig
All Implemented Interfaces:
java.io.Serializable

public class MessageResourcesConfig
extends java.lang.Object
implements java.io.Serializable

A JavaBean representing the configuration information of a <message-resources> element in a RIA configuration file.

See Also:
Serialized Form

Field Summary
protected  boolean configured
          Has this component been completely configured?
protected  java.lang.String factory
          Fully qualified Java class name of the MessageResourcesFactory class we should use.
protected  java.lang.String key
          The servlet context attributes key under which this MessageResources instance is stored.
protected  boolean nullValue
          Should we return null for unknown message keys?
protected  java.lang.String parameter
          Parameter that is passed to the createResources() method of our MessageResourcesFactory implementation.
 
Constructor Summary
MessageResourcesConfig()
           
 
Method Summary
 void freeze()
          Freeze the configuration of this component.
 java.lang.String getFactory()
          Get the factory.
 java.lang.String getKey()
          Get the key.
 boolean getNull()
           
 java.lang.String getParameter()
          Get the parameter.
 void setFactory(java.lang.String factory)
          Set the factory.
 void setKey(java.lang.String key)
          Set the key.
 void setNull(boolean nullValue)
           
 void setParameter(java.lang.String parameter)
          Set the parameter.
 java.lang.String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

configured

protected boolean configured
Has this component been completely configured?


factory

protected java.lang.String factory
Fully qualified Java class name of the MessageResourcesFactory class we should use.


key

protected java.lang.String key
The servlet context attributes key under which this MessageResources instance is stored.


nullValue

protected boolean nullValue
Should we return null for unknown message keys?


parameter

protected java.lang.String parameter
Parameter that is passed to the createResources() method of our MessageResourcesFactory implementation.

Constructor Detail

MessageResourcesConfig

public MessageResourcesConfig()
Method Detail

getFactory

public java.lang.String getFactory()
Get the factory.

Returns:
Returns the factory.

setFactory

public void setFactory(java.lang.String factory)
Set the factory.

Parameters:
factory - The factory to set.

getKey

public java.lang.String getKey()
Get the key.

Returns:
Returns the key.

setKey

public void setKey(java.lang.String key)
Set the key.

Parameters:
key - The key to set.

getNull

public boolean getNull()

setNull

public void setNull(boolean nullValue)

getParameter

public java.lang.String getParameter()
Get the parameter.

Returns:
Returns the parameter.

setParameter

public void setParameter(java.lang.String parameter)
Set the parameter.

Parameters:
parameter - The parameter to set.

freeze

public void freeze()
Freeze the configuration of this component.


toString

public java.lang.String toString()
Return a String representation of this object.

Overrides:
toString in class java.lang.Object


Copyright © 2010 Ideo Technologies. All Rights Reserved.