--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * 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.
+ */
+
+package com.pentila.entSavoie.gestionMenus.model.impl;
+
+import com.liferay.portal.kernel.util.StringBundler;
+import com.liferay.portal.kernel.util.StringPool;
+import com.liferay.portal.model.CacheModel;
+
+import com.pentila.entSavoie.gestionMenus.model.InternationalMenu;
+
+import java.io.Serializable;
+
+/**
+ * The cache model class for representing InternationalMenu in entity cache.
+ *
+ * @author DIMIER Cedric et TARDY Camille
+ * @see InternationalMenu
+ * @generated
+ */
+public class InternationalMenuCacheModel implements CacheModel<InternationalMenu>,
+ Serializable {
+ @Override
+ public String toString() {
+ StringBundler sb = new StringBundler(9);
+
+ sb.append("{iternationalMenuId=");
+ sb.append(iternationalMenuId);
+ sb.append(", entityMenuId=");
+ sb.append(entityMenuId);
+ sb.append(", locale=");
+ sb.append(locale);
+ sb.append(", menuName=");
+ sb.append(menuName);
+ sb.append("}");
+
+ return sb.toString();
+ }
+
+ public InternationalMenu toEntityModel() {
+ InternationalMenuImpl internationalMenuImpl = new InternationalMenuImpl();
+
+ internationalMenuImpl.setIternationalMenuId(iternationalMenuId);
+ internationalMenuImpl.setEntityMenuId(entityMenuId);
+
+ if (locale == null) {
+ internationalMenuImpl.setLocale(StringPool.BLANK);
+ }
+ else {
+ internationalMenuImpl.setLocale(locale);
+ }
+
+ if (menuName == null) {
+ internationalMenuImpl.setMenuName(StringPool.BLANK);
+ }
+ else {
+ internationalMenuImpl.setMenuName(menuName);
+ }
+
+ internationalMenuImpl.resetOriginalValues();
+
+ return internationalMenuImpl;
+ }
+
+ public long iternationalMenuId;
+ public long entityMenuId;
+ public String locale;
+ public String menuName;
+}
\ No newline at end of file