001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * 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.
027     *
028     * <p>
029     * 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}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see PasswordPolicyRel
034     * @see com.liferay.portal.model.impl.PasswordPolicyRelImpl
035     * @see com.liferay.portal.model.impl.PasswordPolicyRelModelImpl
036     * @generated
037     */
038    @ProviderType
039    public interface PasswordPolicyRelModel extends AttachedModel,
040            BaseModel<PasswordPolicyRel> {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify or reference this interface directly. All methods that expect a password policy rel model instance should use the {@link PasswordPolicyRel} interface instead.
045             */
046    
047            /**
048             * Returns the primary key of this password policy rel.
049             *
050             * @return the primary key of this password policy rel
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this password policy rel.
056             *
057             * @param primaryKey the primary key of this password policy rel
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the password policy rel ID of this password policy rel.
063             *
064             * @return the password policy rel ID of this password policy rel
065             */
066            public long getPasswordPolicyRelId();
067    
068            /**
069             * Sets the password policy rel ID of this password policy rel.
070             *
071             * @param passwordPolicyRelId the password policy rel ID of this password policy rel
072             */
073            public void setPasswordPolicyRelId(long passwordPolicyRelId);
074    
075            /**
076             * Returns the password policy ID of this password policy rel.
077             *
078             * @return the password policy ID of this password policy rel
079             */
080            public long getPasswordPolicyId();
081    
082            /**
083             * Sets the password policy ID of this password policy rel.
084             *
085             * @param passwordPolicyId the password policy ID of this password policy rel
086             */
087            public void setPasswordPolicyId(long passwordPolicyId);
088    
089            /**
090             * Returns the fully qualified class name of this password policy rel.
091             *
092             * @return the fully qualified class name of this password policy rel
093             */
094            @Override
095            public String getClassName();
096    
097            public void setClassName(String className);
098    
099            /**
100             * Returns the class name ID of this password policy rel.
101             *
102             * @return the class name ID of this password policy rel
103             */
104            @Override
105            public long getClassNameId();
106    
107            /**
108             * Sets the class name ID of this password policy rel.
109             *
110             * @param classNameId the class name ID of this password policy rel
111             */
112            @Override
113            public void setClassNameId(long classNameId);
114    
115            /**
116             * Returns the class p k of this password policy rel.
117             *
118             * @return the class p k of this password policy rel
119             */
120            @Override
121            public long getClassPK();
122    
123            /**
124             * Sets the class p k of this password policy rel.
125             *
126             * @param classPK the class p k of this password policy rel
127             */
128            @Override
129            public void setClassPK(long classPK);
130    
131            @Override
132            public boolean isNew();
133    
134            @Override
135            public void setNew(boolean n);
136    
137            @Override
138            public boolean isCachedModel();
139    
140            @Override
141            public void setCachedModel(boolean cachedModel);
142    
143            @Override
144            public boolean isEscapedModel();
145    
146            @Override
147            public Serializable getPrimaryKeyObj();
148    
149            @Override
150            public void setPrimaryKeyObj(Serializable primaryKeyObj);
151    
152            @Override
153            public ExpandoBridge getExpandoBridge();
154    
155            @Override
156            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
157    
158            @Override
159            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
160    
161            @Override
162            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
163    
164            @Override
165            public Object clone();
166    
167            @Override
168            public int compareTo(PasswordPolicyRel passwordPolicyRel);
169    
170            @Override
171            public int hashCode();
172    
173            @Override
174            public CacheModel<PasswordPolicyRel> toCacheModel();
175    
176            @Override
177            public PasswordPolicyRel toEscapedModel();
178    
179            @Override
180            public PasswordPolicyRel toUnescapedModel();
181    
182            @Override
183            public String toString();
184    
185            @Override
186            public String toXmlString();
187    }