view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENLayerFacet.java @ 4989:f4d61ac84b76 dami

If we bother to check if the file is readable we might also bother to check if it's a file at all. Thanks to teichmann for noticing
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 14 Feb 2013 10:54:02 +0100
parents e1cf76b3ecb4
children
line wrap: on
line source
package de.intevation.flys.artifacts.model.map;

import de.intevation.flys.artifacts.states.DefaultState.ComputeType;

public class WSPLGENLayerFacet
extends      WMSLayerFacet
{
    public WSPLGENLayerFacet() {
    }


    public WSPLGENLayerFacet(int index, String name, String description) {
        this(index, name, description, ComputeType.FEED, null, null);
    }


    public WSPLGENLayerFacet(
        int         index,
        String      name,
        String      description,
        ComputeType type,
        String      stateId,
        String      hash
    ) {
        super(index, name, description, type, stateId, hash);
    }

    public WSPLGENLayerFacet(
        int         index,
        String      name,
        String      description,
        ComputeType type,
        String      stateId,
        String      hash,
        String      url
    ) {
        super(index, name, description, type, stateId, hash, url);
    }


    @Override
    public boolean isQueryable() {
        return true;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org