001    /**
002     * Copyright (c) 2000-2012 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.model.AttachedModel;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.model.CacheModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * 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.
028     *
029     * <p>
030     * 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}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see DDMStructureLink
035     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkImpl
036     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl
037     * @generated
038     */
039    public interface DDMStructureLinkModel extends AttachedModel,
040            BaseModel<DDMStructureLink> {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * 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.
045             */
046    
047            /**
048             * Returns the primary key of this d d m structure link.
049             *
050             * @return the primary key of this d d m structure link
051             */
052            public long getPrimaryKey();
053    
054            /**
055             * Sets the primary key of this d d m structure link.
056             *
057             * @param primaryKey the primary key of this d d m structure link
058             */
059            public void setPrimaryKey(long primaryKey);
060    
061            /**
062             * Returns the structure link ID of this d d m structure link.
063             *
064             * @return the structure link ID of this d d m structure link
065             */
066            public long getStructureLinkId();
067    
068            /**
069             * Sets the structure link ID of this d d m structure link.
070             *
071             * @param structureLinkId the structure link ID of this d d m structure link
072             */
073            public void setStructureLinkId(long structureLinkId);
074    
075            /**
076             * Returns the fully qualified class name of this d d m structure link.
077             *
078             * @return the fully qualified class name of this d d m structure link
079             */
080            public String getClassName();
081    
082            /**
083             * Returns the class name ID of this d d m structure link.
084             *
085             * @return the class name ID of this d d m structure link
086             */
087            public long getClassNameId();
088    
089            /**
090             * Sets the class name ID of this d d m structure link.
091             *
092             * @param classNameId the class name ID of this d d m structure link
093             */
094            public void setClassNameId(long classNameId);
095    
096            /**
097             * Returns the class p k of this d d m structure link.
098             *
099             * @return the class p k of this d d m structure link
100             */
101            public long getClassPK();
102    
103            /**
104             * Sets the class p k of this d d m structure link.
105             *
106             * @param classPK the class p k of this d d m structure link
107             */
108            public void setClassPK(long classPK);
109    
110            /**
111             * Returns the structure ID of this d d m structure link.
112             *
113             * @return the structure ID of this d d m structure link
114             */
115            public long getStructureId();
116    
117            /**
118             * Sets the structure ID of this d d m structure link.
119             *
120             * @param structureId the structure ID of this d d m structure link
121             */
122            public void setStructureId(long structureId);
123    
124            public boolean isNew();
125    
126            public void setNew(boolean n);
127    
128            public boolean isCachedModel();
129    
130            public void setCachedModel(boolean cachedModel);
131    
132            public boolean isEscapedModel();
133    
134            public Serializable getPrimaryKeyObj();
135    
136            public void setPrimaryKeyObj(Serializable primaryKeyObj);
137    
138            public ExpandoBridge getExpandoBridge();
139    
140            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
141    
142            public Object clone();
143    
144            public int compareTo(DDMStructureLink ddmStructureLink);
145    
146            public int hashCode();
147    
148            public CacheModel<DDMStructureLink> toCacheModel();
149    
150            public DDMStructureLink toEscapedModel();
151    
152            public String toString();
153    
154            public String toXmlString();
155    }