001    /**
002     * Copyright (c) 2000-2010 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.counter.model;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link Counter}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Counter
025     * @generated
026     */
027    public class CounterWrapper implements Counter {
028            public CounterWrapper(Counter counter) {
029                    _counter = counter;
030            }
031    
032            public java.lang.String getPrimaryKey() {
033                    return _counter.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(java.lang.String pk) {
037                    _counter.setPrimaryKey(pk);
038            }
039    
040            public java.lang.String getName() {
041                    return _counter.getName();
042            }
043    
044            public void setName(java.lang.String name) {
045                    _counter.setName(name);
046            }
047    
048            public long getCurrentId() {
049                    return _counter.getCurrentId();
050            }
051    
052            public void setCurrentId(long currentId) {
053                    _counter.setCurrentId(currentId);
054            }
055    
056            public com.liferay.counter.model.Counter toEscapedModel() {
057                    return _counter.toEscapedModel();
058            }
059    
060            public boolean isNew() {
061                    return _counter.isNew();
062            }
063    
064            public void setNew(boolean n) {
065                    _counter.setNew(n);
066            }
067    
068            public boolean isCachedModel() {
069                    return _counter.isCachedModel();
070            }
071    
072            public void setCachedModel(boolean cachedModel) {
073                    _counter.setCachedModel(cachedModel);
074            }
075    
076            public boolean isEscapedModel() {
077                    return _counter.isEscapedModel();
078            }
079    
080            public void setEscapedModel(boolean escapedModel) {
081                    _counter.setEscapedModel(escapedModel);
082            }
083    
084            public java.io.Serializable getPrimaryKeyObj() {
085                    return _counter.getPrimaryKeyObj();
086            }
087    
088            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
089                    return _counter.getExpandoBridge();
090            }
091    
092            public void setExpandoBridgeAttributes(
093                    com.liferay.portal.service.ServiceContext serviceContext) {
094                    _counter.setExpandoBridgeAttributes(serviceContext);
095            }
096    
097            public java.lang.Object clone() {
098                    return _counter.clone();
099            }
100    
101            public int compareTo(com.liferay.counter.model.Counter counter) {
102                    return _counter.compareTo(counter);
103            }
104    
105            public int hashCode() {
106                    return _counter.hashCode();
107            }
108    
109            public java.lang.String toString() {
110                    return _counter.toString();
111            }
112    
113            public java.lang.String toXmlString() {
114                    return _counter.toXmlString();
115            }
116    
117            public Counter getWrappedCounter() {
118                    return _counter;
119            }
120    
121            private Counter _counter;
122    }