/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.expando.kernel.model; import aQute.bnd.annotation.ProviderType; import com.liferay.portal.kernel.bean.AutoEscape; import com.liferay.portal.kernel.model.AttachedModel; import com.liferay.portal.kernel.model.BaseModel; import com.liferay.portal.kernel.model.CacheModel; import com.liferay.portal.kernel.model.ShardedModel; import com.liferay.portal.kernel.service.ServiceContext; import java.io.Serializable; /** * 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. * * <p> * 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}. * </p> * * @author Brian Wing Shun Chan * @see ExpandoValue * @see com.liferay.portlet.expando.model.impl.ExpandoValueImpl * @see com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl * @generated */ @ProviderType public interface ExpandoValueModel extends AttachedModel, BaseModel<ExpandoValue>, ShardedModel { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. All methods that expect a expando value model instance should use the {@link ExpandoValue} interface instead. */ /** * Returns the primary key of this expando value. * * @return the primary key of this expando value */ public long getPrimaryKey(); /** * Sets the primary key of this expando value. * * @param primaryKey the primary key of this expando value */ public void setPrimaryKey(long primaryKey); /** * Returns the value ID of this expando value. * * @return the value ID of this expando value */ public long getValueId(); /** * Sets the value ID of this expando value. * * @param valueId the value ID of this expando value */ public void setValueId(long valueId); /** * Returns the company ID of this expando value. * * @return the company ID of this expando value */ @Override public long getCompanyId(); /** * Sets the company ID of this expando value. * * @param companyId the company ID of this expando value */ @Override public void setCompanyId(long companyId); /** * Returns the table ID of this expando value. * * @return the table ID of this expando value */ public long getTableId(); /** * Sets the table ID of this expando value. * * @param tableId the table ID of this expando value */ public void setTableId(long tableId); /** * Returns the column ID of this expando value. * * @return the column ID of this expando value */ public long getColumnId(); /** * Sets the column ID of this expando value. * * @param columnId the column ID of this expando value */ public void setColumnId(long columnId); /** * Returns the row ID of this expando value. * * @return the row ID of this expando value */ public long getRowId(); /** * Sets the row ID of this expando value. * * @param rowId the row ID of this expando value */ public void setRowId(long rowId); /** * Returns the fully qualified class name of this expando value. * * @return the fully qualified class name of this expando value */ @Override public String getClassName(); public void setClassName(String className); /** * Returns the class name ID of this expando value. * * @return the class name ID of this expando value */ @Override public long getClassNameId(); /** * Sets the class name ID of this expando value. * * @param classNameId the class name ID of this expando value */ @Override public void setClassNameId(long classNameId); /** * Returns the class pk of this expando value. * * @return the class pk of this expando value */ @Override public long getClassPK(); /** * Sets the class pk of this expando value. * * @param classPK the class pk of this expando value */ @Override public void setClassPK(long classPK); /** * Returns the data of this expando value. * * @return the data of this expando value */ @AutoEscape public String getData(); /** * Sets the data of this expando value. * * @param data the data of this expando value */ public void setData(String data); @Override public boolean isNew(); @Override public void setNew(boolean n); @Override public boolean isCachedModel(); @Override public void setCachedModel(boolean cachedModel); @Override public boolean isEscapedModel(); @Override public Serializable getPrimaryKeyObj(); @Override public void setPrimaryKeyObj(Serializable primaryKeyObj); @Override public ExpandoBridge getExpandoBridge(); @Override public void setExpandoBridgeAttributes(BaseModel<?> baseModel); @Override public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); @Override public void setExpandoBridgeAttributes(ServiceContext serviceContext); @Override public Object clone(); @Override public int compareTo(ExpandoValue expandoValue); @Override public int hashCode(); @Override public CacheModel<ExpandoValue> toCacheModel(); @Override public ExpandoValue toEscapedModel(); @Override public ExpandoValue toUnescapedModel(); @Override public String toString(); @Override public String toXmlString(); }