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