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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.model.AttachedModel;
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 DDMStructureLink service. Represents a row in the "DDMStructureLink" 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.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl} 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.DDMStructureLinkImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see DDMStructureLink
037     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkImpl
038     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface DDMStructureLinkModel extends AttachedModel,
043            BaseModel<DDMStructureLink> {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a d d m structure link model instance should use the {@link DDMStructureLink} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this d d m structure link.
052             *
053             * @return the primary key of this d d m structure link
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this d d m structure link.
059             *
060             * @param primaryKey the primary key of this d d m structure link
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the structure link ID of this d d m structure link.
066             *
067             * @return the structure link ID of this d d m structure link
068             */
069            public long getStructureLinkId();
070    
071            /**
072             * Sets the structure link ID of this d d m structure link.
073             *
074             * @param structureLinkId the structure link ID of this d d m structure link
075             */
076            public void setStructureLinkId(long structureLinkId);
077    
078            /**
079             * Returns the fully qualified class name of this d d m structure link.
080             *
081             * @return the fully qualified class name of this d d m structure link
082             */
083            @Override
084            public String getClassName();
085    
086            public void setClassName(String className);
087    
088            /**
089             * Returns the class name ID of this d d m structure link.
090             *
091             * @return the class name ID of this d d m structure link
092             */
093            @Override
094            public long getClassNameId();
095    
096            /**
097             * Sets the class name ID of this d d m structure link.
098             *
099             * @param classNameId the class name ID of this d d m structure link
100             */
101            @Override
102            public void setClassNameId(long classNameId);
103    
104            /**
105             * Returns the class p k of this d d m structure link.
106             *
107             * @return the class p k of this d d m structure link
108             */
109            @Override
110            public long getClassPK();
111    
112            /**
113             * Sets the class p k of this d d m structure link.
114             *
115             * @param classPK the class p k of this d d m structure link
116             */
117            @Override
118            public void setClassPK(long classPK);
119    
120            /**
121             * Returns the structure ID of this d d m structure link.
122             *
123             * @return the structure ID of this d d m structure link
124             */
125            public long getStructureId();
126    
127            /**
128             * Sets the structure ID of this d d m structure link.
129             *
130             * @param structureId the structure ID of this d d m structure link
131             */
132            public void setStructureId(long structureId);
133    
134            @Override
135            public boolean isNew();
136    
137            @Override
138            public void setNew(boolean n);
139    
140            @Override
141            public boolean isCachedModel();
142    
143            @Override
144            public void setCachedModel(boolean cachedModel);
145    
146            @Override
147            public boolean isEscapedModel();
148    
149            @Override
150            public Serializable getPrimaryKeyObj();
151    
152            @Override
153            public void setPrimaryKeyObj(Serializable primaryKeyObj);
154    
155            @Override
156            public ExpandoBridge getExpandoBridge();
157    
158            @Override
159            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
160    
161            @Override
162            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
163    
164            @Override
165            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
166    
167            @Override
168            public Object clone();
169    
170            @Override
171            public int compareTo(
172                    com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink);
173    
174            @Override
175            public int hashCode();
176    
177            @Override
178            public CacheModel<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> toCacheModel();
179    
180            @Override
181            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink toEscapedModel();
182    
183            @Override
184            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink toUnescapedModel();
185    
186            @Override
187            public String toString();
188    
189            @Override
190            public String toXmlString();
191    }