1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.counter.model;
16  
17  
18  /**
19   * <a href="CounterSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Counter}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Counter
32   * @generated
33   */
34  public class CounterWrapper implements Counter {
35      public CounterWrapper(Counter counter) {
36          _counter = counter;
37      }
38  
39      public java.lang.String getPrimaryKey() {
40          return _counter.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(java.lang.String pk) {
44          _counter.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getName() {
48          return _counter.getName();
49      }
50  
51      public void setName(java.lang.String name) {
52          _counter.setName(name);
53      }
54  
55      public long getCurrentId() {
56          return _counter.getCurrentId();
57      }
58  
59      public void setCurrentId(long currentId) {
60          _counter.setCurrentId(currentId);
61      }
62  
63      public com.liferay.counter.model.Counter toEscapedModel() {
64          return _counter.toEscapedModel();
65      }
66  
67      public boolean isNew() {
68          return _counter.isNew();
69      }
70  
71      public boolean setNew(boolean n) {
72          return _counter.setNew(n);
73      }
74  
75      public boolean isCachedModel() {
76          return _counter.isCachedModel();
77      }
78  
79      public void setCachedModel(boolean cachedModel) {
80          _counter.setCachedModel(cachedModel);
81      }
82  
83      public boolean isEscapedModel() {
84          return _counter.isEscapedModel();
85      }
86  
87      public void setEscapedModel(boolean escapedModel) {
88          _counter.setEscapedModel(escapedModel);
89      }
90  
91      public java.io.Serializable getPrimaryKeyObj() {
92          return _counter.getPrimaryKeyObj();
93      }
94  
95      public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
96          return _counter.getExpandoBridge();
97      }
98  
99      public void setExpandoBridgeAttributes(
100         com.liferay.portal.service.ServiceContext serviceContext) {
101         _counter.setExpandoBridgeAttributes(serviceContext);
102     }
103 
104     public java.lang.Object clone() {
105         return _counter.clone();
106     }
107 
108     public int compareTo(com.liferay.counter.model.Counter counter) {
109         return _counter.compareTo(counter);
110     }
111 
112     public int hashCode() {
113         return _counter.hashCode();
114     }
115 
116     public java.lang.String toString() {
117         return _counter.toString();
118     }
119 
120     public java.lang.String toXmlString() {
121         return _counter.toXmlString();
122     }
123 
124     public Counter getWrappedCounter() {
125         return _counter;
126     }
127 
128     private Counter _counter;
129 }