--- /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 CantineCategorieRecette}.
+ * </p>
+ *
+ * @author Mathieu Amblard
+ * @see CantineCategorieRecette
+ * @generated
+ */
+public class CantineCategorieRecetteWrapper implements CantineCategorieRecette,
+ ModelWrapper<CantineCategorieRecette> {
+ public CantineCategorieRecetteWrapper(
+ CantineCategorieRecette cantineCategorieRecette) {
+ _cantineCategorieRecette = cantineCategorieRecette;
+ }
+
+ public Class<?> getModelClass() {
+ return CantineCategorieRecette.class;
+ }
+
+ public String getModelClassName() {
+ return CantineCategorieRecette.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("cantineCategorieRecetteId",
+ getCantineCategorieRecetteId());
+ attributes.put("typeRecette", getTypeRecette());
+ attributes.put("parentCategorieId", getParentCategorieId());
+ attributes.put("nomCategorie", getNomCategorie());
+ attributes.put("codeCategorie", getCodeCategorie());
+ attributes.put("couleurCategorie", getCouleurCategorie());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long cantineCategorieRecetteId = (Long)attributes.get(
+ "cantineCategorieRecetteId");
+
+ if (cantineCategorieRecetteId != null) {
+ setCantineCategorieRecetteId(cantineCategorieRecetteId);
+ }
+
+ String typeRecette = (String)attributes.get("typeRecette");
+
+ if (typeRecette != null) {
+ setTypeRecette(typeRecette);
+ }
+
+ Long parentCategorieId = (Long)attributes.get("parentCategorieId");
+
+ if (parentCategorieId != null) {
+ setParentCategorieId(parentCategorieId);
+ }
+
+ String nomCategorie = (String)attributes.get("nomCategorie");
+
+ if (nomCategorie != null) {
+ setNomCategorie(nomCategorie);
+ }
+
+ String codeCategorie = (String)attributes.get("codeCategorie");
+
+ if (codeCategorie != null) {
+ setCodeCategorie(codeCategorie);
+ }
+
+ String couleurCategorie = (String)attributes.get("couleurCategorie");
+
+ if (couleurCategorie != null) {
+ setCouleurCategorie(couleurCategorie);
+ }
+ }
+
+ /**
+ * Returns the primary key of this cantine categorie recette.
+ *
+ * @return the primary key of this cantine categorie recette
+ */
+ public long getPrimaryKey() {
+ return _cantineCategorieRecette.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this cantine categorie recette.
+ *
+ * @param primaryKey the primary key of this cantine categorie recette
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _cantineCategorieRecette.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the cantine categorie recette ID of this cantine categorie recette.
+ *
+ * @return the cantine categorie recette ID of this cantine categorie recette
+ */
+ public long getCantineCategorieRecetteId() {
+ return _cantineCategorieRecette.getCantineCategorieRecetteId();
+ }
+
+ /**
+ * Sets the cantine categorie recette ID of this cantine categorie recette.
+ *
+ * @param cantineCategorieRecetteId the cantine categorie recette ID of this cantine categorie recette
+ */
+ public void setCantineCategorieRecetteId(long cantineCategorieRecetteId) {
+ _cantineCategorieRecette.setCantineCategorieRecetteId(cantineCategorieRecetteId);
+ }
+
+ /**
+ * Returns the type recette of this cantine categorie recette.
+ *
+ * @return the type recette of this cantine categorie recette
+ */
+ public java.lang.String getTypeRecette() {
+ return _cantineCategorieRecette.getTypeRecette();
+ }
+
+ /**
+ * Sets the type recette of this cantine categorie recette.
+ *
+ * @param typeRecette the type recette of this cantine categorie recette
+ */
+ public void setTypeRecette(java.lang.String typeRecette) {
+ _cantineCategorieRecette.setTypeRecette(typeRecette);
+ }
+
+ /**
+ * Returns the parent categorie ID of this cantine categorie recette.
+ *
+ * @return the parent categorie ID of this cantine categorie recette
+ */
+ public long getParentCategorieId() {
+ return _cantineCategorieRecette.getParentCategorieId();
+ }
+
+ /**
+ * Sets the parent categorie ID of this cantine categorie recette.
+ *
+ * @param parentCategorieId the parent categorie ID of this cantine categorie recette
+ */
+ public void setParentCategorieId(long parentCategorieId) {
+ _cantineCategorieRecette.setParentCategorieId(parentCategorieId);
+ }
+
+ /**
+ * Returns the nom categorie of this cantine categorie recette.
+ *
+ * @return the nom categorie of this cantine categorie recette
+ */
+ public java.lang.String getNomCategorie() {
+ return _cantineCategorieRecette.getNomCategorie();
+ }
+
+ /**
+ * Sets the nom categorie of this cantine categorie recette.
+ *
+ * @param nomCategorie the nom categorie of this cantine categorie recette
+ */
+ public void setNomCategorie(java.lang.String nomCategorie) {
+ _cantineCategorieRecette.setNomCategorie(nomCategorie);
+ }
+
+ /**
+ * Returns the code categorie of this cantine categorie recette.
+ *
+ * @return the code categorie of this cantine categorie recette
+ */
+ public java.lang.String getCodeCategorie() {
+ return _cantineCategorieRecette.getCodeCategorie();
+ }
+
+ /**
+ * Sets the code categorie of this cantine categorie recette.
+ *
+ * @param codeCategorie the code categorie of this cantine categorie recette
+ */
+ public void setCodeCategorie(java.lang.String codeCategorie) {
+ _cantineCategorieRecette.setCodeCategorie(codeCategorie);
+ }
+
+ /**
+ * Returns the couleur categorie of this cantine categorie recette.
+ *
+ * @return the couleur categorie of this cantine categorie recette
+ */
+ public java.lang.String getCouleurCategorie() {
+ return _cantineCategorieRecette.getCouleurCategorie();
+ }
+
+ /**
+ * Sets the couleur categorie of this cantine categorie recette.
+ *
+ * @param couleurCategorie the couleur categorie of this cantine categorie recette
+ */
+ public void setCouleurCategorie(java.lang.String couleurCategorie) {
+ _cantineCategorieRecette.setCouleurCategorie(couleurCategorie);
+ }
+
+ public boolean isNew() {
+ return _cantineCategorieRecette.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _cantineCategorieRecette.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _cantineCategorieRecette.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _cantineCategorieRecette.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _cantineCategorieRecette.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _cantineCategorieRecette.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _cantineCategorieRecette.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _cantineCategorieRecette.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _cantineCategorieRecette.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new CantineCategorieRecetteWrapper((CantineCategorieRecette)_cantineCategorieRecette.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.cantine.model.CantineCategorieRecette cantineCategorieRecette) {
+ return _cantineCategorieRecette.compareTo(cantineCategorieRecette);
+ }
+
+ @Override
+ public int hashCode() {
+ return _cantineCategorieRecette.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.cantine.model.CantineCategorieRecette> toCacheModel() {
+ return _cantineCategorieRecette.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.cantine.model.CantineCategorieRecette toEscapedModel() {
+ return new CantineCategorieRecetteWrapper(_cantineCategorieRecette.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _cantineCategorieRecette.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _cantineCategorieRecette.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _cantineCategorieRecette.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public CantineCategorieRecette getWrappedCantineCategorieRecette() {
+ return _cantineCategorieRecette;
+ }
+
+ public CantineCategorieRecette getWrappedModel() {
+ return _cantineCategorieRecette;
+ }
+
+ public void resetOriginalValues() {
+ _cantineCategorieRecette.resetOriginalValues();
+ }
+
+ private CantineCategorieRecette _cantineCategorieRecette;
+}
\ No newline at end of file