001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ClassName}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ClassName
024     * @generated
025     */
026    public class ClassNameWrapper implements ClassName {
027            public ClassNameWrapper(ClassName className) {
028                    _className = className;
029            }
030    
031            public long getPrimaryKey() {
032                    return _className.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _className.setPrimaryKey(pk);
037            }
038    
039            public java.lang.String getClassName() {
040                    return _className.getClassName();
041            }
042    
043            public long getClassNameId() {
044                    return _className.getClassNameId();
045            }
046    
047            public void setClassNameId(long classNameId) {
048                    _className.setClassNameId(classNameId);
049            }
050    
051            public java.lang.String getValue() {
052                    return _className.getValue();
053            }
054    
055            public void setValue(java.lang.String value) {
056                    _className.setValue(value);
057            }
058    
059            public com.liferay.portal.model.ClassName toEscapedModel() {
060                    return _className.toEscapedModel();
061            }
062    
063            public boolean isNew() {
064                    return _className.isNew();
065            }
066    
067            public void setNew(boolean n) {
068                    _className.setNew(n);
069            }
070    
071            public boolean isCachedModel() {
072                    return _className.isCachedModel();
073            }
074    
075            public void setCachedModel(boolean cachedModel) {
076                    _className.setCachedModel(cachedModel);
077            }
078    
079            public boolean isEscapedModel() {
080                    return _className.isEscapedModel();
081            }
082    
083            public void setEscapedModel(boolean escapedModel) {
084                    _className.setEscapedModel(escapedModel);
085            }
086    
087            public java.io.Serializable getPrimaryKeyObj() {
088                    return _className.getPrimaryKeyObj();
089            }
090    
091            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
092                    return _className.getExpandoBridge();
093            }
094    
095            public void setExpandoBridgeAttributes(
096                    com.liferay.portal.service.ServiceContext serviceContext) {
097                    _className.setExpandoBridgeAttributes(serviceContext);
098            }
099    
100            public java.lang.Object clone() {
101                    return _className.clone();
102            }
103    
104            public int compareTo(com.liferay.portal.model.ClassName className) {
105                    return _className.compareTo(className);
106            }
107    
108            public int hashCode() {
109                    return _className.hashCode();
110            }
111    
112            public java.lang.String toString() {
113                    return _className.toString();
114            }
115    
116            public java.lang.String toXmlString() {
117                    return _className.toXmlString();
118            }
119    
120            public ClassName getWrappedClassName() {
121                    return _className;
122            }
123    
124            private ClassName _className;
125    }