001    /**
002     * Copyright (c) 2000-2012 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    import com.liferay.portal.service.ServiceContext;
018    
019    import com.liferay.portlet.expando.model.ExpandoBridge;
020    
021    import java.io.Serializable;
022    
023    /**
024     * The base model interface for the PasswordPolicyRel service. Represents a row in the "PasswordPolicyRel" database table, with each column mapped to a property of this class.
025     *
026     * <p>
027     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.PasswordPolicyRelModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.PasswordPolicyRelImpl}.
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see PasswordPolicyRel
032     * @see com.liferay.portal.model.impl.PasswordPolicyRelImpl
033     * @see com.liferay.portal.model.impl.PasswordPolicyRelModelImpl
034     * @generated
035     */
036    public interface PasswordPolicyRelModel extends AttachedModel,
037            BaseModel<PasswordPolicyRel> {
038            /*
039             * NOTE FOR DEVELOPERS:
040             *
041             * Never modify or reference this interface directly. All methods that expect a password policy rel model instance should use the {@link PasswordPolicyRel} interface instead.
042             */
043    
044            /**
045             * Returns the primary key of this password policy rel.
046             *
047             * @return the primary key of this password policy rel
048             */
049            public long getPrimaryKey();
050    
051            /**
052             * Sets the primary key of this password policy rel.
053             *
054             * @param primaryKey the primary key of this password policy rel
055             */
056            public void setPrimaryKey(long primaryKey);
057    
058            /**
059             * Returns the password policy rel ID of this password policy rel.
060             *
061             * @return the password policy rel ID of this password policy rel
062             */
063            public long getPasswordPolicyRelId();
064    
065            /**
066             * Sets the password policy rel ID of this password policy rel.
067             *
068             * @param passwordPolicyRelId the password policy rel ID of this password policy rel
069             */
070            public void setPasswordPolicyRelId(long passwordPolicyRelId);
071    
072            /**
073             * Returns the password policy ID of this password policy rel.
074             *
075             * @return the password policy ID of this password policy rel
076             */
077            public long getPasswordPolicyId();
078    
079            /**
080             * Sets the password policy ID of this password policy rel.
081             *
082             * @param passwordPolicyId the password policy ID of this password policy rel
083             */
084            public void setPasswordPolicyId(long passwordPolicyId);
085    
086            /**
087             * Returns the fully qualified class name of this password policy rel.
088             *
089             * @return the fully qualified class name of this password policy rel
090             */
091            public String getClassName();
092    
093            /**
094             * Returns the class name ID of this password policy rel.
095             *
096             * @return the class name ID of this password policy rel
097             */
098            public long getClassNameId();
099    
100            /**
101             * Sets the class name ID of this password policy rel.
102             *
103             * @param classNameId the class name ID of this password policy rel
104             */
105            public void setClassNameId(long classNameId);
106    
107            /**
108             * Returns the class p k of this password policy rel.
109             *
110             * @return the class p k of this password policy rel
111             */
112            public long getClassPK();
113    
114            /**
115             * Sets the class p k of this password policy rel.
116             *
117             * @param classPK the class p k of this password policy rel
118             */
119            public void setClassPK(long classPK);
120    
121            public boolean isNew();
122    
123            public void setNew(boolean n);
124    
125            public boolean isCachedModel();
126    
127            public void setCachedModel(boolean cachedModel);
128    
129            public boolean isEscapedModel();
130    
131            public Serializable getPrimaryKeyObj();
132    
133            public void setPrimaryKeyObj(Serializable primaryKeyObj);
134    
135            public ExpandoBridge getExpandoBridge();
136    
137            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
138    
139            public Object clone();
140    
141            public int compareTo(PasswordPolicyRel passwordPolicyRel);
142    
143            public int hashCode();
144    
145            public CacheModel<PasswordPolicyRel> toCacheModel();
146    
147            public PasswordPolicyRel toEscapedModel();
148    
149            public String toString();
150    
151            public String toXmlString();
152    }