001    /**
002     * Copyright (c) 2000-present 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.portal.model.impl;
016    
017    import com.liferay.portal.kernel.util.StringPool;
018    import com.liferay.portal.model.Dummy;
019    
020    import java.io.Serializable;
021    
022    /**
023     * @author Brian Wing Shun Chan
024     */
025    public class DummyImpl extends BaseModelImpl<Dummy> implements Dummy {
026    
027            @Override
028            public Object clone() {
029                    return new DummyImpl();
030            }
031    
032            @Override
033            public int compareTo(Dummy dummy) {
034                    return 0;
035            }
036    
037            @Override
038            public Class<?> getModelClass() {
039                    return DummyImpl.class;
040            }
041    
042            @Override
043            public String getModelClassName() {
044                    return DummyImpl.class.getName();
045            }
046    
047            @Override
048            public Serializable getPrimaryKeyObj() {
049                    return StringPool.BLANK;
050            }
051    
052            @Override
053            public boolean isEntityCacheEnabled() {
054                    return false;
055            }
056    
057            @Override
058            public boolean isFinderCacheEnabled() {
059                    return false;
060            }
061    
062            @Override
063            public void resetOriginalValues() {
064            }
065    
066            @Override
067            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
068            }
069    
070            @Override
071            public String toXmlString() {
072                    return StringPool.BLANK;
073            }
074    
075    }