gt: 		if (opisanie_tovara != null) {
context: /**
   * 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 tj.zajavki.ot.postavwikov.model.impl;
  
  import aQute.bnd.annotation.ProviderType;
  
  import com.liferay.expando.kernel.model.ExpandoBridge;
  import com.liferay.expando.kernel.util.ExpandoBridgeFactoryUtil;
  
  import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
  import com.liferay.portal.kernel.model.CacheModel;
  import com.liferay.portal.kernel.model.impl.BaseModelImpl;
  import com.liferay.portal.kernel.service.ServiceContext;
  import com.liferay.portal.kernel.util.GetterUtil;
  import com.liferay.portal.kernel.util.ProxyUtil;
  import com.liferay.portal.kernel.util.StringBundler;
  import com.liferay.portal.kernel.util.StringPool;
  
  import tj.zajavki.ot.postavwikov.model.ZajavkiOtPostavwikovTemp;
  import tj.zajavki.ot.postavwikov.model.ZajavkiOtPostavwikovTempModel;
  
  import java.io.Serializable;
  
  import java.sql.Types;
  
  import java.util.Date;
  import java.util.HashMap;
  import java.util.Map;
  
  /**
   * The base model implementation for the ZajavkiOtPostavwikovTemp service. Represents a row in the &quot;sapp.zajavki_ot_postavwikov_temp&quot; database table, with each column mapped to a property of this class.
   *
   * <p>
   * This implementation and its corresponding interface {@link ZajavkiOtPostavwikovTempModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link ZajavkiOtPostavwikovTempImpl}.
   * </p>
   *
   * @author Brian Wing Shun Chan
   * @see ZajavkiOtPostavwikovTempImpl
   * @see ZajavkiOtPostavwikovTemp
   * @see ZajavkiOtPostavwikovTempModel
   * @generated
   */
  @ProviderType
  public class ZajavkiOtPostavwikovTempModelImpl extends BaseModelImpl<ZajavkiOtPostavwikovTemp>
  	implements ZajavkiOtPostavwikovTempModel {
  	/*
  	 * NOTE FOR DEVELOPERS:
  	 *
  	 * Never modify or reference this class directly. All methods that expect a zajavki ot postavwikov temp model instance should use the {@link ZajavkiOtPostavwikovTemp} interface instead.
  	 */
  	public static final String TABLE_NAME = "sapp.zajavki_ot_postavwikov_temp";
  	public static final Object[][] TABLE_COLUMNS = {
  			{ "zajavki_ot_postavwikov_temp_id", Types.BIGINT },
  			{ "izvewenie_id", Types.BIGINT },
  			{ "lot_id", Types.BIGINT },
  			{ "tovar_id", Types.BIGINT },
  			{ "postavwik_id", Types.BIGINT },
  			{ "kolichestvo", Types.INTEGER },
  			{ "summa_za_edinicu_tovara", Types.DOUBLE },
  			{ "itogo_za_tovar", Types.DOUBLE },
  			{ "sozdal", Types.BIGINT },
  			{ "izmenil", Types.BIGINT },
  			{ "data_sozdanija", Types.TIMESTAMP },
  			{ "data_izmenenija", Types.TIMESTAMP },
  			{ "kod_po_obshhemu_klassifikatoru", Types.BIGINT },
  			{ "kod_strany_proizvoditelja", Types.BIGINT },
  			{ "opisanie_tovara", Types.VARCHAR },
  			{ "predlozhenie_postavwika", Types.VARCHAR }
  		};
  	public static final Map<String, Integer> TABLE_COLUMNS_MAP = new HashMap<String, Integer>();
  
  	static {
  		TABLE_COLUMNS_MAP.put("zajavki_ot_postavwikov_temp_id", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("izvewenie_id", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("lot_id", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("tovar_id", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("postavwik_id", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("kolichestvo", Types.INTEGER);
  		TABLE_COLUMNS_MAP.put("summa_za_edinicu_tovara", Types.DOUBLE);
  		TABLE_COLUMNS_MAP.put("itogo_za_tovar", Types.DOUBLE);
  		TABLE_COLUMNS_MAP.put("sozdal", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("izmenil", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("data_sozdanija", Types.TIMESTAMP);
  		TABLE_COLUMNS_MAP.put("data_izmenenija", Types.TIMESTAMP);
  		TABLE_COLUMNS_MAP.put("kod_po_obshhemu_klassifikatoru", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("kod_strany_proizvoditelja", Types.BIGINT);
  		TABLE_COLUMNS_MAP.put("opisanie_tovara", Types.VARCHAR);
  		TABLE_COLUMNS_MAP.put("predlozhenie_postavwika", Types.VARCHAR);
  	}
  
  	public static final String TABLE_SQL_CREATE = "create table sapp.zajavki_ot_postavwikov_temp (zajavki_ot_postavwikov_temp_id LONG not null primary key,izvewenie_id LONG,lot_id LONG,tovar_id LONG,postavwik_id LONG,kolichestvo INTEGER,summa_za_edinicu_tovara DOUBLE,itogo_za_tovar DOUBLE,sozdal LONG,izmenil LONG,data_sozdanija DATE null,data_izmenenija DATE null,kod_po_obshhemu_klassifikatoru LONG,kod_strany_proizvoditelja LONG,opisanie_tovara VARCHAR(75) null,predlozhenie_postavwika VARCHAR(75) null)";
  	public static final String TABLE_SQL_DROP = "drop table sapp.zajavki_ot_postavwikov_temp";
  	public static final String ORDER_BY_JPQL = " ORDER BY zajavkiOtPostavwikovTemp.zajavki_ot_postavwikov_temp_id ASC";
  	public static final String ORDER_BY_SQL = " ORDER BY sapp.zajavki_ot_postavwikov_temp.zajavki_ot_postavwikov_temp_id ASC";
  	public static final String DATA_SOURCE = "liferayDataSource";
  	public static final String SESSION_FACTORY = "liferaySessionFactory";
  	public static final String TX_MANAGER = "liferayTransactionManager";
  	public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(tj.zajavki.ot.postavwikov.service.util.ServiceProps.get(
  				"value.object.entity.cache.enabled.tj.zajavki.ot.postavwikov.model.ZajavkiOtPostavwikovTemp"),
  			true);
  	public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(tj.zajavki.ot.postavwikov.service.util.ServiceProps.get(
  				"value.object.finder.cache.enabled.tj.zajavki.ot.postavwikov.model.ZajavkiOtPostavwikovTemp"),
  			true);
  	public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(tj.zajavki.ot.postavwikov.service.util.ServiceProps.get(
  				"value.object.column.bitmask.enabled.tj.zajavki.ot.postavwikov.model.ZajavkiOtPostavwikovTemp"),
  			true);
  	public static final long LOT_ID_COLUMN_BITMASK = 1L;
  	public static final long POSTAVWIK_ID_COLUMN_BITMASK = 2L;
  	public static final long TOVAR_ID_COLUMN_BITMASK = 4L;
  	public static final long ZAJAVKI_OT_POSTAVWIKOV_TEMP_ID_COLUMN_BITMASK = 8L;
  	public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(tj.zajavki.ot.postavwikov.service.util.ServiceProps.get(
  				"lock.expiration.time.tj.zajavki.ot.postavwikov.model.ZajavkiOtPostavwikovTemp"));
  
  	public ZajavkiOtPostavwikovTempModelImpl() {
  	}
  
  	@Override
  	public long getPrimaryKey() {
  		return _zajavki_ot_postavwikov_temp_id;
  	}
  
  	@Override
  	public void setPrimaryKey(long primaryKey) {
  		setZajavki_ot_postavwikov_temp_id(primaryKey);
  	}
  
  	@Override
  	public Serializable getPrimaryKeyObj() {
  		return _zajavki_ot_postavwikov_temp_id;
  	}
  
  	@Override
  	public void setPrimaryKeyObj(Serializable primaryKeyObj) {
  		setPrimaryKey(((Long)primaryKeyObj).longValue());
  	}
  
  	@Override
  	public Class<?> getModelClass() {
  		return ZajavkiOtPostavwikovTemp.class;
  	}
  
  	@Override
  	public String getModelClassName() {
  		return ZajavkiOtPostavwikovTemp.class.getName();
  	}
  
  	@Override
  	public Map<String, Object> getModelAttributes() {
  		Map<String, Object> attributes = new HashMap<String, Object>();
  
  		attributes.put("zajavki_ot_postavwikov_temp_id",
  			getZajavki_ot_postavwikov_temp_id());
  		attributes.put("izvewenie_id", getIzvewenie_id());
  		attributes.put("lot_id", getLot_id());
  		attributes.put("tovar_id", getTovar_id());
  		attributes.put("postavwik_id", getPostavwik_id());
  		attributes.put("kolichestvo", getKolichestvo());
  		attributes.put("summa_za_edinicu_tovara", getSumma_za_edinicu_tovara());
  		attributes.put("itogo_za_tovar", getItogo_za_tovar());
  		attributes.put("sozdal", getSozdal());
  		attributes.put("izmenil", getIzmenil());
  		attributes.put("data_sozdanija", getData_sozdanija());
  		attributes.put("data_izmenenija", getData_izmenenija());
  		attributes.put("kod_po_obshhemu_klassifikatoru",
  			getKod_po_obshhemu_klassifikatoru());
  		attributes.put("kod_strany_proizvoditelja",
  			getKod_strany_proizvoditelja());
  		attributes.put("opisanie_tovara", getOpisanie_tovara());
  		attributes.put("predlozhenie_postavwika", getPredlozhenie_postavwika());
  
  		attributes.put("entityCacheEnabled", isEntityCacheEnabled());
  		attributes.put("finderCacheEnabled", isFinderCacheEnabled());
  
  		return attributes;
  	}
  
  	@Override
  	public void setModelAttributes(Map<String, Object> attributes) {
  		Long zajavki_ot_postavwikov_temp_id = (Long)attributes.get(
  				"zajavki_ot_postavwikov_temp_id");
  
  		if (zajavki_ot_postavwikov_temp_id != null) {
  			setZajavki_ot_postavwikov_temp_id(zajavki_ot_postavwikov_temp_id);
  		}
  
  		Long izvewenie_id = (Long)attributes.get("izvewenie_id");
  
  		if (izvewenie_id != null) {
  			setIzvewenie_id(izvewenie_id);
  		}
  
  		Long lot_id = (Long)attributes.get("lot_id");
  
  		if (lot_id != null) {
  			setLot_id(lot_id);
  		}
  
  		Long tovar_id = (Long)attributes.get("tovar_id");
  
  		if (tovar_id != null) {
  			setTovar_id(tovar_id);
  		}
  
  		Long postavwik_id = (Long)attributes.get("postavwik_id");
  
  		if (postavwik_id != null) {
  			setPostavwik_id(postavwik_id);
  		}
  
  		Integer kolichestvo = (Integer)attributes.get("kolichestvo");
  
  		if (kolichestvo != null) {
  			setKolichestvo(kolichestvo);
  		}
  
  		Double summa_za_edinicu_tovara = (Double)attributes.get(
  				"summa_za_edinicu_tovara");
  
  		if (summa_za_edinicu_tovara != null) {
  			setSumma_za_edinicu_tovara(summa_za_edinicu_tovara);
  		}
  
  		Double itogo_za_tovar = (Double)attributes.get("itogo_za_tovar");
  
  		if (itogo_za_tovar != null) {
  			setItogo_za_tovar(itogo_za_tovar);
  		}
  
  		Long sozdal = (Long)attributes.get("sozdal");
  
  		if (sozdal != null) {
  			setSozdal(sozdal);
  		}
  
  		Long izmenil = (Long)attributes.get("izmenil");
  
  		if (izmenil != null) {
  			setIzmenil(izmenil);
  		}
  
  		Date data_sozdanija = (Date)attributes.get("data_sozdanija");
  
  		if (data_sozdanija != null) {
  			setData_sozdanija(data_sozdanija);
  		}
  
  		Date data_izmenenija = (Date)attributes.get("data_izmenenija");
  
  		if (data_izmenenija != null) {
  			setData_izmenenija(data_izmenenija);
  		}
  
  		Long kod_po_obshhemu_klassifikatoru = (Long)attributes.get(
  				"kod_po_obshhemu_klassifikatoru");
  
  		if (kod_po_obshhemu_klassifikatoru != null) {
  			setKod_po_obshhemu_klassifikatoru(kod_po_obshhemu_klassifikatoru);
  		}
  
  		Long kod_strany_proizvoditelja = (Long)attributes.get(
  				"kod_strany_proizvoditelja");
  
  		if (kod_strany_proizvoditelja != null) {
  			setKod_strany_proizvoditelja(kod_strany_proizvoditelja);
  		}
  
  		String opisanie_tovara = (String)attributes.get("opisanie_tovara");
  
  