view gwt-client/src/main/java/org/dive4elements/river/client/shared/model/SINFOArtifact.java @ 8871:78cd6572778d

Introduced groups for modules. Modules marked with the same group-id, will be put together in the ui. Also using now the localization info from the server instead of localizing the modules again on the client side.
author gernotbelger
date Wed, 07 Feb 2018 12:02:58 +0100
parents 7bbfb24e6eec
children abf14917be32
line wrap: on
line source
/* 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 SINFO implementation of an Artifact.
 *
 * @author Gernot Belger
 */
public class SINFOArtifact extends DefaultArtifact {

    /** The name of this artifact: 'sinfo'.*/
    private static final String NAME = "sinfo";

    /** Necessary for serialization */
    public SINFOArtifact() {
    }

//    public  SINFOArtifact(String uuid, String hash) {
//        super(uuid, hash);
//    }

    public SINFOArtifact(
        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 :

http://dive4elements.wald.intevation.org