pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.configuration
Class LocaleMappedConfiguration.LocaleMappedConfigurationEntry<V>

java.lang.Object
  extended by org.torweg.pulse.configuration.LocaleMappedConfiguration.LocaleMappedConfigurationEntry<V>
Type Parameters:
V - the type of the value (has to be "JAXB-able")
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
LocaleMappedConfiguration<V>

public static class LocaleMappedConfiguration.LocaleMappedConfigurationEntry<V>
extends java.lang.Object
implements java.io.Serializable

The LocaleMappedConfigurationEntry as used by LocaleMappedConfiguration.

Version:
$Revision: 1387 $
Author:
Christian Schatt, Daniel Dietz
See Also:
Serialized Form

Constructor Summary
protected LocaleMappedConfiguration.LocaleMappedConfigurationEntry()
          The default constructor.
  LocaleMappedConfiguration.LocaleMappedConfigurationEntry(java.util.Locale l, V v)
          The constructor that sets the Locale and the value.
 
Method Summary
 java.util.Locale getLocale()
          Returns the Locale.
 V getValue()
          Returns the value.
protected  void setLocale(java.util.Locale l)
          Sets the Locale.
protected  void setValue(V v)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleMappedConfiguration.LocaleMappedConfigurationEntry

protected LocaleMappedConfiguration.LocaleMappedConfigurationEntry()
The default constructor.


LocaleMappedConfiguration.LocaleMappedConfigurationEntry

public LocaleMappedConfiguration.LocaleMappedConfigurationEntry(java.util.Locale l, V v)
The constructor that sets the Locale and the value.

Parameters:
l - the Locale to set
v - the value to set
Method Detail

getLocale

public final java.util.Locale getLocale()
Returns the Locale.

Returns:
the Locale

setLocale

protected final void setLocale(java.util.Locale l)
Sets the Locale.

Parameters:
l - the Locale to set

getValue

public final V getValue()
Returns the value.

Returns:
the value

setValue

protected final void setValue(V v)
Sets the value.

Parameters:
v - the value to set