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 MappedConfiguration.MappedConfigurationEntry<K,V>

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

public static class MappedConfiguration.MappedConfigurationEntry<K,V>
extends java.lang.Object
implements java.io.Serializable

The MappedConfigurationEntry as used by MappedConfiguration.

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

Constructor Summary
protected MappedConfiguration.MappedConfigurationEntry()
          The default constructor.
  MappedConfiguration.MappedConfigurationEntry(K k, V v)
          The constructor that sets the key and the value.
 
Method Summary
 K getKey()
          Returns the key.
 V getValue()
          Returns the value.
protected  void setKey(K k)
          Sets the key.
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

MappedConfiguration.MappedConfigurationEntry

protected MappedConfiguration.MappedConfigurationEntry()
The default constructor.


MappedConfiguration.MappedConfigurationEntry

public MappedConfiguration.MappedConfigurationEntry(K k, V v)
The constructor that sets the key and the value.

Parameters:
k - the key to set
v - the value to set
Method Detail

getKey

public final K getKey()
Returns the key.

Returns:
the key

setKey

protected final void setKey(K k)
Sets the key.

Parameters:
k - the key 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