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.expando.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.AttachedModel;
021    import com.liferay.portal.model.BaseModel;
022    import com.liferay.portal.model.CacheModel;
023    import com.liferay.portal.service.ServiceContext;
024    
025    import java.io.Serializable;
026    
027    /**
028     * The base model interface for the ExpandoValue service. Represents a row in the "ExpandoValue" 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.expando.model.impl.ExpandoValueModelImpl} 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.expando.model.impl.ExpandoValueImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see ExpandoValue
036     * @see com.liferay.portlet.expando.model.impl.ExpandoValueImpl
037     * @see com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
038     * @generated
039     */
040    @ProviderType
041    public interface ExpandoValueModel extends AttachedModel, BaseModel<ExpandoValue> {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a expando value model instance should use the {@link ExpandoValue} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this expando value.
050             *
051             * @return the primary key of this expando value
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this expando value.
057             *
058             * @param primaryKey the primary key of this expando value
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the value ID of this expando value.
064             *
065             * @return the value ID of this expando value
066             */
067            public long getValueId();
068    
069            /**
070             * Sets the value ID of this expando value.
071             *
072             * @param valueId the value ID of this expando value
073             */
074            public void setValueId(long valueId);
075    
076            /**
077             * Returns the company ID of this expando value.
078             *
079             * @return the company ID of this expando value
080             */
081            public long getCompanyId();
082    
083            /**
084             * Sets the company ID of this expando value.
085             *
086             * @param companyId the company ID of this expando value
087             */
088            public void setCompanyId(long companyId);
089    
090            /**
091             * Returns the table ID of this expando value.
092             *
093             * @return the table ID of this expando value
094             */
095            public long getTableId();
096    
097            /**
098             * Sets the table ID of this expando value.
099             *
100             * @param tableId the table ID of this expando value
101             */
102            public void setTableId(long tableId);
103    
104            /**
105             * Returns the column ID of this expando value.
106             *
107             * @return the column ID of this expando value
108             */
109            public long getColumnId();
110    
111            /**
112             * Sets the column ID of this expando value.
113             *
114             * @param columnId the column ID of this expando value
115             */
116            public void setColumnId(long columnId);
117    
118            /**
119             * Returns the row ID of this expando value.
120             *
121             * @return the row ID of this expando value
122             */
123            public long getRowId();
124    
125            /**
126             * Sets the row ID of this expando value.
127             *
128             * @param rowId the row ID of this expando value
129             */
130            public void setRowId(long rowId);
131    
132            /**
133             * Returns the fully qualified class name of this expando value.
134             *
135             * @return the fully qualified class name of this expando value
136             */
137            @Override
138            public String getClassName();
139    
140            public void setClassName(String className);
141    
142            /**
143             * Returns the class name ID of this expando value.
144             *
145             * @return the class name ID of this expando value
146             */
147            @Override
148            public long getClassNameId();
149    
150            /**
151             * Sets the class name ID of this expando value.
152             *
153             * @param classNameId the class name ID of this expando value
154             */
155            @Override
156            public void setClassNameId(long classNameId);
157    
158            /**
159             * Returns the class p k of this expando value.
160             *
161             * @return the class p k of this expando value
162             */
163            @Override
164            public long getClassPK();
165    
166            /**
167             * Sets the class p k of this expando value.
168             *
169             * @param classPK the class p k of this expando value
170             */
171            @Override
172            public void setClassPK(long classPK);
173    
174            /**
175             * Returns the data of this expando value.
176             *
177             * @return the data of this expando value
178             */
179            @AutoEscape
180            public String getData();
181    
182            /**
183             * Sets the data of this expando value.
184             *
185             * @param data the data of this expando value
186             */
187            public void setData(String data);
188    
189            @Override
190            public boolean isNew();
191    
192            @Override
193            public void setNew(boolean n);
194    
195            @Override
196            public boolean isCachedModel();
197    
198            @Override
199            public void setCachedModel(boolean cachedModel);
200    
201            @Override
202            public boolean isEscapedModel();
203    
204            @Override
205            public Serializable getPrimaryKeyObj();
206    
207            @Override
208            public void setPrimaryKeyObj(Serializable primaryKeyObj);
209    
210            @Override
211            public ExpandoBridge getExpandoBridge();
212    
213            @Override
214            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
215    
216            @Override
217            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
218    
219            @Override
220            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
221    
222            @Override
223            public Object clone();
224    
225            @Override
226            public int compareTo(ExpandoValue expandoValue);
227    
228            @Override
229            public int hashCode();
230    
231            @Override
232            public CacheModel<ExpandoValue> toCacheModel();
233    
234            @Override
235            public ExpandoValue toEscapedModel();
236    
237            @Override
238            public ExpandoValue toUnescapedModel();
239    
240            @Override
241            public String toString();
242    
243            @Override
244            public String toXmlString();
245    }