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.shopping.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.model.BaseModel; 019 import com.liferay.portal.model.CacheModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 /** 027 * The base model interface for the ShoppingItemField service. Represents a row in the "ShoppingItemField" 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.shopping.model.impl.ShoppingItemFieldModelImpl} 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.shopping.model.impl.ShoppingItemFieldImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see ShoppingItemField 035 * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl 036 * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl 037 * @generated 038 */ 039 public interface ShoppingItemFieldModel extends BaseModel<ShoppingItemField> { 040 /* 041 * NOTE FOR DEVELOPERS: 042 * 043 * Never modify or reference this interface directly. All methods that expect a shopping item field model instance should use the {@link ShoppingItemField} interface instead. 044 */ 045 046 /** 047 * Returns the primary key of this shopping item field. 048 * 049 * @return the primary key of this shopping item field 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this shopping item field. 055 * 056 * @param primaryKey the primary key of this shopping item field 057 */ 058 public void setPrimaryKey(long primaryKey); 059 060 /** 061 * Returns the item field ID of this shopping item field. 062 * 063 * @return the item field ID of this shopping item field 064 */ 065 public long getItemFieldId(); 066 067 /** 068 * Sets the item field ID of this shopping item field. 069 * 070 * @param itemFieldId the item field ID of this shopping item field 071 */ 072 public void setItemFieldId(long itemFieldId); 073 074 /** 075 * Returns the item ID of this shopping item field. 076 * 077 * @return the item ID of this shopping item field 078 */ 079 public long getItemId(); 080 081 /** 082 * Sets the item ID of this shopping item field. 083 * 084 * @param itemId the item ID of this shopping item field 085 */ 086 public void setItemId(long itemId); 087 088 /** 089 * Returns the name of this shopping item field. 090 * 091 * @return the name of this shopping item field 092 */ 093 @AutoEscape 094 public String getName(); 095 096 /** 097 * Sets the name of this shopping item field. 098 * 099 * @param name the name of this shopping item field 100 */ 101 public void setName(String name); 102 103 /** 104 * Returns the values of this shopping item field. 105 * 106 * @return the values of this shopping item field 107 */ 108 @AutoEscape 109 public String getValues(); 110 111 /** 112 * Sets the values of this shopping item field. 113 * 114 * @param values the values of this shopping item field 115 */ 116 public void setValues(String values); 117 118 /** 119 * Returns the description of this shopping item field. 120 * 121 * @return the description of this shopping item field 122 */ 123 @AutoEscape 124 public String getDescription(); 125 126 /** 127 * Sets the description of this shopping item field. 128 * 129 * @param description the description of this shopping item field 130 */ 131 public void setDescription(String description); 132 133 @Override 134 public boolean isNew(); 135 136 @Override 137 public void setNew(boolean n); 138 139 @Override 140 public boolean isCachedModel(); 141 142 @Override 143 public void setCachedModel(boolean cachedModel); 144 145 @Override 146 public boolean isEscapedModel(); 147 148 @Override 149 public Serializable getPrimaryKeyObj(); 150 151 @Override 152 public void setPrimaryKeyObj(Serializable primaryKeyObj); 153 154 @Override 155 public ExpandoBridge getExpandoBridge(); 156 157 @Override 158 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 159 160 @Override 161 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 162 163 @Override 164 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 165 166 @Override 167 public Object clone(); 168 169 @Override 170 public int compareTo(ShoppingItemField shoppingItemField); 171 172 @Override 173 public int hashCode(); 174 175 @Override 176 public CacheModel<ShoppingItemField> toCacheModel(); 177 178 @Override 179 public ShoppingItemField toEscapedModel(); 180 181 @Override 182 public ShoppingItemField toUnescapedModel(); 183 184 @Override 185 public String toString(); 186 187 @Override 188 public String toXmlString(); 189 }