All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.lgeds.jdf.Message

public interface Message
Author:
WonYoung Lee, wyounglee@lgeds.lg.co.kr.

Method Index

 o getCode()
Returns the messge key string.
 o setArg(String, String)
Set the key=value pairs.
 o setCode(String)
Set the message code key.
 o toString()
Returns the translated actual string.

Methods

 o getCode
 public abstract String getCode()
Returns the messge key string.

Returns:
The messge key string.
 o setArg
 public abstract void setArg(String key,
                             String value)
Set the key=value pairs.

Parameters:
key - the string of key defined in the message definition file.
value - the actual string which you want to be replaced.
 o setCode
 public abstract void setCode(String code)
Set the message code key.

Parameters:
code - the code string which defined in the message definition file.
 o toString
 public abstract String toString()
Returns the translated actual string.

Returns:
a string representation of the receiver
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index