001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portlet.shopping.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 com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 /** 026 * 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. 027 * 028 * <p> 029 * 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}. 030 * </p> 031 * 032 * <p> 033 * Never modify or reference this interface directly. All methods that expect a shopping item field model instance should use the {@link ShoppingItemField} interface instead. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see ShoppingItemField 038 * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl 039 * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl 040 * @generated 041 */ 042 public interface ShoppingItemFieldModel extends BaseModel<ShoppingItemField> { 043 /** 044 * Gets the primary key of this shopping item field. 045 * 046 * @return the primary key of this shopping item field 047 */ 048 public long getPrimaryKey(); 049 050 /** 051 * Sets the primary key of this shopping item field 052 * 053 * @param pk the primary key of this shopping item field 054 */ 055 public void setPrimaryKey(long pk); 056 057 /** 058 * Gets the item field id of this shopping item field. 059 * 060 * @return the item field id of this shopping item field 061 */ 062 public long getItemFieldId(); 063 064 /** 065 * Sets the item field id of this shopping item field. 066 * 067 * @param itemFieldId the item field id of this shopping item field 068 */ 069 public void setItemFieldId(long itemFieldId); 070 071 /** 072 * Gets the item id of this shopping item field. 073 * 074 * @return the item id of this shopping item field 075 */ 076 public long getItemId(); 077 078 /** 079 * Sets the item id of this shopping item field. 080 * 081 * @param itemId the item id of this shopping item field 082 */ 083 public void setItemId(long itemId); 084 085 /** 086 * Gets the name of this shopping item field. 087 * 088 * @return the name of this shopping item field 089 */ 090 @AutoEscape 091 public String getName(); 092 093 /** 094 * Sets the name of this shopping item field. 095 * 096 * @param name the name of this shopping item field 097 */ 098 public void setName(String name); 099 100 /** 101 * Gets the values of this shopping item field. 102 * 103 * @return the values of this shopping item field 104 */ 105 @AutoEscape 106 public String getValues(); 107 108 /** 109 * Sets the values of this shopping item field. 110 * 111 * @param values the values of this shopping item field 112 */ 113 public void setValues(String values); 114 115 /** 116 * Gets the description of this shopping item field. 117 * 118 * @return the description of this shopping item field 119 */ 120 @AutoEscape 121 public String getDescription(); 122 123 /** 124 * Sets the description of this shopping item field. 125 * 126 * @param description the description of this shopping item field 127 */ 128 public void setDescription(String description); 129 130 public boolean isNew(); 131 132 public void setNew(boolean n); 133 134 public boolean isCachedModel(); 135 136 public void setCachedModel(boolean cachedModel); 137 138 public boolean isEscapedModel(); 139 140 public void setEscapedModel(boolean escapedModel); 141 142 public Serializable getPrimaryKeyObj(); 143 144 public ExpandoBridge getExpandoBridge(); 145 146 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 147 148 public Object clone(); 149 150 public int compareTo(ShoppingItemField shoppingItemField); 151 152 public int hashCode(); 153 154 public ShoppingItemField toEscapedModel(); 155 156 public String toString(); 157 158 public String toXmlString(); 159 }