ingo@634: package de.intevation.gnv.state.describedata;
ingo@634:
ingo@634: import org.apache.log4j.Logger;
ingo@634:
ingo@634: /**
ingo@809: * This implementation improves the DefaultKeyValueDescribeData
and
ingo@809: * establishes another field to store a further parameter.
ingo@809: *
sascha@780: * @author Ingo Weinzierl
ingo@634: */
ingo@634: public class ExtendedKeyValueData
ingo@634: extends DefaultKeyValueDescribeData
ingo@634: {
ingo@634: private static Logger logger = Logger.getLogger(ExtendedKeyValueData.class);
ingo@634:
ingo@809: /**
ingo@809: * A further parameter to be stored at this object.
ingo@809: */
ingo@634: protected String parameter;
ingo@634:
ingo@809: /**
ingo@809: * Default constructor to initialize new objects.
ingo@809: *
ingo@809: * @param key The key.
ingo@809: * @param value The value.
ingo@809: * @param state The state - null permitted.
ingo@809: * @param parameter A further value.
ingo@809: */
ingo@634: public ExtendedKeyValueData(
ingo@634: String key, String value, String state, String parameter)
ingo@634: {
ingo@634: super(key, value, state);
ingo@634: this.parameter = parameter;
ingo@634: }
ingo@634:
ingo@809: /**
ingo@809: * Returns the parameter.
ingo@809: *
ingo@809: * @return the parameter.
ingo@809: */
ingo@634: public String getParameter() {
ingo@634: return parameter;
ingo@634: }
ingo@634: }
sascha@798: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :