001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link PasswordPolicyRel}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PasswordPolicyRel
024     * @generated
025     */
026    public class PasswordPolicyRelWrapper implements PasswordPolicyRel {
027            public PasswordPolicyRelWrapper(PasswordPolicyRel passwordPolicyRel) {
028                    _passwordPolicyRel = passwordPolicyRel;
029            }
030    
031            /**
032            * Gets the primary key of this password policy rel.
033            *
034            * @return the primary key of this password policy rel
035            */
036            public long getPrimaryKey() {
037                    return _passwordPolicyRel.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this password policy rel
042            *
043            * @param pk the primary key of this password policy rel
044            */
045            public void setPrimaryKey(long pk) {
046                    _passwordPolicyRel.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the password policy rel id of this password policy rel.
051            *
052            * @return the password policy rel id of this password policy rel
053            */
054            public long getPasswordPolicyRelId() {
055                    return _passwordPolicyRel.getPasswordPolicyRelId();
056            }
057    
058            /**
059            * Sets the password policy rel id of this password policy rel.
060            *
061            * @param passwordPolicyRelId the password policy rel id of this password policy rel
062            */
063            public void setPasswordPolicyRelId(long passwordPolicyRelId) {
064                    _passwordPolicyRel.setPasswordPolicyRelId(passwordPolicyRelId);
065            }
066    
067            /**
068            * Gets the password policy id of this password policy rel.
069            *
070            * @return the password policy id of this password policy rel
071            */
072            public long getPasswordPolicyId() {
073                    return _passwordPolicyRel.getPasswordPolicyId();
074            }
075    
076            /**
077            * Sets the password policy id of this password policy rel.
078            *
079            * @param passwordPolicyId the password policy id of this password policy rel
080            */
081            public void setPasswordPolicyId(long passwordPolicyId) {
082                    _passwordPolicyRel.setPasswordPolicyId(passwordPolicyId);
083            }
084    
085            /**
086            * Gets the class name of the model instance this password policy rel is polymorphically associated with.
087            *
088            * @return the class name of the model instance this password policy rel is polymorphically associated with
089            */
090            public java.lang.String getClassName() {
091                    return _passwordPolicyRel.getClassName();
092            }
093    
094            /**
095            * Gets the class name id of this password policy rel.
096            *
097            * @return the class name id of this password policy rel
098            */
099            public long getClassNameId() {
100                    return _passwordPolicyRel.getClassNameId();
101            }
102    
103            /**
104            * Sets the class name id of this password policy rel.
105            *
106            * @param classNameId the class name id of this password policy rel
107            */
108            public void setClassNameId(long classNameId) {
109                    _passwordPolicyRel.setClassNameId(classNameId);
110            }
111    
112            /**
113            * Gets the class p k of this password policy rel.
114            *
115            * @return the class p k of this password policy rel
116            */
117            public long getClassPK() {
118                    return _passwordPolicyRel.getClassPK();
119            }
120    
121            /**
122            * Sets the class p k of this password policy rel.
123            *
124            * @param classPK the class p k of this password policy rel
125            */
126            public void setClassPK(long classPK) {
127                    _passwordPolicyRel.setClassPK(classPK);
128            }
129    
130            public boolean isNew() {
131                    return _passwordPolicyRel.isNew();
132            }
133    
134            public void setNew(boolean n) {
135                    _passwordPolicyRel.setNew(n);
136            }
137    
138            public boolean isCachedModel() {
139                    return _passwordPolicyRel.isCachedModel();
140            }
141    
142            public void setCachedModel(boolean cachedModel) {
143                    _passwordPolicyRel.setCachedModel(cachedModel);
144            }
145    
146            public boolean isEscapedModel() {
147                    return _passwordPolicyRel.isEscapedModel();
148            }
149    
150            public void setEscapedModel(boolean escapedModel) {
151                    _passwordPolicyRel.setEscapedModel(escapedModel);
152            }
153    
154            public java.io.Serializable getPrimaryKeyObj() {
155                    return _passwordPolicyRel.getPrimaryKeyObj();
156            }
157    
158            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
159                    return _passwordPolicyRel.getExpandoBridge();
160            }
161    
162            public void setExpandoBridgeAttributes(
163                    com.liferay.portal.service.ServiceContext serviceContext) {
164                    _passwordPolicyRel.setExpandoBridgeAttributes(serviceContext);
165            }
166    
167            public java.lang.Object clone() {
168                    return _passwordPolicyRel.clone();
169            }
170    
171            public int compareTo(
172                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel) {
173                    return _passwordPolicyRel.compareTo(passwordPolicyRel);
174            }
175    
176            public int hashCode() {
177                    return _passwordPolicyRel.hashCode();
178            }
179    
180            public com.liferay.portal.model.PasswordPolicyRel toEscapedModel() {
181                    return _passwordPolicyRel.toEscapedModel();
182            }
183    
184            public java.lang.String toString() {
185                    return _passwordPolicyRel.toString();
186            }
187    
188            public java.lang.String toXmlString() {
189                    return _passwordPolicyRel.toXmlString();
190            }
191    
192            public PasswordPolicyRel getWrappedPasswordPolicyRel() {
193                    return _passwordPolicyRel;
194            }
195    
196            private PasswordPolicyRel _passwordPolicyRel;
197    }