--- /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;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link LinkEtab}.
+ * </p>
+ *
+ * @author DIMIER Cedric et TARDY Camille
+ * @see LinkEtab
+ * @generated
+ */
+public class LinkEtabWrapper implements LinkEtab, ModelWrapper<LinkEtab> {
+ public LinkEtabWrapper(LinkEtab linkEtab) {
+ _linkEtab = linkEtab;
+ }
+
+ public Class<?> getModelClass() {
+ return LinkEtab.class;
+ }
+
+ public String getModelClassName() {
+ return LinkEtab.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("linkEtabId", getLinkEtabId());
+ attributes.put("etabId", getEtabId());
+ attributes.put("name", getName());
+ attributes.put("url", getUrl());
+ attributes.put("style", getStyle());
+ attributes.put("orders", getOrders());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long linkEtabId = (Long)attributes.get("linkEtabId");
+
+ if (linkEtabId != null) {
+ setLinkEtabId(linkEtabId);
+ }
+
+ Long etabId = (Long)attributes.get("etabId");
+
+ if (etabId != null) {
+ setEtabId(etabId);
+ }
+
+ String name = (String)attributes.get("name");
+
+ if (name != null) {
+ setName(name);
+ }
+
+ String url = (String)attributes.get("url");
+
+ if (url != null) {
+ setUrl(url);
+ }
+
+ String style = (String)attributes.get("style");
+
+ if (style != null) {
+ setStyle(style);
+ }
+
+ Integer orders = (Integer)attributes.get("orders");
+
+ if (orders != null) {
+ setOrders(orders);
+ }
+ }
+
+ /**
+ * Returns the primary key of this link etab.
+ *
+ * @return the primary key of this link etab
+ */
+ public long getPrimaryKey() {
+ return _linkEtab.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this link etab.
+ *
+ * @param primaryKey the primary key of this link etab
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _linkEtab.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the link etab ID of this link etab.
+ *
+ * @return the link etab ID of this link etab
+ */
+ public long getLinkEtabId() {
+ return _linkEtab.getLinkEtabId();
+ }
+
+ /**
+ * Sets the link etab ID of this link etab.
+ *
+ * @param linkEtabId the link etab ID of this link etab
+ */
+ public void setLinkEtabId(long linkEtabId) {
+ _linkEtab.setLinkEtabId(linkEtabId);
+ }
+
+ /**
+ * Returns the etab ID of this link etab.
+ *
+ * @return the etab ID of this link etab
+ */
+ public long getEtabId() {
+ return _linkEtab.getEtabId();
+ }
+
+ /**
+ * Sets the etab ID of this link etab.
+ *
+ * @param etabId the etab ID of this link etab
+ */
+ public void setEtabId(long etabId) {
+ _linkEtab.setEtabId(etabId);
+ }
+
+ /**
+ * Returns the name of this link etab.
+ *
+ * @return the name of this link etab
+ */
+ public java.lang.String getName() {
+ return _linkEtab.getName();
+ }
+
+ /**
+ * Sets the name of this link etab.
+ *
+ * @param name the name of this link etab
+ */
+ public void setName(java.lang.String name) {
+ _linkEtab.setName(name);
+ }
+
+ /**
+ * Returns the url of this link etab.
+ *
+ * @return the url of this link etab
+ */
+ public java.lang.String getUrl() {
+ return _linkEtab.getUrl();
+ }
+
+ /**
+ * Sets the url of this link etab.
+ *
+ * @param url the url of this link etab
+ */
+ public void setUrl(java.lang.String url) {
+ _linkEtab.setUrl(url);
+ }
+
+ /**
+ * Returns the style of this link etab.
+ *
+ * @return the style of this link etab
+ */
+ public java.lang.String getStyle() {
+ return _linkEtab.getStyle();
+ }
+
+ /**
+ * Sets the style of this link etab.
+ *
+ * @param style the style of this link etab
+ */
+ public void setStyle(java.lang.String style) {
+ _linkEtab.setStyle(style);
+ }
+
+ /**
+ * Returns the orders of this link etab.
+ *
+ * @return the orders of this link etab
+ */
+ public int getOrders() {
+ return _linkEtab.getOrders();
+ }
+
+ /**
+ * Sets the orders of this link etab.
+ *
+ * @param orders the orders of this link etab
+ */
+ public void setOrders(int orders) {
+ _linkEtab.setOrders(orders);
+ }
+
+ public boolean isNew() {
+ return _linkEtab.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _linkEtab.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _linkEtab.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _linkEtab.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _linkEtab.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _linkEtab.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _linkEtab.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _linkEtab.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _linkEtab.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new LinkEtabWrapper((LinkEtab)_linkEtab.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.gestionMenus.model.LinkEtab linkEtab) {
+ return _linkEtab.compareTo(linkEtab);
+ }
+
+ @Override
+ public int hashCode() {
+ return _linkEtab.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.gestionMenus.model.LinkEtab> toCacheModel() {
+ return _linkEtab.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.gestionMenus.model.LinkEtab toEscapedModel() {
+ return new LinkEtabWrapper(_linkEtab.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _linkEtab.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _linkEtab.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _linkEtab.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public LinkEtab getWrappedLinkEtab() {
+ return _linkEtab;
+ }
+
+ public LinkEtab getWrappedModel() {
+ return _linkEtab;
+ }
+
+ public void resetOriginalValues() {
+ _linkEtab.resetOriginalValues();
+ }
+
+ private LinkEtab _linkEtab;
+}
\ No newline at end of file