1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="ClassNameSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ClassName}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ClassName
31   * @generated
32   */
33  public class ClassNameWrapper implements ClassName {
34      public ClassNameWrapper(ClassName className) {
35          _className = className;
36      }
37  
38      public long getPrimaryKey() {
39          return _className.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _className.setPrimaryKey(pk);
44      }
45  
46      public java.lang.String getClassName() {
47          return _className.getClassName();
48      }
49  
50      public long getClassNameId() {
51          return _className.getClassNameId();
52      }
53  
54      public void setClassNameId(long classNameId) {
55          _className.setClassNameId(classNameId);
56      }
57  
58      public java.lang.String getValue() {
59          return _className.getValue();
60      }
61  
62      public void setValue(java.lang.String value) {
63          _className.setValue(value);
64      }
65  
66      public boolean isNew() {
67          return _className.isNew();
68      }
69  
70      public boolean setNew(boolean n) {
71          return _className.setNew(n);
72      }
73  
74      public boolean isCachedModel() {
75          return _className.isCachedModel();
76      }
77  
78      public void setCachedModel(boolean cachedModel) {
79          _className.setCachedModel(cachedModel);
80      }
81  
82      public boolean isEscapedModel() {
83          return _className.isEscapedModel();
84      }
85  
86      public void setEscapedModel(boolean escapedModel) {
87          _className.setEscapedModel(escapedModel);
88      }
89  
90      public java.io.Serializable getPrimaryKeyObj() {
91          return _className.getPrimaryKeyObj();
92      }
93  
94      public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
95          return _className.getExpandoBridge();
96      }
97  
98      public void setExpandoBridgeAttributes(
99          com.liferay.portal.service.ServiceContext serviceContext) {
100         _className.setExpandoBridgeAttributes(serviceContext);
101     }
102 
103     public java.lang.Object clone() {
104         return _className.clone();
105     }
106 
107     public int compareTo(com.liferay.portal.model.ClassName className) {
108         return _className.compareTo(className);
109     }
110 
111     public int hashCode() {
112         return _className.hashCode();
113     }
114 
115     public com.liferay.portal.model.ClassName toEscapedModel() {
116         return _className.toEscapedModel();
117     }
118 
119     public java.lang.String toString() {
120         return _className.toString();
121     }
122 
123     public java.lang.String toXmlString() {
124         return _className.toXmlString();
125     }
126 
127     public ClassName getWrappedClassName() {
128         return _className;
129     }
130 
131     private ClassName _className;
132 }