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