--- /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 AMFilter}.
+ * </p>
+ *
+ * @author Barma Igor et Tardy Camille
+ * @see AMFilter
+ * @generated
+ */
+public class AMFilterWrapper implements AMFilter, ModelWrapper<AMFilter> {
+ public AMFilterWrapper(AMFilter amFilter) {
+ _amFilter = amFilter;
+ }
+
+ public Class<?> getModelClass() {
+ return AMFilter.class;
+ }
+
+ public String getModelClassName() {
+ return AMFilter.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("filterId", getFilterId());
+ attributes.put("parentId", getParentId());
+ attributes.put("populationId", getPopulationId());
+ attributes.put("criteria", getCriteria());
+ attributes.put("operator", getOperator());
+ attributes.put("value", getValue());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long filterId = (Long)attributes.get("filterId");
+
+ if (filterId != null) {
+ setFilterId(filterId);
+ }
+
+ Long parentId = (Long)attributes.get("parentId");
+
+ if (parentId != null) {
+ setParentId(parentId);
+ }
+
+ Long populationId = (Long)attributes.get("populationId");
+
+ if (populationId != null) {
+ setPopulationId(populationId);
+ }
+
+ String criteria = (String)attributes.get("criteria");
+
+ if (criteria != null) {
+ setCriteria(criteria);
+ }
+
+ String operator = (String)attributes.get("operator");
+
+ if (operator != null) {
+ setOperator(operator);
+ }
+
+ Long value = (Long)attributes.get("value");
+
+ if (value != null) {
+ setValue(value);
+ }
+ }
+
+ /**
+ * Returns the primary key of this a m filter.
+ *
+ * @return the primary key of this a m filter
+ */
+ public long getPrimaryKey() {
+ return _amFilter.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this a m filter.
+ *
+ * @param primaryKey the primary key of this a m filter
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _amFilter.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the filter ID of this a m filter.
+ *
+ * @return the filter ID of this a m filter
+ */
+ public long getFilterId() {
+ return _amFilter.getFilterId();
+ }
+
+ /**
+ * Sets the filter ID of this a m filter.
+ *
+ * @param filterId the filter ID of this a m filter
+ */
+ public void setFilterId(long filterId) {
+ _amFilter.setFilterId(filterId);
+ }
+
+ /**
+ * Returns the parent ID of this a m filter.
+ *
+ * @return the parent ID of this a m filter
+ */
+ public long getParentId() {
+ return _amFilter.getParentId();
+ }
+
+ /**
+ * Sets the parent ID of this a m filter.
+ *
+ * @param parentId the parent ID of this a m filter
+ */
+ public void setParentId(long parentId) {
+ _amFilter.setParentId(parentId);
+ }
+
+ /**
+ * Returns the population ID of this a m filter.
+ *
+ * @return the population ID of this a m filter
+ */
+ public long getPopulationId() {
+ return _amFilter.getPopulationId();
+ }
+
+ /**
+ * Sets the population ID of this a m filter.
+ *
+ * @param populationId the population ID of this a m filter
+ */
+ public void setPopulationId(long populationId) {
+ _amFilter.setPopulationId(populationId);
+ }
+
+ /**
+ * Returns the criteria of this a m filter.
+ *
+ * @return the criteria of this a m filter
+ */
+ public java.lang.String getCriteria() {
+ return _amFilter.getCriteria();
+ }
+
+ /**
+ * Sets the criteria of this a m filter.
+ *
+ * @param criteria the criteria of this a m filter
+ */
+ public void setCriteria(java.lang.String criteria) {
+ _amFilter.setCriteria(criteria);
+ }
+
+ /**
+ * Returns the operator of this a m filter.
+ *
+ * @return the operator of this a m filter
+ */
+ public java.lang.String getOperator() {
+ return _amFilter.getOperator();
+ }
+
+ /**
+ * Sets the operator of this a m filter.
+ *
+ * @param operator the operator of this a m filter
+ */
+ public void setOperator(java.lang.String operator) {
+ _amFilter.setOperator(operator);
+ }
+
+ /**
+ * Returns the value of this a m filter.
+ *
+ * @return the value of this a m filter
+ */
+ public long getValue() {
+ return _amFilter.getValue();
+ }
+
+ /**
+ * Sets the value of this a m filter.
+ *
+ * @param value the value of this a m filter
+ */
+ public void setValue(long value) {
+ _amFilter.setValue(value);
+ }
+
+ public boolean isNew() {
+ return _amFilter.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _amFilter.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _amFilter.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _amFilter.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _amFilter.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _amFilter.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _amFilter.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _amFilter.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _amFilter.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new AMFilterWrapper((AMFilter)_amFilter.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.applicationManager.model.AMFilter amFilter) {
+ return _amFilter.compareTo(amFilter);
+ }
+
+ @Override
+ public int hashCode() {
+ return _amFilter.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.applicationManager.model.AMFilter> toCacheModel() {
+ return _amFilter.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.applicationManager.model.AMFilter toEscapedModel() {
+ return new AMFilterWrapper(_amFilter.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _amFilter.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _amFilter.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _amFilter.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public AMFilter getWrappedAMFilter() {
+ return _amFilter;
+ }
+
+ public AMFilter getWrappedModel() {
+ return _amFilter;
+ }
+
+ public void resetOriginalValues() {
+ _amFilter.resetOriginalValues();
+ }
+
+ private AMFilter _amFilter;
+}
\ No newline at end of file