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.dynamicdatamapping.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.model.AttachedModel;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.expando.model.ExpandoBridge;
024    
025    import java.io.Serializable;
026    
027    /**
028     * The base model interface for the DDMStorageLink service. Represents a row in the "DDMStorageLink" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl} 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.dynamicdatamapping.model.impl.DDMStorageLinkImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see DDMStorageLink
036     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkImpl
037     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl
038     * @generated
039     */
040    public interface DDMStorageLinkModel extends AttachedModel,
041            BaseModel<DDMStorageLink> {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a d d m storage link model instance should use the {@link DDMStorageLink} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this d d m storage link.
050             *
051             * @return the primary key of this d d m storage link
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this d d m storage link.
057             *
058             * @param primaryKey the primary key of this d d m storage link
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the uuid of this d d m storage link.
064             *
065             * @return the uuid of this d d m storage link
066             */
067            @AutoEscape
068            public String getUuid();
069    
070            /**
071             * Sets the uuid of this d d m storage link.
072             *
073             * @param uuid the uuid of this d d m storage link
074             */
075            public void setUuid(String uuid);
076    
077            /**
078             * Returns the storage link ID of this d d m storage link.
079             *
080             * @return the storage link ID of this d d m storage link
081             */
082            public long getStorageLinkId();
083    
084            /**
085             * Sets the storage link ID of this d d m storage link.
086             *
087             * @param storageLinkId the storage link ID of this d d m storage link
088             */
089            public void setStorageLinkId(long storageLinkId);
090    
091            /**
092             * Returns the fully qualified class name of this d d m storage link.
093             *
094             * @return the fully qualified class name of this d d m storage link
095             */
096            public String getClassName();
097    
098            public void setClassName(String className);
099    
100            /**
101             * Returns the class name ID of this d d m storage link.
102             *
103             * @return the class name ID of this d d m storage link
104             */
105            public long getClassNameId();
106    
107            /**
108             * Sets the class name ID of this d d m storage link.
109             *
110             * @param classNameId the class name ID of this d d m storage link
111             */
112            public void setClassNameId(long classNameId);
113    
114            /**
115             * Returns the class p k of this d d m storage link.
116             *
117             * @return the class p k of this d d m storage link
118             */
119            public long getClassPK();
120    
121            /**
122             * Sets the class p k of this d d m storage link.
123             *
124             * @param classPK the class p k of this d d m storage link
125             */
126            public void setClassPK(long classPK);
127    
128            /**
129             * Returns the structure ID of this d d m storage link.
130             *
131             * @return the structure ID of this d d m storage link
132             */
133            public long getStructureId();
134    
135            /**
136             * Sets the structure ID of this d d m storage link.
137             *
138             * @param structureId the structure ID of this d d m storage link
139             */
140            public void setStructureId(long structureId);
141    
142            public boolean isNew();
143    
144            public void setNew(boolean n);
145    
146            public boolean isCachedModel();
147    
148            public void setCachedModel(boolean cachedModel);
149    
150            public boolean isEscapedModel();
151    
152            public Serializable getPrimaryKeyObj();
153    
154            public void setPrimaryKeyObj(Serializable primaryKeyObj);
155    
156            public ExpandoBridge getExpandoBridge();
157    
158            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
159    
160            public Object clone();
161    
162            public int compareTo(DDMStorageLink ddmStorageLink);
163    
164            public int hashCode();
165    
166            public CacheModel<DDMStorageLink> toCacheModel();
167    
168            public DDMStorageLink toEscapedModel();
169    
170            public DDMStorageLink toUnescapedModel();
171    
172            public String toString();
173    
174            public String toXmlString();
175    }