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