--- /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.cantine.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link CantineGEMRCNTypeRecette}.
+ * </p>
+ *
+ * @author Mathieu Amblard
+ * @see CantineGEMRCNTypeRecette
+ * @generated
+ */
+public class CantineGEMRCNTypeRecetteWrapper implements CantineGEMRCNTypeRecette,
+ ModelWrapper<CantineGEMRCNTypeRecette> {
+ public CantineGEMRCNTypeRecetteWrapper(
+ CantineGEMRCNTypeRecette cantineGEMRCNTypeRecette) {
+ _cantineGEMRCNTypeRecette = cantineGEMRCNTypeRecette;
+ }
+
+ public Class<?> getModelClass() {
+ return CantineGEMRCNTypeRecette.class;
+ }
+
+ public String getModelClassName() {
+ return CantineGEMRCNTypeRecette.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("cantineGEMRCNTypeRecetteId",
+ getCantineGEMRCNTypeRecetteId());
+ attributes.put("gemrcnId", getGemrcnId());
+ attributes.put("typeRecette", getTypeRecette());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long cantineGEMRCNTypeRecetteId = (Long)attributes.get(
+ "cantineGEMRCNTypeRecetteId");
+
+ if (cantineGEMRCNTypeRecetteId != null) {
+ setCantineGEMRCNTypeRecetteId(cantineGEMRCNTypeRecetteId);
+ }
+
+ Long gemrcnId = (Long)attributes.get("gemrcnId");
+
+ if (gemrcnId != null) {
+ setGemrcnId(gemrcnId);
+ }
+
+ String typeRecette = (String)attributes.get("typeRecette");
+
+ if (typeRecette != null) {
+ setTypeRecette(typeRecette);
+ }
+ }
+
+ /**
+ * Returns the primary key of this cantine g e m r c n type recette.
+ *
+ * @return the primary key of this cantine g e m r c n type recette
+ */
+ public long getPrimaryKey() {
+ return _cantineGEMRCNTypeRecette.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this cantine g e m r c n type recette.
+ *
+ * @param primaryKey the primary key of this cantine g e m r c n type recette
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _cantineGEMRCNTypeRecette.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the cantine g e m r c n type recette ID of this cantine g e m r c n type recette.
+ *
+ * @return the cantine g e m r c n type recette ID of this cantine g e m r c n type recette
+ */
+ public long getCantineGEMRCNTypeRecetteId() {
+ return _cantineGEMRCNTypeRecette.getCantineGEMRCNTypeRecetteId();
+ }
+
+ /**
+ * Sets the cantine g e m r c n type recette ID of this cantine g e m r c n type recette.
+ *
+ * @param cantineGEMRCNTypeRecetteId the cantine g e m r c n type recette ID of this cantine g e m r c n type recette
+ */
+ public void setCantineGEMRCNTypeRecetteId(long cantineGEMRCNTypeRecetteId) {
+ _cantineGEMRCNTypeRecette.setCantineGEMRCNTypeRecetteId(cantineGEMRCNTypeRecetteId);
+ }
+
+ /**
+ * Returns the gemrcn ID of this cantine g e m r c n type recette.
+ *
+ * @return the gemrcn ID of this cantine g e m r c n type recette
+ */
+ public long getGemrcnId() {
+ return _cantineGEMRCNTypeRecette.getGemrcnId();
+ }
+
+ /**
+ * Sets the gemrcn ID of this cantine g e m r c n type recette.
+ *
+ * @param gemrcnId the gemrcn ID of this cantine g e m r c n type recette
+ */
+ public void setGemrcnId(long gemrcnId) {
+ _cantineGEMRCNTypeRecette.setGemrcnId(gemrcnId);
+ }
+
+ /**
+ * Returns the type recette of this cantine g e m r c n type recette.
+ *
+ * @return the type recette of this cantine g e m r c n type recette
+ */
+ public java.lang.String getTypeRecette() {
+ return _cantineGEMRCNTypeRecette.getTypeRecette();
+ }
+
+ /**
+ * Sets the type recette of this cantine g e m r c n type recette.
+ *
+ * @param typeRecette the type recette of this cantine g e m r c n type recette
+ */
+ public void setTypeRecette(java.lang.String typeRecette) {
+ _cantineGEMRCNTypeRecette.setTypeRecette(typeRecette);
+ }
+
+ public boolean isNew() {
+ return _cantineGEMRCNTypeRecette.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _cantineGEMRCNTypeRecette.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _cantineGEMRCNTypeRecette.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _cantineGEMRCNTypeRecette.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _cantineGEMRCNTypeRecette.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _cantineGEMRCNTypeRecette.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _cantineGEMRCNTypeRecette.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _cantineGEMRCNTypeRecette.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _cantineGEMRCNTypeRecette.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new CantineGEMRCNTypeRecetteWrapper((CantineGEMRCNTypeRecette)_cantineGEMRCNTypeRecette.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.cantine.model.CantineGEMRCNTypeRecette cantineGEMRCNTypeRecette) {
+ return _cantineGEMRCNTypeRecette.compareTo(cantineGEMRCNTypeRecette);
+ }
+
+ @Override
+ public int hashCode() {
+ return _cantineGEMRCNTypeRecette.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.cantine.model.CantineGEMRCNTypeRecette> toCacheModel() {
+ return _cantineGEMRCNTypeRecette.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.cantine.model.CantineGEMRCNTypeRecette toEscapedModel() {
+ return new CantineGEMRCNTypeRecetteWrapper(_cantineGEMRCNTypeRecette.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _cantineGEMRCNTypeRecette.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _cantineGEMRCNTypeRecette.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _cantineGEMRCNTypeRecette.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public CantineGEMRCNTypeRecette getWrappedCantineGEMRCNTypeRecette() {
+ return _cantineGEMRCNTypeRecette;
+ }
+
+ public CantineGEMRCNTypeRecette getWrappedModel() {
+ return _cantineGEMRCNTypeRecette;
+ }
+
+ public void resetOriginalValues() {
+ _cantineGEMRCNTypeRecette.resetOriginalValues();
+ }
+
+ private CantineGEMRCNTypeRecette _cantineGEMRCNTypeRecette;
+}
\ No newline at end of file