001    /**
002     * Copyright (c) 2000-2010 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.annotation.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
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     * <p>
027     * This interface is a model that represents the SCLicense table in the
028     * database.
029     * </p>
030     *
031     * @author    Brian Wing Shun Chan
032     * @see       SCLicense
033     * @see       com.liferay.portlet.softwarecatalog.model.impl.SCLicenseImpl
034     * @see       com.liferay.portlet.softwarecatalog.model.impl.SCLicenseModelImpl
035     * @generated
036     */
037    public interface SCLicenseModel extends BaseModel<SCLicense> {
038            public long getPrimaryKey();
039    
040            public void setPrimaryKey(long pk);
041    
042            public long getLicenseId();
043    
044            public void setLicenseId(long licenseId);
045    
046            @AutoEscape
047            public String getName();
048    
049            public void setName(String name);
050    
051            @AutoEscape
052            public String getUrl();
053    
054            public void setUrl(String url);
055    
056            public boolean getOpenSource();
057    
058            public boolean isOpenSource();
059    
060            public void setOpenSource(boolean openSource);
061    
062            public boolean getActive();
063    
064            public boolean isActive();
065    
066            public void setActive(boolean active);
067    
068            public boolean getRecommended();
069    
070            public boolean isRecommended();
071    
072            public void setRecommended(boolean recommended);
073    
074            public SCLicense toEscapedModel();
075    
076            public boolean isNew();
077    
078            public void setNew(boolean n);
079    
080            public boolean isCachedModel();
081    
082            public void setCachedModel(boolean cachedModel);
083    
084            public boolean isEscapedModel();
085    
086            public void setEscapedModel(boolean escapedModel);
087    
088            public Serializable getPrimaryKeyObj();
089    
090            public ExpandoBridge getExpandoBridge();
091    
092            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
093    
094            public Object clone();
095    
096            public int compareTo(SCLicense scLicense);
097    
098            public int hashCode();
099    
100            public String toString();
101    
102            public String toXmlString();
103    }