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@164: package de.intevation.gnv.artifactdatabase.objects;
tim@164:
tim@165: import java.io.Serializable;
sascha@683:
tim@164: import java.util.Collection;
tim@164:
tim@164: /**
ingo@690: * An inteface description for a container storing statistics.
sascha@699: *
sascha@684: * @author Tim Englich
tim@164: */
tim@165: public interface ArtifactStatisticsSet extends Serializable {
sascha@681:
ingo@690: /**
ingo@690: * Retrieves the name of this container.
ingo@690: *
ingo@690: * @return the name.
ingo@690: */
tim@164: String getName();
sascha@681:
ingo@690: /**
ingo@690: * Retrieves the statistics as collection.
ingo@690: *
ingo@690: * @return the statistics.
ingo@690: */
tim@164: Collection getStatisticValues();
sascha@681:
ingo@690: /**
ingo@690: * Add a new statistic to this container.
ingo@690: *
ingo@690: * @param value A statistic.
ingo@690: */
tim@164: void addStatisticValues(ArtifactStatisticValue value);
tim@164: }
sascha@700: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :