--- /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;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link FileTag}.
+ * </p>
+ *
+ * @author Barma Igor - Amblard Mathieu
+ * @see FileTag
+ * @generated
+ */
+public class FileTagWrapper implements FileTag, ModelWrapper<FileTag> {
+ public FileTagWrapper(FileTag fileTag) {
+ _fileTag = fileTag;
+ }
+
+ public Class<?> getModelClass() {
+ return FileTag.class;
+ }
+
+ public String getModelClassName() {
+ return FileTag.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("fileTagId", getFileTagId());
+ attributes.put("dlFileEntryId", getDlFileEntryId());
+ attributes.put("tagList", getTagList());
+ attributes.put("linkList", getLinkList());
+ attributes.put("keywordList", getKeywordList());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long fileTagId = (Long)attributes.get("fileTagId");
+
+ if (fileTagId != null) {
+ setFileTagId(fileTagId);
+ }
+
+ Long dlFileEntryId = (Long)attributes.get("dlFileEntryId");
+
+ if (dlFileEntryId != null) {
+ setDlFileEntryId(dlFileEntryId);
+ }
+
+ String tagList = (String)attributes.get("tagList");
+
+ if (tagList != null) {
+ setTagList(tagList);
+ }
+
+ String linkList = (String)attributes.get("linkList");
+
+ if (linkList != null) {
+ setLinkList(linkList);
+ }
+
+ String keywordList = (String)attributes.get("keywordList");
+
+ if (keywordList != null) {
+ setKeywordList(keywordList);
+ }
+ }
+
+ /**
+ * Returns the primary key of this file tag.
+ *
+ * @return the primary key of this file tag
+ */
+ public long getPrimaryKey() {
+ return _fileTag.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this file tag.
+ *
+ * @param primaryKey the primary key of this file tag
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _fileTag.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the file tag ID of this file tag.
+ *
+ * @return the file tag ID of this file tag
+ */
+ public long getFileTagId() {
+ return _fileTag.getFileTagId();
+ }
+
+ /**
+ * Sets the file tag ID of this file tag.
+ *
+ * @param fileTagId the file tag ID of this file tag
+ */
+ public void setFileTagId(long fileTagId) {
+ _fileTag.setFileTagId(fileTagId);
+ }
+
+ /**
+ * Returns the dl file entry ID of this file tag.
+ *
+ * @return the dl file entry ID of this file tag
+ */
+ public long getDlFileEntryId() {
+ return _fileTag.getDlFileEntryId();
+ }
+
+ /**
+ * Sets the dl file entry ID of this file tag.
+ *
+ * @param dlFileEntryId the dl file entry ID of this file tag
+ */
+ public void setDlFileEntryId(long dlFileEntryId) {
+ _fileTag.setDlFileEntryId(dlFileEntryId);
+ }
+
+ /**
+ * Returns the tag list of this file tag.
+ *
+ * @return the tag list of this file tag
+ */
+ public java.lang.String getTagList() {
+ return _fileTag.getTagList();
+ }
+
+ /**
+ * Sets the tag list of this file tag.
+ *
+ * @param tagList the tag list of this file tag
+ */
+ public void setTagList(java.lang.String tagList) {
+ _fileTag.setTagList(tagList);
+ }
+
+ /**
+ * Returns the link list of this file tag.
+ *
+ * @return the link list of this file tag
+ */
+ public java.lang.String getLinkList() {
+ return _fileTag.getLinkList();
+ }
+
+ /**
+ * Sets the link list of this file tag.
+ *
+ * @param linkList the link list of this file tag
+ */
+ public void setLinkList(java.lang.String linkList) {
+ _fileTag.setLinkList(linkList);
+ }
+
+ /**
+ * Returns the keyword list of this file tag.
+ *
+ * @return the keyword list of this file tag
+ */
+ public java.lang.String getKeywordList() {
+ return _fileTag.getKeywordList();
+ }
+
+ /**
+ * Sets the keyword list of this file tag.
+ *
+ * @param keywordList the keyword list of this file tag
+ */
+ public void setKeywordList(java.lang.String keywordList) {
+ _fileTag.setKeywordList(keywordList);
+ }
+
+ public boolean isNew() {
+ return _fileTag.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _fileTag.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _fileTag.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _fileTag.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _fileTag.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _fileTag.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _fileTag.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _fileTag.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _fileTag.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new FileTagWrapper((FileTag)_fileTag.clone());
+ }
+
+ public int compareTo(com.pentila.entSavoie.cartable.model.FileTag fileTag) {
+ return _fileTag.compareTo(fileTag);
+ }
+
+ @Override
+ public int hashCode() {
+ return _fileTag.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.cartable.model.FileTag> toCacheModel() {
+ return _fileTag.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.cartable.model.FileTag toEscapedModel() {
+ return new FileTagWrapper(_fileTag.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _fileTag.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _fileTag.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _fileTag.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public FileTag getWrappedFileTag() {
+ return _fileTag;
+ }
+
+ public FileTag getWrappedModel() {
+ return _fileTag;
+ }
+
+ public void resetOriginalValues() {
+ _fileTag.resetOriginalValues();
+ }
+
+ private FileTag _fileTag;
+}
\ No newline at end of file