001
014
015 package com.liferay.counter.model;
016
017
026 public class CounterWrapper implements Counter {
027 public CounterWrapper(Counter counter) {
028 _counter = counter;
029 }
030
031 public java.lang.String getPrimaryKey() {
032 return _counter.getPrimaryKey();
033 }
034
035 public void setPrimaryKey(java.lang.String pk) {
036 _counter.setPrimaryKey(pk);
037 }
038
039 public java.lang.String getName() {
040 return _counter.getName();
041 }
042
043 public void setName(java.lang.String name) {
044 _counter.setName(name);
045 }
046
047 public long getCurrentId() {
048 return _counter.getCurrentId();
049 }
050
051 public void setCurrentId(long currentId) {
052 _counter.setCurrentId(currentId);
053 }
054
055 public com.liferay.counter.model.Counter toEscapedModel() {
056 return _counter.toEscapedModel();
057 }
058
059 public boolean isNew() {
060 return _counter.isNew();
061 }
062
063 public void setNew(boolean n) {
064 _counter.setNew(n);
065 }
066
067 public boolean isCachedModel() {
068 return _counter.isCachedModel();
069 }
070
071 public void setCachedModel(boolean cachedModel) {
072 _counter.setCachedModel(cachedModel);
073 }
074
075 public boolean isEscapedModel() {
076 return _counter.isEscapedModel();
077 }
078
079 public void setEscapedModel(boolean escapedModel) {
080 _counter.setEscapedModel(escapedModel);
081 }
082
083 public java.io.Serializable getPrimaryKeyObj() {
084 return _counter.getPrimaryKeyObj();
085 }
086
087 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
088 return _counter.getExpandoBridge();
089 }
090
091 public void setExpandoBridgeAttributes(
092 com.liferay.portal.service.ServiceContext serviceContext) {
093 _counter.setExpandoBridgeAttributes(serviceContext);
094 }
095
096 public java.lang.Object clone() {
097 return _counter.clone();
098 }
099
100 public int compareTo(com.liferay.counter.model.Counter counter) {
101 return _counter.compareTo(counter);
102 }
103
104 public int hashCode() {
105 return _counter.hashCode();
106 }
107
108 public java.lang.String toString() {
109 return _counter.toString();
110 }
111
112 public java.lang.String toXmlString() {
113 return _counter.toXmlString();
114 }
115
116 public Counter getWrappedCounter() {
117 return _counter;
118 }
119
120 private Counter _counter;
121 }