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.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            public String getClassName();
135    
136            /**
137             * Returns the class name ID of this expando value.
138             *
139             * @return the class name ID of this expando value
140             */
141            public long getClassNameId();
142    
143            /**
144             * Sets the class name ID of this expando value.
145             *
146             * @param classNameId the class name ID of this expando value
147             */
148            public void setClassNameId(long classNameId);
149    
150            /**
151             * Returns the class p k of this expando value.
152             *
153             * @return the class p k of this expando value
154             */
155            public long getClassPK();
156    
157            /**
158             * Sets the class p k of this expando value.
159             *
160             * @param classPK the class p k of this expando value
161             */
162            public void setClassPK(long classPK);
163    
164            /**
165             * Returns the data of this expando value.
166             *
167             * @return the data of this expando value
168             */
169            @AutoEscape
170            public String getData();
171    
172            /**
173             * Sets the data of this expando value.
174             *
175             * @param data the data of this expando value
176             */
177            public void setData(String data);
178    
179            public boolean isNew();
180    
181            public void setNew(boolean n);
182    
183            public boolean isCachedModel();
184    
185            public void setCachedModel(boolean cachedModel);
186    
187            public boolean isEscapedModel();
188    
189            public Serializable getPrimaryKeyObj();
190    
191            public void setPrimaryKeyObj(Serializable primaryKeyObj);
192    
193            public ExpandoBridge getExpandoBridge();
194    
195            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
196    
197            public Object clone();
198    
199            public int compareTo(ExpandoValue expandoValue);
200    
201            public int hashCode();
202    
203            public CacheModel<ExpandoValue> toCacheModel();
204    
205            public ExpandoValue toEscapedModel();
206    
207            public String toString();
208    
209            public String toXmlString();
210    }