001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.social.model;
016    
017    import com.liferay.portal.model.User;
018    import com.liferay.portlet.asset.model.AssetEntry;
019    
020    /**
021     * @author Zsolt Berentey
022     */
023    public class SocialEquityIncrementPayload {
024    
025            @Override
026            public SocialEquityIncrementPayload clone() {
027                    SocialEquityIncrementPayload socialEquityIncrementPayload =
028                            new SocialEquityIncrementPayload();
029    
030                    socialEquityIncrementPayload.setAssetEntry(getAssetEntry());
031                    socialEquityIncrementPayload.setEquityValue(getEquityValue());
032                    socialEquityIncrementPayload.setUser(getUser());
033    
034                    return socialEquityIncrementPayload;
035            }
036    
037            public AssetEntry getAssetEntry() {
038                    return _assetEntry;
039            }
040    
041            public SocialEquityValue getEquityValue() {
042                    return _equityValue;
043            }
044    
045            public User getUser() {
046                    return _user;
047            }
048    
049            public void setAssetEntry(AssetEntry assetEntry) {
050                    _assetEntry = assetEntry;
051            }
052    
053            public void setEquityValue(SocialEquityValue equityValue) {
054                    _equityValue = equityValue;
055            }
056    
057            public void setUser(User user) {
058                    _user = user;
059            }
060    
061            private AssetEntry _assetEntry;
062            private SocialEquityValue _equityValue;
063            private User _user;
064    
065    }