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