r258 - trunk/echobase-entities/src/main/java/fr/ifremer/echobase
Author: tchemit Date: 2012-01-12 13:00:25 +0100 (Thu, 12 Jan 2012) New Revision: 258 Url: http://forge.codelutin.com/repositories/revision/echobase/258 Log: add I18nAble contract Added: trunk/echobase-entities/src/main/java/fr/ifremer/echobase/I18nAble.java Added: trunk/echobase-entities/src/main/java/fr/ifremer/echobase/I18nAble.java =================================================================== --- trunk/echobase-entities/src/main/java/fr/ifremer/echobase/I18nAble.java (rev 0) +++ trunk/echobase-entities/src/main/java/fr/ifremer/echobase/I18nAble.java 2012-01-12 12:00:25 UTC (rev 258) @@ -0,0 +1,35 @@ +/* + * #%L + * EchoBase :: Entities + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2011 - 2012 Ifremer, Codelutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ +package fr.ifremer.echobase; + +/** + * Contract ot place on classes offering a i18n key. + * + * @author tchemit <chemit@codelutin.com> + * @since 0.3 + */ +public interface I18nAble { + + String getI18nKey(); +} Property changes on: trunk/echobase-entities/src/main/java/fr/ifremer/echobase/I18nAble.java ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native
participants (1)
-
tchemit@users.forge.codelutin.com