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