ingo@1022: /*
ingo@1022: * Copyright (c) 2010 by Intevation GmbH
ingo@1022: *
ingo@1022: * This program is free software under the LGPL (>=v2.1)
ingo@1022: * Read the file LGPL.txt coming with the software for details
ingo@1022: * or visit http://www.gnu.org/licenses/ if it does not exist.
ingo@1022: */
ingo@1022:
tim@32: package de.intevation.gnv.artifactdatabase.objects;
tim@36:
tim@32: /**
tim@693: * The Defaultimplementation of ArtifactStatisticValue
sascha@684: * @author Tim Englich
sascha@681: *
tim@32: */
tim@36: public class DefaultArtifactStatisticValue implements ArtifactStatisticValue {
tim@32:
tim@165: /**
tim@165: * The UID of this Class.
tim@165: */
tim@165: private static final long serialVersionUID = -8409111023127835398L;
tim@165:
tim@958: /**
tim@958: * The key of the new Value.
tim@958: */
tim@32: private String key = null;
tim@36:
tim@958: /**
tim@958: * The value of the Object.
tim@958: */
tim@32: private String value = null;
tim@32:
tim@693: /**
tim@693: * Constructor
tim@693: * @param key the key of the new Value
tim@693: * @param value the value of the Object.
tim@693: */
tim@32: public DefaultArtifactStatisticValue(String key, String value) {
tim@32: super();
tim@32: this.key = key;
tim@32: this.value = value;
tim@32: }
tim@32:
tim@32: public String getKey() {
tim@32: return this.key;
tim@32: }
tim@32:
tim@32: public String getValue() {
tim@32: return this.value;
tim@32: }
tim@32: }