--- /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.cartable.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link LoolToken}.
+ * </p>
+ *
+ * @author Barma Igor - Amblard Mathieu
+ * @see LoolToken
+ * @generated
+ */
+public class LoolTokenWrapper implements LoolToken, ModelWrapper<LoolToken> {
+ public LoolTokenWrapper(LoolToken loolToken) {
+ _loolToken = loolToken;
+ }
+
+ public Class<?> getModelClass() {
+ return LoolToken.class;
+ }
+
+ public String getModelClassName() {
+ return LoolToken.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("loolTokenId", getLoolTokenId());
+ attributes.put("userId", getUserId());
+ attributes.put("token", getToken());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long loolTokenId = (Long)attributes.get("loolTokenId");
+
+ if (loolTokenId != null) {
+ setLoolTokenId(loolTokenId);
+ }
+
+ Long userId = (Long)attributes.get("userId");
+
+ if (userId != null) {
+ setUserId(userId);
+ }
+
+ String token = (String)attributes.get("token");
+
+ if (token != null) {
+ setToken(token);
+ }
+ }
+
+ /**
+ * Returns the primary key of this lool token.
+ *
+ * @return the primary key of this lool token
+ */
+ public long getPrimaryKey() {
+ return _loolToken.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this lool token.
+ *
+ * @param primaryKey the primary key of this lool token
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _loolToken.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the lool token ID of this lool token.
+ *
+ * @return the lool token ID of this lool token
+ */
+ public long getLoolTokenId() {
+ return _loolToken.getLoolTokenId();
+ }
+
+ /**
+ * Sets the lool token ID of this lool token.
+ *
+ * @param loolTokenId the lool token ID of this lool token
+ */
+ public void setLoolTokenId(long loolTokenId) {
+ _loolToken.setLoolTokenId(loolTokenId);
+ }
+
+ /**
+ * Returns the user ID of this lool token.
+ *
+ * @return the user ID of this lool token
+ */
+ public long getUserId() {
+ return _loolToken.getUserId();
+ }
+
+ /**
+ * Sets the user ID of this lool token.
+ *
+ * @param userId the user ID of this lool token
+ */
+ public void setUserId(long userId) {
+ _loolToken.setUserId(userId);
+ }
+
+ /**
+ * Returns the user uuid of this lool token.
+ *
+ * @return the user uuid of this lool token
+ * @throws SystemException if a system exception occurred
+ */
+ public java.lang.String getUserUuid()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return _loolToken.getUserUuid();
+ }
+
+ /**
+ * Sets the user uuid of this lool token.
+ *
+ * @param userUuid the user uuid of this lool token
+ */
+ public void setUserUuid(java.lang.String userUuid) {
+ _loolToken.setUserUuid(userUuid);
+ }
+
+ /**
+ * Returns the token of this lool token.
+ *
+ * @return the token of this lool token
+ */
+ public java.lang.String getToken() {
+ return _loolToken.getToken();
+ }
+
+ /**
+ * Sets the token of this lool token.
+ *
+ * @param token the token of this lool token
+ */
+ public void setToken(java.lang.String token) {
+ _loolToken.setToken(token);
+ }
+
+ public boolean isNew() {
+ return _loolToken.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _loolToken.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _loolToken.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _loolToken.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _loolToken.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _loolToken.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _loolToken.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _loolToken.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _loolToken.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new LoolTokenWrapper((LoolToken)_loolToken.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.cartable.model.LoolToken loolToken) {
+ return _loolToken.compareTo(loolToken);
+ }
+
+ @Override
+ public int hashCode() {
+ return _loolToken.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.cartable.model.LoolToken> toCacheModel() {
+ return _loolToken.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.cartable.model.LoolToken toEscapedModel() {
+ return new LoolTokenWrapper(_loolToken.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _loolToken.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _loolToken.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _loolToken.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public LoolToken getWrappedLoolToken() {
+ return _loolToken;
+ }
+
+ public LoolToken getWrappedModel() {
+ return _loolToken;
+ }
+
+ public void resetOriginalValues() {
+ _loolToken.resetOriginalValues();
+ }
+
+ private LoolToken _loolToken;
+}
\ No newline at end of file