/** * 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.ese.ils.beta.model.impl; import com.ese.ils.beta.model.UserInfo; import com.liferay.portal.kernel.util.StringBundler; import com.liferay.portal.model.CacheModel; import java.io.Serializable; /** * The cache model class for representing UserInfo in entity cache. * * @author edik * @see UserInfo * @generated */ public class UserInfoCacheModel implements CacheModel<UserInfo>, Serializable { @Override public String toString() { StringBundler sb = new StringBundler(9); sb.append("{userInfoId="); sb.append(userInfoId); sb.append(", companyId="); sb.append(companyId); sb.append(", userId="); sb.append(userId); sb.append(", moduleId="); sb.append(moduleId); sb.append("}"); return sb.toString(); } public UserInfo toEntityModel() { UserInfoImpl userInfoImpl = new UserInfoImpl(); userInfoImpl.setUserInfoId(userInfoId); userInfoImpl.setCompanyId(companyId); userInfoImpl.setUserId(userId); userInfoImpl.setModuleId(moduleId); userInfoImpl.resetOriginalValues(); return userInfoImpl; } public long userInfoId; public long companyId; public long userId; public long moduleId; }