[richfaces-svn-commits] JBoss Rich Faces SVN: r11762 - trunk/framework/api/src/main/java/org/richfaces/model.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Sun Dec 14 16:52:56 EST 2008
Author: nbelaevski
Date: 2008-12-14 16:52:56 -0500 (Sun, 14 Dec 2008)
New Revision: 11762
Added:
trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java
Log:
https://jira.jboss.org/jira/browse/RF-5008
Added: trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java 2008-12-14 21:52:56 UTC (rev 11762)
@@ -0,0 +1,38 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.model;
+
+import java.util.Locale;
+
+/**
+ * Models that are based on locale-dependent operations should implement this interface
+ *
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+
+public interface LocaleAware {
+
+ public Locale getLocale();
+
+ public void setLocale(Locale locale);
+}
More information about the richfaces-svn-commits
mailing list