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