PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/mpv5/handler/MPEnum.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 35 lines | 5 code | 3 blank | 27 comment | 0 complexity | 4e4a532d9c0e54544c08acc63e01d735 MD5 | raw file
 1/*
 2 *  This file is part of YaBS.
 3 *
 4 *      YaBS is free software: you can redistribute it and/or modify
 5 *      it under the terms of the GNU General Public License as published by
 6 *      the Free Software Foundation, either version 3 of the License, or
 7 *      (at your option) any later version.
 8 *
 9 *      YaBS is distributed in the hope that it will be useful,
10 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *      GNU General Public License for more details.
13 *
14 *      You should have received a copy of the GNU General Public License
15 *      along with YaBS.  If not, see <http://www.gnu.org/licenses/>.
16 */
17package mpv5.handler;
18
19/**
20 *This interface is for enums with ids
21 */
22public interface MPEnum {
23
24    /**
25     * The id
26     * @return An int representing the id
27     */
28    public Integer getId();
29
30    /**
31     * The value
32     * @return The localized value (name)
33     */
34    public String getName();
35}