IDEMPIERE-1129 Missing MPrintFont constructor - add the missing loader constructor to MColor, MQualityTestResult, MReplicationStrategy, MReplicationRun, MReplicationLog, MReplication, MSearchDefinition, MPrintColor, MReportColumnSet, MReportLineSet and regenerate serialVersionUID
This commit is contained in:
parent
ee78ce186b
commit
8b2806797f
|
@ -34,7 +34,7 @@ public class MColor extends X_AD_Color
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 8672637038417465668L;
|
private static final long serialVersionUID = 3054697070898921956L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Color Model
|
* Color Model
|
||||||
|
@ -49,6 +49,11 @@ public class MColor extends X_AD_Color
|
||||||
setName("-/-");
|
setName("-/-");
|
||||||
} // MColor
|
} // MColor
|
||||||
|
|
||||||
|
public MColor(Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* String Representation
|
* String Representation
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package org.compiere.model;
|
package org.compiere.model;
|
||||||
|
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
public class MQualityTestResult extends X_M_QualityTestResult {
|
public class MQualityTestResult extends X_M_QualityTestResult {
|
||||||
|
@ -7,11 +8,16 @@ public class MQualityTestResult extends X_M_QualityTestResult {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -4253026765149175778L;
|
private static final long serialVersionUID = -5529865718027582930L;
|
||||||
|
|
||||||
public MQualityTestResult(Properties ctx, int M_QualityTestResult_ID,
|
public MQualityTestResult(Properties ctx, int M_QualityTestResult_ID,
|
||||||
String trxName) {
|
String trxName) {
|
||||||
super(ctx, M_QualityTestResult_ID, trxName);
|
super(ctx, M_QualityTestResult_ID, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MQualityTestResult(Properties ctx, ResultSet rs,
|
||||||
|
String trxName) {
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.model;
|
package org.compiere.model;
|
||||||
|
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
@ -30,7 +31,7 @@ public class MReplication extends X_AD_Replication
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -7363193371925559167L;
|
private static final long serialVersionUID = -562186299848949607L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load Constructor
|
* Load Constructor
|
||||||
|
@ -42,6 +43,11 @@ public class MReplication extends X_AD_Replication
|
||||||
super (ctx, AD_Replication_ID, trxName);
|
super (ctx, AD_Replication_ID, trxName);
|
||||||
} // MReplication
|
} // MReplication
|
||||||
|
|
||||||
|
public MReplication (Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public Access
|
* Public Access
|
||||||
* @param DateLastRun date last run
|
* @param DateLastRun date last run
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.model;
|
package org.compiere.model;
|
||||||
|
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +31,7 @@ public class MReplicationLog extends X_AD_Replication_Log
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -5188563816312329819L;
|
private static final long serialVersionUID = -8815834636981996509L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create new Log
|
* Create new Log
|
||||||
|
@ -48,4 +49,9 @@ public class MReplicationLog extends X_AD_Replication_Log
|
||||||
setP_Msg(P_Msg);
|
setP_Msg(P_Msg);
|
||||||
} // MReplicationLog
|
} // MReplicationLog
|
||||||
|
|
||||||
|
public MReplicationLog(Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
} // MReplicationLog
|
} // MReplicationLog
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.model;
|
package org.compiere.model;
|
||||||
|
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
@ -30,7 +31,7 @@ public class MReplicationRun extends X_AD_Replication_Run
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 2619966943083677072L;
|
private static final long serialVersionUID = 7609847179225634980L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create new Run
|
* Create new Run
|
||||||
|
@ -46,6 +47,11 @@ public class MReplicationRun extends X_AD_Replication_Run
|
||||||
super.setIsReplicated (false);
|
super.setIsReplicated (false);
|
||||||
} // MReplicationRun
|
} // MReplicationRun
|
||||||
|
|
||||||
|
public MReplicationRun (Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Replication Flag
|
* Set Replication Flag
|
||||||
* @param IsReplicated replicated
|
* @param IsReplicated replicated
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
package org.compiere.model;
|
package org.compiere.model;
|
||||||
|
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
@ -34,10 +35,10 @@ import org.compiere.util.CLogger;
|
||||||
*/
|
*/
|
||||||
public class MReplicationStrategy extends X_AD_ReplicationStrategy {
|
public class MReplicationStrategy extends X_AD_ReplicationStrategy {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -3017484140206284805L;
|
private static final long serialVersionUID = 7231926756021012730L;
|
||||||
public static final int REPLICATION_TABLE =0;
|
public static final int REPLICATION_TABLE =0;
|
||||||
public static final int REPLICATION_DOCUMENT =1;
|
public static final int REPLICATION_DOCUMENT =1;
|
||||||
|
|
||||||
|
@ -57,6 +58,10 @@ public class MReplicationStrategy extends X_AD_ReplicationStrategy {
|
||||||
super(ctx, AD_ReplicationStrategy_ID, trxName);
|
super(ctx, AD_ReplicationStrategy_ID, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MReplicationStrategy(Properties ctx, ResultSet rs, String trxName) {
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the list the X_AD_ReplicationTable
|
* @return the list the X_AD_ReplicationTable
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class MSearchDefinition extends X_AD_SearchDefinition {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 2448668218372939766L;
|
private static final long serialVersionUID = -5366274782950561962L;
|
||||||
/** Constant for the searchtype table */
|
/** Constant for the searchtype table */
|
||||||
public static final String SEARCHTYPE_TABLE = "T";
|
public static final String SEARCHTYPE_TABLE = "T";
|
||||||
/** Constant for the searchtype query */
|
/** Constant for the searchtype query */
|
||||||
|
@ -67,6 +67,10 @@ public class MSearchDefinition extends X_AD_SearchDefinition {
|
||||||
super(ctx, AD_SearchDefinition_ID, trxName);
|
super(ctx, AD_SearchDefinition_ID, trxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MSearchDefinition(Properties ctx, ResultSet rs, String trxName) {
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all SearchDefinition objects with the given transaction code
|
* Returns all SearchDefinition objects with the given transaction code
|
||||||
*
|
*
|
||||||
|
|
|
@ -18,6 +18,7 @@ package org.compiere.print;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.SystemColor;
|
import java.awt.SystemColor;
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
@ -36,11 +37,10 @@ import org.compiere.util.Util;
|
||||||
*/
|
*/
|
||||||
public class MPrintColor extends X_AD_PrintColor
|
public class MPrintColor extends X_AD_PrintColor
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 8352503254165120016L;
|
private static final long serialVersionUID = -5611659311562283304L;
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Create Color in Database and save
|
* Create Color in Database and save
|
||||||
|
@ -139,6 +139,11 @@ public class MPrintColor extends X_AD_PrintColor
|
||||||
setIsDefault(false);
|
setIsDefault(false);
|
||||||
} // MPrintColor
|
} // MPrintColor
|
||||||
|
|
||||||
|
public MPrintColor(Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/** Color cached */
|
/** Color cached */
|
||||||
private Color m_cacheColor = null;
|
private Color m_cacheColor = null;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class MPrintFont extends X_AD_PrintFont
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -4721840631004326810L;
|
private static final long serialVersionUID = -2986160498367260541L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class MReportColumnSet extends X_PA_ReportColumnSet
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 8636368829160472883L;
|
private static final long serialVersionUID = -3496781398287709753L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
@ -55,6 +55,11 @@ public class MReportColumnSet extends X_PA_ReportColumnSet
|
||||||
loadColumns();
|
loadColumns();
|
||||||
} // MReportColumnSet
|
} // MReportColumnSet
|
||||||
|
|
||||||
|
public MReportColumnSet (Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/** Contained Columns */
|
/** Contained Columns */
|
||||||
private MReportColumn[] m_columns = null;
|
private MReportColumn[] m_columns = null;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class MReportLineSet extends X_PA_ReportLineSet
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -2540937629148624046L;
|
private static final long serialVersionUID = 6882950634644885097L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
@ -55,6 +55,11 @@ public class MReportLineSet extends X_PA_ReportLineSet
|
||||||
loadLines();
|
loadLines();
|
||||||
} // MReportLineSet
|
} // MReportLineSet
|
||||||
|
|
||||||
|
public MReportLineSet (Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/** Contained Lines */
|
/** Contained Lines */
|
||||||
private MReportLine[] m_lines = null;
|
private MReportLine[] m_lines = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue