--- /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.carnetDAdresses.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link FicheProperty}.
+ * </p>
+ *
+ * @author SIX Lancelot et BARMA Igor
+ * @see FicheProperty
+ * @generated
+ */
+public class FichePropertyWrapper implements FicheProperty,
+ ModelWrapper<FicheProperty> {
+ public FichePropertyWrapper(FicheProperty ficheProperty) {
+ _ficheProperty = ficheProperty;
+ }
+
+ public Class<?> getModelClass() {
+ return FicheProperty.class;
+ }
+
+ public String getModelClassName() {
+ return FicheProperty.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("ficheId", getFicheId());
+ attributes.put("groupId", getGroupId());
+ attributes.put("propertyId", getPropertyId());
+ attributes.put("name", getName());
+ attributes.put("value_", getValue_());
+ attributes.put("type", getType());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long ficheId = (Long)attributes.get("ficheId");
+
+ if (ficheId != null) {
+ setFicheId(ficheId);
+ }
+
+ Long groupId = (Long)attributes.get("groupId");
+
+ if (groupId != null) {
+ setGroupId(groupId);
+ }
+
+ Long propertyId = (Long)attributes.get("propertyId");
+
+ if (propertyId != null) {
+ setPropertyId(propertyId);
+ }
+
+ String name = (String)attributes.get("name");
+
+ if (name != null) {
+ setName(name);
+ }
+
+ String value_ = (String)attributes.get("value_");
+
+ if (value_ != null) {
+ setValue_(value_);
+ }
+
+ String type = (String)attributes.get("type");
+
+ if (type != null) {
+ setType(type);
+ }
+ }
+
+ /**
+ * Returns the primary key of this fiche property.
+ *
+ * @return the primary key of this fiche property
+ */
+ public long getPrimaryKey() {
+ return _ficheProperty.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this fiche property.
+ *
+ * @param primaryKey the primary key of this fiche property
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _ficheProperty.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the fiche ID of this fiche property.
+ *
+ * @return the fiche ID of this fiche property
+ */
+ public long getFicheId() {
+ return _ficheProperty.getFicheId();
+ }
+
+ /**
+ * Sets the fiche ID of this fiche property.
+ *
+ * @param ficheId the fiche ID of this fiche property
+ */
+ public void setFicheId(long ficheId) {
+ _ficheProperty.setFicheId(ficheId);
+ }
+
+ /**
+ * Returns the group ID of this fiche property.
+ *
+ * @return the group ID of this fiche property
+ */
+ public long getGroupId() {
+ return _ficheProperty.getGroupId();
+ }
+
+ /**
+ * Sets the group ID of this fiche property.
+ *
+ * @param groupId the group ID of this fiche property
+ */
+ public void setGroupId(long groupId) {
+ _ficheProperty.setGroupId(groupId);
+ }
+
+ /**
+ * Returns the property ID of this fiche property.
+ *
+ * @return the property ID of this fiche property
+ */
+ public long getPropertyId() {
+ return _ficheProperty.getPropertyId();
+ }
+
+ /**
+ * Sets the property ID of this fiche property.
+ *
+ * @param propertyId the property ID of this fiche property
+ */
+ public void setPropertyId(long propertyId) {
+ _ficheProperty.setPropertyId(propertyId);
+ }
+
+ /**
+ * Returns the name of this fiche property.
+ *
+ * @return the name of this fiche property
+ */
+ public java.lang.String getName() {
+ return _ficheProperty.getName();
+ }
+
+ /**
+ * Sets the name of this fiche property.
+ *
+ * @param name the name of this fiche property
+ */
+ public void setName(java.lang.String name) {
+ _ficheProperty.setName(name);
+ }
+
+ /**
+ * Returns the value_ of this fiche property.
+ *
+ * @return the value_ of this fiche property
+ */
+ public java.lang.String getValue_() {
+ return _ficheProperty.getValue_();
+ }
+
+ /**
+ * Sets the value_ of this fiche property.
+ *
+ * @param value_ the value_ of this fiche property
+ */
+ public void setValue_(java.lang.String value_) {
+ _ficheProperty.setValue_(value_);
+ }
+
+ /**
+ * Returns the type of this fiche property.
+ *
+ * @return the type of this fiche property
+ */
+ public java.lang.String getType() {
+ return _ficheProperty.getType();
+ }
+
+ /**
+ * Sets the type of this fiche property.
+ *
+ * @param type the type of this fiche property
+ */
+ public void setType(java.lang.String type) {
+ _ficheProperty.setType(type);
+ }
+
+ public boolean isNew() {
+ return _ficheProperty.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _ficheProperty.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _ficheProperty.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _ficheProperty.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _ficheProperty.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _ficheProperty.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _ficheProperty.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _ficheProperty.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _ficheProperty.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new FichePropertyWrapper((FicheProperty)_ficheProperty.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.carnetDAdresses.model.FicheProperty ficheProperty) {
+ return _ficheProperty.compareTo(ficheProperty);
+ }
+
+ @Override
+ public int hashCode() {
+ return _ficheProperty.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.carnetDAdresses.model.FicheProperty> toCacheModel() {
+ return _ficheProperty.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.carnetDAdresses.model.FicheProperty toEscapedModel() {
+ return new FichePropertyWrapper(_ficheProperty.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _ficheProperty.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _ficheProperty.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _ficheProperty.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public FicheProperty getWrappedFicheProperty() {
+ return _ficheProperty;
+ }
+
+ public FicheProperty getWrappedModel() {
+ return _ficheProperty;
+ }
+
+ public void resetOriginalValues() {
+ _ficheProperty.resetOriginalValues();
+ }
+
+ private FicheProperty _ficheProperty;
+}
\ No newline at end of file