1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="ClassNameSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link ClassName}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       ClassName
40   * @generated
41   */
42  public class ClassNameWrapper implements ClassName {
43      public ClassNameWrapper(ClassName className) {
44          _className = className;
45      }
46  
47      public long getPrimaryKey() {
48          return _className.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _className.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getClassName() {
56          return _className.getClassName();
57      }
58  
59      public long getClassNameId() {
60          return _className.getClassNameId();
61      }
62  
63      public void setClassNameId(long classNameId) {
64          _className.setClassNameId(classNameId);
65      }
66  
67      public java.lang.String getValue() {
68          return _className.getValue();
69      }
70  
71      public void setValue(java.lang.String value) {
72          _className.setValue(value);
73      }
74  
75      public com.liferay.portal.model.ClassName toEscapedModel() {
76          return _className.toEscapedModel();
77      }
78  
79      public boolean isNew() {
80          return _className.isNew();
81      }
82  
83      public boolean setNew(boolean n) {
84          return _className.setNew(n);
85      }
86  
87      public boolean isCachedModel() {
88          return _className.isCachedModel();
89      }
90  
91      public void setCachedModel(boolean cachedModel) {
92          _className.setCachedModel(cachedModel);
93      }
94  
95      public boolean isEscapedModel() {
96          return _className.isEscapedModel();
97      }
98  
99      public void setEscapedModel(boolean escapedModel) {
100         _className.setEscapedModel(escapedModel);
101     }
102 
103     public java.io.Serializable getPrimaryKeyObj() {
104         return _className.getPrimaryKeyObj();
105     }
106 
107     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
108         return _className.getExpandoBridge();
109     }
110 
111     public void setExpandoBridgeAttributes(
112         com.liferay.portal.service.ServiceContext serviceContext) {
113         _className.setExpandoBridgeAttributes(serviceContext);
114     }
115 
116     public java.lang.Object clone() {
117         return _className.clone();
118     }
119 
120     public int compareTo(com.liferay.portal.model.ClassName className) {
121         return _className.compareTo(className);
122     }
123 
124     public int hashCode() {
125         return _className.hashCode();
126     }
127 
128     public java.lang.String toString() {
129         return _className.toString();
130     }
131 
132     public java.lang.String toXmlString() {
133         return _className.toXmlString();
134     }
135 
136     public ClassName getWrappedClassName() {
137         return _className;
138     }
139 
140     private ClassName _className;
141 }