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            @Override
097            public String getClassName();
098    
099            public void setClassName(String className);
100    
101            /**
102             * Returns the class name ID of this d d m storage link.
103             *
104             * @return the class name ID of this d d m storage link
105             */
106            @Override
107            public long getClassNameId();
108    
109            /**
110             * Sets the class name ID of this d d m storage link.
111             *
112             * @param classNameId the class name ID of this d d m storage link
113             */
114            @Override
115            public void setClassNameId(long classNameId);
116    
117            /**
118             * Returns the class p k of this d d m storage link.
119             *
120             * @return the class p k of this d d m storage link
121             */
122            @Override
123            public long getClassPK();
124    
125            /**
126             * Sets the class p k of this d d m storage link.
127             *
128             * @param classPK the class p k of this d d m storage link
129             */
130            @Override
131            public void setClassPK(long classPK);
132    
133            /**
134             * Returns the structure ID of this d d m storage link.
135             *
136             * @return the structure ID of this d d m storage link
137             */
138            public long getStructureId();
139    
140            /**
141             * Sets the structure ID of this d d m storage link.
142             *
143             * @param structureId the structure ID of this d d m storage link
144             */
145            public void setStructureId(long structureId);
146    
147            @Override
148            public boolean isNew();
149    
150            @Override
151            public void setNew(boolean n);
152    
153            @Override
154            public boolean isCachedModel();
155    
156            @Override
157            public void setCachedModel(boolean cachedModel);
158    
159            @Override
160            public boolean isEscapedModel();
161    
162            @Override
163            public Serializable getPrimaryKeyObj();
164    
165            @Override
166            public void setPrimaryKeyObj(Serializable primaryKeyObj);
167    
168            @Override
169            public ExpandoBridge getExpandoBridge();
170    
171            @Override
172            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
173    
174            @Override
175            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
176    
177            @Override
178            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
179    
180            @Override
181            public Object clone();
182    
183            @Override
184            public int compareTo(DDMStorageLink ddmStorageLink);
185    
186            @Override
187            public int hashCode();
188    
189            @Override
190            public CacheModel<DDMStorageLink> toCacheModel();
191    
192            @Override
193            public DDMStorageLink toEscapedModel();
194    
195            @Override
196            public DDMStorageLink toUnescapedModel();
197    
198            @Override
199            public String toString();
200    
201            @Override
202            public String toXmlString();
203    }