view artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java @ 44:86d2a843e588

Allow REST server to bind to configurable interface. artifacts/trunk@151 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 29 Sep 2009 10:25:53 +0000
parents c2d53bd30ab8
children 8447467cef86
line wrap: on
line source
package de.intevation.artifactdatabase;

import java.util.List;

/**
 *  @author Sascha L. Teichmann
 */
public class Id
{
    public interface Filter {
        List filterIds(List ids);
    }

    protected int id;

    public Id() {
    }

    public Id(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:

http://dive4elements.wald.intevation.org