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