From 138639ec47e9a0b3815f5e24d780018d3aff3f77 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 2 Apr 2007 13:56:24 +0000 Subject: [PATCH] * Generate model class for 316 --- dbPort/GenerateModel.launch | 8 ++--- .../src/org/compiere/model/X_AD_OrgInfo.java | 36 ------------------- .../src/org/compiere/model/X_C_BPartner.java | 36 ------------------- dbPort/src/org/compiere/model/X_C_Charge.java | 18 ---------- .../src/org/compiere/model/X_C_Invoice.java | 16 --------- .../org/compiere/model/X_C_TaxCategory.java | 20 ----------- .../src/org/compiere/model/X_M_Product.java | 18 ---------- 7 files changed, 4 insertions(+), 148 deletions(-) diff --git a/dbPort/GenerateModel.launch b/dbPort/GenerateModel.launch index 75afa8d2d7..61355609cf 100644 --- a/dbPort/GenerateModel.launch +++ b/dbPort/GenerateModel.launch @@ -2,17 +2,17 @@ - + - + - + - + diff --git a/dbPort/src/org/compiere/model/X_AD_OrgInfo.java b/dbPort/src/org/compiere/model/X_AD_OrgInfo.java index 9db5458d39..f59e8f2b28 100644 --- a/dbPort/src/org/compiere/model/X_AD_OrgInfo.java +++ b/dbPort/src/org/compiere/model/X_AD_OrgInfo.java @@ -142,42 +142,6 @@ return (String)get_Value("DUNS"); } /** Column name DUNS */ public static final String COLUMNNAME_DUNS = "DUNS"; -/** Set ISIC. -@param LCO_ISIC_ID ISIC */ -public void setLCO_ISIC_ID (int LCO_ISIC_ID) -{ -if (LCO_ISIC_ID <= 0) set_Value ("LCO_ISIC_ID", null); - else -set_Value ("LCO_ISIC_ID", Integer.valueOf(LCO_ISIC_ID)); -} -/** Get ISIC. -@return ISIC */ -public int getLCO_ISIC_ID() -{ -Integer ii = (Integer)get_Value("LCO_ISIC_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name LCO_ISIC_ID */ -public static final String COLUMNNAME_LCO_ISIC_ID = "LCO_ISIC_ID"; -/** Set Tax Payer Type. -@param LCO_TaxPayerType_ID Tax Payer Type */ -public void setLCO_TaxPayerType_ID (int LCO_TaxPayerType_ID) -{ -if (LCO_TaxPayerType_ID <= 0) set_Value ("LCO_TaxPayerType_ID", null); - else -set_Value ("LCO_TaxPayerType_ID", Integer.valueOf(LCO_TaxPayerType_ID)); -} -/** Get Tax Payer Type. -@return Tax Payer Type */ -public int getLCO_TaxPayerType_ID() -{ -Integer ii = (Integer)get_Value("LCO_TaxPayerType_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name LCO_TaxPayerType_ID */ -public static final String COLUMNNAME_LCO_TaxPayerType_ID = "LCO_TaxPayerType_ID"; /** Set Warehouse. @param M_Warehouse_ID Storage Warehouse and Service Point */ public void setM_Warehouse_ID (int M_Warehouse_ID) diff --git a/dbPort/src/org/compiere/model/X_C_BPartner.java b/dbPort/src/org/compiere/model/X_C_BPartner.java index 9815641c2a..4ab6abd680 100644 --- a/dbPort/src/org/compiere/model/X_C_BPartner.java +++ b/dbPort/src/org/compiere/model/X_C_BPartner.java @@ -710,42 +710,6 @@ return false; } /** Column name IsVendor */ public static final String COLUMNNAME_IsVendor = "IsVendor"; -/** Set ISIC. -@param LCO_ISIC_ID ISIC */ -public void setLCO_ISIC_ID (int LCO_ISIC_ID) -{ -if (LCO_ISIC_ID <= 0) set_Value ("LCO_ISIC_ID", null); - else -set_Value ("LCO_ISIC_ID", Integer.valueOf(LCO_ISIC_ID)); -} -/** Get ISIC. -@return ISIC */ -public int getLCO_ISIC_ID() -{ -Integer ii = (Integer)get_Value("LCO_ISIC_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name LCO_ISIC_ID */ -public static final String COLUMNNAME_LCO_ISIC_ID = "LCO_ISIC_ID"; -/** Set Tax Payer Type. -@param LCO_TaxPayerType_ID Tax Payer Type */ -public void setLCO_TaxPayerType_ID (int LCO_TaxPayerType_ID) -{ -if (LCO_TaxPayerType_ID <= 0) set_Value ("LCO_TaxPayerType_ID", null); - else -set_Value ("LCO_TaxPayerType_ID", Integer.valueOf(LCO_TaxPayerType_ID)); -} -/** Get Tax Payer Type. -@return Tax Payer Type */ -public int getLCO_TaxPayerType_ID() -{ -Integer ii = (Integer)get_Value("LCO_TaxPayerType_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name LCO_TaxPayerType_ID */ -public static final String COLUMNNAME_LCO_TaxPayerType_ID = "LCO_TaxPayerType_ID"; /** M_DiscountSchema_ID AD_Reference_ID=325 */ public static final int M_DISCOUNTSCHEMA_ID_AD_Reference_ID=325; diff --git a/dbPort/src/org/compiere/model/X_C_Charge.java b/dbPort/src/org/compiere/model/X_C_Charge.java index 2b545f788d..331a611005 100644 --- a/dbPort/src/org/compiere/model/X_C_Charge.java +++ b/dbPort/src/org/compiere/model/X_C_Charge.java @@ -239,24 +239,6 @@ return false; } /** Column name IsTaxIncluded */ public static final String COLUMNNAME_IsTaxIncluded = "IsTaxIncluded"; -/** Set Withholding Category. -@param LCO_WithholdingCategory_ID Withholding Category */ -public void setLCO_WithholdingCategory_ID (int LCO_WithholdingCategory_ID) -{ -if (LCO_WithholdingCategory_ID <= 0) set_Value ("LCO_WithholdingCategory_ID", null); - else -set_Value ("LCO_WithholdingCategory_ID", Integer.valueOf(LCO_WithholdingCategory_ID)); -} -/** Get Withholding Category. -@return Withholding Category */ -public int getLCO_WithholdingCategory_ID() -{ -Integer ii = (Integer)get_Value("LCO_WithholdingCategory_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name LCO_WithholdingCategory_ID */ -public static final String COLUMNNAME_LCO_WithholdingCategory_ID = "LCO_WithholdingCategory_ID"; /** Set Name. @param Name Alphanumeric identifier of the entity */ public void setName (String Name) diff --git a/dbPort/src/org/compiere/model/X_C_Invoice.java b/dbPort/src/org/compiere/model/X_C_Invoice.java index 37f9bf2da4..7946db925e 100644 --- a/dbPort/src/org/compiere/model/X_C_Invoice.java +++ b/dbPort/src/org/compiere/model/X_C_Invoice.java @@ -1199,20 +1199,4 @@ return ii.intValue(); } /** Column name User2_ID */ public static final String COLUMNNAME_User2_ID = "User2_ID"; -/** Set Withholding Amount. -@param WithholdingAmt Withholding Amount */ -public void setWithholdingAmt (BigDecimal WithholdingAmt) -{ -set_Value ("WithholdingAmt", WithholdingAmt); -} -/** Get Withholding Amount. -@return Withholding Amount */ -public BigDecimal getWithholdingAmt() -{ -BigDecimal bd = (BigDecimal)get_Value("WithholdingAmt"); -if (bd == null) return Env.ZERO; -return bd; -} -/** Column name WithholdingAmt */ -public static final String COLUMNNAME_WithholdingAmt = "WithholdingAmt"; } diff --git a/dbPort/src/org/compiere/model/X_C_TaxCategory.java b/dbPort/src/org/compiere/model/X_C_TaxCategory.java index eabc942f8f..6be05aeada 100644 --- a/dbPort/src/org/compiere/model/X_C_TaxCategory.java +++ b/dbPort/src/org/compiere/model/X_C_TaxCategory.java @@ -162,26 +162,6 @@ return false; } /** Column name IsDefault */ public static final String COLUMNNAME_IsDefault = "IsDefault"; -/** Set Is Withholding. -@param IsWithholding Is Withholding */ -public void setIsWithholding (boolean IsWithholding) -{ -set_Value ("IsWithholding", Boolean.valueOf(IsWithholding)); -} -/** Get Is Withholding. -@return Is Withholding */ -public boolean isWithholding() -{ -Object oo = get_Value("IsWithholding"); -if (oo != null) -{ - if (oo instanceof Boolean) return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); -} -return false; -} -/** Column name IsWithholding */ -public static final String COLUMNNAME_IsWithholding = "IsWithholding"; /** Set Name. @param Name Alphanumeric identifier of the entity */ public void setName (String Name) diff --git a/dbPort/src/org/compiere/model/X_M_Product.java b/dbPort/src/org/compiere/model/X_M_Product.java index c3c293190e..12cafe812e 100644 --- a/dbPort/src/org/compiere/model/X_M_Product.java +++ b/dbPort/src/org/compiere/model/X_M_Product.java @@ -594,24 +594,6 @@ return false; } /** Column name IsWebStoreFeatured */ public static final String COLUMNNAME_IsWebStoreFeatured = "IsWebStoreFeatured"; -/** Set Withholding Category. -@param LCO_WithholdingCategory_ID Withholding Category */ -public void setLCO_WithholdingCategory_ID (int LCO_WithholdingCategory_ID) -{ -if (LCO_WithholdingCategory_ID <= 0) set_Value ("LCO_WithholdingCategory_ID", null); - else -set_Value ("LCO_WithholdingCategory_ID", Integer.valueOf(LCO_WithholdingCategory_ID)); -} -/** Get Withholding Category. -@return Withholding Category */ -public int getLCO_WithholdingCategory_ID() -{ -Integer ii = (Integer)get_Value("LCO_WithholdingCategory_ID"); -if (ii == null) return 0; -return ii.intValue(); -} -/** Column name LCO_WithholdingCategory_ID */ -public static final String COLUMNNAME_LCO_WithholdingCategory_ID = "LCO_WithholdingCategory_ID"; /** Set Attribute Set Instance. @param M_AttributeSetInstance_ID Product Attribute Set Instance */ public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)