edu.uoc.pfc.j2ee.jalonsod.mtp.config
Class LanguageEntry

java.lang.Object
  extended by edu.uoc.pfc.j2ee.jalonsod.mtp.config.LanguageEntry

public class LanguageEntry
extends java.lang.Object

File: LanguageEntry.java Created: 2012-04-22 A language entry is a single message translated in a particular language supported by the application. It has a key to locate the entry and a value (the translated message).

Author:
José Alonso de Motta

Field Summary
private  java.lang.String key
           
private  java.lang.String value
           
 
Constructor Summary
LanguageEntry(java.lang.String key, java.lang.String value)
           
 
Method Summary
 java.lang.String getKey()
           
 java.lang.String getValue()
           
 void setKey(java.lang.String key)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

private java.lang.String key

value

private java.lang.String value
Constructor Detail

LanguageEntry

public LanguageEntry(java.lang.String key,
                     java.lang.String value)
Method Detail

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object