001    /**
002     * Copyright (c) 2000-2010 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.annotation.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import java.io.Serializable;
022    
023    /**
024     * <p>
025     * This interface is a model that represents the ExpandoValue table in the
026     * database.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       ExpandoValue
031     * @see       com.liferay.portlet.expando.model.impl.ExpandoValueImpl
032     * @see       com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
033     * @generated
034     */
035    public interface ExpandoValueModel extends BaseModel<ExpandoValue> {
036            public long getPrimaryKey();
037    
038            public void setPrimaryKey(long pk);
039    
040            public long getValueId();
041    
042            public void setValueId(long valueId);
043    
044            public long getCompanyId();
045    
046            public void setCompanyId(long companyId);
047    
048            public long getTableId();
049    
050            public void setTableId(long tableId);
051    
052            public long getColumnId();
053    
054            public void setColumnId(long columnId);
055    
056            public long getRowId();
057    
058            public void setRowId(long rowId);
059    
060            public String getClassName();
061    
062            public long getClassNameId();
063    
064            public void setClassNameId(long classNameId);
065    
066            public long getClassPK();
067    
068            public void setClassPK(long classPK);
069    
070            @AutoEscape
071            public String getData();
072    
073            public void setData(String data);
074    
075            public ExpandoValue toEscapedModel();
076    
077            public boolean isNew();
078    
079            public void setNew(boolean n);
080    
081            public boolean isCachedModel();
082    
083            public void setCachedModel(boolean cachedModel);
084    
085            public boolean isEscapedModel();
086    
087            public void setEscapedModel(boolean escapedModel);
088    
089            public Serializable getPrimaryKeyObj();
090    
091            public ExpandoBridge getExpandoBridge();
092    
093            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
094    
095            public Object clone();
096    
097            public int compareTo(ExpandoValue expandoValue);
098    
099            public int hashCode();
100    
101            public String toString();
102    
103            public String toXmlString();
104    }