jp.terasoluna.fw.web.struts.action
Class DBMessageBean

java.lang.Object
  extended by jp.terasoluna.fw.web.struts.action.DBMessageBean

public class DBMessageBean
extends java.lang.Object

Class that temporarily stores the row (message resource) fetched from DB in the object format. For the usage method, refer to the following class.

See Also:
MessageResourcesDAOImpl

Field Summary
private  java.lang.String key
          Message key.
private  java.lang.String value
          Message statement.
 
Constructor Summary
DBMessageBean()
          Constructor. There is no specific process.
 
Method Summary
 java.lang.String getKey()
          Fetches message key
 java.lang.String getValue()
          Fetches message statement.
 void setKey(java.lang.String key)
          Sets message key.
 void setValue(java.lang.String value)
          Sets message statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private java.lang.String key
Message key.


value

private java.lang.String value
Message statement.

Constructor Detail

DBMessageBean

public DBMessageBean()
Constructor. There is no specific process.

Method Detail

getKey

public java.lang.String getKey()
Fetches message key.

Returns:
Message key.

getValue

public java.lang.String getValue()
Fetches message statement

Returns:
Message statement.

setKey

public void setKey(java.lang.String key)
Sets message key.

Parameters:
key - Message key.

setValue

public void setValue(java.lang.String value)
Sets message statement.

Parameters:
value - Message statement.