Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputMode.java @ 63:c8e651530f34
Added an interface and its default implementation to describe an output mode of an artifact.
flys-client/trunk@1545 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 23 Mar 2011 10:58:07 +0000 |
parents | |
children | d01b0d81b92a |
comparison
equal
deleted
inserted
replaced
62:faf565d22c9a | 63:c8e651530f34 |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * This interface describes an output mode of an artifact. | |
8 * | |
9 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
10 */ | |
11 public interface OutputMode extends Serializable { | |
12 | |
13 /** | |
14 * Retrieves the name of this mode. | |
15 * | |
16 * @return the name of this mode. | |
17 */ | |
18 String getName(); | |
19 | |
20 | |
21 /** | |
22 * Retrieves the description of this mode. | |
23 * | |
24 * @return the description of this mode. | |
25 */ | |
26 String getDescription(); | |
27 | |
28 | |
29 /** | |
30 * Retrieves the mime-type of this mode. | |
31 * | |
32 * | |
33 * @return the mime-type of this mode. | |
34 */ | |
35 String getMimeType(); | |
36 } | |
37 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |