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    /**
019     * <p>
020     * This class is a wrapper for {@link ClassName}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ClassName
025     * @generated
026     */
027    public class ClassNameWrapper implements ClassName {
028            public ClassNameWrapper(ClassName className) {
029                    _className = className;
030            }
031    
032            public long getPrimaryKey() {
033                    return _className.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _className.setPrimaryKey(pk);
038            }
039    
040            public java.lang.String getClassName() {
041                    return _className.getClassName();
042            }
043    
044            public long getClassNameId() {
045                    return _className.getClassNameId();
046            }
047    
048            public void setClassNameId(long classNameId) {
049                    _className.setClassNameId(classNameId);
050            }
051    
052            public java.lang.String getValue() {
053                    return _className.getValue();
054            }
055    
056            public void setValue(java.lang.String value) {
057                    _className.setValue(value);
058            }
059    
060            public com.liferay.portal.model.ClassName toEscapedModel() {
061                    return _className.toEscapedModel();
062            }
063    
064            public boolean isNew() {
065                    return _className.isNew();
066            }
067    
068            public void setNew(boolean n) {
069                    _className.setNew(n);
070            }
071    
072            public boolean isCachedModel() {
073                    return _className.isCachedModel();
074            }
075    
076            public void setCachedModel(boolean cachedModel) {
077                    _className.setCachedModel(cachedModel);
078            }
079    
080            public boolean isEscapedModel() {
081                    return _className.isEscapedModel();
082            }
083    
084            public void setEscapedModel(boolean escapedModel) {
085                    _className.setEscapedModel(escapedModel);
086            }
087    
088            public java.io.Serializable getPrimaryKeyObj() {
089                    return _className.getPrimaryKeyObj();
090            }
091    
092            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
093                    return _className.getExpandoBridge();
094            }
095    
096            public void setExpandoBridgeAttributes(
097                    com.liferay.portal.service.ServiceContext serviceContext) {
098                    _className.setExpandoBridgeAttributes(serviceContext);
099            }
100    
101            public java.lang.Object clone() {
102                    return _className.clone();
103            }
104    
105            public int compareTo(com.liferay.portal.model.ClassName className) {
106                    return _className.compareTo(className);
107            }
108    
109            public int hashCode() {
110                    return _className.hashCode();
111            }
112    
113            public java.lang.String toString() {
114                    return _className.toString();
115            }
116    
117            public java.lang.String toXmlString() {
118                    return _className.toXmlString();
119            }
120    
121            public ClassName getWrappedClassName() {
122                    return _className;
123            }
124    
125            private ClassName _className;
126    }