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.portlet.softwarecatalog.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.model.CacheModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * The base model interface for the SCLicense service. Represents a row in the "SCLicense" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portlet.softwarecatalog.model.impl.SCLicenseModelImpl} 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.portlet.softwarecatalog.model.impl.SCLicenseImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see SCLicense
035     * @see com.liferay.portlet.softwarecatalog.model.impl.SCLicenseImpl
036     * @see com.liferay.portlet.softwarecatalog.model.impl.SCLicenseModelImpl
037     * @generated
038     */
039    public interface SCLicenseModel extends BaseModel<SCLicense> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a s c license model instance should use the {@link SCLicense} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this s c license.
048             *
049             * @return the primary key of this s c license
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this s c license.
055             *
056             * @param primaryKey the primary key of this s c license
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the license ID of this s c license.
062             *
063             * @return the license ID of this s c license
064             */
065            public long getLicenseId();
066    
067            /**
068             * Sets the license ID of this s c license.
069             *
070             * @param licenseId the license ID of this s c license
071             */
072            public void setLicenseId(long licenseId);
073    
074            /**
075             * Returns the name of this s c license.
076             *
077             * @return the name of this s c license
078             */
079            @AutoEscape
080            public String getName();
081    
082            /**
083             * Sets the name of this s c license.
084             *
085             * @param name the name of this s c license
086             */
087            public void setName(String name);
088    
089            /**
090             * Returns the url of this s c license.
091             *
092             * @return the url of this s c license
093             */
094            @AutoEscape
095            public String getUrl();
096    
097            /**
098             * Sets the url of this s c license.
099             *
100             * @param url the url of this s c license
101             */
102            public void setUrl(String url);
103    
104            /**
105             * Returns the open source of this s c license.
106             *
107             * @return the open source of this s c license
108             */
109            public boolean getOpenSource();
110    
111            /**
112             * Returns <code>true</code> if this s c license is open source.
113             *
114             * @return <code>true</code> if this s c license is open source; <code>false</code> otherwise
115             */
116            public boolean isOpenSource();
117    
118            /**
119             * Sets whether this s c license is open source.
120             *
121             * @param openSource the open source of this s c license
122             */
123            public void setOpenSource(boolean openSource);
124    
125            /**
126             * Returns the active of this s c license.
127             *
128             * @return the active of this s c license
129             */
130            public boolean getActive();
131    
132            /**
133             * Returns <code>true</code> if this s c license is active.
134             *
135             * @return <code>true</code> if this s c license is active; <code>false</code> otherwise
136             */
137            public boolean isActive();
138    
139            /**
140             * Sets whether this s c license is active.
141             *
142             * @param active the active of this s c license
143             */
144            public void setActive(boolean active);
145    
146            /**
147             * Returns the recommended of this s c license.
148             *
149             * @return the recommended of this s c license
150             */
151            public boolean getRecommended();
152    
153            /**
154             * Returns <code>true</code> if this s c license is recommended.
155             *
156             * @return <code>true</code> if this s c license is recommended; <code>false</code> otherwise
157             */
158            public boolean isRecommended();
159    
160            /**
161             * Sets whether this s c license is recommended.
162             *
163             * @param recommended the recommended of this s c license
164             */
165            public void setRecommended(boolean recommended);
166    
167            public boolean isNew();
168    
169            public void setNew(boolean n);
170    
171            public boolean isCachedModel();
172    
173            public void setCachedModel(boolean cachedModel);
174    
175            public boolean isEscapedModel();
176    
177            public Serializable getPrimaryKeyObj();
178    
179            public void setPrimaryKeyObj(Serializable primaryKeyObj);
180    
181            public ExpandoBridge getExpandoBridge();
182    
183            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
184    
185            public Object clone();
186    
187            public int compareTo(SCLicense scLicense);
188    
189            public int hashCode();
190    
191            public CacheModel<SCLicense> toCacheModel();
192    
193            public SCLicense toEscapedModel();
194    
195            public SCLicense toUnescapedModel();
196    
197            public String toString();
198    
199            public String toXmlString();
200    }