--- /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.cartable.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.cartable.model.FileTag;
+
+import java.io.Serializable;
+
+/**
+ * The cache model class for representing FileTag in entity cache.
+ *
+ * @author Barma Igor - Amblard Mathieu
+ * @see FileTag
+ * @generated
+ */
+public class FileTagCacheModel implements CacheModel<FileTag>, Serializable {
+ @Override
+ public String toString() {
+ StringBundler sb = new StringBundler(11);
+
+ sb.append("{fileTagId=");
+ sb.append(fileTagId);
+ sb.append(", dlFileEntryId=");
+ sb.append(dlFileEntryId);
+ sb.append(", tagList=");
+ sb.append(tagList);
+ sb.append(", linkList=");
+ sb.append(linkList);
+ sb.append(", keywordList=");
+ sb.append(keywordList);
+ sb.append("}");
+
+ return sb.toString();
+ }
+
+ public FileTag toEntityModel() {
+ FileTagImpl fileTagImpl = new FileTagImpl();
+
+ fileTagImpl.setFileTagId(fileTagId);
+ fileTagImpl.setDlFileEntryId(dlFileEntryId);
+
+ if (tagList == null) {
+ fileTagImpl.setTagList(StringPool.BLANK);
+ }
+ else {
+ fileTagImpl.setTagList(tagList);
+ }
+
+ if (linkList == null) {
+ fileTagImpl.setLinkList(StringPool.BLANK);
+ }
+ else {
+ fileTagImpl.setLinkList(linkList);
+ }
+
+ if (keywordList == null) {
+ fileTagImpl.setKeywordList(StringPool.BLANK);
+ }
+ else {
+ fileTagImpl.setKeywordList(keywordList);
+ }
+
+ fileTagImpl.resetOriginalValues();
+
+ return fileTagImpl;
+ }
+
+ public long fileTagId;
+ public long dlFileEntryId;
+ public String tagList;
+ public String linkList;
+ public String keywordList;
+}
\ No newline at end of file