# HG changeset patch # User Ingo Weinzierl # Date 1337065520 0 # Node ID 156904aa7c8552bcee9db684523b20ae9f4a797f # Parent 111d4e28c45ed8ca527c815e9c63da373ecf5438 Added a class to store generic keys and values. artifacts/trunk@4404 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 111d4e28c45e -r 156904aa7c85 ChangeLog --- a/ChangeLog Mon May 07 13:30:08 2012 +0000 +++ b/ChangeLog Tue May 15 07:05:20 2012 +0000 @@ -1,3 +1,8 @@ +2012-05-15 Ingo Weinzierl + + * artifacts-common/src/main/java/de/intevation/artifacts/common/model/KVP.java: + New class to store generic keys and values. + 2012-05-07 Raimund Renkert * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java: diff -r 111d4e28c45e -r 156904aa7c85 artifacts-common/src/main/java/de/intevation/artifacts/common/model/KVP.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts-common/src/main/java/de/intevation/artifacts/common/model/KVP.java Tue May 15 07:05:20 2012 +0000 @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2010 by Intevation GmbH + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LGPL.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + */ +package de.intevation.artifacts.common.model; + + +public class KVP { + + private K key; + private V value; + + + public KVP(K key, V value) { + this.key = key; + this.value = value; + } + + + public K getKey() { + return key; + } + + + public V getValue() { + return value; + } +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :