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            public DummyImpl() {
028            }
029    
030            @Override
031            public Object clone() {
032                    return new DummyImpl();
033            }
034    
035            @Override
036            public int compareTo(Dummy dummy) {
037                    return 0;
038            }
039    
040            @Override
041            public Class<?> getModelClass() {
042                    return DummyImpl.class;
043            }
044    
045            @Override
046            public String getModelClassName() {
047                    return DummyImpl.class.getName();
048            }
049    
050            @Override
051            public Serializable getPrimaryKeyObj() {
052                    return StringPool.BLANK;
053            }
054    
055            @Override
056            public boolean isEntityCacheEnabled() {
057                    return false;
058            }
059    
060            @Override
061            public boolean isFinderCacheEnabled() {
062                    return false;
063            }
064    
065            @Override
066            public void resetOriginalValues() {
067            }
068    
069            @Override
070            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
071            }
072    
073            @Override
074            public String toXmlString() {
075                    return StringPool.BLANK;
076            }
077    
078    }