⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x_m_demanddetail.java

📁 大家共享愉快, 共享愉快, 共享愉快, 共享愉快,共享愉快
💻 JAVA
字号:
/** Generated Model - DO NOT CHANGE - Copyright (C) 1999-2005 Jorg Janke */
package org.compiere.model;
import java.util.*;
import java.sql.*;
import java.math.*;
import org.compiere.util.*;
/** Generated Model for M_DemandDetail
 *  @author Jorg Janke (generated) 
 *  @version Release 2.5.3b - 2006-02-09 16:43:02.186 */
public class X_M_DemandDetail extends PO
{
/** Standard Constructor */
public X_M_DemandDetail (Properties ctx, int M_DemandDetail_ID, String trxName)
{
super (ctx, M_DemandDetail_ID, trxName);
/** if (M_DemandDetail_ID == 0)
{
setM_DemandDetail_ID (0);
setM_DemandLine_ID (0);
}
 */
}
/** Load Constructor */
public X_M_DemandDetail (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=721 */
public static final int Table_ID=721;

/** TableName=M_DemandDetail */
public static final String Table_Name="M_DemandDetail";

protected static KeyNamePair Model = new KeyNamePair(721,"M_DemandDetail");

protected BigDecimal accessLevel = new BigDecimal(2);
/** AccessLevel 2 - Client  */
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID);
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_M_DemandDetail[").append(get_ID()).append("]");
return sb.toString();
}
/** Set Sales Order Line.
Sales Order Line */
public void setC_OrderLine_ID (int C_OrderLine_ID)
{
if (C_OrderLine_ID <= 0) set_Value ("C_OrderLine_ID", null);
 else 
set_Value ("C_OrderLine_ID", new Integer(C_OrderLine_ID));
}
/** Get Sales Order Line.
Sales Order Line */
public int getC_OrderLine_ID() 
{
Integer ii = (Integer)get_Value("C_OrderLine_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Demand Detail.
Material Demand Line Source Detail */
public void setM_DemandDetail_ID (int M_DemandDetail_ID)
{
if (M_DemandDetail_ID < 1) throw new IllegalArgumentException ("M_DemandDetail_ID is mandatory.");
set_ValueNoCheck ("M_DemandDetail_ID", new Integer(M_DemandDetail_ID));
}
/** Get Demand Detail.
Material Demand Line Source Detail */
public int getM_DemandDetail_ID() 
{
Integer ii = (Integer)get_Value("M_DemandDetail_ID");
if (ii == null) return 0;
return ii.intValue();
}
public KeyNamePair getKeyNamePair() 
{
return new KeyNamePair(get_ID(), String.valueOf(getM_DemandDetail_ID()));
}
/** Set Demand Line.
Material Demand Line */
public void setM_DemandLine_ID (int M_DemandLine_ID)
{
if (M_DemandLine_ID < 1) throw new IllegalArgumentException ("M_DemandLine_ID is mandatory.");
set_ValueNoCheck ("M_DemandLine_ID", new Integer(M_DemandLine_ID));
}
/** Get Demand Line.
Material Demand Line */
public int getM_DemandLine_ID() 
{
Integer ii = (Integer)get_Value("M_DemandLine_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Forecast Line.
Forecast Line */
public void setM_ForecastLine_ID (int M_ForecastLine_ID)
{
if (M_ForecastLine_ID <= 0) set_Value ("M_ForecastLine_ID", null);
 else 
set_Value ("M_ForecastLine_ID", new Integer(M_ForecastLine_ID));
}
/** Get Forecast Line.
Forecast Line */
public int getM_ForecastLine_ID() 
{
Integer ii = (Integer)get_Value("M_ForecastLine_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Requisition Line.
Material Requisition Line */
public void setM_RequisitionLine_ID (int M_RequisitionLine_ID)
{
if (M_RequisitionLine_ID <= 0) set_Value ("M_RequisitionLine_ID", null);
 else 
set_Value ("M_RequisitionLine_ID", new Integer(M_RequisitionLine_ID));
}
/** Get Requisition Line.
Material Requisition Line */
public int getM_RequisitionLine_ID() 
{
Integer ii = (Integer)get_Value("M_RequisitionLine_ID");
if (ii == null) return 0;
return ii.intValue();
}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -