Mercurial > dive4elements > river
diff gwt-client/src/main/java/org/dive4elements/river/client/shared/model/UINFOArtifact.java @ 8995:8c3e5682cb60
Introduced UNFO module
author | gernotbelger |
---|---|
date | Thu, 12 Apr 2018 19:11:11 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/UINFOArtifact.java Thu Apr 12 19:11:11 2018 +0200 @@ -0,0 +1,42 @@ +/* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde + * Software engineering by Intevation GmbH + * + * This file is Free Software under the GNU AGPL (>=v3) + * and comes with ABSOLUTELY NO WARRANTY! Check out the + * documentation coming with Dive4Elements River for details. + */ + +package org.dive4elements.river.client.shared.model; + +import java.util.List; + + +/** + * The UINFO implementation of an Artifact. + * + * @author Gernot Belger + */ +public class UINFOArtifact extends DefaultArtifact { + + /** The name of this artifact: 'uinfo'.*/ + private static final String NAME = "uinfo"; + + /** Necessary for serialization */ + public UINFOArtifact() { + } + + public UINFOArtifact( + String uuid, + String hash, + boolean inBackground, + List<CalculationMessage> messages + ) { + super(uuid, hash, inBackground, messages); + } + + + public String getName() { + return NAME; + } +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :