--- /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.applicationManager.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link ApplicationManagerPopulation}.
+ * </p>
+ *
+ * @author Barma Igor et Tardy Camille
+ * @see ApplicationManagerPopulation
+ * @generated
+ */
+public class ApplicationManagerPopulationWrapper
+ implements ApplicationManagerPopulation,
+ ModelWrapper<ApplicationManagerPopulation> {
+ public ApplicationManagerPopulationWrapper(
+ ApplicationManagerPopulation applicationManagerPopulation) {
+ _applicationManagerPopulation = applicationManagerPopulation;
+ }
+
+ public Class<?> getModelClass() {
+ return ApplicationManagerPopulation.class;
+ }
+
+ public String getModelClassName() {
+ return ApplicationManagerPopulation.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("populationId", getPopulationId());
+ attributes.put("nom", getNom());
+ attributes.put("companyId", getCompanyId());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long populationId = (Long)attributes.get("populationId");
+
+ if (populationId != null) {
+ setPopulationId(populationId);
+ }
+
+ String nom = (String)attributes.get("nom");
+
+ if (nom != null) {
+ setNom(nom);
+ }
+
+ Long companyId = (Long)attributes.get("companyId");
+
+ if (companyId != null) {
+ setCompanyId(companyId);
+ }
+ }
+
+ /**
+ * Returns the primary key of this application manager population.
+ *
+ * @return the primary key of this application manager population
+ */
+ public long getPrimaryKey() {
+ return _applicationManagerPopulation.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this application manager population.
+ *
+ * @param primaryKey the primary key of this application manager population
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _applicationManagerPopulation.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the population ID of this application manager population.
+ *
+ * @return the population ID of this application manager population
+ */
+ public long getPopulationId() {
+ return _applicationManagerPopulation.getPopulationId();
+ }
+
+ /**
+ * Sets the population ID of this application manager population.
+ *
+ * @param populationId the population ID of this application manager population
+ */
+ public void setPopulationId(long populationId) {
+ _applicationManagerPopulation.setPopulationId(populationId);
+ }
+
+ /**
+ * Returns the nom of this application manager population.
+ *
+ * @return the nom of this application manager population
+ */
+ public java.lang.String getNom() {
+ return _applicationManagerPopulation.getNom();
+ }
+
+ /**
+ * Sets the nom of this application manager population.
+ *
+ * @param nom the nom of this application manager population
+ */
+ public void setNom(java.lang.String nom) {
+ _applicationManagerPopulation.setNom(nom);
+ }
+
+ /**
+ * Returns the company ID of this application manager population.
+ *
+ * @return the company ID of this application manager population
+ */
+ public long getCompanyId() {
+ return _applicationManagerPopulation.getCompanyId();
+ }
+
+ /**
+ * Sets the company ID of this application manager population.
+ *
+ * @param companyId the company ID of this application manager population
+ */
+ public void setCompanyId(long companyId) {
+ _applicationManagerPopulation.setCompanyId(companyId);
+ }
+
+ public boolean isNew() {
+ return _applicationManagerPopulation.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _applicationManagerPopulation.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _applicationManagerPopulation.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _applicationManagerPopulation.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _applicationManagerPopulation.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _applicationManagerPopulation.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _applicationManagerPopulation.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _applicationManagerPopulation.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _applicationManagerPopulation.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new ApplicationManagerPopulationWrapper((ApplicationManagerPopulation)_applicationManagerPopulation.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.applicationManager.model.ApplicationManagerPopulation applicationManagerPopulation) {
+ return _applicationManagerPopulation.compareTo(applicationManagerPopulation);
+ }
+
+ @Override
+ public int hashCode() {
+ return _applicationManagerPopulation.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.applicationManager.model.ApplicationManagerPopulation> toCacheModel() {
+ return _applicationManagerPopulation.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.applicationManager.model.ApplicationManagerPopulation toEscapedModel() {
+ return new ApplicationManagerPopulationWrapper(_applicationManagerPopulation.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _applicationManagerPopulation.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _applicationManagerPopulation.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _applicationManagerPopulation.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public ApplicationManagerPopulation getWrappedApplicationManagerPopulation() {
+ return _applicationManagerPopulation;
+ }
+
+ public ApplicationManagerPopulation getWrappedModel() {
+ return _applicationManagerPopulation;
+ }
+
+ public void resetOriginalValues() {
+ _applicationManagerPopulation.resetOriginalValues();
+ }
+
+ private ApplicationManagerPopulation _applicationManagerPopulation;
+}
\ No newline at end of file