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.portal.model;
16  
17  
18  /**
19   * <a href="ClassNameSoap.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 ClassName}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ClassName
32   * @generated
33   */
34  public class ClassNameWrapper implements ClassName {
35      public ClassNameWrapper(ClassName className) {
36          _className = className;
37      }
38  
39      public long getPrimaryKey() {
40          return _className.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _className.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getClassName() {
48          return _className.getClassName();
49      }
50  
51      public long getClassNameId() {
52          return _className.getClassNameId();
53      }
54  
55      public void setClassNameId(long classNameId) {
56          _className.setClassNameId(classNameId);
57      }
58  
59      public java.lang.String getValue() {
60          return _className.getValue();
61      }
62  
63      public void setValue(java.lang.String value) {
64          _className.setValue(value);
65      }
66  
67      public com.liferay.portal.model.ClassName toEscapedModel() {
68          return _className.toEscapedModel();
69      }
70  
71      public boolean isNew() {
72          return _className.isNew();
73      }
74  
75      public boolean setNew(boolean n) {
76          return _className.setNew(n);
77      }
78  
79      public boolean isCachedModel() {
80          return _className.isCachedModel();
81      }
82  
83      public void setCachedModel(boolean cachedModel) {
84          _className.setCachedModel(cachedModel);
85      }
86  
87      public boolean isEscapedModel() {
88          return _className.isEscapedModel();
89      }
90  
91      public void setEscapedModel(boolean escapedModel) {
92          _className.setEscapedModel(escapedModel);
93      }
94  
95      public java.io.Serializable getPrimaryKeyObj() {
96          return _className.getPrimaryKeyObj();
97      }
98  
99      public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
100         return _className.getExpandoBridge();
101     }
102 
103     public void setExpandoBridgeAttributes(
104         com.liferay.portal.service.ServiceContext serviceContext) {
105         _className.setExpandoBridgeAttributes(serviceContext);
106     }
107 
108     public java.lang.Object clone() {
109         return _className.clone();
110     }
111 
112     public int compareTo(com.liferay.portal.model.ClassName className) {
113         return _className.compareTo(className);
114     }
115 
116     public int hashCode() {
117         return _className.hashCode();
118     }
119 
120     public java.lang.String toString() {
121         return _className.toString();
122     }
123 
124     public java.lang.String toXmlString() {
125         return _className.toXmlString();
126     }
127 
128     public ClassName getWrappedClassName() {
129         return _className;
130     }
131 
132     private ClassName _className;
133 }