From c123ddfdfacdea494d8b312258a8f3da0663abe9 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 31 Mar 2010 00:42:21 +0000 Subject: [PATCH] Peer review 11845 - changing case of a columnname affects generated model BF [2913291] - Fixed Assets Application dictionary stabilization Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2913291 --- .../pipo/AbstractElementHandler.java | 2 +- .../model/I_AD_Package_Imp_Detail.java | 24 +++++----- .../compiere/model/I_AD_Package_Imp_Inst.java | 12 ++--- .../model/X_AD_Package_Imp_Detail.java | 46 +++++++++---------- .../compiere/model/X_AD_Package_Imp_Inst.java | 24 +++++----- 5 files changed, 54 insertions(+), 54 deletions(-) diff --git a/base/src/org/adempiere/pipo/AbstractElementHandler.java b/base/src/org/adempiere/pipo/AbstractElementHandler.java index 6ca3bb0617..fe8a9d0645 100644 --- a/base/src/org/adempiere/pipo/AbstractElementHandler.java +++ b/base/src/org/adempiere/pipo/AbstractElementHandler.java @@ -105,7 +105,7 @@ public abstract class AbstractElementHandler implements ElementHandler { detail.setAction(objectStatus); detail.setSuccess(result); detail.setAD_Original_ID(objectID); - detail.setAd_Backup_ID(objectIDBackup); + detail.setAD_Backup_ID(objectIDBackup); detail.setTableName(tableName); detail.setAD_Table_ID(AD_Table_ID); diff --git a/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java b/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java index ad1834a47d..c0b494d230 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp_Detail.java @@ -54,14 +54,14 @@ public interface I_AD_Package_Imp_Detail */ public String getAction(); - /** Column name Ad_Backup_ID */ - public static final String COLUMNNAME_Ad_Backup_ID = "Ad_Backup_ID"; + /** Column name AD_Backup_ID */ + public static final String COLUMNNAME_AD_Backup_ID = "AD_Backup_ID"; - /** Set Ad_Backup_ID */ - public void setAd_Backup_ID (int Ad_Backup_ID); + /** Set Backup */ + public void setAD_Backup_ID (int AD_Backup_ID); - /** Get Ad_Backup_ID */ - public int getAd_Backup_ID(); + /** Get Backup */ + public int getAD_Backup_ID(); /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -87,28 +87,28 @@ public interface I_AD_Package_Imp_Detail /** Column name AD_Original_ID */ public static final String COLUMNNAME_AD_Original_ID = "AD_Original_ID"; - /** Set AD_Original_ID */ + /** Set Original */ public void setAD_Original_ID (int AD_Original_ID); - /** Get AD_Original_ID */ + /** Get Original */ public int getAD_Original_ID(); /** Column name AD_Package_Imp_Detail_ID */ public static final String COLUMNNAME_AD_Package_Imp_Detail_ID = "AD_Package_Imp_Detail_ID"; - /** Set AD_Package_Imp_Detail_ID */ + /** Set Imp. Package Detail */ public void setAD_Package_Imp_Detail_ID (int AD_Package_Imp_Detail_ID); - /** Get AD_Package_Imp_Detail_ID */ + /** Get Imp. Package Detail */ public int getAD_Package_Imp_Detail_ID(); /** Column name AD_Package_Imp_ID */ public static final String COLUMNNAME_AD_Package_Imp_ID = "AD_Package_Imp_ID"; - /** Set AD_Package_Imp_ID */ + /** Set Package Imp. */ public void setAD_Package_Imp_ID (int AD_Package_Imp_ID); - /** Get AD_Package_Imp_ID */ + /** Get Package Imp. */ public int getAD_Package_Imp_ID(); /** Column name AD_Table_ID */ diff --git a/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java b/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java index 645c44b522..2202900b18 100644 --- a/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java +++ b/base/src/org/compiere/model/I_AD_Package_Imp_Inst.java @@ -62,14 +62,14 @@ public interface I_AD_Package_Imp_Inst */ public int getAD_Org_ID(); - /** Column name AD_PACKAGE_IMP_INST_ID */ - public static final String COLUMNNAME_AD_PACKAGE_IMP_INST_ID = "AD_PACKAGE_IMP_INST_ID"; + /** Column name AD_Package_Imp_Inst_ID */ + public static final String COLUMNNAME_AD_Package_Imp_Inst_ID = "AD_Package_Imp_Inst_ID"; - /** Set AD_PACKAGE_IMP_INST_ID */ - public void setAD_PACKAGE_IMP_INST_ID (int AD_PACKAGE_IMP_INST_ID); + /** Set Package Imp. Inst. */ + public void setAD_Package_Imp_Inst_ID (int AD_Package_Imp_Inst_ID); - /** Get AD_PACKAGE_IMP_INST_ID */ - public int getAD_PACKAGE_IMP_INST_ID(); + /** Get Package Imp. Inst. */ + public int getAD_Package_Imp_Inst_ID(); /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java b/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java index a6016029ec..c68f7ce8b4 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp_Detail.java @@ -29,7 +29,7 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta /** * */ - private static final long serialVersionUID = 20090915L; + private static final long serialVersionUID = 20100330L; /** Standard Constructor */ public X_AD_Package_Imp_Detail (Properties ctx, int AD_Package_Imp_Detail_ID, String trxName) @@ -88,28 +88,28 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta return (String)get_Value(COLUMNNAME_Action); } - /** Set Ad_Backup_ID. - @param Ad_Backup_ID Ad_Backup_ID */ - public void setAd_Backup_ID (int Ad_Backup_ID) + /** Set Backup. + @param AD_Backup_ID Backup */ + public void setAD_Backup_ID (int AD_Backup_ID) { - if (Ad_Backup_ID < 1) - set_Value (COLUMNNAME_Ad_Backup_ID, null); + if (AD_Backup_ID < 1) + set_Value (COLUMNNAME_AD_Backup_ID, null); else - set_Value (COLUMNNAME_Ad_Backup_ID, Integer.valueOf(Ad_Backup_ID)); + set_Value (COLUMNNAME_AD_Backup_ID, Integer.valueOf(AD_Backup_ID)); } - /** Get Ad_Backup_ID. - @return Ad_Backup_ID */ - public int getAd_Backup_ID () + /** Get Backup. + @return Backup */ + public int getAD_Backup_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_Ad_Backup_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Backup_ID); if (ii == null) return 0; return ii.intValue(); } - /** Set AD_Original_ID. - @param AD_Original_ID AD_Original_ID */ + /** Set Original. + @param AD_Original_ID Original */ public void setAD_Original_ID (int AD_Original_ID) { if (AD_Original_ID < 1) @@ -118,8 +118,8 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta set_Value (COLUMNNAME_AD_Original_ID, Integer.valueOf(AD_Original_ID)); } - /** Get AD_Original_ID. - @return AD_Original_ID */ + /** Get Original. + @return Original */ public int getAD_Original_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_AD_Original_ID); @@ -128,8 +128,8 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta return ii.intValue(); } - /** Set AD_Package_Imp_Detail_ID. - @param AD_Package_Imp_Detail_ID AD_Package_Imp_Detail_ID */ + /** Set Imp. Package Detail. + @param AD_Package_Imp_Detail_ID Imp. Package Detail */ public void setAD_Package_Imp_Detail_ID (int AD_Package_Imp_Detail_ID) { if (AD_Package_Imp_Detail_ID < 1) @@ -138,8 +138,8 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta set_ValueNoCheck (COLUMNNAME_AD_Package_Imp_Detail_ID, Integer.valueOf(AD_Package_Imp_Detail_ID)); } - /** Get AD_Package_Imp_Detail_ID. - @return AD_Package_Imp_Detail_ID */ + /** Get Imp. Package Detail. + @return Imp. Package Detail */ public int getAD_Package_Imp_Detail_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_AD_Package_Imp_Detail_ID); @@ -148,8 +148,8 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta return ii.intValue(); } - /** Set AD_Package_Imp_ID. - @param AD_Package_Imp_ID AD_Package_Imp_ID */ + /** Set Package Imp.. + @param AD_Package_Imp_ID Package Imp. */ public void setAD_Package_Imp_ID (int AD_Package_Imp_ID) { if (AD_Package_Imp_ID < 1) @@ -158,8 +158,8 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta set_ValueNoCheck (COLUMNNAME_AD_Package_Imp_ID, Integer.valueOf(AD_Package_Imp_ID)); } - /** Get AD_Package_Imp_ID. - @return AD_Package_Imp_ID */ + /** Get Package Imp.. + @return Package Imp. */ public int getAD_Package_Imp_ID () { Integer ii = (Integer)get_Value(COLUMNNAME_AD_Package_Imp_ID); diff --git a/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java b/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java index 161602da01..e1144de008 100644 --- a/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java +++ b/base/src/org/compiere/model/X_AD_Package_Imp_Inst.java @@ -30,7 +30,7 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, /** * */ - private static final long serialVersionUID = 20090915L; + private static final long serialVersionUID = 20100330L; /** Standard Constructor */ public X_AD_Package_Imp_Inst (Properties ctx, int AD_Package_Imp_Inst_ID, String trxName) @@ -38,7 +38,7 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, super (ctx, AD_Package_Imp_Inst_ID, trxName); /** if (AD_Package_Imp_Inst_ID == 0) { - setAD_PACKAGE_IMP_INST_ID (0); + setAD_Package_Imp_Inst_ID (0); } */ } @@ -70,21 +70,21 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, return sb.toString(); } - /** Set AD_PACKAGE_IMP_INST_ID. - @param AD_PACKAGE_IMP_INST_ID AD_PACKAGE_IMP_INST_ID */ - public void setAD_PACKAGE_IMP_INST_ID (int AD_PACKAGE_IMP_INST_ID) + /** Set Package Imp. Inst.. + @param AD_Package_Imp_Inst_ID Package Imp. Inst. */ + public void setAD_Package_Imp_Inst_ID (int AD_Package_Imp_Inst_ID) { - if (AD_PACKAGE_IMP_INST_ID < 1) - set_ValueNoCheck (COLUMNNAME_AD_PACKAGE_IMP_INST_ID, null); + if (AD_Package_Imp_Inst_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_Package_Imp_Inst_ID, null); else - set_ValueNoCheck (COLUMNNAME_AD_PACKAGE_IMP_INST_ID, Integer.valueOf(AD_PACKAGE_IMP_INST_ID)); + set_ValueNoCheck (COLUMNNAME_AD_Package_Imp_Inst_ID, Integer.valueOf(AD_Package_Imp_Inst_ID)); } - /** Get AD_PACKAGE_IMP_INST_ID. - @return AD_PACKAGE_IMP_INST_ID */ - public int getAD_PACKAGE_IMP_INST_ID () + /** Get Package Imp. Inst.. + @return Package Imp. Inst. */ + public int getAD_Package_Imp_Inst_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_AD_PACKAGE_IMP_INST_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Package_Imp_Inst_ID); if (ii == null) return 0; return ii.intValue();