Preparing 3.1.3 release

This commit is contained in:
Carlos Ruiz 2006-12-27 05:47:44 +00:00
parent 8ab3f1b31e
commit e24596adf5
547 changed files with 6045 additions and 6057 deletions

View File

@ -0,0 +1,6 @@
UPDATE ad_system
SET releaseno = '313',
VERSION = '2006-12-27'
WHERE ad_system_id = 0 AND ad_client_id = 0;
COMMIT ;

View File

@ -41,11 +41,11 @@ public final class Adempiere
/** Timestamp */ /** Timestamp */
static public final String ID = "$Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $"; static public final String ID = "$Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $";
/** Main Version String */ /** Main Version String */
static public final String MAIN_VERSION = "Release 3.1.2"; static public final String MAIN_VERSION = "Release 3.1.3";
/** Detail Version as date Used for Client/Server */ /** Detail Version as date Used for Client/Server */
static public final String DATE_VERSION = "2006-11-02"; static public final String DATE_VERSION = "2006-12-27";
/** Database Version as date Compared with AD_System */ /** Database Version as date Compared with AD_System */
static public final String DB_VERSION = "2006-11-02"; static public final String DB_VERSION = "2006-12-27";
/** Product Name */ /** Product Name */
static public final String NAME = "Adempiere\u00AE"; static public final String NAME = "Adempiere\u00AE";

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_AccessLog /** Generated Model for AD_AccessLog
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_AccessLog extends PO public class X_AD_AccessLog extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -53,12 +53,12 @@ public X_AD_AccessLog (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=717 */ /** AD_Table_ID=717 */
public static final int Table_ID=717; public static final int Table_ID=MTable.getTable_ID("AD_AccessLog");
/** TableName=AD_AccessLog */ /** TableName=AD_AccessLog */
public static final String Table_Name="AD_AccessLog"; public static final String Table_Name="AD_AccessLog";
protected static KeyNamePair Model = new KeyNamePair(717,"AD_AccessLog"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_AccessLog");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -90,7 +90,7 @@ return sb.toString();
public void setAD_AccessLog_ID (int AD_AccessLog_ID) public void setAD_AccessLog_ID (int AD_AccessLog_ID)
{ {
if (AD_AccessLog_ID < 1) throw new IllegalArgumentException ("AD_AccessLog_ID is mandatory."); if (AD_AccessLog_ID < 1) throw new IllegalArgumentException ("AD_AccessLog_ID is mandatory.");
set_ValueNoCheck ("AD_AccessLog_ID", new Integer(AD_AccessLog_ID)); set_ValueNoCheck ("AD_AccessLog_ID", Integer.valueOf(AD_AccessLog_ID));
} }
/** Get Access Log. /** Get Access Log.
@return Log of Access to the System */ @return Log of Access to the System */
@ -112,7 +112,7 @@ public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null);
else else
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -128,7 +128,7 @@ public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -161,7 +161,7 @@ public void setRecord_ID (int Record_ID)
{ {
if (Record_ID <= 0) set_Value ("Record_ID", null); if (Record_ID <= 0) set_Value ("Record_ID", null);
else else
set_Value ("Record_ID", new Integer(Record_ID)); set_Value ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Alert /** Generated Model for AD_Alert
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Alert extends PO public class X_AD_Alert extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_Alert (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=594 */ /** AD_Table_ID=594 */
public static final int Table_ID=594; public static final int Table_ID=MTable.getTable_ID("AD_Alert");
/** TableName=AD_Alert */ /** TableName=AD_Alert */
public static final String Table_Name="AD_Alert"; public static final String Table_Name="AD_Alert";
protected static KeyNamePair Model = new KeyNamePair(594,"AD_Alert"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Alert");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -97,7 +97,7 @@ return sb.toString();
public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID) public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID)
{ {
if (AD_AlertProcessor_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessor_ID is mandatory."); if (AD_AlertProcessor_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessor_ID is mandatory.");
set_Value ("AD_AlertProcessor_ID", new Integer(AD_AlertProcessor_ID)); set_Value ("AD_AlertProcessor_ID", Integer.valueOf(AD_AlertProcessor_ID));
} }
/** Get Alert Processor. /** Get Alert Processor.
@return Alert Processor/Server Parameter */ @return Alert Processor/Server Parameter */
@ -108,14 +108,14 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Alert. /** Set Alert.
@param AD_Alert_ID Compiere Alert */ @param AD_Alert_ID Adempiere Alert */
public void setAD_Alert_ID (int AD_Alert_ID) public void setAD_Alert_ID (int AD_Alert_ID)
{ {
if (AD_Alert_ID < 1) throw new IllegalArgumentException ("AD_Alert_ID is mandatory."); if (AD_Alert_ID < 1) throw new IllegalArgumentException ("AD_Alert_ID is mandatory.");
set_ValueNoCheck ("AD_Alert_ID", new Integer(AD_Alert_ID)); set_ValueNoCheck ("AD_Alert_ID", Integer.valueOf(AD_Alert_ID));
} }
/** Get Alert. /** Get Alert.
@return Compiere Alert */ @return Adempiere Alert */
public int getAD_Alert_ID() public int getAD_Alert_ID()
{ {
Integer ii = (Integer)get_Value("AD_Alert_ID"); Integer ii = (Integer)get_Value("AD_Alert_ID");
@ -179,7 +179,7 @@ return (String)get_Value("Description");
@param EnforceClientSecurity Send alerts to recipient only if the client security rules of the role allows */ @param EnforceClientSecurity Send alerts to recipient only if the client security rules of the role allows */
public void setEnforceClientSecurity (boolean EnforceClientSecurity) public void setEnforceClientSecurity (boolean EnforceClientSecurity)
{ {
set_Value ("EnforceClientSecurity", new Boolean(EnforceClientSecurity)); set_Value ("EnforceClientSecurity", Boolean.valueOf(EnforceClientSecurity));
} }
/** Get Enforce Client Security. /** Get Enforce Client Security.
@return Send alerts to recipient only if the client security rules of the role allows */ @return Send alerts to recipient only if the client security rules of the role allows */
@ -197,7 +197,7 @@ return false;
@param EnforceRoleSecurity Send alerts to recipient only if the data security rules of the role allows */ @param EnforceRoleSecurity Send alerts to recipient only if the data security rules of the role allows */
public void setEnforceRoleSecurity (boolean EnforceRoleSecurity) public void setEnforceRoleSecurity (boolean EnforceRoleSecurity)
{ {
set_Value ("EnforceRoleSecurity", new Boolean(EnforceRoleSecurity)); set_Value ("EnforceRoleSecurity", Boolean.valueOf(EnforceRoleSecurity));
} }
/** Get Enforce Role Security. /** Get Enforce Role Security.
@return Send alerts to recipient only if the data security rules of the role allows */ @return Send alerts to recipient only if the data security rules of the role allows */
@ -232,7 +232,7 @@ return (String)get_Value("Help");
@param IsValid Element is valid */ @param IsValid Element is valid */
public void setIsValid (boolean IsValid) public void setIsValid (boolean IsValid)
{ {
set_Value ("IsValid", new Boolean(IsValid)); set_Value ("IsValid", Boolean.valueOf(IsValid));
} }
/** Get Valid. /** Get Valid.
@return Element is valid */ @return Element is valid */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_AlertProcessor /** Generated Model for AD_AlertProcessor
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_AlertProcessor extends PO public class X_AD_AlertProcessor extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_AlertProcessor (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=700 */ /** AD_Table_ID=700 */
public static final int Table_ID=700; public static final int Table_ID=MTable.getTable_ID("AD_AlertProcessor");
/** TableName=AD_AlertProcessor */ /** TableName=AD_AlertProcessor */
public static final String Table_Name="AD_AlertProcessor"; public static final String Table_Name="AD_AlertProcessor";
protected static KeyNamePair Model = new KeyNamePair(700,"AD_AlertProcessor"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_AlertProcessor");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -95,7 +95,7 @@ return sb.toString();
public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID) public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID)
{ {
if (AD_AlertProcessor_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessor_ID is mandatory."); if (AD_AlertProcessor_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessor_ID is mandatory.");
set_ValueNoCheck ("AD_AlertProcessor_ID", new Integer(AD_AlertProcessor_ID)); set_ValueNoCheck ("AD_AlertProcessor_ID", Integer.valueOf(AD_AlertProcessor_ID));
} }
/** Get Alert Processor. /** Get Alert Processor.
@return Alert Processor/Server Parameter */ @return Alert Processor/Server Parameter */
@ -150,7 +150,7 @@ return (String)get_Value("Description");
@param Frequency Frequency of events */ @param Frequency Frequency of events */
public void setFrequency (int Frequency) public void setFrequency (int Frequency)
{ {
set_Value ("Frequency", new Integer(Frequency)); set_Value ("Frequency", Integer.valueOf(Frequency));
} }
/** Get Frequency. /** Get Frequency.
@return Frequency of events */ @return Frequency of events */
@ -193,7 +193,7 @@ return (String)get_Value("FrequencyType");
@param KeepLogDays Number of days to keep the log entries */ @param KeepLogDays Number of days to keep the log entries */
public void setKeepLogDays (int KeepLogDays) public void setKeepLogDays (int KeepLogDays)
{ {
set_Value ("KeepLogDays", new Integer(KeepLogDays)); set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays));
} }
/** Get Days to keep Log. /** Get Days to keep Log.
@return Number of days to keep the log entries */ @return Number of days to keep the log entries */
@ -231,7 +231,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -253,7 +253,7 @@ public static final int SUPERVISOR_ID_AD_Reference_ID=316;
public void setSupervisor_ID (int Supervisor_ID) public void setSupervisor_ID (int Supervisor_ID)
{ {
if (Supervisor_ID < 1) throw new IllegalArgumentException ("Supervisor_ID is mandatory."); if (Supervisor_ID < 1) throw new IllegalArgumentException ("Supervisor_ID is mandatory.");
set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID));
} }
/** Get Supervisor. /** Get Supervisor.
@return Supervisor for this user/organization - used for escalation and approval */ @return Supervisor for this user/organization - used for escalation and approval */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_AlertProcessorLog /** Generated Model for AD_AlertProcessorLog
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_AlertProcessorLog extends PO public class X_AD_AlertProcessorLog extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_AlertProcessorLog (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=699 */ /** AD_Table_ID=699 */
public static final int Table_ID=699; public static final int Table_ID=MTable.getTable_ID("AD_AlertProcessorLog");
/** TableName=AD_AlertProcessorLog */ /** TableName=AD_AlertProcessorLog */
public static final String Table_Name="AD_AlertProcessorLog"; public static final String Table_Name="AD_AlertProcessorLog";
protected static KeyNamePair Model = new KeyNamePair(699,"AD_AlertProcessorLog"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_AlertProcessorLog");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID) public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID)
{ {
if (AD_AlertProcessorLog_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessorLog_ID is mandatory."); if (AD_AlertProcessorLog_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessorLog_ID is mandatory.");
set_ValueNoCheck ("AD_AlertProcessorLog_ID", new Integer(AD_AlertProcessorLog_ID)); set_ValueNoCheck ("AD_AlertProcessorLog_ID", Integer.valueOf(AD_AlertProcessorLog_ID));
} }
/** Get Alert Processor Log. /** Get Alert Processor Log.
@return Result of the execution of the Alert Processor */ @return Result of the execution of the Alert Processor */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID) public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID)
{ {
if (AD_AlertProcessor_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessor_ID is mandatory."); if (AD_AlertProcessor_ID < 1) throw new IllegalArgumentException ("AD_AlertProcessor_ID is mandatory.");
set_ValueNoCheck ("AD_AlertProcessor_ID", new Integer(AD_AlertProcessor_ID)); set_ValueNoCheck ("AD_AlertProcessor_ID", Integer.valueOf(AD_AlertProcessor_ID));
} }
/** Get Alert Processor. /** Get Alert Processor.
@return Alert Processor/Server Parameter */ @return Alert Processor/Server Parameter */
@ -150,7 +150,7 @@ return (String)get_Value("Description");
@param IsError An Error occured in the execution */ @param IsError An Error occured in the execution */
public void setIsError (boolean IsError) public void setIsError (boolean IsError)
{ {
set_Value ("IsError", new Boolean(IsError)); set_Value ("IsError", Boolean.valueOf(IsError));
} }
/** Get Error. /** Get Error.
@return An Error occured in the execution */ @return An Error occured in the execution */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_AlertRecipient /** Generated Model for AD_AlertRecipient
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_AlertRecipient extends PO public class X_AD_AlertRecipient extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_AlertRecipient (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=592 */ /** AD_Table_ID=592 */
public static final int Table_ID=592; public static final int Table_ID=MTable.getTable_ID("AD_AlertRecipient");
/** TableName=AD_AlertRecipient */ /** TableName=AD_AlertRecipient */
public static final String Table_Name="AD_AlertRecipient"; public static final String Table_Name="AD_AlertRecipient";
protected static KeyNamePair Model = new KeyNamePair(592,"AD_AlertRecipient"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_AlertRecipient");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID) public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID)
{ {
if (AD_AlertRecipient_ID < 1) throw new IllegalArgumentException ("AD_AlertRecipient_ID is mandatory."); if (AD_AlertRecipient_ID < 1) throw new IllegalArgumentException ("AD_AlertRecipient_ID is mandatory.");
set_ValueNoCheck ("AD_AlertRecipient_ID", new Integer(AD_AlertRecipient_ID)); set_ValueNoCheck ("AD_AlertRecipient_ID", Integer.valueOf(AD_AlertRecipient_ID));
} }
/** Get Alert Recipient. /** Get Alert Recipient.
@return Recipient of the Alert Notification */ @return Recipient of the Alert Notification */
@ -102,14 +102,14 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Alert. /** Set Alert.
@param AD_Alert_ID Compiere Alert */ @param AD_Alert_ID Adempiere Alert */
public void setAD_Alert_ID (int AD_Alert_ID) public void setAD_Alert_ID (int AD_Alert_ID)
{ {
if (AD_Alert_ID < 1) throw new IllegalArgumentException ("AD_Alert_ID is mandatory."); if (AD_Alert_ID < 1) throw new IllegalArgumentException ("AD_Alert_ID is mandatory.");
set_ValueNoCheck ("AD_Alert_ID", new Integer(AD_Alert_ID)); set_ValueNoCheck ("AD_Alert_ID", Integer.valueOf(AD_Alert_ID));
} }
/** Get Alert. /** Get Alert.
@return Compiere Alert */ @return Adempiere Alert */
public int getAD_Alert_ID() public int getAD_Alert_ID()
{ {
Integer ii = (Integer)get_Value("AD_Alert_ID"); Integer ii = (Integer)get_Value("AD_Alert_ID");
@ -122,7 +122,7 @@ public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null);
else else
set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -138,7 +138,7 @@ public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); if (AD_User_ID <= 0) set_Value ("AD_User_ID", null);
else else
set_Value ("AD_User_ID", new Integer(AD_User_ID)); set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_AlertRule /** Generated Model for AD_AlertRule
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_AlertRule extends PO public class X_AD_AlertRule extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_AlertRule (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=593 */ /** AD_Table_ID=593 */
public static final int Table_ID=593; public static final int Table_ID=MTable.getTable_ID("AD_AlertRule");
/** TableName=AD_AlertRule */ /** TableName=AD_AlertRule */
public static final String Table_Name="AD_AlertRule"; public static final String Table_Name="AD_AlertRule";
protected static KeyNamePair Model = new KeyNamePair(593,"AD_AlertRule"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_AlertRule");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -95,7 +95,7 @@ return sb.toString();
public void setAD_AlertRule_ID (int AD_AlertRule_ID) public void setAD_AlertRule_ID (int AD_AlertRule_ID)
{ {
if (AD_AlertRule_ID < 1) throw new IllegalArgumentException ("AD_AlertRule_ID is mandatory."); if (AD_AlertRule_ID < 1) throw new IllegalArgumentException ("AD_AlertRule_ID is mandatory.");
set_ValueNoCheck ("AD_AlertRule_ID", new Integer(AD_AlertRule_ID)); set_ValueNoCheck ("AD_AlertRule_ID", Integer.valueOf(AD_AlertRule_ID));
} }
/** Get Alert Rule. /** Get Alert Rule.
@return Definition of the alert element */ @return Definition of the alert element */
@ -106,14 +106,14 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Alert. /** Set Alert.
@param AD_Alert_ID Compiere Alert */ @param AD_Alert_ID Adempiere Alert */
public void setAD_Alert_ID (int AD_Alert_ID) public void setAD_Alert_ID (int AD_Alert_ID)
{ {
if (AD_Alert_ID < 1) throw new IllegalArgumentException ("AD_Alert_ID is mandatory."); if (AD_Alert_ID < 1) throw new IllegalArgumentException ("AD_Alert_ID is mandatory.");
set_ValueNoCheck ("AD_Alert_ID", new Integer(AD_Alert_ID)); set_ValueNoCheck ("AD_Alert_ID", Integer.valueOf(AD_Alert_ID));
} }
/** Get Alert. /** Get Alert.
@return Compiere Alert */ @return Adempiere Alert */
public int getAD_Alert_ID() public int getAD_Alert_ID()
{ {
Integer ii = (Integer)get_Value("AD_Alert_ID"); Integer ii = (Integer)get_Value("AD_Alert_ID");
@ -126,7 +126,7 @@ public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -175,7 +175,7 @@ return (String)get_Value("FromClause");
@param IsValid Element is valid */ @param IsValid Element is valid */
public void setIsValid (boolean IsValid) public void setIsValid (boolean IsValid)
{ {
set_Value ("IsValid", new Boolean(IsValid)); set_Value ("IsValid", Boolean.valueOf(IsValid));
} }
/** Get Valid. /** Get Valid.
@return Element is valid */ @return Element is valid */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Archive /** Generated Model for AD_Archive
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Archive extends PO public class X_AD_Archive extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Archive (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=754 */ /** AD_Table_ID=754 */
public static final int Table_ID=754; public static final int Table_ID=MTable.getTable_ID("AD_Archive");
/** TableName=AD_Archive */ /** TableName=AD_Archive */
public static final String Table_Name="AD_Archive"; public static final String Table_Name="AD_Archive";
protected static KeyNamePair Model = new KeyNamePair(754,"AD_Archive"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Archive");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Archive_ID (int AD_Archive_ID) public void setAD_Archive_ID (int AD_Archive_ID)
{ {
if (AD_Archive_ID < 1) throw new IllegalArgumentException ("AD_Archive_ID is mandatory."); if (AD_Archive_ID < 1) throw new IllegalArgumentException ("AD_Archive_ID is mandatory.");
set_ValueNoCheck ("AD_Archive_ID", new Integer(AD_Archive_ID)); set_ValueNoCheck ("AD_Archive_ID", Integer.valueOf(AD_Archive_ID));
} }
/** Get Archive. /** Get Archive.
@return Document and Report Archive */ @return Document and Report Archive */
@ -109,7 +109,7 @@ public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -125,7 +125,7 @@ public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -154,7 +154,7 @@ public void setC_BPartner_ID (int C_BPartner_ID)
{ {
if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null);
else else
set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID));
} }
/** Get Business Partner . /** Get Business Partner .
@return Identifies a Business Partner */ @return Identifies a Business Partner */
@ -202,7 +202,7 @@ return (String)get_Value("Help");
@param IsReport Indicates a Report record */ @param IsReport Indicates a Report record */
public void setIsReport (boolean IsReport) public void setIsReport (boolean IsReport)
{ {
set_Value ("IsReport", new Boolean(IsReport)); set_Value ("IsReport", Boolean.valueOf(IsReport));
} }
/** Get Report. /** Get Report.
@return Indicates a Report record */ @return Indicates a Report record */
@ -246,7 +246,7 @@ public void setRecord_ID (int Record_ID)
{ {
if (Record_ID <= 0) set_Value ("Record_ID", null); if (Record_ID <= 0) set_Value ("Record_ID", null);
else else
set_Value ("Record_ID", new Integer(Record_ID)); set_Value ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Attachment /** Generated Model for AD_Attachment
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Attachment extends PO public class X_AD_Attachment extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Attachment (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=254 */ /** AD_Table_ID=254 */
public static final int Table_ID=254; public static final int Table_ID=MTable.getTable_ID("AD_Attachment");
/** TableName=AD_Attachment */ /** TableName=AD_Attachment */
public static final String Table_Name="AD_Attachment"; public static final String Table_Name="AD_Attachment";
protected static KeyNamePair Model = new KeyNamePair(254,"AD_Attachment"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Attachment");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Attachment_ID (int AD_Attachment_ID) public void setAD_Attachment_ID (int AD_Attachment_ID)
{ {
if (AD_Attachment_ID < 1) throw new IllegalArgumentException ("AD_Attachment_ID is mandatory."); if (AD_Attachment_ID < 1) throw new IllegalArgumentException ("AD_Attachment_ID is mandatory.");
set_ValueNoCheck ("AD_Attachment_ID", new Integer(AD_Attachment_ID)); set_ValueNoCheck ("AD_Attachment_ID", Integer.valueOf(AD_Attachment_ID));
} }
/** Get Attachment. /** Get Attachment.
@return Attachment for the document */ @return Attachment for the document */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -135,7 +135,7 @@ return (byte[])get_Value("BinaryData");
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_AttachmentNote /** Generated Model for AD_AttachmentNote
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_AttachmentNote extends PO public class X_AD_AttachmentNote extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_AttachmentNote (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=705 */ /** AD_Table_ID=705 */
public static final int Table_ID=705; public static final int Table_ID=MTable.getTable_ID("AD_AttachmentNote");
/** TableName=AD_AttachmentNote */ /** TableName=AD_AttachmentNote */
public static final String Table_Name="AD_AttachmentNote"; public static final String Table_Name="AD_AttachmentNote";
protected static KeyNamePair Model = new KeyNamePair(705,"AD_AttachmentNote"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_AttachmentNote");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID) public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID)
{ {
if (AD_AttachmentNote_ID < 1) throw new IllegalArgumentException ("AD_AttachmentNote_ID is mandatory."); if (AD_AttachmentNote_ID < 1) throw new IllegalArgumentException ("AD_AttachmentNote_ID is mandatory.");
set_ValueNoCheck ("AD_AttachmentNote_ID", new Integer(AD_AttachmentNote_ID)); set_ValueNoCheck ("AD_AttachmentNote_ID", Integer.valueOf(AD_AttachmentNote_ID));
} }
/** Get Attachment Note. /** Get Attachment Note.
@return Personal Attachment Note */ @return Personal Attachment Note */
@ -109,7 +109,7 @@ return ii.intValue();
public void setAD_Attachment_ID (int AD_Attachment_ID) public void setAD_Attachment_ID (int AD_Attachment_ID)
{ {
if (AD_Attachment_ID < 1) throw new IllegalArgumentException ("AD_Attachment_ID is mandatory."); if (AD_Attachment_ID < 1) throw new IllegalArgumentException ("AD_Attachment_ID is mandatory.");
set_ValueNoCheck ("AD_Attachment_ID", new Integer(AD_Attachment_ID)); set_ValueNoCheck ("AD_Attachment_ID", Integer.valueOf(AD_Attachment_ID));
} }
/** Get Attachment. /** Get Attachment.
@return Attachment for the document */ @return Attachment for the document */
@ -124,7 +124,7 @@ return ii.intValue();
public void setAD_User_ID (int AD_User_ID) public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID < 1) throw new IllegalArgumentException ("AD_User_ID is mandatory."); if (AD_User_ID < 1) throw new IllegalArgumentException ("AD_User_ID is mandatory.");
set_Value ("AD_User_ID", new Integer(AD_User_ID)); set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Attribute /** Generated Model for AD_Attribute
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Attribute extends PO public class X_AD_Attribute extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -63,12 +63,12 @@ public X_AD_Attribute (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=405 */ /** AD_Table_ID=405 */
public static final int Table_ID=405; public static final int Table_ID=MTable.getTable_ID("AD_Attribute");
/** TableName=AD_Attribute */ /** TableName=AD_Attribute */
public static final String Table_Name="AD_Attribute"; public static final String Table_Name="AD_Attribute";
protected static KeyNamePair Model = new KeyNamePair(405,"AD_Attribute"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Attribute");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -100,7 +100,7 @@ return sb.toString();
public void setAD_Attribute_ID (int AD_Attribute_ID) public void setAD_Attribute_ID (int AD_Attribute_ID)
{ {
if (AD_Attribute_ID < 1) throw new IllegalArgumentException ("AD_Attribute_ID is mandatory."); if (AD_Attribute_ID < 1) throw new IllegalArgumentException ("AD_Attribute_ID is mandatory.");
set_ValueNoCheck ("AD_Attribute_ID", new Integer(AD_Attribute_ID)); set_ValueNoCheck ("AD_Attribute_ID", Integer.valueOf(AD_Attribute_ID));
} }
/** Get System Attribute. /** Get System Attribute.
@return System Attribute */ @return System Attribute */
@ -118,7 +118,7 @@ public static final int AD_REFERENCE_ID_AD_Reference_ID=1;
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */
@ -137,7 +137,7 @@ public void setAD_Reference_Value_ID (int AD_Reference_Value_ID)
{ {
if (AD_Reference_Value_ID <= 0) set_Value ("AD_Reference_Value_ID", null); if (AD_Reference_Value_ID <= 0) set_Value ("AD_Reference_Value_ID", null);
else else
set_Value ("AD_Reference_Value_ID", new Integer(AD_Reference_Value_ID)); set_Value ("AD_Reference_Value_ID", Integer.valueOf(AD_Reference_Value_ID));
} }
/** Get Reference Key. /** Get Reference Key.
@return Required to specify, if data type is Table or List */ @return Required to specify, if data type is Table or List */
@ -152,7 +152,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -168,7 +168,7 @@ public void setAD_Val_Rule_ID (int AD_Val_Rule_ID)
{ {
if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null); if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null);
else else
set_Value ("AD_Val_Rule_ID", new Integer(AD_Val_Rule_ID)); set_Value ("AD_Val_Rule_ID", Integer.valueOf(AD_Val_Rule_ID));
} }
/** Get Dynamic Validation. /** Get Dynamic Validation.
@return Dynamic Validation Rule */ @return Dynamic Validation Rule */
@ -235,7 +235,7 @@ return (String)get_Value("Description");
@param DisplayLength Length of the display in characters */ @param DisplayLength Length of the display in characters */
public void setDisplayLength (int DisplayLength) public void setDisplayLength (int DisplayLength)
{ {
set_Value ("DisplayLength", new Integer(DisplayLength)); set_Value ("DisplayLength", Integer.valueOf(DisplayLength));
} }
/** Get Display Length. /** Get Display Length.
@return Length of the display in characters */ @return Length of the display in characters */
@ -266,7 +266,7 @@ return (String)get_Value("DisplayLogic");
@param FieldLength Length of the column in the database */ @param FieldLength Length of the column in the database */
public void setFieldLength (int FieldLength) public void setFieldLength (int FieldLength)
{ {
set_Value ("FieldLength", new Integer(FieldLength)); set_Value ("FieldLength", Integer.valueOf(FieldLength));
} }
/** Get Length. /** Get Length.
@return Length of the column in the database */ @return Length of the column in the database */
@ -297,7 +297,7 @@ return (String)get_Value("Help");
@param IsEncrypted Display or Storage is encrypted */ @param IsEncrypted Display or Storage is encrypted */
public void setIsEncrypted (boolean IsEncrypted) public void setIsEncrypted (boolean IsEncrypted)
{ {
set_Value ("IsEncrypted", new Boolean(IsEncrypted)); set_Value ("IsEncrypted", Boolean.valueOf(IsEncrypted));
} }
/** Get Encrypted. /** Get Encrypted.
@return Display or Storage is encrypted */ @return Display or Storage is encrypted */
@ -315,7 +315,7 @@ return false;
@param IsFieldOnly Label is not displayed */ @param IsFieldOnly Label is not displayed */
public void setIsFieldOnly (boolean IsFieldOnly) public void setIsFieldOnly (boolean IsFieldOnly)
{ {
set_Value ("IsFieldOnly", new Boolean(IsFieldOnly)); set_Value ("IsFieldOnly", Boolean.valueOf(IsFieldOnly));
} }
/** Get Field Only. /** Get Field Only.
@return Label is not displayed */ @return Label is not displayed */
@ -333,7 +333,7 @@ return false;
@param IsHeading Field without Column - Only label is displayed */ @param IsHeading Field without Column - Only label is displayed */
public void setIsHeading (boolean IsHeading) public void setIsHeading (boolean IsHeading)
{ {
set_Value ("IsHeading", new Boolean(IsHeading)); set_Value ("IsHeading", Boolean.valueOf(IsHeading));
} }
/** Get Heading only. /** Get Heading only.
@return Field without Column - Only label is displayed */ @return Field without Column - Only label is displayed */
@ -351,7 +351,7 @@ return false;
@param IsMandatory Data entry is required in this column */ @param IsMandatory Data entry is required in this column */
public void setIsMandatory (boolean IsMandatory) public void setIsMandatory (boolean IsMandatory)
{ {
set_Value ("IsMandatory", new Boolean(IsMandatory)); set_Value ("IsMandatory", Boolean.valueOf(IsMandatory));
} }
/** Get Mandatory. /** Get Mandatory.
@return Data entry is required in this column */ @return Data entry is required in this column */
@ -369,7 +369,7 @@ return false;
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */
@ -387,7 +387,7 @@ return false;
@param IsSameLine Displayed on same line as previous field */ @param IsSameLine Displayed on same line as previous field */
public void setIsSameLine (boolean IsSameLine) public void setIsSameLine (boolean IsSameLine)
{ {
set_Value ("IsSameLine", new Boolean(IsSameLine)); set_Value ("IsSameLine", Boolean.valueOf(IsSameLine));
} }
/** Get Same Line. /** Get Same Line.
@return Displayed on same line as previous field */ @return Displayed on same line as previous field */
@ -405,7 +405,7 @@ return false;
@param IsUpdateable Determines, if the field can be updated */ @param IsUpdateable Determines, if the field can be updated */
public void setIsUpdateable (boolean IsUpdateable) public void setIsUpdateable (boolean IsUpdateable)
{ {
set_Value ("IsUpdateable", new Boolean(IsUpdateable)); set_Value ("IsUpdateable", Boolean.valueOf(IsUpdateable));
} }
/** Get Updateable. /** Get Updateable.
@return Determines, if the field can be updated */ @return Determines, if the field can be updated */
@ -448,7 +448,7 @@ return new KeyNamePair(get_ID(), getName());
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Attribute_Value /** Generated Model for AD_Attribute_Value
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Attribute_Value extends PO public class X_AD_Attribute_Value extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Attribute_Value (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=406 */ /** AD_Table_ID=406 */
public static final int Table_ID=406; public static final int Table_ID=MTable.getTable_ID("AD_Attribute_Value");
/** TableName=AD_Attribute_Value */ /** TableName=AD_Attribute_Value */
public static final String Table_Name="AD_Attribute_Value"; public static final String Table_Name="AD_Attribute_Value";
protected static KeyNamePair Model = new KeyNamePair(406,"AD_Attribute_Value"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Attribute_Value");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_Attribute_ID (int AD_Attribute_ID) public void setAD_Attribute_ID (int AD_Attribute_ID)
{ {
if (AD_Attribute_ID < 1) throw new IllegalArgumentException ("AD_Attribute_ID is mandatory."); if (AD_Attribute_ID < 1) throw new IllegalArgumentException ("AD_Attribute_ID is mandatory.");
set_ValueNoCheck ("AD_Attribute_ID", new Integer(AD_Attribute_ID)); set_ValueNoCheck ("AD_Attribute_ID", Integer.valueOf(AD_Attribute_ID));
} }
/** Get System Attribute. /** Get System Attribute.
@return System Attribute */ @return System Attribute */
@ -106,7 +106,7 @@ return ii.intValue();
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ChangeLog /** Generated Model for AD_ChangeLog
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ChangeLog extends PO public class X_AD_ChangeLog extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_ChangeLog (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=580 */ /** AD_Table_ID=580 */
public static final int Table_ID=580; public static final int Table_ID=MTable.getTable_ID("AD_ChangeLog");
/** TableName=AD_ChangeLog */ /** TableName=AD_ChangeLog */
public static final String Table_Name="AD_ChangeLog"; public static final String Table_Name="AD_ChangeLog";
protected static KeyNamePair Model = new KeyNamePair(580,"AD_ChangeLog"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ChangeLog");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -95,7 +95,7 @@ return sb.toString();
public void setAD_ChangeLog_ID (int AD_ChangeLog_ID) public void setAD_ChangeLog_ID (int AD_ChangeLog_ID)
{ {
if (AD_ChangeLog_ID < 1) throw new IllegalArgumentException ("AD_ChangeLog_ID is mandatory."); if (AD_ChangeLog_ID < 1) throw new IllegalArgumentException ("AD_ChangeLog_ID is mandatory.");
set_ValueNoCheck ("AD_ChangeLog_ID", new Integer(AD_ChangeLog_ID)); set_ValueNoCheck ("AD_ChangeLog_ID", Integer.valueOf(AD_ChangeLog_ID));
} }
/** Get Change Log. /** Get Change Log.
@return Log of data changes */ @return Log of data changes */
@ -110,7 +110,7 @@ return ii.intValue();
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_ValueNoCheck ("AD_Column_ID", new Integer(AD_Column_ID)); set_ValueNoCheck ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -125,7 +125,7 @@ return ii.intValue();
public void setAD_Session_ID (int AD_Session_ID) public void setAD_Session_ID (int AD_Session_ID)
{ {
if (AD_Session_ID < 1) throw new IllegalArgumentException ("AD_Session_ID is mandatory."); if (AD_Session_ID < 1) throw new IllegalArgumentException ("AD_Session_ID is mandatory.");
set_ValueNoCheck ("AD_Session_ID", new Integer(AD_Session_ID)); set_ValueNoCheck ("AD_Session_ID", Integer.valueOf(AD_Session_ID));
} }
/** Get Session. /** Get Session.
@return User Session Online or Web */ @return User Session Online or Web */
@ -146,7 +146,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Session_ID()));
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -177,7 +177,7 @@ return (String)get_Value("Description");
@param IsCustomization The change is a customization of the data dictionary and can be applied after Migration */ @param IsCustomization The change is a customization of the data dictionary and can be applied after Migration */
public void setIsCustomization (boolean IsCustomization) public void setIsCustomization (boolean IsCustomization)
{ {
set_Value ("IsCustomization", new Boolean(IsCustomization)); set_Value ("IsCustomization", Boolean.valueOf(IsCustomization));
} }
/** Get Customization. /** Get Customization.
@return The change is a customization of the data dictionary and can be applied after Migration */ @return The change is a customization of the data dictionary and can be applied after Migration */
@ -230,7 +230,7 @@ return (String)get_Value("OldValue");
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Client /** Generated Model for AD_Client
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Client extends PO public class X_AD_Client extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -62,12 +62,12 @@ public X_AD_Client (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=112 */ /** AD_Table_ID=112 */
public static final int Table_ID=112; public static final int Table_ID=MTable.getTable_ID("AD_Client");
/** TableName=AD_Client */ /** TableName=AD_Client */
public static final String Table_Name="AD_Client"; public static final String Table_Name="AD_Client";
protected static KeyNamePair Model = new KeyNamePair(112,"AD_Client"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Client");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -200,7 +200,7 @@ return (String)get_Value("EMailTest");
@param IsCostImmediate Update Costs immediately for testing */ @param IsCostImmediate Update Costs immediately for testing */
public void setIsCostImmediate (boolean IsCostImmediate) public void setIsCostImmediate (boolean IsCostImmediate)
{ {
set_Value ("IsCostImmediate", new Boolean(IsCostImmediate)); set_Value ("IsCostImmediate", Boolean.valueOf(IsCostImmediate));
} }
/** Get Cost Immediately. /** Get Cost Immediately.
@return Update Costs immediately for testing */ @return Update Costs immediately for testing */
@ -218,7 +218,7 @@ return false;
@param IsMultiLingualDocument Documents are Multi Lingual */ @param IsMultiLingualDocument Documents are Multi Lingual */
public void setIsMultiLingualDocument (boolean IsMultiLingualDocument) public void setIsMultiLingualDocument (boolean IsMultiLingualDocument)
{ {
set_Value ("IsMultiLingualDocument", new Boolean(IsMultiLingualDocument)); set_Value ("IsMultiLingualDocument", Boolean.valueOf(IsMultiLingualDocument));
} }
/** Get Multi Lingual Documents. /** Get Multi Lingual Documents.
@return Documents are Multi Lingual */ @return Documents are Multi Lingual */
@ -236,7 +236,7 @@ return false;
@param IsPostImmediate Post the accounting immediately for testing */ @param IsPostImmediate Post the accounting immediately for testing */
public void setIsPostImmediate (boolean IsPostImmediate) public void setIsPostImmediate (boolean IsPostImmediate)
{ {
set_Value ("IsPostImmediate", new Boolean(IsPostImmediate)); set_Value ("IsPostImmediate", Boolean.valueOf(IsPostImmediate));
} }
/** Get Post Immediately. /** Get Post Immediately.
@return Post the accounting immediately for testing */ @return Post the accounting immediately for testing */
@ -254,7 +254,7 @@ return false;
@param IsServerEMail Send EMail from Server */ @param IsServerEMail Send EMail from Server */
public void setIsServerEMail (boolean IsServerEMail) public void setIsServerEMail (boolean IsServerEMail)
{ {
set_Value ("IsServerEMail", new Boolean(IsServerEMail)); set_Value ("IsServerEMail", Boolean.valueOf(IsServerEMail));
} }
/** Get Server EMail. /** Get Server EMail.
@return Send EMail from Server */ @return Send EMail from Server */
@ -272,7 +272,7 @@ return false;
@param IsSmtpAuthorization Your mail server requires Authentication */ @param IsSmtpAuthorization Your mail server requires Authentication */
public void setIsSmtpAuthorization (boolean IsSmtpAuthorization) public void setIsSmtpAuthorization (boolean IsSmtpAuthorization)
{ {
set_Value ("IsSmtpAuthorization", new Boolean(IsSmtpAuthorization)); set_Value ("IsSmtpAuthorization", Boolean.valueOf(IsSmtpAuthorization));
} }
/** Get SMTP Authentication. /** Get SMTP Authentication.
@return Your mail server requires Authentication */ @return Your mail server requires Authentication */
@ -290,7 +290,7 @@ return false;
@param IsUseBetaFunctions Enable the use of Beta Functionality */ @param IsUseBetaFunctions Enable the use of Beta Functionality */
public void setIsUseBetaFunctions (boolean IsUseBetaFunctions) public void setIsUseBetaFunctions (boolean IsUseBetaFunctions)
{ {
set_Value ("IsUseBetaFunctions", new Boolean(IsUseBetaFunctions)); set_Value ("IsUseBetaFunctions", Boolean.valueOf(IsUseBetaFunctions));
} }
/** Get Use Beta Functions. /** Get Use Beta Functions.
@return Enable the use of Beta Functionality */ @return Enable the use of Beta Functionality */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ClientInfo /** Generated Model for AD_ClientInfo
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ClientInfo extends PO public class X_AD_ClientInfo extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -53,12 +53,12 @@ public X_AD_ClientInfo (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=227 */ /** AD_Table_ID=227 */
public static final int Table_ID=227; public static final int Table_ID=MTable.getTable_ID("AD_ClientInfo");
/** TableName=AD_ClientInfo */ /** TableName=AD_ClientInfo */
public static final String Table_Name="AD_ClientInfo"; public static final String Table_Name="AD_ClientInfo";
protected static KeyNamePair Model = new KeyNamePair(227,"AD_ClientInfo"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ClientInfo");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ public void setAD_Tree_Activity_ID (int AD_Tree_Activity_ID)
{ {
if (AD_Tree_Activity_ID <= 0) set_ValueNoCheck ("AD_Tree_Activity_ID", null); if (AD_Tree_Activity_ID <= 0) set_ValueNoCheck ("AD_Tree_Activity_ID", null);
else else
set_ValueNoCheck ("AD_Tree_Activity_ID", new Integer(AD_Tree_Activity_ID)); set_ValueNoCheck ("AD_Tree_Activity_ID", Integer.valueOf(AD_Tree_Activity_ID));
} }
/** Get Activity Tree. /** Get Activity Tree.
@return Tree to determine activity hierarchy */ @return Tree to determine activity hierarchy */
@ -113,7 +113,7 @@ public void setAD_Tree_BPartner_ID (int AD_Tree_BPartner_ID)
{ {
if (AD_Tree_BPartner_ID <= 0) set_ValueNoCheck ("AD_Tree_BPartner_ID", null); if (AD_Tree_BPartner_ID <= 0) set_ValueNoCheck ("AD_Tree_BPartner_ID", null);
else else
set_ValueNoCheck ("AD_Tree_BPartner_ID", new Integer(AD_Tree_BPartner_ID)); set_ValueNoCheck ("AD_Tree_BPartner_ID", Integer.valueOf(AD_Tree_BPartner_ID));
} }
/** Get BPartner Tree. /** Get BPartner Tree.
@return Tree to determine business partner hierarchy */ @return Tree to determine business partner hierarchy */
@ -132,7 +132,7 @@ public void setAD_Tree_Campaign_ID (int AD_Tree_Campaign_ID)
{ {
if (AD_Tree_Campaign_ID <= 0) set_ValueNoCheck ("AD_Tree_Campaign_ID", null); if (AD_Tree_Campaign_ID <= 0) set_ValueNoCheck ("AD_Tree_Campaign_ID", null);
else else
set_ValueNoCheck ("AD_Tree_Campaign_ID", new Integer(AD_Tree_Campaign_ID)); set_ValueNoCheck ("AD_Tree_Campaign_ID", Integer.valueOf(AD_Tree_Campaign_ID));
} }
/** Get Campaign Tree. /** Get Campaign Tree.
@return Tree to determine marketing campaign hierarchy */ @return Tree to determine marketing campaign hierarchy */
@ -151,7 +151,7 @@ public void setAD_Tree_Menu_ID (int AD_Tree_Menu_ID)
{ {
if (AD_Tree_Menu_ID <= 0) set_ValueNoCheck ("AD_Tree_Menu_ID", null); if (AD_Tree_Menu_ID <= 0) set_ValueNoCheck ("AD_Tree_Menu_ID", null);
else else
set_ValueNoCheck ("AD_Tree_Menu_ID", new Integer(AD_Tree_Menu_ID)); set_ValueNoCheck ("AD_Tree_Menu_ID", Integer.valueOf(AD_Tree_Menu_ID));
} }
/** Get Menu Tree. /** Get Menu Tree.
@return Tree of the menu */ @return Tree of the menu */
@ -170,7 +170,7 @@ public void setAD_Tree_Org_ID (int AD_Tree_Org_ID)
{ {
if (AD_Tree_Org_ID <= 0) set_ValueNoCheck ("AD_Tree_Org_ID", null); if (AD_Tree_Org_ID <= 0) set_ValueNoCheck ("AD_Tree_Org_ID", null);
else else
set_ValueNoCheck ("AD_Tree_Org_ID", new Integer(AD_Tree_Org_ID)); set_ValueNoCheck ("AD_Tree_Org_ID", Integer.valueOf(AD_Tree_Org_ID));
} }
/** Get Organization Tree. /** Get Organization Tree.
@return Tree to determine organizational hierarchy */ @return Tree to determine organizational hierarchy */
@ -189,7 +189,7 @@ public void setAD_Tree_Product_ID (int AD_Tree_Product_ID)
{ {
if (AD_Tree_Product_ID <= 0) set_ValueNoCheck ("AD_Tree_Product_ID", null); if (AD_Tree_Product_ID <= 0) set_ValueNoCheck ("AD_Tree_Product_ID", null);
else else
set_ValueNoCheck ("AD_Tree_Product_ID", new Integer(AD_Tree_Product_ID)); set_ValueNoCheck ("AD_Tree_Product_ID", Integer.valueOf(AD_Tree_Product_ID));
} }
/** Get Product Tree. /** Get Product Tree.
@return Tree to determine product hierarchy */ @return Tree to determine product hierarchy */
@ -208,7 +208,7 @@ public void setAD_Tree_Project_ID (int AD_Tree_Project_ID)
{ {
if (AD_Tree_Project_ID <= 0) set_ValueNoCheck ("AD_Tree_Project_ID", null); if (AD_Tree_Project_ID <= 0) set_ValueNoCheck ("AD_Tree_Project_ID", null);
else else
set_ValueNoCheck ("AD_Tree_Project_ID", new Integer(AD_Tree_Project_ID)); set_ValueNoCheck ("AD_Tree_Project_ID", Integer.valueOf(AD_Tree_Project_ID));
} }
/** Get Project Tree. /** Get Project Tree.
@return Tree to determine project hierarchy */ @return Tree to determine project hierarchy */
@ -227,7 +227,7 @@ public void setAD_Tree_SalesRegion_ID (int AD_Tree_SalesRegion_ID)
{ {
if (AD_Tree_SalesRegion_ID <= 0) set_ValueNoCheck ("AD_Tree_SalesRegion_ID", null); if (AD_Tree_SalesRegion_ID <= 0) set_ValueNoCheck ("AD_Tree_SalesRegion_ID", null);
else else
set_ValueNoCheck ("AD_Tree_SalesRegion_ID", new Integer(AD_Tree_SalesRegion_ID)); set_ValueNoCheck ("AD_Tree_SalesRegion_ID", Integer.valueOf(AD_Tree_SalesRegion_ID));
} }
/** Get Sales Region Tree. /** Get Sales Region Tree.
@return Tree to determine sales regional hierarchy */ @return Tree to determine sales regional hierarchy */
@ -246,7 +246,7 @@ public void setC_AcctSchema1_ID (int C_AcctSchema1_ID)
{ {
if (C_AcctSchema1_ID <= 0) set_ValueNoCheck ("C_AcctSchema1_ID", null); if (C_AcctSchema1_ID <= 0) set_ValueNoCheck ("C_AcctSchema1_ID", null);
else else
set_ValueNoCheck ("C_AcctSchema1_ID", new Integer(C_AcctSchema1_ID)); set_ValueNoCheck ("C_AcctSchema1_ID", Integer.valueOf(C_AcctSchema1_ID));
} }
/** Get Primary Accounting Schema. /** Get Primary Accounting Schema.
@return Primary rules for accounting */ @return Primary rules for accounting */
@ -265,7 +265,7 @@ public void setC_BPartnerCashTrx_ID (int C_BPartnerCashTrx_ID)
{ {
if (C_BPartnerCashTrx_ID <= 0) set_Value ("C_BPartnerCashTrx_ID", null); if (C_BPartnerCashTrx_ID <= 0) set_Value ("C_BPartnerCashTrx_ID", null);
else else
set_Value ("C_BPartnerCashTrx_ID", new Integer(C_BPartnerCashTrx_ID)); set_Value ("C_BPartnerCashTrx_ID", Integer.valueOf(C_BPartnerCashTrx_ID));
} }
/** Get Template B.Partner. /** Get Template B.Partner.
@return Business Partner used for creating new Business Partners on the fly */ @return Business Partner used for creating new Business Partners on the fly */
@ -281,7 +281,7 @@ public void setC_Calendar_ID (int C_Calendar_ID)
{ {
if (C_Calendar_ID <= 0) set_Value ("C_Calendar_ID", null); if (C_Calendar_ID <= 0) set_Value ("C_Calendar_ID", null);
else else
set_Value ("C_Calendar_ID", new Integer(C_Calendar_ID)); set_Value ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID));
} }
/** Get Calendar. /** Get Calendar.
@return Accounting Calendar Name */ @return Accounting Calendar Name */
@ -300,7 +300,7 @@ public void setC_UOM_Length_ID (int C_UOM_Length_ID)
{ {
if (C_UOM_Length_ID <= 0) set_Value ("C_UOM_Length_ID", null); if (C_UOM_Length_ID <= 0) set_Value ("C_UOM_Length_ID", null);
else else
set_Value ("C_UOM_Length_ID", new Integer(C_UOM_Length_ID)); set_Value ("C_UOM_Length_ID", Integer.valueOf(C_UOM_Length_ID));
} }
/** Get UOM for Length. /** Get UOM for Length.
@return Standard Unit of Measure for Length */ @return Standard Unit of Measure for Length */
@ -319,7 +319,7 @@ public void setC_UOM_Time_ID (int C_UOM_Time_ID)
{ {
if (C_UOM_Time_ID <= 0) set_Value ("C_UOM_Time_ID", null); if (C_UOM_Time_ID <= 0) set_Value ("C_UOM_Time_ID", null);
else else
set_Value ("C_UOM_Time_ID", new Integer(C_UOM_Time_ID)); set_Value ("C_UOM_Time_ID", Integer.valueOf(C_UOM_Time_ID));
} }
/** Get UOM for Time. /** Get UOM for Time.
@return Standard Unit of Measure for Time */ @return Standard Unit of Measure for Time */
@ -338,7 +338,7 @@ public void setC_UOM_Volume_ID (int C_UOM_Volume_ID)
{ {
if (C_UOM_Volume_ID <= 0) set_Value ("C_UOM_Volume_ID", null); if (C_UOM_Volume_ID <= 0) set_Value ("C_UOM_Volume_ID", null);
else else
set_Value ("C_UOM_Volume_ID", new Integer(C_UOM_Volume_ID)); set_Value ("C_UOM_Volume_ID", Integer.valueOf(C_UOM_Volume_ID));
} }
/** Get UOM for Volume. /** Get UOM for Volume.
@return Standard Unit of Measure for Volume */ @return Standard Unit of Measure for Volume */
@ -357,7 +357,7 @@ public void setC_UOM_Weight_ID (int C_UOM_Weight_ID)
{ {
if (C_UOM_Weight_ID <= 0) set_Value ("C_UOM_Weight_ID", null); if (C_UOM_Weight_ID <= 0) set_Value ("C_UOM_Weight_ID", null);
else else
set_Value ("C_UOM_Weight_ID", new Integer(C_UOM_Weight_ID)); set_Value ("C_UOM_Weight_ID", Integer.valueOf(C_UOM_Weight_ID));
} }
/** Get UOM for Weight. /** Get UOM for Weight.
@return Standard Unit of Measure for Weight */ @return Standard Unit of Measure for Weight */
@ -371,7 +371,7 @@ return ii.intValue();
@param IsDiscountLineAmt Payment Discount calculation does not include Taxes and Charges */ @param IsDiscountLineAmt Payment Discount calculation does not include Taxes and Charges */
public void setIsDiscountLineAmt (boolean IsDiscountLineAmt) public void setIsDiscountLineAmt (boolean IsDiscountLineAmt)
{ {
set_Value ("IsDiscountLineAmt", new Boolean(IsDiscountLineAmt)); set_Value ("IsDiscountLineAmt", Boolean.valueOf(IsDiscountLineAmt));
} }
/** Get Discount calculated from Line Amounts. /** Get Discount calculated from Line Amounts.
@return Payment Discount calculation does not include Taxes and Charges */ @return Payment Discount calculation does not include Taxes and Charges */
@ -389,7 +389,7 @@ return false;
@param KeepLogDays Number of days to keep the log entries */ @param KeepLogDays Number of days to keep the log entries */
public void setKeepLogDays (int KeepLogDays) public void setKeepLogDays (int KeepLogDays)
{ {
set_Value ("KeepLogDays", new Integer(KeepLogDays)); set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays));
} }
/** Get Days to keep Log. /** Get Days to keep Log.
@return Number of days to keep the log entries */ @return Number of days to keep the log entries */
@ -408,7 +408,7 @@ public void setM_ProductFreight_ID (int M_ProductFreight_ID)
{ {
if (M_ProductFreight_ID <= 0) set_Value ("M_ProductFreight_ID", null); if (M_ProductFreight_ID <= 0) set_Value ("M_ProductFreight_ID", null);
else else
set_Value ("M_ProductFreight_ID", new Integer(M_ProductFreight_ID)); set_Value ("M_ProductFreight_ID", Integer.valueOf(M_ProductFreight_ID));
} }
/** Get Product for Freight. /** Get Product for Freight.
@return Product for Freight */ @return Product for Freight */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ClientShare /** Generated Model for AD_ClientShare
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ClientShare extends PO public class X_AD_ClientShare extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_ClientShare (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=827 */ /** AD_Table_ID=827 */
public static final int Table_ID=827; public static final int Table_ID=MTable.getTable_ID("AD_ClientShare");
/** TableName=AD_ClientShare */ /** TableName=AD_ClientShare */
public static final String Table_Name="AD_ClientShare"; public static final String Table_Name="AD_ClientShare";
protected static KeyNamePair Model = new KeyNamePair(827,"AD_ClientShare"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ClientShare");
protected BigDecimal accessLevel = new BigDecimal(2); protected BigDecimal accessLevel = new BigDecimal(2);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_ClientShare_ID (int AD_ClientShare_ID) public void setAD_ClientShare_ID (int AD_ClientShare_ID)
{ {
if (AD_ClientShare_ID < 1) throw new IllegalArgumentException ("AD_ClientShare_ID is mandatory."); if (AD_ClientShare_ID < 1) throw new IllegalArgumentException ("AD_ClientShare_ID is mandatory.");
set_ValueNoCheck ("AD_ClientShare_ID", new Integer(AD_ClientShare_ID)); set_ValueNoCheck ("AD_ClientShare_ID", Integer.valueOf(AD_ClientShare_ID));
} }
/** Get Client Share. /** Get Client Share.
@return Force (not) sharing of client/org entities */ @return Force (not) sharing of client/org entities */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Color /** Generated Model for AD_Color
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Color extends PO public class X_AD_Color extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -61,12 +61,12 @@ public X_AD_Color (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=457 */ /** AD_Table_ID=457 */
public static final int Table_ID=457; public static final int Table_ID=MTable.getTable_ID("AD_Color");
/** TableName=AD_Color */ /** TableName=AD_Color */
public static final String Table_Name="AD_Color"; public static final String Table_Name="AD_Color";
protected static KeyNamePair Model = new KeyNamePair(457,"AD_Color"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Color");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -98,7 +98,7 @@ return sb.toString();
public void setAD_Color_ID (int AD_Color_ID) public void setAD_Color_ID (int AD_Color_ID)
{ {
if (AD_Color_ID < 1) throw new IllegalArgumentException ("AD_Color_ID is mandatory."); if (AD_Color_ID < 1) throw new IllegalArgumentException ("AD_Color_ID is mandatory.");
set_ValueNoCheck ("AD_Color_ID", new Integer(AD_Color_ID)); set_ValueNoCheck ("AD_Color_ID", Integer.valueOf(AD_Color_ID));
} }
/** Get System Color. /** Get System Color.
@return Color for backgrounds or indicators */ @return Color for backgrounds or indicators */
@ -114,7 +114,7 @@ public void setAD_Image_ID (int AD_Image_ID)
{ {
if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null);
else else
set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID));
} }
/** Get Image. /** Get Image.
@return Image or Icon */ @return Image or Icon */
@ -128,7 +128,7 @@ return ii.intValue();
@param Alpha Color Alpha value 0-255 */ @param Alpha Color Alpha value 0-255 */
public void setAlpha (int Alpha) public void setAlpha (int Alpha)
{ {
set_Value ("Alpha", new Integer(Alpha)); set_Value ("Alpha", Integer.valueOf(Alpha));
} }
/** Get Alpha. /** Get Alpha.
@return Color Alpha value 0-255 */ @return Color Alpha value 0-255 */
@ -142,7 +142,7 @@ return ii.intValue();
@param Alpha_1 Alpha value for second color */ @param Alpha_1 Alpha value for second color */
public void setAlpha_1 (int Alpha_1) public void setAlpha_1 (int Alpha_1)
{ {
set_Value ("Alpha_1", new Integer(Alpha_1)); set_Value ("Alpha_1", Integer.valueOf(Alpha_1));
} }
/** Get 2nd Alpha. /** Get 2nd Alpha.
@return Alpha value for second color */ @return Alpha value for second color */
@ -156,7 +156,7 @@ return ii.intValue();
@param Blue Color RGB blue value */ @param Blue Color RGB blue value */
public void setBlue (int Blue) public void setBlue (int Blue)
{ {
set_Value ("Blue", new Integer(Blue)); set_Value ("Blue", Integer.valueOf(Blue));
} }
/** Get Blue. /** Get Blue.
@return Color RGB blue value */ @return Color RGB blue value */
@ -170,7 +170,7 @@ return ii.intValue();
@param Blue_1 RGB value for second color */ @param Blue_1 RGB value for second color */
public void setBlue_1 (int Blue_1) public void setBlue_1 (int Blue_1)
{ {
set_Value ("Blue_1", new Integer(Blue_1)); set_Value ("Blue_1", Integer.valueOf(Blue_1));
} }
/** Get 2nd Blue. /** Get 2nd Blue.
@return RGB value for second color */ @return RGB value for second color */
@ -210,7 +210,7 @@ return get_Value("ColorType");
@param Green RGB value */ @param Green RGB value */
public void setGreen (int Green) public void setGreen (int Green)
{ {
set_Value ("Green", new Integer(Green)); set_Value ("Green", Integer.valueOf(Green));
} }
/** Get Green. /** Get Green.
@return RGB value */ @return RGB value */
@ -224,7 +224,7 @@ return ii.intValue();
@param Green_1 RGB value for second color */ @param Green_1 RGB value for second color */
public void setGreen_1 (int Green_1) public void setGreen_1 (int Green_1)
{ {
set_Value ("Green_1", new Integer(Green_1)); set_Value ("Green_1", Integer.valueOf(Green_1));
} }
/** Get 2nd Green. /** Get 2nd Green.
@return RGB value for second color */ @return RGB value for second color */
@ -253,7 +253,7 @@ return bd;
@param IsDefault Default value */ @param IsDefault Default value */
public void setIsDefault (boolean IsDefault) public void setIsDefault (boolean IsDefault)
{ {
set_Value ("IsDefault", new Boolean(IsDefault)); set_Value ("IsDefault", Boolean.valueOf(IsDefault));
} }
/** Get Default. /** Get Default.
@return Default value */ @return Default value */
@ -271,7 +271,7 @@ return false;
@param LineDistance Distance between lines */ @param LineDistance Distance between lines */
public void setLineDistance (int LineDistance) public void setLineDistance (int LineDistance)
{ {
set_Value ("LineDistance", new Integer(LineDistance)); set_Value ("LineDistance", Integer.valueOf(LineDistance));
} }
/** Get Line Distance. /** Get Line Distance.
@return Distance between lines */ @return Distance between lines */
@ -285,7 +285,7 @@ return ii.intValue();
@param LineWidth Width of the lines */ @param LineWidth Width of the lines */
public void setLineWidth (int LineWidth) public void setLineWidth (int LineWidth)
{ {
set_Value ("LineWidth", new Integer(LineWidth)); set_Value ("LineWidth", Integer.valueOf(LineWidth));
} }
/** Get Line Width. /** Get Line Width.
@return Width of the lines */ @return Width of the lines */
@ -323,7 +323,7 @@ return new KeyNamePair(get_ID(), getName());
@param Red RGB value */ @param Red RGB value */
public void setRed (int Red) public void setRed (int Red)
{ {
set_Value ("Red", new Integer(Red)); set_Value ("Red", Integer.valueOf(Red));
} }
/** Get Red. /** Get Red.
@return RGB value */ @return RGB value */
@ -337,7 +337,7 @@ return ii.intValue();
@param Red_1 RGB value for second color */ @param Red_1 RGB value for second color */
public void setRed_1 (int Red_1) public void setRed_1 (int Red_1)
{ {
set_Value ("Red_1", new Integer(Red_1)); set_Value ("Red_1", Integer.valueOf(Red_1));
} }
/** Get 2nd Red. /** Get 2nd Red.
@return RGB value for second color */ @return RGB value for second color */
@ -351,7 +351,7 @@ return ii.intValue();
@param RepeatDistance Distance in points to repeat gradient color - or zero */ @param RepeatDistance Distance in points to repeat gradient color - or zero */
public void setRepeatDistance (int RepeatDistance) public void setRepeatDistance (int RepeatDistance)
{ {
set_Value ("RepeatDistance", new Integer(RepeatDistance)); set_Value ("RepeatDistance", Integer.valueOf(RepeatDistance));
} }
/** Get Repeat Distance. /** Get Repeat Distance.
@return Distance in points to repeat gradient color - or zero */ @return Distance in points to repeat gradient color - or zero */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Column /** Generated Model for AD_Column
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Column extends PO public class X_AD_Column extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -69,12 +69,12 @@ public X_AD_Column (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=101 */ /** AD_Table_ID=101 */
public static final int Table_ID=101; public static final int Table_ID=MTable.getTable_ID("AD_Column");
/** TableName=AD_Column */ /** TableName=AD_Column */
public static final String Table_Name="AD_Column"; public static final String Table_Name="AD_Column";
protected static KeyNamePair Model = new KeyNamePair(101,"AD_Column"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Column");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -106,7 +106,7 @@ return sb.toString();
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_ValueNoCheck ("AD_Column_ID", new Integer(AD_Column_ID)); set_ValueNoCheck ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -121,7 +121,7 @@ return ii.intValue();
public void setAD_Element_ID (int AD_Element_ID) public void setAD_Element_ID (int AD_Element_ID)
{ {
if (AD_Element_ID < 1) throw new IllegalArgumentException ("AD_Element_ID is mandatory."); if (AD_Element_ID < 1) throw new IllegalArgumentException ("AD_Element_ID is mandatory.");
set_Value ("AD_Element_ID", new Integer(AD_Element_ID)); set_Value ("AD_Element_ID", Integer.valueOf(AD_Element_ID));
} }
/** Get System Element. /** Get System Element.
@return System Element enables the central maintenance of column description and help. */ @return System Element enables the central maintenance of column description and help. */
@ -137,7 +137,7 @@ public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -155,7 +155,7 @@ public static final int AD_REFERENCE_ID_AD_Reference_ID=1;
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */
@ -174,7 +174,7 @@ public void setAD_Reference_Value_ID (int AD_Reference_Value_ID)
{ {
if (AD_Reference_Value_ID <= 0) set_Value ("AD_Reference_Value_ID", null); if (AD_Reference_Value_ID <= 0) set_Value ("AD_Reference_Value_ID", null);
else else
set_Value ("AD_Reference_Value_ID", new Integer(AD_Reference_Value_ID)); set_Value ("AD_Reference_Value_ID", Integer.valueOf(AD_Reference_Value_ID));
} }
/** Get Reference Key. /** Get Reference Key.
@return Required to specify, if data type is Table or List */ @return Required to specify, if data type is Table or List */
@ -189,7 +189,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -205,7 +205,7 @@ public void setAD_Val_Rule_ID (int AD_Val_Rule_ID)
{ {
if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null); if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null);
else else
set_Value ("AD_Val_Rule_ID", new Integer(AD_Val_Rule_ID)); set_Value ("AD_Val_Rule_ID", Integer.valueOf(AD_Val_Rule_ID));
} }
/** Get Dynamic Validation. /** Get Dynamic Validation.
@return Dynamic Validation Rule */ @return Dynamic Validation Rule */
@ -335,7 +335,7 @@ return (String)get_Value("EntityType");
@param FieldLength Length of the column in the database */ @param FieldLength Length of the column in the database */
public void setFieldLength (int FieldLength) public void setFieldLength (int FieldLength)
{ {
set_Value ("FieldLength", new Integer(FieldLength)); set_Value ("FieldLength", Integer.valueOf(FieldLength));
} }
/** Get Length. /** Get Length.
@return Length of the column in the database */ @return Length of the column in the database */
@ -366,7 +366,7 @@ return (String)get_Value("Help");
@param IsAlwaysUpdateable The column is always updateable, even if the record is not active or processed */ @param IsAlwaysUpdateable The column is always updateable, even if the record is not active or processed */
public void setIsAlwaysUpdateable (boolean IsAlwaysUpdateable) public void setIsAlwaysUpdateable (boolean IsAlwaysUpdateable)
{ {
set_Value ("IsAlwaysUpdateable", new Boolean(IsAlwaysUpdateable)); set_Value ("IsAlwaysUpdateable", Boolean.valueOf(IsAlwaysUpdateable));
} }
/** Get Always Updateable. /** Get Always Updateable.
@return The column is always updateable, even if the record is not active or processed */ @return The column is always updateable, even if the record is not active or processed */
@ -411,7 +411,7 @@ return (String)get_Value("IsEncrypted");
@param IsIdentifier This column is part of the record identifier */ @param IsIdentifier This column is part of the record identifier */
public void setIsIdentifier (boolean IsIdentifier) public void setIsIdentifier (boolean IsIdentifier)
{ {
set_Value ("IsIdentifier", new Boolean(IsIdentifier)); set_Value ("IsIdentifier", Boolean.valueOf(IsIdentifier));
} }
/** Get Identifier. /** Get Identifier.
@return This column is part of the record identifier */ @return This column is part of the record identifier */
@ -429,7 +429,7 @@ return false;
@param IsKey This column is the key in this table */ @param IsKey This column is the key in this table */
public void setIsKey (boolean IsKey) public void setIsKey (boolean IsKey)
{ {
set_Value ("IsKey", new Boolean(IsKey)); set_Value ("IsKey", Boolean.valueOf(IsKey));
} }
/** Get Key column. /** Get Key column.
@return This column is the key in this table */ @return This column is the key in this table */
@ -447,7 +447,7 @@ return false;
@param IsMandatory Data entry is required in this column */ @param IsMandatory Data entry is required in this column */
public void setIsMandatory (boolean IsMandatory) public void setIsMandatory (boolean IsMandatory)
{ {
set_Value ("IsMandatory", new Boolean(IsMandatory)); set_Value ("IsMandatory", Boolean.valueOf(IsMandatory));
} }
/** Get Mandatory. /** Get Mandatory.
@return Data entry is required in this column */ @return Data entry is required in this column */
@ -465,7 +465,7 @@ return false;
@param IsParent This column is a link to the parent table (e.g. header from lines) - incl. Association key columns */ @param IsParent This column is a link to the parent table (e.g. header from lines) - incl. Association key columns */
public void setIsParent (boolean IsParent) public void setIsParent (boolean IsParent)
{ {
set_Value ("IsParent", new Boolean(IsParent)); set_Value ("IsParent", Boolean.valueOf(IsParent));
} }
/** Get Parent link column. /** Get Parent link column.
@return This column is a link to the parent table (e.g. header from lines) - incl. Association key columns */ @return This column is a link to the parent table (e.g. header from lines) - incl. Association key columns */
@ -483,7 +483,7 @@ return false;
@param IsSelectionColumn Is this column used for finding rows in windows */ @param IsSelectionColumn Is this column used for finding rows in windows */
public void setIsSelectionColumn (boolean IsSelectionColumn) public void setIsSelectionColumn (boolean IsSelectionColumn)
{ {
set_Value ("IsSelectionColumn", new Boolean(IsSelectionColumn)); set_Value ("IsSelectionColumn", Boolean.valueOf(IsSelectionColumn));
} }
/** Get Selection Column. /** Get Selection Column.
@return Is this column used for finding rows in windows */ @return Is this column used for finding rows in windows */
@ -518,7 +518,7 @@ return (String)get_Value("IsSyncDatabase");
@param IsTranslated This column is translated */ @param IsTranslated This column is translated */
public void setIsTranslated (boolean IsTranslated) public void setIsTranslated (boolean IsTranslated)
{ {
set_Value ("IsTranslated", new Boolean(IsTranslated)); set_Value ("IsTranslated", Boolean.valueOf(IsTranslated));
} }
/** Get Translated. /** Get Translated.
@return This column is translated */ @return This column is translated */
@ -536,7 +536,7 @@ return false;
@param IsUpdateable Determines, if the field can be updated */ @param IsUpdateable Determines, if the field can be updated */
public void setIsUpdateable (boolean IsUpdateable) public void setIsUpdateable (boolean IsUpdateable)
{ {
set_Value ("IsUpdateable", new Boolean(IsUpdateable)); set_Value ("IsUpdateable", Boolean.valueOf(IsUpdateable));
} }
/** Get Updateable. /** Get Updateable.
@return Determines, if the field can be updated */ @return Determines, if the field can be updated */
@ -590,7 +590,7 @@ return (String)get_Value("ReadOnlyLogic");
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Column_Access /** Generated Model for AD_Column_Access
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Column_Access extends PO public class X_AD_Column_Access extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Column_Access (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=571 */ /** AD_Table_ID=571 */
public static final int Table_ID=571; public static final int Table_ID=MTable.getTable_ID("AD_Column_Access");
/** TableName=AD_Column_Access */ /** TableName=AD_Column_Access */
public static final String Table_Name="AD_Column_Access"; public static final String Table_Name="AD_Column_Access";
protected static KeyNamePair Model = new KeyNamePair(571,"AD_Column_Access"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Column_Access");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_ValueNoCheck ("AD_Column_ID", new Integer(AD_Column_ID)); set_ValueNoCheck ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Column_ID()));
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory.");
set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -130,7 +130,7 @@ public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -144,7 +144,7 @@ return ii.intValue();
@param IsExclude Exclude access to the data - if not selected Include access to the data */ @param IsExclude Exclude access to the data - if not selected Include access to the data */
public void setIsExclude (boolean IsExclude) public void setIsExclude (boolean IsExclude)
{ {
set_Value ("IsExclude", new Boolean(IsExclude)); set_Value ("IsExclude", Boolean.valueOf(IsExclude));
} }
/** Get Exclude. /** Get Exclude.
@return Exclude access to the data - if not selected Include access to the data */ @return Exclude access to the data - if not selected Include access to the data */
@ -162,7 +162,7 @@ return false;
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Desktop /** Generated Model for AD_Desktop
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Desktop extends PO public class X_AD_Desktop extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Desktop (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=458 */ /** AD_Table_ID=458 */
public static final int Table_ID=458; public static final int Table_ID=MTable.getTable_ID("AD_Desktop");
/** TableName=AD_Desktop */ /** TableName=AD_Desktop */
public static final String Table_Name="AD_Desktop"; public static final String Table_Name="AD_Desktop";
protected static KeyNamePair Model = new KeyNamePair(458,"AD_Desktop"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Desktop");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -103,7 +103,7 @@ return get_Value("AD_Color_ID");
public void setAD_Desktop_ID (int AD_Desktop_ID) public void setAD_Desktop_ID (int AD_Desktop_ID)
{ {
if (AD_Desktop_ID < 1) throw new IllegalArgumentException ("AD_Desktop_ID is mandatory."); if (AD_Desktop_ID < 1) throw new IllegalArgumentException ("AD_Desktop_ID is mandatory.");
set_ValueNoCheck ("AD_Desktop_ID", new Integer(AD_Desktop_ID)); set_ValueNoCheck ("AD_Desktop_ID", Integer.valueOf(AD_Desktop_ID));
} }
/** Get Desktop. /** Get Desktop.
@return Collection of Workbenches */ @return Collection of Workbenches */
@ -119,7 +119,7 @@ public void setAD_Image_ID (int AD_Image_ID)
{ {
if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null);
else else
set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID));
} }
/** Get Image. /** Get Image.
@return Image or Icon */ @return Image or Icon */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_DesktopWorkbench /** Generated Model for AD_DesktopWorkbench
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_DesktopWorkbench extends PO public class X_AD_DesktopWorkbench extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_DesktopWorkbench (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=459 */ /** AD_Table_ID=459 */
public static final int Table_ID=459; public static final int Table_ID=MTable.getTable_ID("AD_DesktopWorkbench");
/** TableName=AD_DesktopWorkbench */ /** TableName=AD_DesktopWorkbench */
public static final String Table_Name="AD_DesktopWorkbench"; public static final String Table_Name="AD_DesktopWorkbench";
protected static KeyNamePair Model = new KeyNamePair(459,"AD_DesktopWorkbench"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_DesktopWorkbench");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID) public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID)
{ {
if (AD_DesktopWorkbench_ID < 1) throw new IllegalArgumentException ("AD_DesktopWorkbench_ID is mandatory."); if (AD_DesktopWorkbench_ID < 1) throw new IllegalArgumentException ("AD_DesktopWorkbench_ID is mandatory.");
set_ValueNoCheck ("AD_DesktopWorkbench_ID", new Integer(AD_DesktopWorkbench_ID)); set_ValueNoCheck ("AD_DesktopWorkbench_ID", Integer.valueOf(AD_DesktopWorkbench_ID));
} }
/** Get Desktop Workbench. /** Get Desktop Workbench.
@return Desktop Workbench */ @return Desktop Workbench */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Desktop_ID (int AD_Desktop_ID) public void setAD_Desktop_ID (int AD_Desktop_ID)
{ {
if (AD_Desktop_ID < 1) throw new IllegalArgumentException ("AD_Desktop_ID is mandatory."); if (AD_Desktop_ID < 1) throw new IllegalArgumentException ("AD_Desktop_ID is mandatory.");
set_ValueNoCheck ("AD_Desktop_ID", new Integer(AD_Desktop_ID)); set_ValueNoCheck ("AD_Desktop_ID", Integer.valueOf(AD_Desktop_ID));
} }
/** Get Desktop. /** Get Desktop.
@return Collection of Workbenches */ @return Collection of Workbenches */
@ -123,7 +123,7 @@ return ii.intValue();
public void setAD_Workbench_ID (int AD_Workbench_ID) public void setAD_Workbench_ID (int AD_Workbench_ID)
{ {
if (AD_Workbench_ID < 1) throw new IllegalArgumentException ("AD_Workbench_ID is mandatory."); if (AD_Workbench_ID < 1) throw new IllegalArgumentException ("AD_Workbench_ID is mandatory.");
set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID));
} }
/** Get Workbench. /** Get Workbench.
@return Collection of windows, reports */ @return Collection of windows, reports */
@ -144,7 +144,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Workbench_ID()));
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Element /** Generated Model for AD_Element
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Element extends PO public class X_AD_Element extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_Element (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=276 */ /** AD_Table_ID=276 */
public static final int Table_ID=276; public static final int Table_ID=MTable.getTable_ID("AD_Element");
/** TableName=AD_Element */ /** TableName=AD_Element */
public static final String Table_Name="AD_Element"; public static final String Table_Name="AD_Element";
protected static KeyNamePair Model = new KeyNamePair(276,"AD_Element"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Element");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_Element_ID (int AD_Element_ID) public void setAD_Element_ID (int AD_Element_ID)
{ {
if (AD_Element_ID < 1) throw new IllegalArgumentException ("AD_Element_ID is mandatory."); if (AD_Element_ID < 1) throw new IllegalArgumentException ("AD_Element_ID is mandatory.");
set_ValueNoCheck ("AD_Element_ID", new Integer(AD_Element_ID)); set_ValueNoCheck ("AD_Element_ID", Integer.valueOf(AD_Element_ID));
} }
/** Get System Element. /** Get System Element.
@return System Element enables the central maintenance of column description and help. */ @return System Element enables the central maintenance of column description and help. */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_EntityType /** Generated Model for AD_EntityType
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_EntityType extends PO public class X_AD_EntityType extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_EntityType (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=882 */ /** AD_Table_ID=882 */
public static final int Table_ID=882; public static final int Table_ID=MTable.getTable_ID("AD_EntityType");
/** TableName=AD_EntityType */ /** TableName=AD_EntityType */
public static final String Table_Name="AD_EntityType"; public static final String Table_Name="AD_EntityType";
protected static KeyNamePair Model = new KeyNamePair(882,"AD_EntityType"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_EntityType");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_EntityType_ID (int AD_EntityType_ID) public void setAD_EntityType_ID (int AD_EntityType_ID)
{ {
if (AD_EntityType_ID < 1) throw new IllegalArgumentException ("AD_EntityType_ID is mandatory."); if (AD_EntityType_ID < 1) throw new IllegalArgumentException ("AD_EntityType_ID is mandatory.");
set_ValueNoCheck ("AD_EntityType_ID", new Integer(AD_EntityType_ID)); set_ValueNoCheck ("AD_EntityType_ID", Integer.valueOf(AD_EntityType_ID));
} }
/** Get Entity Type. /** Get Entity Type.
@return System Entity Type */ @return System Entity Type */
@ -218,7 +218,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Error /** Generated Model for AD_Error
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Error extends PO public class X_AD_Error extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Error (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=380 */ /** AD_Table_ID=380 */
public static final int Table_ID=380; public static final int Table_ID=MTable.getTable_ID("AD_Error");
/** TableName=AD_Error */ /** TableName=AD_Error */
public static final String Table_Name="AD_Error"; public static final String Table_Name="AD_Error";
protected static KeyNamePair Model = new KeyNamePair(380,"AD_Error"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Error");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_Error_ID (int AD_Error_ID) public void setAD_Error_ID (int AD_Error_ID)
{ {
if (AD_Error_ID < 1) throw new IllegalArgumentException ("AD_Error_ID is mandatory."); if (AD_Error_ID < 1) throw new IllegalArgumentException ("AD_Error_ID is mandatory.");
set_ValueNoCheck ("AD_Error_ID", new Integer(AD_Error_ID)); set_ValueNoCheck ("AD_Error_ID", Integer.valueOf(AD_Error_ID));
} }
/** Get Error. /** Get Error.
@return Error */ @return Error */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Field /** Generated Model for AD_Field
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Field extends PO public class X_AD_Field extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -64,12 +64,12 @@ public X_AD_Field (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=107 */ /** AD_Table_ID=107 */
public static final int Table_ID=107; public static final int Table_ID=MTable.getTable_ID("AD_Field");
/** TableName=AD_Field */ /** TableName=AD_Field */
public static final String Table_Name="AD_Field"; public static final String Table_Name="AD_Field";
protected static KeyNamePair Model = new KeyNamePair(107,"AD_Field"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Field");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -101,7 +101,7 @@ return sb.toString();
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -117,7 +117,7 @@ public void setAD_FieldGroup_ID (int AD_FieldGroup_ID)
{ {
if (AD_FieldGroup_ID <= 0) set_Value ("AD_FieldGroup_ID", null); if (AD_FieldGroup_ID <= 0) set_Value ("AD_FieldGroup_ID", null);
else else
set_Value ("AD_FieldGroup_ID", new Integer(AD_FieldGroup_ID)); set_Value ("AD_FieldGroup_ID", Integer.valueOf(AD_FieldGroup_ID));
} }
/** Get Field Group. /** Get Field Group.
@return Logical grouping of fields */ @return Logical grouping of fields */
@ -132,7 +132,7 @@ return ii.intValue();
public void setAD_Field_ID (int AD_Field_ID) public void setAD_Field_ID (int AD_Field_ID)
{ {
if (AD_Field_ID < 1) throw new IllegalArgumentException ("AD_Field_ID is mandatory."); if (AD_Field_ID < 1) throw new IllegalArgumentException ("AD_Field_ID is mandatory.");
set_ValueNoCheck ("AD_Field_ID", new Integer(AD_Field_ID)); set_ValueNoCheck ("AD_Field_ID", Integer.valueOf(AD_Field_ID));
} }
/** Get Field. /** Get Field.
@return Field on a database table */ @return Field on a database table */
@ -151,7 +151,7 @@ public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID <= 0) set_Value ("AD_Reference_ID", null); if (AD_Reference_ID <= 0) set_Value ("AD_Reference_ID", null);
else else
set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */
@ -166,7 +166,7 @@ return ii.intValue();
public void setAD_Tab_ID (int AD_Tab_ID) public void setAD_Tab_ID (int AD_Tab_ID)
{ {
if (AD_Tab_ID < 1) throw new IllegalArgumentException ("AD_Tab_ID is mandatory."); if (AD_Tab_ID < 1) throw new IllegalArgumentException ("AD_Tab_ID is mandatory.");
set_ValueNoCheck ("AD_Tab_ID", new Integer(AD_Tab_ID)); set_ValueNoCheck ("AD_Tab_ID", Integer.valueOf(AD_Tab_ID));
} }
/** Get Tab. /** Get Tab.
@return Tab within a Window */ @return Tab within a Window */
@ -197,7 +197,7 @@ return (String)get_Value("Description");
@param DisplayLength Length of the display in characters */ @param DisplayLength Length of the display in characters */
public void setDisplayLength (int DisplayLength) public void setDisplayLength (int DisplayLength)
{ {
set_Value ("DisplayLength", new Integer(DisplayLength)); set_Value ("DisplayLength", Integer.valueOf(DisplayLength));
} }
/** Get Display Length. /** Get Display Length.
@return Length of the display in characters */ @return Length of the display in characters */
@ -267,7 +267,7 @@ return (String)get_Value("Help");
@param IsCentrallyMaintained Information maintained in System Element table */ @param IsCentrallyMaintained Information maintained in System Element table */
public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) public void setIsCentrallyMaintained (boolean IsCentrallyMaintained)
{ {
set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained));
} }
/** Get Centrally maintained. /** Get Centrally maintained.
@return Information maintained in System Element table */ @return Information maintained in System Element table */
@ -285,7 +285,7 @@ return false;
@param IsDisplayed Determines, if this field is displayed */ @param IsDisplayed Determines, if this field is displayed */
public void setIsDisplayed (boolean IsDisplayed) public void setIsDisplayed (boolean IsDisplayed)
{ {
set_Value ("IsDisplayed", new Boolean(IsDisplayed)); set_Value ("IsDisplayed", Boolean.valueOf(IsDisplayed));
} }
/** Get Displayed. /** Get Displayed.
@return Determines, if this field is displayed */ @return Determines, if this field is displayed */
@ -303,7 +303,7 @@ return false;
@param IsEncrypted Display or Storage is encrypted */ @param IsEncrypted Display or Storage is encrypted */
public void setIsEncrypted (boolean IsEncrypted) public void setIsEncrypted (boolean IsEncrypted)
{ {
set_Value ("IsEncrypted", new Boolean(IsEncrypted)); set_Value ("IsEncrypted", Boolean.valueOf(IsEncrypted));
} }
/** Get Encrypted. /** Get Encrypted.
@return Display or Storage is encrypted */ @return Display or Storage is encrypted */
@ -321,7 +321,7 @@ return false;
@param IsFieldOnly Label is not displayed */ @param IsFieldOnly Label is not displayed */
public void setIsFieldOnly (boolean IsFieldOnly) public void setIsFieldOnly (boolean IsFieldOnly)
{ {
set_Value ("IsFieldOnly", new Boolean(IsFieldOnly)); set_Value ("IsFieldOnly", Boolean.valueOf(IsFieldOnly));
} }
/** Get Field Only. /** Get Field Only.
@return Label is not displayed */ @return Label is not displayed */
@ -339,7 +339,7 @@ return false;
@param IsHeading Field without Column - Only label is displayed */ @param IsHeading Field without Column - Only label is displayed */
public void setIsHeading (boolean IsHeading) public void setIsHeading (boolean IsHeading)
{ {
set_Value ("IsHeading", new Boolean(IsHeading)); set_Value ("IsHeading", Boolean.valueOf(IsHeading));
} }
/** Get Heading only. /** Get Heading only.
@return Field without Column - Only label is displayed */ @return Field without Column - Only label is displayed */
@ -383,7 +383,7 @@ return (String)get_Value("IsMandatory");
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */
@ -401,7 +401,7 @@ return false;
@param IsSameLine Displayed on same line as previous field */ @param IsSameLine Displayed on same line as previous field */
public void setIsSameLine (boolean IsSameLine) public void setIsSameLine (boolean IsSameLine)
{ {
set_Value ("IsSameLine", new Boolean(IsSameLine)); set_Value ("IsSameLine", Boolean.valueOf(IsSameLine));
} }
/** Get Same Line. /** Get Same Line.
@return Displayed on same line as previous field */ @return Displayed on same line as previous field */
@ -474,7 +474,7 @@ return (String)get_Value("ObscureType");
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_FieldGroup /** Generated Model for AD_FieldGroup
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_FieldGroup extends PO public class X_AD_FieldGroup extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_FieldGroup (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=414 */ /** AD_Table_ID=414 */
public static final int Table_ID=414; public static final int Table_ID=MTable.getTable_ID("AD_FieldGroup");
/** TableName=AD_FieldGroup */ /** TableName=AD_FieldGroup */
public static final String Table_Name="AD_FieldGroup"; public static final String Table_Name="AD_FieldGroup";
protected static KeyNamePair Model = new KeyNamePair(414,"AD_FieldGroup"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_FieldGroup");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_FieldGroup_ID (int AD_FieldGroup_ID) public void setAD_FieldGroup_ID (int AD_FieldGroup_ID)
{ {
if (AD_FieldGroup_ID < 1) throw new IllegalArgumentException ("AD_FieldGroup_ID is mandatory."); if (AD_FieldGroup_ID < 1) throw new IllegalArgumentException ("AD_FieldGroup_ID is mandatory.");
set_ValueNoCheck ("AD_FieldGroup_ID", new Integer(AD_FieldGroup_ID)); set_ValueNoCheck ("AD_FieldGroup_ID", Integer.valueOf(AD_FieldGroup_ID));
} }
/** Get Field Group. /** Get Field Group.
@return Logical grouping of fields */ @return Logical grouping of fields */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Find /** Generated Model for AD_Find
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Find extends PO public class X_AD_Find extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_Find (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=404 */ /** AD_Table_ID=404 */
public static final int Table_ID=404; public static final int Table_ID=MTable.getTable_ID("AD_Find");
/** TableName=AD_Find */ /** TableName=AD_Find */
public static final String Table_Name="AD_Find"; public static final String Table_Name="AD_Find";
protected static KeyNamePair Model = new KeyNamePair(404,"AD_Find"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Find");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -98,7 +98,7 @@ public static final int AD_COLUMN_ID_AD_Reference_ID=251;
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -113,7 +113,7 @@ return ii.intValue();
public void setAD_Find_ID (int AD_Find_ID) public void setAD_Find_ID (int AD_Find_ID)
{ {
if (AD_Find_ID < 1) throw new IllegalArgumentException ("AD_Find_ID is mandatory."); if (AD_Find_ID < 1) throw new IllegalArgumentException ("AD_Find_ID is mandatory.");
set_ValueNoCheck ("AD_Find_ID", new Integer(AD_Find_ID)); set_ValueNoCheck ("AD_Find_ID", Integer.valueOf(AD_Find_ID));
} }
/** Get Find. /** Get Find.
@return Find */ @return Find */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Form /** Generated Model for AD_Form
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Form extends PO public class X_AD_Form extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_Form (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=376 */ /** AD_Table_ID=376 */
public static final int Table_ID=376; public static final int Table_ID=MTable.getTable_ID("AD_Form");
/** TableName=AD_Form */ /** TableName=AD_Form */
public static final String Table_Name="AD_Form"; public static final String Table_Name="AD_Form";
protected static KeyNamePair Model = new KeyNamePair(376,"AD_Form"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Form");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_Form_ID (int AD_Form_ID) public void setAD_Form_ID (int AD_Form_ID)
{ {
if (AD_Form_ID < 1) throw new IllegalArgumentException ("AD_Form_ID is mandatory."); if (AD_Form_ID < 1) throw new IllegalArgumentException ("AD_Form_ID is mandatory.");
set_ValueNoCheck ("AD_Form_ID", new Integer(AD_Form_ID)); set_ValueNoCheck ("AD_Form_ID", Integer.valueOf(AD_Form_ID));
} }
/** Get Special Form. /** Get Special Form.
@return Special Form */ @return Special Form */
@ -216,7 +216,7 @@ return (String)get_Value("Help");
@param IsBetaFunctionality This functionality is considered Beta */ @param IsBetaFunctionality This functionality is considered Beta */
public void setIsBetaFunctionality (boolean IsBetaFunctionality) public void setIsBetaFunctionality (boolean IsBetaFunctionality)
{ {
set_Value ("IsBetaFunctionality", new Boolean(IsBetaFunctionality)); set_Value ("IsBetaFunctionality", Boolean.valueOf(IsBetaFunctionality));
} }
/** Get Beta Functionality. /** Get Beta Functionality.
@return This functionality is considered Beta */ @return This functionality is considered Beta */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Form_Access /** Generated Model for AD_Form_Access
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Form_Access extends PO public class X_AD_Form_Access extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Form_Access (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=378 */ /** AD_Table_ID=378 */
public static final int Table_ID=378; public static final int Table_ID=MTable.getTable_ID("AD_Form_Access");
/** TableName=AD_Form_Access */ /** TableName=AD_Form_Access */
public static final String Table_Name="AD_Form_Access"; public static final String Table_Name="AD_Form_Access";
protected static KeyNamePair Model = new KeyNamePair(378,"AD_Form_Access"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Form_Access");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Form_ID (int AD_Form_ID) public void setAD_Form_ID (int AD_Form_ID)
{ {
if (AD_Form_ID < 1) throw new IllegalArgumentException ("AD_Form_ID is mandatory."); if (AD_Form_ID < 1) throw new IllegalArgumentException ("AD_Form_ID is mandatory.");
set_ValueNoCheck ("AD_Form_ID", new Integer(AD_Form_ID)); set_ValueNoCheck ("AD_Form_ID", Integer.valueOf(AD_Form_ID));
} }
/** Get Special Form. /** Get Special Form.
@return Special Form */ @return Special Form */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory.");
set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -121,7 +121,7 @@ return ii.intValue();
@param IsReadWrite Field is read / write */ @param IsReadWrite Field is read / write */
public void setIsReadWrite (boolean IsReadWrite) public void setIsReadWrite (boolean IsReadWrite)
{ {
set_Value ("IsReadWrite", new Boolean(IsReadWrite)); set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite));
} }
/** Get Read Write. /** Get Read Write.
@return Field is read / write */ @return Field is read / write */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Image /** Generated Model for AD_Image
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Image extends PO public class X_AD_Image extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Image (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=461 */ /** AD_Table_ID=461 */
public static final int Table_ID=461; public static final int Table_ID=MTable.getTable_ID("AD_Image");
/** TableName=AD_Image */ /** TableName=AD_Image */
public static final String Table_Name="AD_Image"; public static final String Table_Name="AD_Image";
protected static KeyNamePair Model = new KeyNamePair(461,"AD_Image"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Image");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Image_ID (int AD_Image_ID) public void setAD_Image_ID (int AD_Image_ID)
{ {
if (AD_Image_ID < 1) throw new IllegalArgumentException ("AD_Image_ID is mandatory."); if (AD_Image_ID < 1) throw new IllegalArgumentException ("AD_Image_ID is mandatory.");
set_ValueNoCheck ("AD_Image_ID", new Integer(AD_Image_ID)); set_ValueNoCheck ("AD_Image_ID", Integer.valueOf(AD_Image_ID));
} }
/** Get Image. /** Get Image.
@return Image or Icon */ @return Image or Icon */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ImpFormat /** Generated Model for AD_ImpFormat
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ImpFormat extends PO public class X_AD_ImpFormat extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_ImpFormat (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=381 */ /** AD_Table_ID=381 */
public static final int Table_ID=381; public static final int Table_ID=MTable.getTable_ID("AD_ImpFormat");
/** TableName=AD_ImpFormat */ /** TableName=AD_ImpFormat */
public static final String Table_Name="AD_ImpFormat"; public static final String Table_Name="AD_ImpFormat";
protected static KeyNamePair Model = new KeyNamePair(381,"AD_ImpFormat"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ImpFormat");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_ImpFormat_ID (int AD_ImpFormat_ID) public void setAD_ImpFormat_ID (int AD_ImpFormat_ID)
{ {
if (AD_ImpFormat_ID < 1) throw new IllegalArgumentException ("AD_ImpFormat_ID is mandatory."); if (AD_ImpFormat_ID < 1) throw new IllegalArgumentException ("AD_ImpFormat_ID is mandatory.");
set_ValueNoCheck ("AD_ImpFormat_ID", new Integer(AD_ImpFormat_ID)); set_ValueNoCheck ("AD_ImpFormat_ID", Integer.valueOf(AD_ImpFormat_ID));
} }
/** Get Import Format. /** Get Import Format.
@return Import Format */ @return Import Format */
@ -109,7 +109,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -195,7 +195,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ImpFormat_Row /** Generated Model for AD_ImpFormat_Row
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ImpFormat_Row extends PO public class X_AD_ImpFormat_Row extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_ImpFormat_Row (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=382 */ /** AD_Table_ID=382 */
public static final int Table_ID=382; public static final int Table_ID=MTable.getTable_ID("AD_ImpFormat_Row");
/** TableName=AD_ImpFormat_Row */ /** TableName=AD_ImpFormat_Row */
public static final String Table_Name="AD_ImpFormat_Row"; public static final String Table_Name="AD_ImpFormat_Row";
protected static KeyNamePair Model = new KeyNamePair(382,"AD_ImpFormat_Row"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ImpFormat_Row");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -97,7 +97,7 @@ return sb.toString();
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -112,7 +112,7 @@ return ii.intValue();
public void setAD_ImpFormat_ID (int AD_ImpFormat_ID) public void setAD_ImpFormat_ID (int AD_ImpFormat_ID)
{ {
if (AD_ImpFormat_ID < 1) throw new IllegalArgumentException ("AD_ImpFormat_ID is mandatory."); if (AD_ImpFormat_ID < 1) throw new IllegalArgumentException ("AD_ImpFormat_ID is mandatory.");
set_ValueNoCheck ("AD_ImpFormat_ID", new Integer(AD_ImpFormat_ID)); set_ValueNoCheck ("AD_ImpFormat_ID", Integer.valueOf(AD_ImpFormat_ID));
} }
/** Get Import Format. /** Get Import Format.
@return Import Format */ @return Import Format */
@ -127,7 +127,7 @@ return ii.intValue();
public void setAD_ImpFormat_Row_ID (int AD_ImpFormat_Row_ID) public void setAD_ImpFormat_Row_ID (int AD_ImpFormat_Row_ID)
{ {
if (AD_ImpFormat_Row_ID < 1) throw new IllegalArgumentException ("AD_ImpFormat_Row_ID is mandatory."); if (AD_ImpFormat_Row_ID < 1) throw new IllegalArgumentException ("AD_ImpFormat_Row_ID is mandatory.");
set_ValueNoCheck ("AD_ImpFormat_Row_ID", new Integer(AD_ImpFormat_Row_ID)); set_ValueNoCheck ("AD_ImpFormat_Row_ID", Integer.valueOf(AD_ImpFormat_Row_ID));
} }
/** Get Format Field. /** Get Format Field.
@return Format Field */ @return Format Field */
@ -241,7 +241,7 @@ return (String)get_Value("DecimalPoint");
@param DivideBy100 Divide number by 100 to get correct amount */ @param DivideBy100 Divide number by 100 to get correct amount */
public void setDivideBy100 (boolean DivideBy100) public void setDivideBy100 (boolean DivideBy100)
{ {
set_Value ("DivideBy100", new Boolean(DivideBy100)); set_Value ("DivideBy100", Boolean.valueOf(DivideBy100));
} }
/** Get Divide by 100. /** Get Divide by 100.
@return Divide number by 100 to get correct amount */ @return Divide number by 100 to get correct amount */
@ -259,7 +259,7 @@ return false;
@param EndNo End No */ @param EndNo End No */
public void setEndNo (int EndNo) public void setEndNo (int EndNo)
{ {
set_Value ("EndNo", new Integer(EndNo)); set_Value ("EndNo", Integer.valueOf(EndNo));
} }
/** Get End No. /** Get End No.
@return End No */ @return End No */
@ -315,7 +315,7 @@ return (String)get_Value("Script");
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;
@ -330,7 +330,7 @@ return ii.intValue();
@param StartNo Starting number/position */ @param StartNo Starting number/position */
public void setStartNo (int StartNo) public void setStartNo (int StartNo)
{ {
set_Value ("StartNo", new Integer(StartNo)); set_Value ("StartNo", Integer.valueOf(StartNo));
} }
/** Get Start No. /** Get Start No.
@return Starting number/position */ @return Starting number/position */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_InfoColumn /** Generated Model for AD_InfoColumn
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_InfoColumn extends PO public class X_AD_InfoColumn extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -61,12 +61,12 @@ public X_AD_InfoColumn (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=897 */ /** AD_Table_ID=897 */
public static final int Table_ID=897; public static final int Table_ID=MTable.getTable_ID("AD_InfoColumn");
/** TableName=AD_InfoColumn */ /** TableName=AD_InfoColumn */
public static final String Table_Name="AD_InfoColumn"; public static final String Table_Name="AD_InfoColumn";
protected static KeyNamePair Model = new KeyNamePair(897,"AD_InfoColumn"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_InfoColumn");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -99,7 +99,7 @@ public void setAD_Element_ID (int AD_Element_ID)
{ {
if (AD_Element_ID <= 0) set_Value ("AD_Element_ID", null); if (AD_Element_ID <= 0) set_Value ("AD_Element_ID", null);
else else
set_Value ("AD_Element_ID", new Integer(AD_Element_ID)); set_Value ("AD_Element_ID", Integer.valueOf(AD_Element_ID));
} }
/** Get System Element. /** Get System Element.
@return System Element enables the central maintenance of column description and help. */ @return System Element enables the central maintenance of column description and help. */
@ -114,7 +114,7 @@ return ii.intValue();
public void setAD_InfoColumn_ID (int AD_InfoColumn_ID) public void setAD_InfoColumn_ID (int AD_InfoColumn_ID)
{ {
if (AD_InfoColumn_ID < 1) throw new IllegalArgumentException ("AD_InfoColumn_ID is mandatory."); if (AD_InfoColumn_ID < 1) throw new IllegalArgumentException ("AD_InfoColumn_ID is mandatory.");
set_ValueNoCheck ("AD_InfoColumn_ID", new Integer(AD_InfoColumn_ID)); set_ValueNoCheck ("AD_InfoColumn_ID", Integer.valueOf(AD_InfoColumn_ID));
} }
/** Get Info Column. /** Get Info Column.
@return Info Window Column */ @return Info Window Column */
@ -129,7 +129,7 @@ return ii.intValue();
public void setAD_InfoWindow_ID (int AD_InfoWindow_ID) public void setAD_InfoWindow_ID (int AD_InfoWindow_ID)
{ {
if (AD_InfoWindow_ID < 1) throw new IllegalArgumentException ("AD_InfoWindow_ID is mandatory."); if (AD_InfoWindow_ID < 1) throw new IllegalArgumentException ("AD_InfoWindow_ID is mandatory.");
set_ValueNoCheck ("AD_InfoWindow_ID", new Integer(AD_InfoWindow_ID)); set_ValueNoCheck ("AD_InfoWindow_ID", Integer.valueOf(AD_InfoWindow_ID));
} }
/** Get Info Window. /** Get Info Window.
@return Info and search/select Window */ @return Info and search/select Window */
@ -147,7 +147,7 @@ public static final int AD_REFERENCE_ID_AD_Reference_ID=1;
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */
@ -217,7 +217,7 @@ return (String)get_Value("Help");
@param IsDisplayed Determines, if this field is displayed */ @param IsDisplayed Determines, if this field is displayed */
public void setIsDisplayed (boolean IsDisplayed) public void setIsDisplayed (boolean IsDisplayed)
{ {
set_Value ("IsDisplayed", new Boolean(IsDisplayed)); set_Value ("IsDisplayed", Boolean.valueOf(IsDisplayed));
} }
/** Get Displayed. /** Get Displayed.
@return Determines, if this field is displayed */ @return Determines, if this field is displayed */
@ -235,7 +235,7 @@ return false;
@param IsQueryCriteria The column is also used as a query criteria */ @param IsQueryCriteria The column is also used as a query criteria */
public void setIsQueryCriteria (boolean IsQueryCriteria) public void setIsQueryCriteria (boolean IsQueryCriteria)
{ {
set_Value ("IsQueryCriteria", new Boolean(IsQueryCriteria)); set_Value ("IsQueryCriteria", Boolean.valueOf(IsQueryCriteria));
} }
/** Get Query Criteria. /** Get Query Criteria.
@return The column is also used as a query criteria */ @return The column is also used as a query criteria */
@ -296,7 +296,7 @@ return (String)get_Value("SelectClause");
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_InfoWindow /** Generated Model for AD_InfoWindow
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_InfoWindow extends PO public class X_AD_InfoWindow extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_InfoWindow (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=895 */ /** AD_Table_ID=895 */
public static final int Table_ID=895; public static final int Table_ID=MTable.getTable_ID("AD_InfoWindow");
/** TableName=AD_InfoWindow */ /** TableName=AD_InfoWindow */
public static final String Table_Name="AD_InfoWindow"; public static final String Table_Name="AD_InfoWindow";
protected static KeyNamePair Model = new KeyNamePair(895,"AD_InfoWindow"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_InfoWindow");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_InfoWindow_ID (int AD_InfoWindow_ID) public void setAD_InfoWindow_ID (int AD_InfoWindow_ID)
{ {
if (AD_InfoWindow_ID < 1) throw new IllegalArgumentException ("AD_InfoWindow_ID is mandatory."); if (AD_InfoWindow_ID < 1) throw new IllegalArgumentException ("AD_InfoWindow_ID is mandatory.");
set_ValueNoCheck ("AD_InfoWindow_ID", new Integer(AD_InfoWindow_ID)); set_ValueNoCheck ("AD_InfoWindow_ID", Integer.valueOf(AD_InfoWindow_ID));
} }
/** Get Info Window. /** Get Info Window.
@return Info and search/select Window */ @return Info and search/select Window */
@ -109,7 +109,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -238,7 +238,7 @@ return (String)get_Value("OtherClause");
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Issue /** Generated Model for AD_Issue
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Issue extends PO public class X_AD_Issue extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_Issue (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=828 */ /** AD_Table_ID=828 */
public static final int Table_ID=828; public static final int Table_ID=MTable.getTable_ID("AD_Issue");
/** TableName=AD_Issue */ /** TableName=AD_Issue */
public static final String Table_Name="AD_Issue"; public static final String Table_Name="AD_Issue";
protected static KeyNamePair Model = new KeyNamePair(828,"AD_Issue"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Issue");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -98,7 +98,7 @@ public void setAD_Form_ID (int AD_Form_ID)
{ {
if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null);
else else
set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID));
} }
/** Get Special Form. /** Get Special Form.
@return Special Form */ @return Special Form */
@ -113,7 +113,7 @@ return ii.intValue();
public void setAD_Issue_ID (int AD_Issue_ID) public void setAD_Issue_ID (int AD_Issue_ID)
{ {
if (AD_Issue_ID < 1) throw new IllegalArgumentException ("AD_Issue_ID is mandatory."); if (AD_Issue_ID < 1) throw new IllegalArgumentException ("AD_Issue_ID is mandatory.");
set_ValueNoCheck ("AD_Issue_ID", new Integer(AD_Issue_ID)); set_ValueNoCheck ("AD_Issue_ID", Integer.valueOf(AD_Issue_ID));
} }
/** Get System Issue. /** Get System Issue.
@return Automatically created or manually entered System Issue */ @return Automatically created or manually entered System Issue */
@ -129,7 +129,7 @@ public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -145,7 +145,7 @@ public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get Window.
@return Data entry or display window */ @return Data entry or display window */
@ -161,7 +161,7 @@ public void setA_Asset_ID (int A_Asset_ID)
{ {
if (A_Asset_ID <= 0) set_ValueNoCheck ("A_Asset_ID", null); if (A_Asset_ID <= 0) set_ValueNoCheck ("A_Asset_ID", null);
else else
set_ValueNoCheck ("A_Asset_ID", new Integer(A_Asset_ID)); set_ValueNoCheck ("A_Asset_ID", Integer.valueOf(A_Asset_ID));
} }
/** Get Asset. /** Get Asset.
@return Asset used internally or by customers */ @return Asset used internally or by customers */
@ -372,7 +372,7 @@ return (String)get_Value("JavaInfo");
@param LineNo Line No */ @param LineNo Line No */
public void setLineNo (int LineNo) public void setLineNo (int LineNo)
{ {
set_Value ("LineNo", new Integer(LineNo)); set_Value ("LineNo", Integer.valueOf(LineNo));
} }
/** Get Line. /** Get Line.
@return Line No */ @return Line No */
@ -455,7 +455,7 @@ return (String)get_Value("OperatingSystemInfo");
@param Processed The document has been processed */ @param Processed The document has been processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_ValueNoCheck ("Processed", new Boolean(Processed)); set_ValueNoCheck ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return The document has been processed */
@ -473,7 +473,7 @@ return false;
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -510,7 +510,7 @@ public void setR_IssueKnown_ID (int R_IssueKnown_ID)
{ {
if (R_IssueKnown_ID <= 0) set_Value ("R_IssueKnown_ID", null); if (R_IssueKnown_ID <= 0) set_Value ("R_IssueKnown_ID", null);
else else
set_Value ("R_IssueKnown_ID", new Integer(R_IssueKnown_ID)); set_Value ("R_IssueKnown_ID", Integer.valueOf(R_IssueKnown_ID));
} }
/** Get Known Issue. /** Get Known Issue.
@return Known Issue */ @return Known Issue */
@ -526,7 +526,7 @@ public void setR_IssueProject_ID (int R_IssueProject_ID)
{ {
if (R_IssueProject_ID <= 0) set_Value ("R_IssueProject_ID", null); if (R_IssueProject_ID <= 0) set_Value ("R_IssueProject_ID", null);
else else
set_Value ("R_IssueProject_ID", new Integer(R_IssueProject_ID)); set_Value ("R_IssueProject_ID", Integer.valueOf(R_IssueProject_ID));
} }
/** Get Issue Project. /** Get Issue Project.
@return Implementation Projects */ @return Implementation Projects */
@ -542,7 +542,7 @@ public void setR_IssueSystem_ID (int R_IssueSystem_ID)
{ {
if (R_IssueSystem_ID <= 0) set_Value ("R_IssueSystem_ID", null); if (R_IssueSystem_ID <= 0) set_Value ("R_IssueSystem_ID", null);
else else
set_Value ("R_IssueSystem_ID", new Integer(R_IssueSystem_ID)); set_Value ("R_IssueSystem_ID", Integer.valueOf(R_IssueSystem_ID));
} }
/** Get Issue System. /** Get Issue System.
@return System creating the issue */ @return System creating the issue */
@ -558,7 +558,7 @@ public void setR_IssueUser_ID (int R_IssueUser_ID)
{ {
if (R_IssueUser_ID <= 0) set_Value ("R_IssueUser_ID", null); if (R_IssueUser_ID <= 0) set_Value ("R_IssueUser_ID", null);
else else
set_Value ("R_IssueUser_ID", new Integer(R_IssueUser_ID)); set_Value ("R_IssueUser_ID", Integer.valueOf(R_IssueUser_ID));
} }
/** Get IssueUser. /** Get IssueUser.
@return User who reported issues */ @return User who reported issues */
@ -574,7 +574,7 @@ public void setR_Request_ID (int R_Request_ID)
{ {
if (R_Request_ID <= 0) set_ValueNoCheck ("R_Request_ID", null); if (R_Request_ID <= 0) set_ValueNoCheck ("R_Request_ID", null);
else else
set_ValueNoCheck ("R_Request_ID", new Integer(R_Request_ID)); set_ValueNoCheck ("R_Request_ID", Integer.valueOf(R_Request_ID));
} }
/** Get Request. /** Get Request.
@return Request from a Business Partner or Prospect */ @return Request from a Business Partner or Prospect */
@ -590,7 +590,7 @@ public void setRecord_ID (int Record_ID)
{ {
if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null); if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null);
else else
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */
@ -670,7 +670,7 @@ public String getRemote_Host()
return (String)get_Value("Remote_Host"); return (String)get_Value("Remote_Host");
} }
/** Set Request Document No. /** Set Request Document No.
@param RequestDocumentNo Compiere Request Document No */ @param RequestDocumentNo Adempiere Request Document No */
public void setRequestDocumentNo (String RequestDocumentNo) public void setRequestDocumentNo (String RequestDocumentNo)
{ {
if (RequestDocumentNo != null && RequestDocumentNo.length() > 30) if (RequestDocumentNo != null && RequestDocumentNo.length() > 30)
@ -681,7 +681,7 @@ RequestDocumentNo = RequestDocumentNo.substring(0,29);
set_ValueNoCheck ("RequestDocumentNo", RequestDocumentNo); set_ValueNoCheck ("RequestDocumentNo", RequestDocumentNo);
} }
/** Get Request Document No. /** Get Request Document No.
@return Compiere Request Document No */ @return Adempiere Request Document No */
public String getRequestDocumentNo() public String getRequestDocumentNo()
{ {
return (String)get_Value("RequestDocumentNo"); return (String)get_Value("RequestDocumentNo");

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_LabelPrinter /** Generated Model for AD_LabelPrinter
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_LabelPrinter extends PO public class X_AD_LabelPrinter extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_LabelPrinter (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=626 */ /** AD_Table_ID=626 */
public static final int Table_ID=626; public static final int Table_ID=MTable.getTable_ID("AD_LabelPrinter");
/** TableName=AD_LabelPrinter */ /** TableName=AD_LabelPrinter */
public static final String Table_Name="AD_LabelPrinter"; public static final String Table_Name="AD_LabelPrinter";
protected static KeyNamePair Model = new KeyNamePair(626,"AD_LabelPrinter"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_LabelPrinter");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID) public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID)
{ {
if (AD_LabelPrinter_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinter_ID is mandatory."); if (AD_LabelPrinter_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinter_ID is mandatory.");
set_ValueNoCheck ("AD_LabelPrinter_ID", new Integer(AD_LabelPrinter_ID)); set_ValueNoCheck ("AD_LabelPrinter_ID", Integer.valueOf(AD_LabelPrinter_ID));
} }
/** Get Label printer. /** Get Label printer.
@return Label Printer Definition */ @return Label Printer Definition */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_LabelPrinterFunction /** Generated Model for AD_LabelPrinterFunction
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_LabelPrinterFunction extends PO public class X_AD_LabelPrinterFunction extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_LabelPrinterFunction (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=624 */ /** AD_Table_ID=624 */
public static final int Table_ID=624; public static final int Table_ID=MTable.getTable_ID("AD_LabelPrinterFunction");
/** TableName=AD_LabelPrinterFunction */ /** TableName=AD_LabelPrinterFunction */
public static final String Table_Name="AD_LabelPrinterFunction"; public static final String Table_Name="AD_LabelPrinterFunction";
protected static KeyNamePair Model = new KeyNamePair(624,"AD_LabelPrinterFunction"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_LabelPrinterFunction");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_LabelPrinterFunction_ID (int AD_LabelPrinterFunction_ID) public void setAD_LabelPrinterFunction_ID (int AD_LabelPrinterFunction_ID)
{ {
if (AD_LabelPrinterFunction_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinterFunction_ID is mandatory."); if (AD_LabelPrinterFunction_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinterFunction_ID is mandatory.");
set_ValueNoCheck ("AD_LabelPrinterFunction_ID", new Integer(AD_LabelPrinterFunction_ID)); set_ValueNoCheck ("AD_LabelPrinterFunction_ID", Integer.valueOf(AD_LabelPrinterFunction_ID));
} }
/** Get Label printer Function. /** Get Label printer Function.
@return Function of Label Printer */ @return Function of Label Printer */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID) public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID)
{ {
if (AD_LabelPrinter_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinter_ID is mandatory."); if (AD_LabelPrinter_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinter_ID is mandatory.");
set_ValueNoCheck ("AD_LabelPrinter_ID", new Integer(AD_LabelPrinter_ID)); set_ValueNoCheck ("AD_LabelPrinter_ID", Integer.valueOf(AD_LabelPrinter_ID));
} }
/** Get Label printer. /** Get Label printer.
@return Label Printer Definition */ @return Label Printer Definition */
@ -173,7 +173,7 @@ return (String)get_Value("FunctionSuffix");
@param IsXYPosition The Function is XY position */ @param IsXYPosition The Function is XY position */
public void setIsXYPosition (boolean IsXYPosition) public void setIsXYPosition (boolean IsXYPosition)
{ {
set_Value ("IsXYPosition", new Boolean(IsXYPosition)); set_Value ("IsXYPosition", Boolean.valueOf(IsXYPosition));
} }
/** Get XY Position. /** Get XY Position.
@return The Function is XY position */ @return The Function is XY position */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Language /** Generated Model for AD_Language
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Language extends PO public class X_AD_Language extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_Language (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=111 */ /** AD_Table_ID=111 */
public static final int Table_ID=111; public static final int Table_ID=MTable.getTable_ID("AD_Language");
/** TableName=AD_Language */ /** TableName=AD_Language */
public static final String Table_Name="AD_Language"; public static final String Table_Name="AD_Language";
protected static KeyNamePair Model = new KeyNamePair(111,"AD_Language"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Language");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -113,7 +113,7 @@ return (String)get_Value("AD_Language");
public void setAD_Language_ID (int AD_Language_ID) public void setAD_Language_ID (int AD_Language_ID)
{ {
if (AD_Language_ID < 1) throw new IllegalArgumentException ("AD_Language_ID is mandatory."); if (AD_Language_ID < 1) throw new IllegalArgumentException ("AD_Language_ID is mandatory.");
set_ValueNoCheck ("AD_Language_ID", new Integer(AD_Language_ID)); set_ValueNoCheck ("AD_Language_ID", Integer.valueOf(AD_Language_ID));
} }
/** Get Language ID. /** Get Language ID.
@return Language ID */ @return Language ID */
@ -161,7 +161,7 @@ return (String)get_Value("DatePattern");
@param IsBaseLanguage The system information is maintained in this language */ @param IsBaseLanguage The system information is maintained in this language */
public void setIsBaseLanguage (boolean IsBaseLanguage) public void setIsBaseLanguage (boolean IsBaseLanguage)
{ {
set_ValueNoCheck ("IsBaseLanguage", new Boolean(IsBaseLanguage)); set_ValueNoCheck ("IsBaseLanguage", Boolean.valueOf(IsBaseLanguage));
} }
/** Get Base Language. /** Get Base Language.
@return The system information is maintained in this language */ @return The system information is maintained in this language */
@ -179,7 +179,7 @@ return false;
@param IsDecimalPoint The number notation has a decimal point (no decimal comma) */ @param IsDecimalPoint The number notation has a decimal point (no decimal comma) */
public void setIsDecimalPoint (boolean IsDecimalPoint) public void setIsDecimalPoint (boolean IsDecimalPoint)
{ {
set_Value ("IsDecimalPoint", new Boolean(IsDecimalPoint)); set_Value ("IsDecimalPoint", Boolean.valueOf(IsDecimalPoint));
} }
/** Get Decimal Point. /** Get Decimal Point.
@return The number notation has a decimal point (no decimal comma) */ @return The number notation has a decimal point (no decimal comma) */
@ -197,7 +197,7 @@ return false;
@param IsSystemLanguage The screens, etc. are maintained in this Language */ @param IsSystemLanguage The screens, etc. are maintained in this Language */
public void setIsSystemLanguage (boolean IsSystemLanguage) public void setIsSystemLanguage (boolean IsSystemLanguage)
{ {
set_Value ("IsSystemLanguage", new Boolean(IsSystemLanguage)); set_Value ("IsSystemLanguage", Boolean.valueOf(IsSystemLanguage));
} }
/** Get System Language. /** Get System Language.
@return The screens, etc. are maintained in this Language */ @return The screens, etc. are maintained in this Language */
@ -256,7 +256,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_LdapAccess /** Generated Model for AD_LdapAccess
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_LdapAccess extends PO public class X_AD_LdapAccess extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_LdapAccess (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=904 */ /** AD_Table_ID=904 */
public static final int Table_ID=904; public static final int Table_ID=MTable.getTable_ID("AD_LdapAccess");
/** TableName=AD_LdapAccess */ /** TableName=AD_LdapAccess */
public static final String Table_Name="AD_LdapAccess"; public static final String Table_Name="AD_LdapAccess";
protected static KeyNamePair Model = new KeyNamePair(904,"AD_LdapAccess"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_LdapAccess");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_LdapAccess_ID (int AD_LdapAccess_ID) public void setAD_LdapAccess_ID (int AD_LdapAccess_ID)
{ {
if (AD_LdapAccess_ID < 1) throw new IllegalArgumentException ("AD_LdapAccess_ID is mandatory."); if (AD_LdapAccess_ID < 1) throw new IllegalArgumentException ("AD_LdapAccess_ID is mandatory.");
set_ValueNoCheck ("AD_LdapAccess_ID", new Integer(AD_LdapAccess_ID)); set_ValueNoCheck ("AD_LdapAccess_ID", Integer.valueOf(AD_LdapAccess_ID));
} }
/** Get Ldap Access. /** Get Ldap Access.
@return Ldap Access Log */ @return Ldap Access Log */
@ -103,14 +103,14 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Ldap Processor. /** Set Ldap Processor.
@param AD_LdapProcessor_ID LDAP Server to authenticate and authorize external systems based on Compiere */ @param AD_LdapProcessor_ID LDAP Server to authenticate and authorize external systems based on Adempiere */
public void setAD_LdapProcessor_ID (int AD_LdapProcessor_ID) public void setAD_LdapProcessor_ID (int AD_LdapProcessor_ID)
{ {
if (AD_LdapProcessor_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessor_ID is mandatory."); if (AD_LdapProcessor_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessor_ID is mandatory.");
set_ValueNoCheck ("AD_LdapProcessor_ID", new Integer(AD_LdapProcessor_ID)); set_ValueNoCheck ("AD_LdapProcessor_ID", Integer.valueOf(AD_LdapProcessor_ID));
} }
/** Get Ldap Processor. /** Get Ldap Processor.
@return LDAP Server to authenticate and authorize external systems based on Compiere */ @return LDAP Server to authenticate and authorize external systems based on Adempiere */
public int getAD_LdapProcessor_ID() public int getAD_LdapProcessor_ID()
{ {
Integer ii = (Integer)get_Value("AD_LdapProcessor_ID"); Integer ii = (Integer)get_Value("AD_LdapProcessor_ID");
@ -123,7 +123,7 @@ public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID <= 0) set_ValueNoCheck ("AD_User_ID", null); if (AD_User_ID <= 0) set_ValueNoCheck ("AD_User_ID", null);
else else
set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */
@ -160,7 +160,7 @@ return (String)get_Value("Description");
@param IsError An Error occured in the execution */ @param IsError An Error occured in the execution */
public void setIsError (boolean IsError) public void setIsError (boolean IsError)
{ {
set_ValueNoCheck ("IsError", new Boolean(IsError)); set_ValueNoCheck ("IsError", Boolean.valueOf(IsError));
} }
/** Get Error. /** Get Error.
@return An Error occured in the execution */ @return An Error occured in the execution */
@ -180,7 +180,7 @@ public void setR_InterestArea_ID (int R_InterestArea_ID)
{ {
if (R_InterestArea_ID <= 0) set_ValueNoCheck ("R_InterestArea_ID", null); if (R_InterestArea_ID <= 0) set_ValueNoCheck ("R_InterestArea_ID", null);
else else
set_ValueNoCheck ("R_InterestArea_ID", new Integer(R_InterestArea_ID)); set_ValueNoCheck ("R_InterestArea_ID", Integer.valueOf(R_InterestArea_ID));
} }
/** Get Interest Area. /** Get Interest Area.
@return Interest Area or Topic */ @return Interest Area or Topic */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_LdapProcessor /** Generated Model for AD_LdapProcessor
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_LdapProcessor extends PO public class X_AD_LdapProcessor extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_LdapProcessor (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=902 */ /** AD_Table_ID=902 */
public static final int Table_ID=902; public static final int Table_ID=MTable.getTable_ID("AD_LdapProcessor");
/** TableName=AD_LdapProcessor */ /** TableName=AD_LdapProcessor */
public static final String Table_Name="AD_LdapProcessor"; public static final String Table_Name="AD_LdapProcessor";
protected static KeyNamePair Model = new KeyNamePair(902,"AD_LdapProcessor"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_LdapProcessor");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -90,14 +90,14 @@ StringBuffer sb = new StringBuffer ("X_AD_LdapProcessor[").append(get_ID()).appe
return sb.toString(); return sb.toString();
} }
/** Set Ldap Processor. /** Set Ldap Processor.
@param AD_LdapProcessor_ID LDAP Server to authenticate and authorize external systems based on Compiere */ @param AD_LdapProcessor_ID LDAP Server to authenticate and authorize external systems based on Adempiere */
public void setAD_LdapProcessor_ID (int AD_LdapProcessor_ID) public void setAD_LdapProcessor_ID (int AD_LdapProcessor_ID)
{ {
if (AD_LdapProcessor_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessor_ID is mandatory."); if (AD_LdapProcessor_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessor_ID is mandatory.");
set_ValueNoCheck ("AD_LdapProcessor_ID", new Integer(AD_LdapProcessor_ID)); set_ValueNoCheck ("AD_LdapProcessor_ID", Integer.valueOf(AD_LdapProcessor_ID));
} }
/** Get Ldap Processor. /** Get Ldap Processor.
@return LDAP Server to authenticate and authorize external systems based on Compiere */ @return LDAP Server to authenticate and authorize external systems based on Adempiere */
public int getAD_LdapProcessor_ID() public int getAD_LdapProcessor_ID()
{ {
Integer ii = (Integer)get_Value("AD_LdapProcessor_ID"); Integer ii = (Integer)get_Value("AD_LdapProcessor_ID");
@ -149,7 +149,7 @@ return (String)get_Value("Description");
@param KeepLogDays Number of days to keep the log entries */ @param KeepLogDays Number of days to keep the log entries */
public void setKeepLogDays (int KeepLogDays) public void setKeepLogDays (int KeepLogDays)
{ {
set_Value ("KeepLogDays", new Integer(KeepLogDays)); set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays));
} }
/** Get Days to keep Log. /** Get Days to keep Log.
@return Number of days to keep the log entries */ @return Number of days to keep the log entries */
@ -163,7 +163,7 @@ return ii.intValue();
@param LdapPort The port the server is listening */ @param LdapPort The port the server is listening */
public void setLdapPort (int LdapPort) public void setLdapPort (int LdapPort)
{ {
set_Value ("LdapPort", new Integer(LdapPort)); set_Value ("LdapPort", Integer.valueOf(LdapPort));
} }
/** Get Ldap Port. /** Get Ldap Port.
@return The port the server is listening */ @return The port the server is listening */
@ -201,7 +201,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -223,7 +223,7 @@ public static final int SUPERVISOR_ID_AD_Reference_ID=110;
public void setSupervisor_ID (int Supervisor_ID) public void setSupervisor_ID (int Supervisor_ID)
{ {
if (Supervisor_ID < 1) throw new IllegalArgumentException ("Supervisor_ID is mandatory."); if (Supervisor_ID < 1) throw new IllegalArgumentException ("Supervisor_ID is mandatory.");
set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID));
} }
/** Get Supervisor. /** Get Supervisor.
@return Supervisor for this user/organization - used for escalation and approval */ @return Supervisor for this user/organization - used for escalation and approval */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_LdapProcessorLog /** Generated Model for AD_LdapProcessorLog
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_LdapProcessorLog extends PO public class X_AD_LdapProcessorLog extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_LdapProcessorLog (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=903 */ /** AD_Table_ID=903 */
public static final int Table_ID=903; public static final int Table_ID=MTable.getTable_ID("AD_LdapProcessorLog");
/** TableName=AD_LdapProcessorLog */ /** TableName=AD_LdapProcessorLog */
public static final String Table_Name="AD_LdapProcessorLog"; public static final String Table_Name="AD_LdapProcessorLog";
protected static KeyNamePair Model = new KeyNamePair(903,"AD_LdapProcessorLog"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_LdapProcessorLog");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID) public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID)
{ {
if (AD_LdapProcessorLog_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessorLog_ID is mandatory."); if (AD_LdapProcessorLog_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessorLog_ID is mandatory.");
set_ValueNoCheck ("AD_LdapProcessorLog_ID", new Integer(AD_LdapProcessorLog_ID)); set_ValueNoCheck ("AD_LdapProcessorLog_ID", Integer.valueOf(AD_LdapProcessorLog_ID));
} }
/** Get Ldap Processor Log. /** Get Ldap Processor Log.
@return LDAP Server Log */ @return LDAP Server Log */
@ -103,14 +103,14 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Ldap Processor. /** Set Ldap Processor.
@param AD_LdapProcessor_ID LDAP Server to authenticate and authorize external systems based on Compiere */ @param AD_LdapProcessor_ID LDAP Server to authenticate and authorize external systems based on Adempiere */
public void setAD_LdapProcessor_ID (int AD_LdapProcessor_ID) public void setAD_LdapProcessor_ID (int AD_LdapProcessor_ID)
{ {
if (AD_LdapProcessor_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessor_ID is mandatory."); if (AD_LdapProcessor_ID < 1) throw new IllegalArgumentException ("AD_LdapProcessor_ID is mandatory.");
set_ValueNoCheck ("AD_LdapProcessor_ID", new Integer(AD_LdapProcessor_ID)); set_ValueNoCheck ("AD_LdapProcessor_ID", Integer.valueOf(AD_LdapProcessor_ID));
} }
/** Get Ldap Processor. /** Get Ldap Processor.
@return LDAP Server to authenticate and authorize external systems based on Compiere */ @return LDAP Server to authenticate and authorize external systems based on Adempiere */
public int getAD_LdapProcessor_ID() public int getAD_LdapProcessor_ID()
{ {
Integer ii = (Integer)get_Value("AD_LdapProcessor_ID"); Integer ii = (Integer)get_Value("AD_LdapProcessor_ID");
@ -150,7 +150,7 @@ return (String)get_Value("Description");
@param IsError An Error occured in the execution */ @param IsError An Error occured in the execution */
public void setIsError (boolean IsError) public void setIsError (boolean IsError)
{ {
set_Value ("IsError", new Boolean(IsError)); set_Value ("IsError", Boolean.valueOf(IsError));
} }
/** Get Error. /** Get Error.
@return An Error occured in the execution */ @return An Error occured in the execution */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Menu /** Generated Model for AD_Menu
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Menu extends PO public class X_AD_Menu extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_Menu (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=116 */ /** AD_Table_ID=116 */
public static final int Table_ID=116; public static final int Table_ID=MTable.getTable_ID("AD_Menu");
/** TableName=AD_Menu */ /** TableName=AD_Menu */
public static final String Table_Name="AD_Menu"; public static final String Table_Name="AD_Menu";
protected static KeyNamePair Model = new KeyNamePair(116,"AD_Menu"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Menu");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -96,7 +96,7 @@ public void setAD_Form_ID (int AD_Form_ID)
{ {
if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null);
else else
set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID));
} }
/** Get Special Form. /** Get Special Form.
@return Special Form */ @return Special Form */
@ -111,7 +111,7 @@ return ii.intValue();
public void setAD_Menu_ID (int AD_Menu_ID) public void setAD_Menu_ID (int AD_Menu_ID)
{ {
if (AD_Menu_ID < 1) throw new IllegalArgumentException ("AD_Menu_ID is mandatory."); if (AD_Menu_ID < 1) throw new IllegalArgumentException ("AD_Menu_ID is mandatory.");
set_ValueNoCheck ("AD_Menu_ID", new Integer(AD_Menu_ID)); set_ValueNoCheck ("AD_Menu_ID", Integer.valueOf(AD_Menu_ID));
} }
/** Get Menu. /** Get Menu.
@return Identifies a Menu */ @return Identifies a Menu */
@ -127,7 +127,7 @@ public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -143,7 +143,7 @@ public void setAD_Task_ID (int AD_Task_ID)
{ {
if (AD_Task_ID <= 0) set_Value ("AD_Task_ID", null); if (AD_Task_ID <= 0) set_Value ("AD_Task_ID", null);
else else
set_Value ("AD_Task_ID", new Integer(AD_Task_ID)); set_Value ("AD_Task_ID", Integer.valueOf(AD_Task_ID));
} }
/** Get OS Task. /** Get OS Task.
@return Operation System Task */ @return Operation System Task */
@ -159,7 +159,7 @@ public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get Window.
@return Data entry or display window */ @return Data entry or display window */
@ -175,7 +175,7 @@ public void setAD_Workbench_ID (int AD_Workbench_ID)
{ {
if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null); if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null);
else else
set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID));
} }
/** Get Workbench. /** Get Workbench.
@return Collection of windows, reports */ @return Collection of windows, reports */
@ -191,7 +191,7 @@ public void setAD_Workflow_ID (int AD_Workflow_ID)
{ {
if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null); if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null);
else else
set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID));
} }
/** Get Workflow. /** Get Workflow.
@return Workflow or combination of tasks */ @return Workflow or combination of tasks */
@ -280,7 +280,7 @@ return (String)get_Value("EntityType");
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */
@ -298,7 +298,7 @@ return false;
@param IsSOTrx This is a Sales Transaction */ @param IsSOTrx This is a Sales Transaction */
public void setIsSOTrx (boolean IsSOTrx) public void setIsSOTrx (boolean IsSOTrx)
{ {
set_Value ("IsSOTrx", new Boolean(IsSOTrx)); set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx));
} }
/** Get Sales Transaction. /** Get Sales Transaction.
@return This is a Sales Transaction */ @return This is a Sales Transaction */
@ -316,7 +316,7 @@ return false;
@param IsSummary This is a summary entity */ @param IsSummary This is a summary entity */
public void setIsSummary (boolean IsSummary) public void setIsSummary (boolean IsSummary)
{ {
set_Value ("IsSummary", new Boolean(IsSummary)); set_Value ("IsSummary", Boolean.valueOf(IsSummary));
} }
/** Get Summary Level. /** Get Summary Level.
@return This is a summary entity */ @return This is a summary entity */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Message /** Generated Model for AD_Message
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Message extends PO public class X_AD_Message extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_Message (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=109 */ /** AD_Table_ID=109 */
public static final int Table_ID=109; public static final int Table_ID=MTable.getTable_ID("AD_Message");
/** TableName=AD_Message */ /** TableName=AD_Message */
public static final String Table_Name="AD_Message"; public static final String Table_Name="AD_Message";
protected static KeyNamePair Model = new KeyNamePair(109,"AD_Message"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Message");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_Message_ID (int AD_Message_ID) public void setAD_Message_ID (int AD_Message_ID)
{ {
if (AD_Message_ID < 1) throw new IllegalArgumentException ("AD_Message_ID is mandatory."); if (AD_Message_ID < 1) throw new IllegalArgumentException ("AD_Message_ID is mandatory.");
set_ValueNoCheck ("AD_Message_ID", new Integer(AD_Message_ID)); set_ValueNoCheck ("AD_Message_ID", Integer.valueOf(AD_Message_ID));
} }
/** Get Message. /** Get Message.
@return System Message */ @return System Message */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Modification /** Generated Model for AD_Modification
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Modification extends PO public class X_AD_Modification extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Modification (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=883 */ /** AD_Table_ID=883 */
public static final int Table_ID=883; public static final int Table_ID=MTable.getTable_ID("AD_Modification");
/** TableName=AD_Modification */ /** TableName=AD_Modification */
public static final String Table_Name="AD_Modification"; public static final String Table_Name="AD_Modification";
protected static KeyNamePair Model = new KeyNamePair(883,"AD_Modification"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Modification");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Modification_ID (int AD_Modification_ID) public void setAD_Modification_ID (int AD_Modification_ID)
{ {
if (AD_Modification_ID < 1) throw new IllegalArgumentException ("AD_Modification_ID is mandatory."); if (AD_Modification_ID < 1) throw new IllegalArgumentException ("AD_Modification_ID is mandatory.");
set_ValueNoCheck ("AD_Modification_ID", new Integer(AD_Modification_ID)); set_ValueNoCheck ("AD_Modification_ID", Integer.valueOf(AD_Modification_ID));
} }
/** Get Modification. /** Get Modification.
@return System Modification or Extension */ @return System Modification or Extension */
@ -188,7 +188,7 @@ return new KeyNamePair(get_ID(), getName());
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Note /** Generated Model for AD_Note
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Note extends PO public class X_AD_Note extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Note (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=389 */ /** AD_Table_ID=389 */
public static final int Table_ID=389; public static final int Table_ID=MTable.getTable_ID("AD_Note");
/** TableName=AD_Note */ /** TableName=AD_Note */
public static final String Table_Name="AD_Note"; public static final String Table_Name="AD_Note";
protected static KeyNamePair Model = new KeyNamePair(389,"AD_Note"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Note");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ public static final int AD_MESSAGE_ID_AD_Reference_ID=102;
public void setAD_Message_ID (int AD_Message_ID) public void setAD_Message_ID (int AD_Message_ID)
{ {
if (AD_Message_ID < 1) throw new IllegalArgumentException ("AD_Message_ID is mandatory."); if (AD_Message_ID < 1) throw new IllegalArgumentException ("AD_Message_ID is mandatory.");
set_ValueNoCheck ("AD_Message_ID", new Integer(AD_Message_ID)); set_ValueNoCheck ("AD_Message_ID", Integer.valueOf(AD_Message_ID));
} }
/** Get Message. /** Get Message.
@return System Message */ @return System Message */
@ -115,7 +115,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Message_ID()));
public void setAD_Note_ID (int AD_Note_ID) public void setAD_Note_ID (int AD_Note_ID)
{ {
if (AD_Note_ID < 1) throw new IllegalArgumentException ("AD_Note_ID is mandatory."); if (AD_Note_ID < 1) throw new IllegalArgumentException ("AD_Note_ID is mandatory.");
set_ValueNoCheck ("AD_Note_ID", new Integer(AD_Note_ID)); set_ValueNoCheck ("AD_Note_ID", Integer.valueOf(AD_Note_ID));
} }
/** Get Notice. /** Get Notice.
@return System Notice */ @return System Notice */
@ -131,7 +131,7 @@ public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_ValueNoCheck ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_ValueNoCheck ("AD_Table_ID", null);
else else
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -147,7 +147,7 @@ public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); if (AD_User_ID <= 0) set_Value ("AD_User_ID", null);
else else
set_Value ("AD_User_ID", new Integer(AD_User_ID)); set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */
@ -163,7 +163,7 @@ public void setAD_WF_Activity_ID (int AD_WF_Activity_ID)
{ {
if (AD_WF_Activity_ID <= 0) set_Value ("AD_WF_Activity_ID", null); if (AD_WF_Activity_ID <= 0) set_Value ("AD_WF_Activity_ID", null);
else else
set_Value ("AD_WF_Activity_ID", new Integer(AD_WF_Activity_ID)); set_Value ("AD_WF_Activity_ID", Integer.valueOf(AD_WF_Activity_ID));
} }
/** Get Workflow Activity. /** Get Workflow Activity.
@return Workflow Activity */ @return Workflow Activity */
@ -194,7 +194,7 @@ return (String)get_Value("Description");
@param Processed The document has been processed */ @param Processed The document has been processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_Value ("Processed", new Boolean(Processed)); set_Value ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return The document has been processed */
@ -212,7 +212,7 @@ return false;
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -232,7 +232,7 @@ public void setRecord_ID (int Record_ID)
{ {
if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null); if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null);
else else
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Org /** Generated Model for AD_Org
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Org extends PO public class X_AD_Org extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Org (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=155 */ /** AD_Table_ID=155 */
public static final int Table_ID=155; public static final int Table_ID=MTable.getTable_ID("AD_Org");
/** TableName=AD_Org */ /** TableName=AD_Org */
public static final String Table_Name="AD_Org"; public static final String Table_Name="AD_Org";
protected static KeyNamePair Model = new KeyNamePair(155,"AD_Org"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Org");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -108,7 +108,7 @@ return (String)get_Value("Description");
@param IsSummary This is a summary entity */ @param IsSummary This is a summary entity */
public void setIsSummary (boolean IsSummary) public void setIsSummary (boolean IsSummary)
{ {
set_Value ("IsSummary", new Boolean(IsSummary)); set_Value ("IsSummary", Boolean.valueOf(IsSummary));
} }
/** Get Summary Level. /** Get Summary Level.
@return This is a summary entity */ @return This is a summary entity */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_OrgInfo /** Generated Model for AD_OrgInfo
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_OrgInfo extends PO public class X_AD_OrgInfo extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_OrgInfo (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=228 */ /** AD_Table_ID=228 */
public static final int Table_ID=228; public static final int Table_ID=MTable.getTable_ID("AD_OrgInfo");
/** TableName=AD_OrgInfo */ /** TableName=AD_OrgInfo */
public static final String Table_Name="AD_OrgInfo"; public static final String Table_Name="AD_OrgInfo";
protected static KeyNamePair Model = new KeyNamePair(228,"AD_OrgInfo"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_OrgInfo");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ public void setAD_OrgType_ID (int AD_OrgType_ID)
{ {
if (AD_OrgType_ID <= 0) set_Value ("AD_OrgType_ID", null); if (AD_OrgType_ID <= 0) set_Value ("AD_OrgType_ID", null);
else else
set_Value ("AD_OrgType_ID", new Integer(AD_OrgType_ID)); set_Value ("AD_OrgType_ID", Integer.valueOf(AD_OrgType_ID));
} }
/** Get Organization Type. /** Get Organization Type.
@return Organization Type allows you to categorize your organizations */ @return Organization Type allows you to categorize your organizations */
@ -108,7 +108,7 @@ public void setC_Location_ID (int C_Location_ID)
{ {
if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); if (C_Location_ID <= 0) set_Value ("C_Location_ID", null);
else else
set_Value ("C_Location_ID", new Integer(C_Location_ID)); set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID));
} }
/** Get Address. /** Get Address.
@return Location or Address */ @return Location or Address */
@ -142,7 +142,7 @@ public void setM_Warehouse_ID (int M_Warehouse_ID)
{ {
if (M_Warehouse_ID <= 0) set_Value ("M_Warehouse_ID", null); if (M_Warehouse_ID <= 0) set_Value ("M_Warehouse_ID", null);
else else
set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID));
} }
/** Get Warehouse. /** Get Warehouse.
@return Storage Warehouse and Service Point */ @return Storage Warehouse and Service Point */
@ -161,7 +161,7 @@ public void setParent_Org_ID (int Parent_Org_ID)
{ {
if (Parent_Org_ID <= 0) set_Value ("Parent_Org_ID", null); if (Parent_Org_ID <= 0) set_Value ("Parent_Org_ID", null);
else else
set_Value ("Parent_Org_ID", new Integer(Parent_Org_ID)); set_Value ("Parent_Org_ID", Integer.valueOf(Parent_Org_ID));
} }
/** Get Parent Organization. /** Get Parent Organization.
@return Parent (superior) Organization */ @return Parent (superior) Organization */
@ -180,7 +180,7 @@ public void setSupervisor_ID (int Supervisor_ID)
{ {
if (Supervisor_ID <= 0) set_Value ("Supervisor_ID", null); if (Supervisor_ID <= 0) set_Value ("Supervisor_ID", null);
else else
set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID));
} }
/** Get Supervisor. /** Get Supervisor.
@return Supervisor for this user/organization - used for escalation and approval */ @return Supervisor for this user/organization - used for escalation and approval */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_OrgType /** Generated Model for AD_OrgType
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_OrgType extends PO public class X_AD_OrgType extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_OrgType (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=689 */ /** AD_Table_ID=689 */
public static final int Table_ID=689; public static final int Table_ID=MTable.getTable_ID("AD_OrgType");
/** TableName=AD_OrgType */ /** TableName=AD_OrgType */
public static final String Table_Name="AD_OrgType"; public static final String Table_Name="AD_OrgType";
protected static KeyNamePair Model = new KeyNamePair(689,"AD_OrgType"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_OrgType");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_OrgType_ID (int AD_OrgType_ID) public void setAD_OrgType_ID (int AD_OrgType_ID)
{ {
if (AD_OrgType_ID < 1) throw new IllegalArgumentException ("AD_OrgType_ID is mandatory."); if (AD_OrgType_ID < 1) throw new IllegalArgumentException ("AD_OrgType_ID is mandatory.");
set_ValueNoCheck ("AD_OrgType_ID", new Integer(AD_OrgType_ID)); set_ValueNoCheck ("AD_OrgType_ID", Integer.valueOf(AD_OrgType_ID));
} }
/** Get Organization Type. /** Get Organization Type.
@return Organization Type allows you to categorize your organizations */ @return Organization Type allows you to categorize your organizations */
@ -107,7 +107,7 @@ public void setAD_PrintColor_ID (int AD_PrintColor_ID)
{ {
if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null); if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null);
else else
set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID));
} }
/** Get Print Color. /** Get Print Color.
@return Color used for printing and display */ @return Color used for printing and display */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PInstance /** Generated Model for AD_PInstance
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PInstance extends PO public class X_AD_PInstance extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_PInstance (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=282 */ /** AD_Table_ID=282 */
public static final int Table_ID=282; public static final int Table_ID=MTable.getTable_ID("AD_PInstance");
/** TableName=AD_PInstance */ /** TableName=AD_PInstance */
public static final String Table_Name="AD_PInstance"; public static final String Table_Name="AD_PInstance";
protected static KeyNamePair Model = new KeyNamePair(282,"AD_PInstance"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PInstance");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_PInstance_ID (int AD_PInstance_ID) public void setAD_PInstance_ID (int AD_PInstance_ID)
{ {
if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory."); if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory.");
set_ValueNoCheck ("AD_PInstance_ID", new Integer(AD_PInstance_ID)); set_ValueNoCheck ("AD_PInstance_ID", Integer.valueOf(AD_PInstance_ID));
} }
/** Get Process Instance. /** Get Process Instance.
@return Instance of the process */ @return Instance of the process */
@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_PInstance_ID()));
public void setAD_Process_ID (int AD_Process_ID) public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory."); if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory.");
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -130,7 +130,7 @@ public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); if (AD_User_ID <= 0) set_Value ("AD_User_ID", null);
else else
set_Value ("AD_User_ID", new Integer(AD_User_ID)); set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */
@ -161,7 +161,7 @@ return (String)get_Value("ErrorMsg");
@param IsProcessing Processing */ @param IsProcessing Processing */
public void setIsProcessing (boolean IsProcessing) public void setIsProcessing (boolean IsProcessing)
{ {
set_Value ("IsProcessing", new Boolean(IsProcessing)); set_Value ("IsProcessing", Boolean.valueOf(IsProcessing));
} }
/** Get Processing. /** Get Processing.
@return Processing */ @return Processing */
@ -180,7 +180,7 @@ return false;
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */
@ -194,7 +194,7 @@ return ii.intValue();
@param Result Result of the action taken */ @param Result Result of the action taken */
public void setResult (int Result) public void setResult (int Result)
{ {
set_Value ("Result", new Integer(Result)); set_Value ("Result", Integer.valueOf(Result));
} }
/** Get Result. /** Get Result.
@return Result of the action taken */ @return Result of the action taken */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PInstance_Log /** Generated Model for AD_PInstance_Log
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PInstance_Log extends PO public class X_AD_PInstance_Log extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_PInstance_Log (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=578 */ /** AD_Table_ID=578 */
public static final int Table_ID=578; public static final int Table_ID=MTable.getTable_ID("AD_PInstance_Log");
/** TableName=AD_PInstance_Log */ /** TableName=AD_PInstance_Log */
public static final String Table_Name="AD_PInstance_Log"; public static final String Table_Name="AD_PInstance_Log";
protected static KeyNamePair Model = new KeyNamePair(578,"AD_PInstance_Log"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PInstance_Log");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_PInstance_ID (int AD_PInstance_ID) public void setAD_PInstance_ID (int AD_PInstance_ID)
{ {
if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory."); if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory.");
set_ValueNoCheck ("AD_PInstance_ID", new Integer(AD_PInstance_ID)); set_ValueNoCheck ("AD_PInstance_ID", Integer.valueOf(AD_PInstance_ID));
} }
/** Get Process Instance. /** Get Process Instance.
@return Instance of the process */ @return Instance of the process */
@ -106,7 +106,7 @@ return ii.intValue();
public void setLog_ID (int Log_ID) public void setLog_ID (int Log_ID)
{ {
if (Log_ID < 1) throw new IllegalArgumentException ("Log_ID is mandatory."); if (Log_ID < 1) throw new IllegalArgumentException ("Log_ID is mandatory.");
set_ValueNoCheck ("Log_ID", new Integer(Log_ID)); set_ValueNoCheck ("Log_ID", Integer.valueOf(Log_ID));
} }
/** Get Log. /** Get Log.
@return Log */ @return Log */
@ -134,7 +134,7 @@ public void setP_ID (int P_ID)
{ {
if (P_ID <= 0) set_ValueNoCheck ("P_ID", null); if (P_ID <= 0) set_ValueNoCheck ("P_ID", null);
else else
set_ValueNoCheck ("P_ID", new Integer(P_ID)); set_ValueNoCheck ("P_ID", Integer.valueOf(P_ID));
} }
/** Get Process ID. /** Get Process ID.
@return Process ID */ @return Process ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PInstance_Para /** Generated Model for AD_PInstance_Para
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PInstance_Para extends PO public class X_AD_PInstance_Para extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_PInstance_Para (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=283 */ /** AD_Table_ID=283 */
public static final int Table_ID=283; public static final int Table_ID=MTable.getTable_ID("AD_PInstance_Para");
/** TableName=AD_PInstance_Para */ /** TableName=AD_PInstance_Para */
public static final String Table_Name="AD_PInstance_Para"; public static final String Table_Name="AD_PInstance_Para";
protected static KeyNamePair Model = new KeyNamePair(283,"AD_PInstance_Para"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PInstance_Para");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_PInstance_ID (int AD_PInstance_ID) public void setAD_PInstance_ID (int AD_PInstance_ID)
{ {
if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory."); if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory.");
set_ValueNoCheck ("AD_PInstance_ID", new Integer(AD_PInstance_ID)); set_ValueNoCheck ("AD_PInstance_ID", Integer.valueOf(AD_PInstance_ID));
} }
/** Get Process Instance. /** Get Process Instance.
@return Instance of the process */ @return Instance of the process */
@ -249,7 +249,7 @@ return new KeyNamePair(get_ID(), getParameterName());
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_ValueNoCheck ("SeqNo", new Integer(SeqNo)); set_ValueNoCheck ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Exp /** Generated Model for AD_Package_Exp
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Exp extends PO public class X_AD_Package_Exp extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -62,7 +62,7 @@ public X_AD_Package_Exp (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000005 */ /** AD_Table_ID=50005 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Exp"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Exp");
/** TableName=AD_Package_Exp */ /** TableName=AD_Package_Exp */
@ -100,7 +100,7 @@ return sb.toString();
public void setAD_Package_Exp_ID (int AD_Package_Exp_ID) public void setAD_Package_Exp_ID (int AD_Package_Exp_ID)
{ {
if (AD_Package_Exp_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_ID is mandatory."); if (AD_Package_Exp_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_ID is mandatory.");
set_Value ("AD_Package_Exp_ID", new Integer(AD_Package_Exp_ID)); set_Value ("AD_Package_Exp_ID", Integer.valueOf(AD_Package_Exp_ID));
} }
/** Get AD_Package_Exp_ID. /** Get AD_Package_Exp_ID.
@return AD_Package_Exp_ID */ @return AD_Package_Exp_ID */
@ -117,8 +117,8 @@ return ii.intValue();
return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Exp_ID())); return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Exp_ID()));
} }
/** AD_Package_Type AD_Reference_ID=1000001 */ /** AD_Package_Type AD_Reference_ID=50001 */
public static final int AD_PACKAGE_TYPE_AD_Reference_ID=1000001; public static final int AD_PACKAGE_TYPE_AD_Reference_ID=50001;
/** Local Transfer = L */ /** Local Transfer = L */
public static final String AD_PACKAGE_TYPE_LocalTransfer = "L"; public static final String AD_PACKAGE_TYPE_LocalTransfer = "L";
/** Remote Transfer = R */ /** Remote Transfer = R */
@ -126,11 +126,11 @@ public static final String AD_PACKAGE_TYPE_RemoteTransfer = "R";
/** XML File = X */ /** XML File = X */
public static final String AD_PACKAGE_TYPE_XMLFile = "X"; public static final String AD_PACKAGE_TYPE_XMLFile = "X";
/** Set AD_Package_Type. /** Set AD_Package_Type.
@param AD_Package_Type AD_Package_Type */ @param AD_Package_Type Defines the type of package. XML File Local and Remote */
public void setAD_Package_Type (String AD_Package_Type) public void setAD_Package_Type (String AD_Package_Type)
{ {
if (AD_Package_Type == null || AD_Package_Type.equals("L") || AD_Package_Type.equals("R") || AD_Package_Type.equals("X")); if (AD_Package_Type == null || AD_Package_Type.equals("L") || AD_Package_Type.equals("R") || AD_Package_Type.equals("X"));
else throw new IllegalArgumentException ("AD_Package_Type Invalid value - " + AD_Package_Type + " - Reference_ID=1000001 - L - R - X"); else throw new IllegalArgumentException ("AD_Package_Type Invalid value - " + AD_Package_Type + " - Reference_ID=50001 - L - R - X");
if (AD_Package_Type != null && AD_Package_Type.length() > 1) if (AD_Package_Type != null && AD_Package_Type.length() > 1)
{ {
log.warning("Length > 1 - truncated"); log.warning("Length > 1 - truncated");
@ -139,13 +139,13 @@ AD_Package_Type = AD_Package_Type.substring(0,0);
set_Value ("AD_Package_Type", AD_Package_Type); set_Value ("AD_Package_Type", AD_Package_Type);
} }
/** Get AD_Package_Type. /** Get AD_Package_Type.
@return AD_Package_Type */ @return Defines the type of package. XML File Local and Remote */
public String getAD_Package_Type() public String getAD_Package_Type()
{ {
return (String)get_Value("AD_Package_Type"); return (String)get_Value("AD_Package_Type");
} }
/** Set Description. /** Set Description.
@param Description Optional short description of the record */ @param Description Description */
public void setDescription (String Description) public void setDescription (String Description)
{ {
if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); if (Description == null) throw new IllegalArgumentException ("Description is mandatory.");
@ -157,13 +157,13 @@ Description = Description.substring(0,999);
set_Value ("Description", Description); set_Value ("Description", Description);
} }
/** Get Description. /** Get Description.
@return Optional short description of the record */ @return Description */
public String getDescription() public String getDescription()
{ {
return (String)get_Value("Description"); return (String)get_Value("Description");
} }
/** Set EMail Address. /** Set Email Address.
@param EMail Electronic Mail Address */ @param EMail Email Address creator of the package */
public void setEMail (String EMail) public void setEMail (String EMail)
{ {
if (EMail == null) throw new IllegalArgumentException ("EMail is mandatory."); if (EMail == null) throw new IllegalArgumentException ("EMail is mandatory.");
@ -174,8 +174,8 @@ EMail = EMail.substring(0,29);
} }
set_Value ("EMail", EMail); set_Value ("EMail", EMail);
} }
/** Get EMail Address. /** Get Email Address.
@return Electronic Mail Address */ @return Email Address creator of the package */
public String getEMail() public String getEMail()
{ {
return (String)get_Value("EMail"); return (String)get_Value("EMail");
@ -217,7 +217,7 @@ public String getInstructions()
return (String)get_Value("Instructions"); return (String)get_Value("Instructions");
} }
/** Set PK_Name. /** Set PK_Name.
@param PK_Name PK_Name */ @param PK_Name Name of Package */
public void setPK_Name (String PK_Name) public void setPK_Name (String PK_Name)
{ {
if (PK_Name == null) throw new IllegalArgumentException ("PK_Name is mandatory."); if (PK_Name == null) throw new IllegalArgumentException ("PK_Name is mandatory.");
@ -229,13 +229,13 @@ PK_Name = PK_Name.substring(0,59);
set_Value ("PK_Name", PK_Name); set_Value ("PK_Name", PK_Name);
} }
/** Get PK_Name. /** Get PK_Name.
@return PK_Name */ @return Name of Package */
public String getPK_Name() public String getPK_Name()
{ {
return (String)get_Value("PK_Name"); return (String)get_Value("PK_Name");
} }
/** Set PK_Version. /** Set PK_Version.
@param PK_Version PK_Version */ @param PK_Version Package Version */
public void setPK_Version (String PK_Version) public void setPK_Version (String PK_Version)
{ {
if (PK_Version == null) throw new IllegalArgumentException ("PK_Version is mandatory."); if (PK_Version == null) throw new IllegalArgumentException ("PK_Version is mandatory.");
@ -247,19 +247,19 @@ PK_Version = PK_Version.substring(0,19);
set_Value ("PK_Version", PK_Version); set_Value ("PK_Version", PK_Version);
} }
/** Get PK_Version. /** Get PK_Version.
@return PK_Version */ @return Package Version */
public String getPK_Version() public String getPK_Version()
{ {
return (String)get_Value("PK_Version"); return (String)get_Value("PK_Version");
} }
/** Set Processed. /** Set Processed.
@param Processed The document has been processed */ @param Processed Processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_Value ("Processed", new Boolean(Processed)); set_Value ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return Processed */
public boolean isProcessed() public boolean isProcessed()
{ {
Object oo = get_Value("Processed"); Object oo = get_Value("Processed");
@ -270,14 +270,14 @@ if (oo != null)
} }
return false; return false;
} }
/** Set Process Now. /** Set Processing.
@param Processing Process Now */ @param Processing Process to create package export */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Processing.
@return Process Now */ @return Process to create package export */
public boolean isProcessing() public boolean isProcessing()
{ {
Object oo = get_Value("Processing"); Object oo = get_Value("Processing");
@ -289,8 +289,8 @@ if (oo != null)
return false; return false;
} }
/** ReleaseNo AD_Reference_ID=1000002 */ /** ReleaseNo AD_Reference_ID=50002 */
public static final int RELEASENO_AD_Reference_ID=1000002; public static final int RELEASENO_AD_Reference_ID=50002;
/** Release 2.5.2a = Release 2.5.2a */ /** Release 2.5.2a = Release 2.5.2a */
public static final String RELEASENO_Release252a = "Release 2.5.2a"; public static final String RELEASENO_Release252a = "Release 2.5.2a";
/** Release 2.5.2b = Release 2.5.2b */ /** Release 2.5.2b = Release 2.5.2b */
@ -307,13 +307,13 @@ public static final String RELEASENO_Release253a = "Release 2.5.3a";
public static final String RELEASENO_Release253b = "Release 2.5.3b"; public static final String RELEASENO_Release253b = "Release 2.5.3b";
/** No specific release = all */ /** No specific release = all */
public static final String RELEASENO_NoSpecificRelease = "all"; public static final String RELEASENO_NoSpecificRelease = "all";
/** Set Release No. /** Set ReleaseNo.
@param ReleaseNo Internal Release Number */ @param ReleaseNo Release Number */
public void setReleaseNo (String ReleaseNo) public void setReleaseNo (String ReleaseNo)
{ {
if (ReleaseNo == null) throw new IllegalArgumentException ("ReleaseNo is mandatory"); if (ReleaseNo == null) throw new IllegalArgumentException ("ReleaseNo is mandatory");
if (ReleaseNo.equals("Release 2.5.2a") || ReleaseNo.equals("Release 2.5.2b") || ReleaseNo.equals("Release 2.5.2c") || ReleaseNo.equals("Release 2.5.2d") || ReleaseNo.equals("Release 2.5.2e") || ReleaseNo.equals("Release 2.5.3a") || ReleaseNo.equals("Release 2.5.3b") || ReleaseNo.equals("all")); if (ReleaseNo.equals("Release 2.5.2a") || ReleaseNo.equals("Release 2.5.2b") || ReleaseNo.equals("Release 2.5.2c") || ReleaseNo.equals("Release 2.5.2d") || ReleaseNo.equals("Release 2.5.2e") || ReleaseNo.equals("Release 2.5.3a") || ReleaseNo.equals("Release 2.5.3b") || ReleaseNo.equals("all"));
else throw new IllegalArgumentException ("ReleaseNo Invalid value - " + ReleaseNo + " - Reference_ID=1000002 - Release 2.5.2a - Release 2.5.2b - Release 2.5.2c - Release 2.5.2d - Release 2.5.2e - Release 2.5.3a - Release 2.5.3b - all"); else throw new IllegalArgumentException ("ReleaseNo Invalid value - " + ReleaseNo + " - Reference_ID=50002 - Release 2.5.2a - Release 2.5.2b - Release 2.5.2c - Release 2.5.2d - Release 2.5.2e - Release 2.5.3a - Release 2.5.3b - all");
if (ReleaseNo.length() > 20) if (ReleaseNo.length() > 20)
{ {
log.warning("Length > 20 - truncated"); log.warning("Length > 20 - truncated");
@ -321,14 +321,14 @@ ReleaseNo = ReleaseNo.substring(0,19);
} }
set_Value ("ReleaseNo", ReleaseNo); set_Value ("ReleaseNo", ReleaseNo);
} }
/** Get Release No. /** Get ReleaseNo.
@return Internal Release Number */ @return Release Number */
public String getReleaseNo() public String getReleaseNo()
{ {
return (String)get_Value("ReleaseNo"); return (String)get_Value("ReleaseNo");
} }
/** Set Registered EMail. /** Set UserName.
@param UserName Email of the responsible for the System */ @param UserName Creator of Package */
public void setUserName (String UserName) public void setUserName (String UserName)
{ {
if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory."); if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory.");
@ -339,14 +339,14 @@ UserName = UserName.substring(0,29);
} }
set_Value ("UserName", UserName); set_Value ("UserName", UserName);
} }
/** Get Registered EMail. /** Get UserName.
@return Email of the responsible for the System */ @return Creator of Package */
public String getUserName() public String getUserName()
{ {
return (String)get_Value("UserName"); return (String)get_Value("UserName");
} }
/** Set Version. /** Set Version.
@param Version Version of the table definition */ @param Version Version */
public void setVersion (String Version) public void setVersion (String Version)
{ {
if (Version == null) throw new IllegalArgumentException ("Version is mandatory."); if (Version == null) throw new IllegalArgumentException ("Version is mandatory.");
@ -358,7 +358,7 @@ Version = Version.substring(0,19);
set_Value ("Version", Version); set_Value ("Version", Version);
} }
/** Get Version. /** Get Version.
@return Version of the table definition */ @return Version */
public String getVersion() public String getVersion()
{ {
return (String)get_Value("Version"); return (String)get_Value("Version");

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Exp_Common /** Generated Model for AD_Package_Exp_Common
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Exp_Common extends PO public class X_AD_Package_Exp_Common extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -52,7 +52,7 @@ public X_AD_Package_Exp_Common (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000007 */ /** AD_Table_ID=50007 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Exp_Common"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Exp_Common");
/** TableName=AD_Package_Exp_Common */ /** TableName=AD_Package_Exp_Common */
@ -91,7 +91,7 @@ public void setAD_Form_ID (int AD_Form_ID)
{ {
if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null);
else else
set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID));
} }
/** Get Special Form. /** Get Special Form.
@return Special Form */ @return Special Form */
@ -107,7 +107,7 @@ public void setAD_ImpFormat_ID (int AD_ImpFormat_ID)
{ {
if (AD_ImpFormat_ID <= 0) set_Value ("AD_ImpFormat_ID", null); if (AD_ImpFormat_ID <= 0) set_Value ("AD_ImpFormat_ID", null);
else else
set_Value ("AD_ImpFormat_ID", new Integer(AD_ImpFormat_ID)); set_Value ("AD_ImpFormat_ID", Integer.valueOf(AD_ImpFormat_ID));
} }
/** Get Import Format. /** Get Import Format.
@return Import Format */ @return Import Format */
@ -123,7 +123,7 @@ public void setAD_Menu_ID (int AD_Menu_ID)
{ {
if (AD_Menu_ID <= 0) set_Value ("AD_Menu_ID", null); if (AD_Menu_ID <= 0) set_Value ("AD_Menu_ID", null);
else else
set_Value ("AD_Menu_ID", new Integer(AD_Menu_ID)); set_Value ("AD_Menu_ID", Integer.valueOf(AD_Menu_ID));
} }
/** Get Menu. /** Get Menu.
@return Identifies a Menu */ @return Identifies a Menu */
@ -138,7 +138,7 @@ return ii.intValue();
public void setAD_Package_Exp_Common_ID (int AD_Package_Exp_Common_ID) public void setAD_Package_Exp_Common_ID (int AD_Package_Exp_Common_ID)
{ {
if (AD_Package_Exp_Common_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_Common_ID is mandatory."); if (AD_Package_Exp_Common_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_Common_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Exp_Common_ID", new Integer(AD_Package_Exp_Common_ID)); set_ValueNoCheck ("AD_Package_Exp_Common_ID", Integer.valueOf(AD_Package_Exp_Common_ID));
} }
/** Get AD_Package_Exp_Common_ID. /** Get AD_Package_Exp_Common_ID.
@return AD_Package_Exp_Common_ID */ @return AD_Package_Exp_Common_ID */
@ -160,7 +160,7 @@ public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -176,7 +176,7 @@ public void setAD_ReportView_ID (int AD_ReportView_ID)
{ {
if (AD_ReportView_ID <= 0) set_Value ("AD_ReportView_ID", null); if (AD_ReportView_ID <= 0) set_Value ("AD_ReportView_ID", null);
else else
set_Value ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); set_Value ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID));
} }
/** Get Report View. /** Get Report View.
@return View used to generate this report */ @return View used to generate this report */
@ -192,7 +192,7 @@ public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null);
else else
set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -203,15 +203,15 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Table. /** Set Table.
@param AD_Table_ID Database Table information */ @param AD_Table_ID Table for the Fields */
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Table for the Fields */
public int getAD_Table_ID() public int getAD_Table_ID()
{ {
Integer ii = (Integer)get_Value("AD_Table_ID"); Integer ii = (Integer)get_Value("AD_Table_ID");
@ -224,7 +224,7 @@ public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get Window.
@return Data entry or display window */ @return Data entry or display window */
@ -235,15 +235,15 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Workbench. /** Set Workbench.
@param AD_Workbench_ID Collection of windows, reports */ @param AD_Workbench_ID Collection of windows reports */
public void setAD_Workbench_ID (int AD_Workbench_ID) public void setAD_Workbench_ID (int AD_Workbench_ID)
{ {
if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null); if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null);
else else
set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID));
} }
/** Get Workbench. /** Get Workbench.
@return Collection of windows, reports */ @return Collection of windows reports */
public int getAD_Workbench_ID() public int getAD_Workbench_ID()
{ {
Integer ii = (Integer)get_Value("AD_Workbench_ID"); Integer ii = (Integer)get_Value("AD_Workbench_ID");
@ -256,7 +256,7 @@ public void setAD_Workflow_ID (int AD_Workflow_ID)
{ {
if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null); if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null);
else else
set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID));
} }
/** Get Workflow. /** Get Workflow.
@return Workflow or combination of tasks */ @return Workflow or combination of tasks */
@ -267,8 +267,8 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** DBType AD_Reference_ID=1000003 */ /** DBType AD_Reference_ID=50003 */
public static final int DBTYPE_AD_Reference_ID=1000003; public static final int DBTYPE_AD_Reference_ID=50003;
/** All Database Types = ALL */ /** All Database Types = ALL */
public static final String DBTYPE_AllDatabaseTypes = "ALL"; public static final String DBTYPE_AllDatabaseTypes = "ALL";
/** DB2 = DB2 */ /** DB2 = DB2 */
@ -286,11 +286,11 @@ public static final String DBTYPE_SQLServer = "SQL";
/** Sybase = Sybase */ /** Sybase = Sybase */
public static final String DBTYPE_Sybase = "Sybase"; public static final String DBTYPE_Sybase = "Sybase";
/** Set DBType. /** Set DBType.
@param DBType DBType */ @param DBType Indicates the type of database. */
public void setDBType (String DBType) public void setDBType (String DBType)
{ {
if (DBType == null || DBType.equals("ALL") || DBType.equals("DB2") || DBType.equals("Firebird") || DBType.equals("MySQL") || DBType.equals("Oracle") || DBType.equals("Postgres") || DBType.equals("SQL") || DBType.equals("Sybase")); if (DBType == null || DBType.equals("ALL") || DBType.equals("DB2") || DBType.equals("Firebird") || DBType.equals("MySQL") || DBType.equals("Oracle") || DBType.equals("Postgres") || DBType.equals("SQL") || DBType.equals("Sybase"));
else throw new IllegalArgumentException ("DBType Invalid value - " + DBType + " - Reference_ID=1000003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase"); else throw new IllegalArgumentException ("DBType Invalid value - " + DBType + " - Reference_ID=50003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase");
if (DBType != null && DBType.length() > 22) if (DBType != null && DBType.length() > 22)
{ {
log.warning("Length > 22 - truncated"); log.warning("Length > 22 - truncated");
@ -299,7 +299,7 @@ DBType = DBType.substring(0,21);
set_Value ("DBType", DBType); set_Value ("DBType", DBType);
} }
/** Get DBType. /** Get DBType.
@return DBType */ @return Indicates the type of database. */
public String getDBType() public String getDBType()
{ {
return (String)get_Value("DBType"); return (String)get_Value("DBType");
@ -376,7 +376,7 @@ return (String)get_Value("File_Directory");
@param Line Unique line for this document */ @param Line Unique line for this document */
public void setLine (int Line) public void setLine (int Line)
{ {
set_Value ("Line", new Integer(Line)); set_Value ("Line", Integer.valueOf(Line));
} }
/** Get Line No. /** Get Line No.
@return Unique line for this document */ @return Unique line for this document */
@ -424,7 +424,7 @@ return (String)get_Value("PK_Name");
@param Processed The document has been processed */ @param Processed The document has been processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_Value ("Processed", new Boolean(Processed)); set_Value ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return The document has been processed */
@ -442,7 +442,7 @@ return false;
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -491,8 +491,8 @@ public String getTarget_Directory()
return (String)get_Value("Target_Directory"); return (String)get_Value("Target_Directory");
} }
/** Type AD_Reference_ID=1000004 */ /** Type AD_Reference_ID=50004 */
public static final int TYPE_AD_Reference_ID=1000004; public static final int TYPE_AD_Reference_ID=50004;
/** Workbench = B */ /** Workbench = B */
public static final String TYPE_Workbench = "B"; public static final String TYPE_Workbench = "B";
/** File - Code or other = C */ /** File - Code or other = C */
@ -522,11 +522,11 @@ public static final String TYPE_Window = "W";
/** Form = X */ /** Form = X */
public static final String TYPE_Form = "X"; public static final String TYPE_Form = "X";
/** Set Type. /** Set Type.
@param Type Type of Validation (SQL, Java Script, Java Language) */ @param Type Type of Validation (SQL Java Script Java Language) */
public void setType (String Type) public void setType (String Type)
{ {
if (Type == null || Type.equals("B") || Type.equals("C") || Type.equals("D") || Type.equals("F") || Type.equals("IMP") || Type.equals("M") || Type.equals("P") || Type.equals("R") || Type.equals("S") || Type.equals("SNI") || Type.equals("SQL") || Type.equals("T") || Type.equals("W") || Type.equals("X")); if (Type == null || Type.equals("B") || Type.equals("C") || Type.equals("D") || Type.equals("F") || Type.equals("IMP") || Type.equals("M") || Type.equals("P") || Type.equals("R") || Type.equals("S") || Type.equals("SNI") || Type.equals("SQL") || Type.equals("T") || Type.equals("W") || Type.equals("X"));
else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=1000004 - B - C - D - F - IMP - M - P - R - S - SNI - SQL - T - W - X"); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=50004 - B - C - D - F - IMP - M - P - R - S - SNI - SQL - T - W - X");
if (Type != null && Type.length() > 10) if (Type != null && Type.length() > 10)
{ {
log.warning("Length > 10 - truncated"); log.warning("Length > 10 - truncated");
@ -535,7 +535,7 @@ Type = Type.substring(0,9);
set_Value ("Type", Type); set_Value ("Type", Type);
} }
/** Get Type. /** Get Type.
@return Type of Validation (SQL, Java Script, Java Language) */ @return Type of Validation (SQL Java Script Java Language) */
public String getType() public String getType()
{ {
return (String)get_Value("Type"); return (String)get_Value("Type");

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Exp_Detail /** Generated Model for AD_Package_Exp_Detail
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Exp_Detail extends PO public class X_AD_Package_Exp_Detail extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,7 +57,7 @@ public X_AD_Package_Exp_Detail (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000006 */ /** AD_Table_ID=50006 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Exp_Detail"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Exp_Detail");
/** TableName=AD_Package_Exp_Detail */ /** TableName=AD_Package_Exp_Detail */
@ -90,32 +90,32 @@ public String toString()
StringBuffer sb = new StringBuffer ("X_AD_Package_Exp_Detail[").append(get_ID()).append("]"); StringBuffer sb = new StringBuffer ("X_AD_Package_Exp_Detail[").append(get_ID()).append("]");
return sb.toString(); return sb.toString();
} }
/** Set Special Form. /** Set AD_Form_ID.
@param AD_Form_ID Special Form */ @param AD_Form_ID AD_Form_ID */
public void setAD_Form_ID (int AD_Form_ID) public void setAD_Form_ID (int AD_Form_ID)
{ {
if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null);
else else
set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID));
} }
/** Get Special Form. /** Get AD_Form_ID.
@return Special Form */ @return AD_Form_ID */
public int getAD_Form_ID() public int getAD_Form_ID()
{ {
Integer ii = (Integer)get_Value("AD_Form_ID"); Integer ii = (Integer)get_Value("AD_Form_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Import Format. /** Set AD_ImpFormat_ID.
@param AD_ImpFormat_ID Import Format */ @param AD_ImpFormat_ID AD_ImpFormat_ID */
public void setAD_ImpFormat_ID (int AD_ImpFormat_ID) public void setAD_ImpFormat_ID (int AD_ImpFormat_ID)
{ {
if (AD_ImpFormat_ID <= 0) set_Value ("AD_ImpFormat_ID", null); if (AD_ImpFormat_ID <= 0) set_Value ("AD_ImpFormat_ID", null);
else else
set_Value ("AD_ImpFormat_ID", new Integer(AD_ImpFormat_ID)); set_Value ("AD_ImpFormat_ID", Integer.valueOf(AD_ImpFormat_ID));
} }
/** Get Import Format. /** Get AD_ImpFormat_ID.
@return Import Format */ @return AD_ImpFormat_ID */
public int getAD_ImpFormat_ID() public int getAD_ImpFormat_ID()
{ {
Integer ii = (Integer)get_Value("AD_ImpFormat_ID"); Integer ii = (Integer)get_Value("AD_ImpFormat_ID");
@ -125,16 +125,16 @@ return ii.intValue();
/** AD_Menu_ID AD_Reference_ID=105 */ /** AD_Menu_ID AD_Reference_ID=105 */
public static final int AD_MENU_ID_AD_Reference_ID=105; public static final int AD_MENU_ID_AD_Reference_ID=105;
/** Set Menu. /** Set AD_Menu_ID.
@param AD_Menu_ID Identifies a Menu */ @param AD_Menu_ID AD_Menu_ID */
public void setAD_Menu_ID (int AD_Menu_ID) public void setAD_Menu_ID (int AD_Menu_ID)
{ {
if (AD_Menu_ID <= 0) set_Value ("AD_Menu_ID", null); if (AD_Menu_ID <= 0) set_Value ("AD_Menu_ID", null);
else else
set_Value ("AD_Menu_ID", new Integer(AD_Menu_ID)); set_Value ("AD_Menu_ID", Integer.valueOf(AD_Menu_ID));
} }
/** Get Menu. /** Get AD_Menu_ID.
@return Identifies a Menu */ @return AD_Menu_ID */
public int getAD_Menu_ID() public int getAD_Menu_ID()
{ {
Integer ii = (Integer)get_Value("AD_Menu_ID"); Integer ii = (Integer)get_Value("AD_Menu_ID");
@ -180,7 +180,7 @@ return (String)get_Value("AD_Package_Code_Old");
public void setAD_Package_Exp_Detail_ID (int AD_Package_Exp_Detail_ID) public void setAD_Package_Exp_Detail_ID (int AD_Package_Exp_Detail_ID)
{ {
if (AD_Package_Exp_Detail_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_Detail_ID is mandatory."); if (AD_Package_Exp_Detail_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_Detail_ID is mandatory.");
set_Value ("AD_Package_Exp_Detail_ID", new Integer(AD_Package_Exp_Detail_ID)); set_Value ("AD_Package_Exp_Detail_ID", Integer.valueOf(AD_Package_Exp_Detail_ID));
} }
/** Get AD_Package_Exp_Detail_ID. /** Get AD_Package_Exp_Detail_ID.
@return AD_Package_Exp_Detail_ID */ @return AD_Package_Exp_Detail_ID */
@ -201,7 +201,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Exp_Detail_ID()));
public void setAD_Package_Exp_ID (int AD_Package_Exp_ID) public void setAD_Package_Exp_ID (int AD_Package_Exp_ID)
{ {
if (AD_Package_Exp_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_ID is mandatory."); if (AD_Package_Exp_ID < 1) throw new IllegalArgumentException ("AD_Package_Exp_ID is mandatory.");
set_Value ("AD_Package_Exp_ID", new Integer(AD_Package_Exp_ID)); set_Value ("AD_Package_Exp_ID", Integer.valueOf(AD_Package_Exp_ID));
} }
/** Get AD_Package_Exp_ID. /** Get AD_Package_Exp_ID.
@return AD_Package_Exp_ID */ @return AD_Package_Exp_ID */
@ -211,112 +211,112 @@ Integer ii = (Integer)get_Value("AD_Package_Exp_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Process. /** Set AD_Process_ID.
@param AD_Process_ID Process or Report */ @param AD_Process_ID AD_Process_ID */
public void setAD_Process_ID (int AD_Process_ID) public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get AD_Process_ID.
@return Process or Report */ @return AD_Process_ID */
public int getAD_Process_ID() public int getAD_Process_ID()
{ {
Integer ii = (Integer)get_Value("AD_Process_ID"); Integer ii = (Integer)get_Value("AD_Process_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Report View. /** Set AD_ReportView_ID.
@param AD_ReportView_ID View used to generate this report */ @param AD_ReportView_ID Contain the Report View ID */
public void setAD_ReportView_ID (int AD_ReportView_ID) public void setAD_ReportView_ID (int AD_ReportView_ID)
{ {
if (AD_ReportView_ID <= 0) set_Value ("AD_ReportView_ID", null); if (AD_ReportView_ID <= 0) set_Value ("AD_ReportView_ID", null);
else else
set_Value ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); set_Value ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID));
} }
/** Get Report View. /** Get AD_ReportView_ID.
@return View used to generate this report */ @return Contain the Report View ID */
public int getAD_ReportView_ID() public int getAD_ReportView_ID()
{ {
Integer ii = (Integer)get_Value("AD_ReportView_ID"); Integer ii = (Integer)get_Value("AD_ReportView_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Role. /** Set AD_Role_ID.
@param AD_Role_ID Responsibility Role */ @param AD_Role_ID Role */
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null);
else else
set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get AD_Role_ID.
@return Responsibility Role */ @return Role */
public int getAD_Role_ID() public int getAD_Role_ID()
{ {
Integer ii = (Integer)get_Value("AD_Role_ID"); Integer ii = (Integer)get_Value("AD_Role_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Table. /** Set AD_Table_ID.
@param AD_Table_ID Database Table information */ @param AD_Table_ID AD_Table_ID */
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get AD_Table_ID.
@return Database Table information */ @return AD_Table_ID */
public int getAD_Table_ID() public int getAD_Table_ID()
{ {
Integer ii = (Integer)get_Value("AD_Table_ID"); Integer ii = (Integer)get_Value("AD_Table_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Window. /** Set AD_Window_ID.
@param AD_Window_ID Data entry or display window */ @param AD_Window_ID AD_Window_ID */
public void setAD_Window_ID (int AD_Window_ID) public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get AD_Window_ID.
@return Data entry or display window */ @return AD_Window_ID */
public int getAD_Window_ID() public int getAD_Window_ID()
{ {
Integer ii = (Integer)get_Value("AD_Window_ID"); Integer ii = (Integer)get_Value("AD_Window_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Workbench. /** Set AD_Workbench_ID.
@param AD_Workbench_ID Collection of windows, reports */ @param AD_Workbench_ID AD_Workbench_ID */
public void setAD_Workbench_ID (int AD_Workbench_ID) public void setAD_Workbench_ID (int AD_Workbench_ID)
{ {
if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null); if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null);
else else
set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID));
} }
/** Get Workbench. /** Get AD_Workbench_ID.
@return Collection of windows, reports */ @return AD_Workbench_ID */
public int getAD_Workbench_ID() public int getAD_Workbench_ID()
{ {
Integer ii = (Integer)get_Value("AD_Workbench_ID"); Integer ii = (Integer)get_Value("AD_Workbench_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Workflow. /** Set AD_Workflow_ID.
@param AD_Workflow_ID Workflow or combination of tasks */ @param AD_Workflow_ID AD_Workflow_ID */
public void setAD_Workflow_ID (int AD_Workflow_ID) public void setAD_Workflow_ID (int AD_Workflow_ID)
{ {
if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null); if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null);
else else
set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID));
} }
/** Get Workflow. /** Get AD_Workflow_ID.
@return Workflow or combination of tasks */ @return AD_Workflow_ID */
public int getAD_Workflow_ID() public int getAD_Workflow_ID()
{ {
Integer ii = (Integer)get_Value("AD_Workflow_ID"); Integer ii = (Integer)get_Value("AD_Workflow_ID");
@ -324,8 +324,8 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** DBType AD_Reference_ID=1000003 */ /** DBType AD_Reference_ID=50003 */
public static final int DBTYPE_AD_Reference_ID=1000003; public static final int DBTYPE_AD_Reference_ID=50003;
/** All Database Types = ALL */ /** All Database Types = ALL */
public static final String DBTYPE_AllDatabaseTypes = "ALL"; public static final String DBTYPE_AllDatabaseTypes = "ALL";
/** DB2 = DB2 */ /** DB2 = DB2 */
@ -343,11 +343,11 @@ public static final String DBTYPE_SQLServer = "SQL";
/** Sybase = Sybase */ /** Sybase = Sybase */
public static final String DBTYPE_Sybase = "Sybase"; public static final String DBTYPE_Sybase = "Sybase";
/** Set DBType. /** Set DBType.
@param DBType DBType */ @param DBType Indicates type of database */
public void setDBType (String DBType) public void setDBType (String DBType)
{ {
if (DBType == null || DBType.equals("ALL") || DBType.equals("DB2") || DBType.equals("Firebird") || DBType.equals("MySQL") || DBType.equals("Oracle") || DBType.equals("Postgres") || DBType.equals("SQL") || DBType.equals("Sybase")); if (DBType == null || DBType.equals("ALL") || DBType.equals("DB2") || DBType.equals("Firebird") || DBType.equals("MySQL") || DBType.equals("Oracle") || DBType.equals("Postgres") || DBType.equals("SQL") || DBType.equals("Sybase"));
else throw new IllegalArgumentException ("DBType Invalid value - " + DBType + " - Reference_ID=1000003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase"); else throw new IllegalArgumentException ("DBType Invalid value - " + DBType + " - Reference_ID=50003 - ALL - DB2 - Firebird - MySQL - Oracle - Postgres - SQL - Sybase");
if (DBType != null && DBType.length() > 22) if (DBType != null && DBType.length() > 22)
{ {
log.warning("Length > 22 - truncated"); log.warning("Length > 22 - truncated");
@ -356,13 +356,13 @@ DBType = DBType.substring(0,21);
set_Value ("DBType", DBType); set_Value ("DBType", DBType);
} }
/** Get DBType. /** Get DBType.
@return DBType */ @return Indicates type of database */
public String getDBType() public String getDBType()
{ {
return (String)get_Value("DBType"); return (String)get_Value("DBType");
} }
/** Set Description. /** Set Description.
@param Description Optional short description of the record */ @param Description Description */
public void setDescription (String Description) public void setDescription (String Description)
{ {
if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); if (Description == null) throw new IllegalArgumentException ("Description is mandatory.");
@ -374,7 +374,7 @@ Description = Description.substring(0,999);
set_Value ("Description", Description); set_Value ("Description", Description);
} }
/** Get Description. /** Get Description.
@return Optional short description of the record */ @return Description */
public String getDescription() public String getDescription()
{ {
return (String)get_Value("Description"); return (String)get_Value("Description");
@ -413,8 +413,8 @@ public String getDestination_FileName()
{ {
return (String)get_Value("Destination_FileName"); return (String)get_Value("Destination_FileName");
} }
/** Set File Name. /** Set FileName.
@param FileName Name of the local file or URL */ @param FileName FileName */
public void setFileName (String FileName) public void setFileName (String FileName)
{ {
if (FileName != null && FileName.length() > 255) if (FileName != null && FileName.length() > 255)
@ -424,8 +424,8 @@ FileName = FileName.substring(0,254);
} }
set_Value ("FileName", FileName); set_Value ("FileName", FileName);
} }
/** Get File Name. /** Get FileName.
@return Name of the local file or URL */ @return FileName */
public String getFileName() public String getFileName()
{ {
return (String)get_Value("FileName"); return (String)get_Value("FileName");
@ -447,22 +447,22 @@ public String getFile_Directory()
{ {
return (String)get_Value("File_Directory"); return (String)get_Value("File_Directory");
} }
/** Set Line No. /** Set Line.
@param Line Unique line for this document */ @param Line Line */
public void setLine (int Line) public void setLine (int Line)
{ {
set_Value ("Line", new Integer(Line)); set_Value ("Line", Integer.valueOf(Line));
} }
/** Get Line No. /** Get Line.
@return Unique line for this document */ @return Line */
public int getLine() public int getLine()
{ {
Integer ii = (Integer)get_Value("Line"); Integer ii = (Integer)get_Value("Line");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Name 2. /** Set Name2.
@param Name2 Additional Name */ @param Name2 Name2 */
public void setName2 (String Name2) public void setName2 (String Name2)
{ {
if (Name2 != null && Name2.length() > 60) if (Name2 != null && Name2.length() > 60)
@ -472,14 +472,14 @@ Name2 = Name2.substring(0,59);
} }
set_Value ("Name2", Name2); set_Value ("Name2", Name2);
} }
/** Get Name 2. /** Get Name2.
@return Additional Name */ @return Name2 */
public String getName2() public String getName2()
{ {
return (String)get_Value("Name2"); return (String)get_Value("Name2");
} }
/** Set PK_Name. /** Set PK_Name.
@param PK_Name PK_Name */ @param PK_Name Name of package */
public void setPK_Name (String PK_Name) public void setPK_Name (String PK_Name)
{ {
if (PK_Name == null) throw new IllegalArgumentException ("PK_Name is mandatory."); if (PK_Name == null) throw new IllegalArgumentException ("PK_Name is mandatory.");
@ -491,19 +491,19 @@ PK_Name = PK_Name.substring(0,59);
set_Value ("PK_Name", PK_Name); set_Value ("PK_Name", PK_Name);
} }
/** Get PK_Name. /** Get PK_Name.
@return PK_Name */ @return Name of package */
public String getPK_Name() public String getPK_Name()
{ {
return (String)get_Value("PK_Name"); return (String)get_Value("PK_Name");
} }
/** Set Processed. /** Set Processed.
@param Processed The document has been processed */ @param Processed Processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_Value ("Processed", new Boolean(Processed)); set_Value ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return Processed */
public boolean isProcessed() public boolean isProcessed()
{ {
Object oo = get_Value("Processed"); Object oo = get_Value("Processed");
@ -514,14 +514,14 @@ if (oo != null)
} }
return false; return false;
} }
/** Set Process Now. /** Set Processing.
@param Processing Process Now */ @param Processing Processing */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Processing.
@return Process Now */ @return Processing */
public boolean isProcessing() public boolean isProcessing()
{ {
Object oo = get_Value("Processing"); Object oo = get_Value("Processing");
@ -533,8 +533,8 @@ if (oo != null)
return false; return false;
} }
/** ReleaseNo AD_Reference_ID=1000002 */ /** ReleaseNo AD_Reference_ID=50002 */
public static final int RELEASENO_AD_Reference_ID=1000002; public static final int RELEASENO_AD_Reference_ID=50002;
/** Release 2.5.2a = Release 2.5.2a */ /** Release 2.5.2a = Release 2.5.2a */
public static final String RELEASENO_Release252a = "Release 2.5.2a"; public static final String RELEASENO_Release252a = "Release 2.5.2a";
/** Release 2.5.2b = Release 2.5.2b */ /** Release 2.5.2b = Release 2.5.2b */
@ -551,12 +551,12 @@ public static final String RELEASENO_Release253a = "Release 2.5.3a";
public static final String RELEASENO_Release253b = "Release 2.5.3b"; public static final String RELEASENO_Release253b = "Release 2.5.3b";
/** No specific release = all */ /** No specific release = all */
public static final String RELEASENO_NoSpecificRelease = "all"; public static final String RELEASENO_NoSpecificRelease = "all";
/** Set Release No. /** Set ReleaseNo.
@param ReleaseNo Internal Release Number */ @param ReleaseNo ReleaseNo */
public void setReleaseNo (String ReleaseNo) public void setReleaseNo (String ReleaseNo)
{ {
if (ReleaseNo == null || ReleaseNo.equals("Release 2.5.2a") || ReleaseNo.equals("Release 2.5.2b") || ReleaseNo.equals("Release 2.5.2c") || ReleaseNo.equals("Release 2.5.2d") || ReleaseNo.equals("Release 2.5.2e") || ReleaseNo.equals("Release 2.5.3a") || ReleaseNo.equals("Release 2.5.3b") || ReleaseNo.equals("all")); if (ReleaseNo == null || ReleaseNo.equals("Release 2.5.2a") || ReleaseNo.equals("Release 2.5.2b") || ReleaseNo.equals("Release 2.5.2c") || ReleaseNo.equals("Release 2.5.2d") || ReleaseNo.equals("Release 2.5.2e") || ReleaseNo.equals("Release 2.5.3a") || ReleaseNo.equals("Release 2.5.3b") || ReleaseNo.equals("all"));
else throw new IllegalArgumentException ("ReleaseNo Invalid value - " + ReleaseNo + " - Reference_ID=1000002 - Release 2.5.2a - Release 2.5.2b - Release 2.5.2c - Release 2.5.2d - Release 2.5.2e - Release 2.5.3a - Release 2.5.3b - all"); else throw new IllegalArgumentException ("ReleaseNo Invalid value - " + ReleaseNo + " - Reference_ID=50002 - Release 2.5.2a - Release 2.5.2b - Release 2.5.2c - Release 2.5.2d - Release 2.5.2e - Release 2.5.3a - Release 2.5.3b - all");
if (ReleaseNo != null && ReleaseNo.length() > 20) if (ReleaseNo != null && ReleaseNo.length() > 20)
{ {
log.warning("Length > 20 - truncated"); log.warning("Length > 20 - truncated");
@ -564,8 +564,8 @@ ReleaseNo = ReleaseNo.substring(0,19);
} }
set_Value ("ReleaseNo", ReleaseNo); set_Value ("ReleaseNo", ReleaseNo);
} }
/** Get Release No. /** Get ReleaseNo.
@return Internal Release Number */ @return ReleaseNo */
public String getReleaseNo() public String getReleaseNo()
{ {
return (String)get_Value("ReleaseNo"); return (String)get_Value("ReleaseNo");
@ -588,7 +588,7 @@ public String getSQLStatement()
return (String)get_Value("SQLStatement"); return (String)get_Value("SQLStatement");
} }
/** Set Target_Directory. /** Set Target_Directory.
@param Target_Directory Target_Directory */ @param Target_Directory Directory where the file to be distributed will be copied to */
public void setTarget_Directory (String Target_Directory) public void setTarget_Directory (String Target_Directory)
{ {
if (Target_Directory != null && Target_Directory.length() > 255) if (Target_Directory != null && Target_Directory.length() > 255)
@ -599,14 +599,14 @@ Target_Directory = Target_Directory.substring(0,254);
set_Value ("Target_Directory", Target_Directory); set_Value ("Target_Directory", Target_Directory);
} }
/** Get Target_Directory. /** Get Target_Directory.
@return Target_Directory */ @return Directory where the file to be distributed will be copied to */
public String getTarget_Directory() public String getTarget_Directory()
{ {
return (String)get_Value("Target_Directory"); return (String)get_Value("Target_Directory");
} }
/** Type AD_Reference_ID=1000004 */ /** Type AD_Reference_ID=50004 */
public static final int TYPE_AD_Reference_ID=1000004; public static final int TYPE_AD_Reference_ID=50004;
/** Workbench = B */ /** Workbench = B */
public static final String TYPE_Workbench = "B"; public static final String TYPE_Workbench = "B";
/** File - Code or other = C */ /** File - Code or other = C */
@ -636,12 +636,12 @@ public static final String TYPE_Window = "W";
/** Form = X */ /** Form = X */
public static final String TYPE_Form = "X"; public static final String TYPE_Form = "X";
/** Set Type. /** Set Type.
@param Type Type of Validation (SQL, Java Script, Java Language) */ @param Type Type */
public void setType (String Type) public void setType (String Type)
{ {
if (Type == null) throw new IllegalArgumentException ("Type is mandatory"); if (Type == null) throw new IllegalArgumentException ("Type is mandatory");
if (Type.equals("B") || Type.equals("C") || Type.equals("D") || Type.equals("F") || Type.equals("IMP") || Type.equals("M") || Type.equals("P") || Type.equals("R") || Type.equals("S") || Type.equals("SNI") || Type.equals("SQL") || Type.equals("T") || Type.equals("W") || Type.equals("X")); if (Type.equals("B") || Type.equals("C") || Type.equals("D") || Type.equals("F") || Type.equals("IMP") || Type.equals("M") || Type.equals("P") || Type.equals("R") || Type.equals("S") || Type.equals("SNI") || Type.equals("SQL") || Type.equals("T") || Type.equals("W") || Type.equals("X"));
else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=1000004 - B - C - D - F - IMP - M - P - R - S - SNI - SQL - T - W - X"); else throw new IllegalArgumentException ("Type Invalid value - " + Type + " - Reference_ID=50004 - B - C - D - F - IMP - M - P - R - S - SNI - SQL - T - W - X");
if (Type.length() > 10) if (Type.length() > 10)
{ {
log.warning("Length > 10 - truncated"); log.warning("Length > 10 - truncated");
@ -650,7 +650,7 @@ Type = Type.substring(0,9);
set_Value ("Type", Type); set_Value ("Type", Type);
} }
/** Get Type. /** Get Type.
@return Type of Validation (SQL, Java Script, Java Language) */ @return Type */
public String getType() public String getType()
{ {
return (String)get_Value("Type"); return (String)get_Value("Type");

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Imp /** Generated Model for AD_Package_Imp
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Imp extends PO public class X_AD_Package_Imp extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,7 +55,7 @@ public X_AD_Package_Imp (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000003 */ /** AD_Table_ID=50003 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp");
/** TableName=AD_Package_Imp */ /** TableName=AD_Package_Imp */
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Package_Imp_ID (int AD_Package_Imp_ID) public void setAD_Package_Imp_ID (int AD_Package_Imp_ID)
{ {
if (AD_Package_Imp_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_ID is mandatory."); if (AD_Package_Imp_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_ID", new Integer(AD_Package_Imp_ID)); set_ValueNoCheck ("AD_Package_Imp_ID", Integer.valueOf(AD_Package_Imp_ID));
} }
/** Get AD_Package_Imp_ID. /** Get AD_Package_Imp_ID.
@return AD_Package_Imp_ID */ @return AD_Package_Imp_ID */
@ -144,7 +144,7 @@ public String getCreatorContact()
return (String)get_Value("CreatorContact"); return (String)get_Value("CreatorContact");
} }
/** Set Description. /** Set Description.
@param Description Optional short description of the record */ @param Description Description */
public void setDescription (String Description) public void setDescription (String Description)
{ {
if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); if (Description == null) throw new IllegalArgumentException ("Description is mandatory.");
@ -156,13 +156,13 @@ Description = Description.substring(0,999);
set_Value ("Description", Description); set_Value ("Description", Description);
} }
/** Get Description. /** Get Description.
@return Optional short description of the record */ @return Description */
public String getDescription() public String getDescription()
{ {
return (String)get_Value("Description"); return (String)get_Value("Description");
} }
/** Set EMail Address. /** Set EMail.
@param EMail Electronic Mail Address */ @param EMail EMail */
public void setEMail (String EMail) public void setEMail (String EMail)
{ {
if (EMail != null && EMail.length() > 60) if (EMail != null && EMail.length() > 60)
@ -172,14 +172,14 @@ EMail = EMail.substring(0,59);
} }
set_Value ("EMail", EMail); set_Value ("EMail", EMail);
} }
/** Get EMail Address. /** Get EMail.
@return Electronic Mail Address */ @return EMail */
public String getEMail() public String getEMail()
{ {
return (String)get_Value("EMail"); return (String)get_Value("EMail");
} }
/** Set Name. /** Set Name.
@param Name Alphanumeric identifier of the entity */ @param Name Name */
public void setName (String Name) public void setName (String Name)
{ {
if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
@ -191,13 +191,13 @@ Name = Name.substring(0,59);
set_Value ("Name", Name); set_Value ("Name", Name);
} }
/** Get Name. /** Get Name.
@return Alphanumeric identifier of the entity */ @return Name */
public String getName() public String getName()
{ {
return (String)get_Value("Name"); return (String)get_Value("Name");
} }
/** Set PK_Status. /** Set PK_Status.
@param PK_Status PK_Status */ @param PK_Status Status of package installation */
public void setPK_Status (String PK_Status) public void setPK_Status (String PK_Status)
{ {
if (PK_Status != null && PK_Status.length() > 22) if (PK_Status != null && PK_Status.length() > 22)
@ -208,7 +208,7 @@ PK_Status = PK_Status.substring(0,21);
set_Value ("PK_Status", PK_Status); set_Value ("PK_Status", PK_Status);
} }
/** Get PK_Status. /** Get PK_Status.
@return PK_Status */ @return Status of package installation */
public String getPK_Status() public String getPK_Status()
{ {
return (String)get_Value("PK_Status"); return (String)get_Value("PK_Status");
@ -231,13 +231,13 @@ public String getPK_Version()
return (String)get_Value("PK_Version"); return (String)get_Value("PK_Version");
} }
/** Set Processed. /** Set Processed.
@param Processed The document has been processed */ @param Processed Processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_Value ("Processed", new Boolean(Processed)); set_Value ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return Processed */
public boolean isProcessed() public boolean isProcessed()
{ {
Object oo = get_Value("Processed"); Object oo = get_Value("Processed");
@ -248,14 +248,14 @@ if (oo != null)
} }
return false; return false;
} }
/** Set Process Now. /** Set Processing.
@param Processing Process Now */ @param Processing Processing */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Processing.
@return Process Now */ @return Processing */
public boolean isProcessing() public boolean isProcessing()
{ {
Object oo = get_Value("Processing"); Object oo = get_Value("Processing");
@ -266,8 +266,8 @@ if (oo != null)
} }
return false; return false;
} }
/** Set Release No. /** Set ReleaseNo.
@param ReleaseNo Internal Release Number */ @param ReleaseNo ReleaseNo */
public void setReleaseNo (String ReleaseNo) public void setReleaseNo (String ReleaseNo)
{ {
if (ReleaseNo != null && ReleaseNo.length() > 20) if (ReleaseNo != null && ReleaseNo.length() > 20)
@ -277,8 +277,8 @@ ReleaseNo = ReleaseNo.substring(0,19);
} }
set_Value ("ReleaseNo", ReleaseNo); set_Value ("ReleaseNo", ReleaseNo);
} }
/** Get Release No. /** Get ReleaseNo.
@return Internal Release Number */ @return ReleaseNo */
public String getReleaseNo() public String getReleaseNo()
{ {
return (String)get_Value("ReleaseNo"); return (String)get_Value("ReleaseNo");
@ -287,7 +287,7 @@ return (String)get_Value("ReleaseNo");
@param Uninstall Uninstall */ @param Uninstall Uninstall */
public void setUninstall (boolean Uninstall) public void setUninstall (boolean Uninstall)
{ {
set_Value ("Uninstall", new Boolean(Uninstall)); set_Value ("Uninstall", Boolean.valueOf(Uninstall));
} }
/** Get Uninstall. /** Get Uninstall.
@return Uninstall */ @return Uninstall */
@ -302,7 +302,7 @@ if (oo != null)
return false; return false;
} }
/** Set Version. /** Set Version.
@param Version Version of the table definition */ @param Version Version */
public void setVersion (String Version) public void setVersion (String Version)
{ {
if (Version != null && Version.length() > 20) if (Version != null && Version.length() > 20)
@ -313,7 +313,7 @@ Version = Version.substring(0,19);
set_Value ("Version", Version); set_Value ("Version", Version);
} }
/** Get Version. /** Get Version.
@return Version of the table definition */ @return Version */
public String getVersion() public String getVersion()
{ {
return (String)get_Value("Version"); return (String)get_Value("Version");

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Imp_Backup /** Generated Model for AD_Package_Imp_Backup
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Imp_Backup extends PO public class X_AD_Package_Imp_Backup extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,7 +54,7 @@ public X_AD_Package_Imp_Backup (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000002 */ /** AD_Table_ID=50002 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Backup"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Backup");
/** TableName=AD_Package_Imp_Backup */ /** TableName=AD_Package_Imp_Backup */
@ -90,16 +90,16 @@ return sb.toString();
/** AD_Column_ID AD_Reference_ID=251 */ /** AD_Column_ID AD_Reference_ID=251 */
public static final int AD_COLUMN_ID_AD_Reference_ID=251; public static final int AD_COLUMN_ID_AD_Reference_ID=251;
/** Set Column. /** Set AD_Column_ID.
@param AD_Column_ID Column in the table */ @param AD_Column_ID AD_Column_ID */
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null);
else else
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get AD_Column_ID.
@return Column in the table */ @return AD_Column_ID */
public int getAD_Column_ID() public int getAD_Column_ID()
{ {
Integer ii = (Integer)get_Value("AD_Column_ID"); Integer ii = (Integer)get_Value("AD_Column_ID");
@ -111,7 +111,7 @@ return ii.intValue();
public void setAD_Package_Imp_Backup_ID (int AD_Package_Imp_Backup_ID) public void setAD_Package_Imp_Backup_ID (int AD_Package_Imp_Backup_ID)
{ {
if (AD_Package_Imp_Backup_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Backup_ID is mandatory."); if (AD_Package_Imp_Backup_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Backup_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_Backup_ID", new Integer(AD_Package_Imp_Backup_ID)); set_ValueNoCheck ("AD_Package_Imp_Backup_ID", Integer.valueOf(AD_Package_Imp_Backup_ID));
} }
/** Get AD_Package_Imp_Backup_ID. /** Get AD_Package_Imp_Backup_ID.
@return AD_Package_Imp_Backup_ID */ @return AD_Package_Imp_Backup_ID */
@ -149,7 +149,7 @@ return (String)get_Value("AD_Package_Imp_Bck_Dir");
public void setAD_Package_Imp_Detail_ID (int AD_Package_Imp_Detail_ID) public void setAD_Package_Imp_Detail_ID (int AD_Package_Imp_Detail_ID)
{ {
if (AD_Package_Imp_Detail_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Detail_ID is mandatory."); if (AD_Package_Imp_Detail_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Detail_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_Detail_ID", new Integer(AD_Package_Imp_Detail_ID)); set_ValueNoCheck ("AD_Package_Imp_Detail_ID", Integer.valueOf(AD_Package_Imp_Detail_ID));
} }
/** Get AD_Package_Imp_Detail_ID. /** Get AD_Package_Imp_Detail_ID.
@return AD_Package_Imp_Detail_ID */ @return AD_Package_Imp_Detail_ID */
@ -164,7 +164,7 @@ return ii.intValue();
public void setAD_Package_Imp_ID (int AD_Package_Imp_ID) public void setAD_Package_Imp_ID (int AD_Package_Imp_ID)
{ {
if (AD_Package_Imp_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_ID is mandatory."); if (AD_Package_Imp_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_ID", new Integer(AD_Package_Imp_ID)); set_ValueNoCheck ("AD_Package_Imp_ID", Integer.valueOf(AD_Package_Imp_ID));
} }
/** Get AD_Package_Imp_ID. /** Get AD_Package_Imp_ID.
@return AD_Package_Imp_ID */ @return AD_Package_Imp_ID */
@ -194,32 +194,32 @@ return (String)get_Value("AD_Package_Imp_Org_Dir");
/** AD_Reference_ID AD_Reference_ID=1 */ /** AD_Reference_ID AD_Reference_ID=1 */
public static final int AD_REFERENCE_ID_AD_Reference_ID=1; public static final int AD_REFERENCE_ID_AD_Reference_ID=1;
/** Set Reference. /** Set AD_Reference_ID.
@param AD_Reference_ID System Reference and Validation */ @param AD_Reference_ID AD_Reference_ID */
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID <= 0) set_Value ("AD_Reference_ID", null); if (AD_Reference_ID <= 0) set_Value ("AD_Reference_ID", null);
else else
set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get AD_Reference_ID.
@return System Reference and Validation */ @return AD_Reference_ID */
public int getAD_Reference_ID() public int getAD_Reference_ID()
{ {
Integer ii = (Integer)get_Value("AD_Reference_ID"); Integer ii = (Integer)get_Value("AD_Reference_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Table. /** Set AD_Table_ID.
@param AD_Table_ID Database Table information */ @param AD_Table_ID AD_Table_ID */
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get AD_Table_ID.
@return Database Table information */ @return AD_Table_ID */
public int getAD_Table_ID() public int getAD_Table_ID()
{ {
Integer ii = (Integer)get_Value("AD_Table_ID"); Integer ii = (Integer)get_Value("AD_Table_ID");
@ -247,7 +247,7 @@ return (String)get_Value("ColValue");
@param Uninstall Uninstall */ @param Uninstall Uninstall */
public void setUninstall (boolean Uninstall) public void setUninstall (boolean Uninstall)
{ {
set_Value ("Uninstall", new Boolean(Uninstall)); set_Value ("Uninstall", Boolean.valueOf(Uninstall));
} }
/** Get Uninstall. /** Get Uninstall.
@return Uninstall */ @return Uninstall */

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Imp_Detail /** Generated Model for AD_Package_Imp_Detail
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Imp_Detail extends PO public class X_AD_Package_Imp_Detail extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,7 +54,7 @@ public X_AD_Package_Imp_Detail (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000004 */ /** AD_Table_ID=50004 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Detail"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Detail");
/** TableName=AD_Package_Imp_Detail */ /** TableName=AD_Package_Imp_Detail */
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Original_ID (int AD_Original_ID) public void setAD_Original_ID (int AD_Original_ID)
{ {
if (AD_Original_ID < 1) throw new IllegalArgumentException ("AD_Original_ID is mandatory."); if (AD_Original_ID < 1) throw new IllegalArgumentException ("AD_Original_ID is mandatory.");
set_Value ("AD_Original_ID", new Integer(AD_Original_ID)); set_Value ("AD_Original_ID", Integer.valueOf(AD_Original_ID));
} }
/** Get AD_Original_ID. /** Get AD_Original_ID.
@return AD_Original_ID */ @return AD_Original_ID */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_Package_Imp_Detail_ID (int AD_Package_Imp_Detail_ID) public void setAD_Package_Imp_Detail_ID (int AD_Package_Imp_Detail_ID)
{ {
if (AD_Package_Imp_Detail_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Detail_ID is mandatory."); if (AD_Package_Imp_Detail_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Detail_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_Detail_ID", new Integer(AD_Package_Imp_Detail_ID)); set_ValueNoCheck ("AD_Package_Imp_Detail_ID", Integer.valueOf(AD_Package_Imp_Detail_ID));
} }
/** Get AD_Package_Imp_Detail_ID. /** Get AD_Package_Imp_Detail_ID.
@return AD_Package_Imp_Detail_ID */ @return AD_Package_Imp_Detail_ID */
@ -122,7 +122,7 @@ return ii.intValue();
public void setAD_Package_Imp_ID (int AD_Package_Imp_ID) public void setAD_Package_Imp_ID (int AD_Package_Imp_ID)
{ {
if (AD_Package_Imp_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_ID is mandatory."); if (AD_Package_Imp_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_ID", new Integer(AD_Package_Imp_ID)); set_ValueNoCheck ("AD_Package_Imp_ID", Integer.valueOf(AD_Package_Imp_ID));
} }
/** Get AD_Package_Imp_ID. /** Get AD_Package_Imp_ID.
@return AD_Package_Imp_ID */ @return AD_Package_Imp_ID */
@ -132,16 +132,16 @@ Integer ii = (Integer)get_Value("AD_Package_Imp_ID");
if (ii == null) return 0; if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Table. /** Set AD_Table_ID.
@param AD_Table_ID Database Table information */ @param AD_Table_ID AD_Table_ID */
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null);
else else
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get AD_Table_ID.
@return Database Table information */ @return AD_Table_ID */
public int getAD_Table_ID() public int getAD_Table_ID()
{ {
Integer ii = (Integer)get_Value("AD_Table_ID"); Integer ii = (Integer)get_Value("AD_Table_ID");
@ -149,7 +149,7 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Action. /** Set Action.
@param Action Indicates the Action to be performed */ @param Action Action */
public void setAction (String Action) public void setAction (String Action)
{ {
if (Action != null && Action.length() > 20) if (Action != null && Action.length() > 20)
@ -160,7 +160,7 @@ Action = Action.substring(0,19);
set_Value ("Action", Action); set_Value ("Action", Action);
} }
/** Get Action. /** Get Action.
@return Indicates the Action to be performed */ @return Action */
public String getAction() public String getAction()
{ {
return (String)get_Value("Action"); return (String)get_Value("Action");
@ -171,7 +171,7 @@ public void setAd_Backup_ID (int Ad_Backup_ID)
{ {
if (Ad_Backup_ID <= 0) set_Value ("Ad_Backup_ID", null); if (Ad_Backup_ID <= 0) set_Value ("Ad_Backup_ID", null);
else else
set_Value ("Ad_Backup_ID", new Integer(Ad_Backup_ID)); set_Value ("Ad_Backup_ID", Integer.valueOf(Ad_Backup_ID));
} }
/** Get Ad_Backup_ID. /** Get Ad_Backup_ID.
@return Ad_Backup_ID */ @return Ad_Backup_ID */
@ -182,7 +182,7 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Name. /** Set Name.
@param Name Alphanumeric identifier of the entity */ @param Name Name */
public void setName (String Name) public void setName (String Name)
{ {
if (Name != null && Name.length() > 60) if (Name != null && Name.length() > 60)
@ -193,13 +193,13 @@ Name = Name.substring(0,59);
set_Value ("Name", Name); set_Value ("Name", Name);
} }
/** Get Name. /** Get Name.
@return Alphanumeric identifier of the entity */ @return Name */
public String getName() public String getName()
{ {
return (String)get_Value("Name"); return (String)get_Value("Name");
} }
/** Set Success. /** Set Success.
@param Success Success */ @param Success Indicates Success */
public void setSuccess (String Success) public void setSuccess (String Success)
{ {
if (Success != null && Success.length() > 20) if (Success != null && Success.length() > 20)
@ -210,13 +210,13 @@ Success = Success.substring(0,19);
set_Value ("Success", Success); set_Value ("Success", Success);
} }
/** Get Success. /** Get Success.
@return Success */ @return Indicates Success */
public String getSuccess() public String getSuccess()
{ {
return (String)get_Value("Success"); return (String)get_Value("Success");
} }
/** Set DB Table Name. /** Set TableName.
@param TableName Name of the table in the database */ @param TableName TableName */
public void setTableName (String TableName) public void setTableName (String TableName)
{ {
if (TableName != null && TableName.length() > 60) if (TableName != null && TableName.length() > 60)
@ -226,14 +226,14 @@ TableName = TableName.substring(0,59);
} }
set_Value ("TableName", TableName); set_Value ("TableName", TableName);
} }
/** Get DB Table Name. /** Get TableName.
@return Name of the table in the database */ @return TableName */
public String getTableName() public String getTableName()
{ {
return (String)get_Value("TableName"); return (String)get_Value("TableName");
} }
/** Set Type. /** Set Type.
@param Type Type of Validation (SQL, Java Script, Java Language) */ @param Type Type */
public void setType (String Type) public void setType (String Type)
{ {
if (Type != null && Type.length() > 60) if (Type != null && Type.length() > 60)
@ -244,19 +244,19 @@ Type = Type.substring(0,59);
set_Value ("Type", Type); set_Value ("Type", Type);
} }
/** Get Type. /** Get Type.
@return Type of Validation (SQL, Java Script, Java Language) */ @return Type */
public String getType() public String getType()
{ {
return (String)get_Value("Type"); return (String)get_Value("Type");
} }
/** Set Uninstall. /** Set Uninstall.
@param Uninstall Uninstall */ @param Uninstall Indicates if an object has been uninstalled or reversed */
public void setUninstall (boolean Uninstall) public void setUninstall (boolean Uninstall)
{ {
set_ValueNoCheck ("Uninstall", new Boolean(Uninstall)); set_ValueNoCheck ("Uninstall", Boolean.valueOf(Uninstall));
} }
/** Get Uninstall. /** Get Uninstall.
@return Uninstall */ @return Indicates if an object has been uninstalled or reversed */
public boolean isUninstall() public boolean isUninstall()
{ {
Object oo = get_Value("Uninstall"); Object oo = get_Value("Uninstall");

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Imp_Inst /** Generated Model for AD_Package_Imp_Inst
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Imp_Inst extends PO public class X_AD_Package_Imp_Inst extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -52,7 +52,7 @@ public X_AD_Package_Imp_Inst (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000001 */ /** AD_Table_ID=50001 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Inst"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Inst");
/** TableName=AD_Package_Imp_Inst */ /** TableName=AD_Package_Imp_Inst */
@ -90,7 +90,7 @@ return sb.toString();
public void setAD_PACKAGE_IMP_INST_ID (int AD_PACKAGE_IMP_INST_ID) public void setAD_PACKAGE_IMP_INST_ID (int AD_PACKAGE_IMP_INST_ID)
{ {
if (AD_PACKAGE_IMP_INST_ID < 1) throw new IllegalArgumentException ("AD_PACKAGE_IMP_INST_ID is mandatory."); if (AD_PACKAGE_IMP_INST_ID < 1) throw new IllegalArgumentException ("AD_PACKAGE_IMP_INST_ID is mandatory.");
set_ValueNoCheck ("AD_PACKAGE_IMP_INST_ID", new Integer(AD_PACKAGE_IMP_INST_ID)); set_ValueNoCheck ("AD_PACKAGE_IMP_INST_ID", Integer.valueOf(AD_PACKAGE_IMP_INST_ID));
} }
/** Get AD_PACKAGE_IMP_INST_ID. /** Get AD_PACKAGE_IMP_INST_ID.
@return AD_PACKAGE_IMP_INST_ID */ @return AD_PACKAGE_IMP_INST_ID */
@ -229,7 +229,7 @@ return (String)get_Value("PK_Version");
@param Processed The document has been processed */ @param Processed The document has been processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_Value ("Processed", new Boolean(Processed)); set_Value ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return The document has been processed */
@ -247,7 +247,7 @@ return false;
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -282,7 +282,7 @@ return (String)get_Value("ReleaseNo");
@param Uninstall Uninstall */ @param Uninstall Uninstall */
public void setUninstall (boolean Uninstall) public void setUninstall (boolean Uninstall)
{ {
set_Value ("Uninstall", new Boolean(Uninstall)); set_Value ("Uninstall", Boolean.valueOf(Uninstall));
} }
/** Get Uninstall. /** Get Uninstall.
@return Uninstall */ @return Uninstall */

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Package_Imp_Proc /** Generated Model for AD_Package_Imp_Proc
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Package_Imp_Proc extends PO public class X_AD_Package_Imp_Proc extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -53,7 +53,7 @@ public X_AD_Package_Imp_Proc (Properties ctx, ResultSet rs, String trxName)
{ {
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=1000008 */ /** AD_Table_ID=50008 */
public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Proc"); public static final int Table_ID=MTable.getTable_ID("AD_Package_Imp_Proc");
/** TableName=AD_Package_Imp_Proc */ /** TableName=AD_Package_Imp_Proc */
@ -90,7 +90,7 @@ return sb.toString();
@param AD_Override_Dict AD_Override_Dict */ @param AD_Override_Dict AD_Override_Dict */
public void setAD_Override_Dict (boolean AD_Override_Dict) public void setAD_Override_Dict (boolean AD_Override_Dict)
{ {
set_Value ("AD_Override_Dict", new Boolean(AD_Override_Dict)); set_Value ("AD_Override_Dict", Boolean.valueOf(AD_Override_Dict));
} }
/** Get AD_Override_Dict. /** Get AD_Override_Dict.
@return AD_Override_Dict */ @return AD_Override_Dict */
@ -105,7 +105,7 @@ if (oo != null)
return false; return false;
} }
/** Set AD_Package_Dir. /** Set AD_Package_Dir.
@param AD_Package_Dir AD_Package_Dir */ @param AD_Package_Dir Where the package directory is located */
public void setAD_Package_Dir (String AD_Package_Dir) public void setAD_Package_Dir (String AD_Package_Dir)
{ {
if (AD_Package_Dir != null && AD_Package_Dir.length() > 255) if (AD_Package_Dir != null && AD_Package_Dir.length() > 255)
@ -116,7 +116,7 @@ AD_Package_Dir = AD_Package_Dir.substring(0,254);
set_Value ("AD_Package_Dir", AD_Package_Dir); set_Value ("AD_Package_Dir", AD_Package_Dir);
} }
/** Get AD_Package_Dir. /** Get AD_Package_Dir.
@return AD_Package_Dir */ @return Where the package directory is located */
public String getAD_Package_Dir() public String getAD_Package_Dir()
{ {
return (String)get_Value("AD_Package_Dir"); return (String)get_Value("AD_Package_Dir");
@ -126,7 +126,7 @@ return (String)get_Value("AD_Package_Dir");
public void setAD_Package_Imp_Proc_ID (int AD_Package_Imp_Proc_ID) public void setAD_Package_Imp_Proc_ID (int AD_Package_Imp_Proc_ID)
{ {
if (AD_Package_Imp_Proc_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Proc_ID is mandatory."); if (AD_Package_Imp_Proc_ID < 1) throw new IllegalArgumentException ("AD_Package_Imp_Proc_ID is mandatory.");
set_ValueNoCheck ("AD_Package_Imp_Proc_ID", new Integer(AD_Package_Imp_Proc_ID)); set_ValueNoCheck ("AD_Package_Imp_Proc_ID", Integer.valueOf(AD_Package_Imp_Proc_ID));
} }
/** Get AD_Package_Imp_Proc_ID. /** Get AD_Package_Imp_Proc_ID.
@return AD_Package_Imp_Proc_ID */ @return AD_Package_Imp_Proc_ID */
@ -137,7 +137,7 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set AD_Package_Source. /** Set AD_Package_Source.
@param AD_Package_Source AD_Package_Source */ @param AD_Package_Source Where the package is located */
public void setAD_Package_Source (String AD_Package_Source) public void setAD_Package_Source (String AD_Package_Source)
{ {
if (AD_Package_Source != null && AD_Package_Source.length() > 255) if (AD_Package_Source != null && AD_Package_Source.length() > 255)
@ -148,14 +148,14 @@ AD_Package_Source = AD_Package_Source.substring(0,254);
set_Value ("AD_Package_Source", AD_Package_Source); set_Value ("AD_Package_Source", AD_Package_Source);
} }
/** Get AD_Package_Source. /** Get AD_Package_Source.
@return AD_Package_Source */ @return Where the package is located */
public String getAD_Package_Source() public String getAD_Package_Source()
{ {
return (String)get_Value("AD_Package_Source"); return (String)get_Value("AD_Package_Source");
} }
/** AD_Package_Source_Type AD_Reference_ID=1000005 */ /** AD_Package_Source_Type AD_Reference_ID=50005 */
public static final int AD_PACKAGE_SOURCE_TYPE_AD_Reference_ID=1000005; public static final int AD_PACKAGE_SOURCE_TYPE_AD_Reference_ID=50005;
/** File = File */ /** File = File */
public static final String AD_PACKAGE_SOURCE_TYPE_File = "File"; public static final String AD_PACKAGE_SOURCE_TYPE_File = "File";
/** WebService = WS */ /** WebService = WS */
@ -166,7 +166,7 @@ public void setAD_Package_Source_Type (String AD_Package_Source_Type)
{ {
if (AD_Package_Source_Type == null) throw new IllegalArgumentException ("AD_Package_Source_Type is mandatory"); if (AD_Package_Source_Type == null) throw new IllegalArgumentException ("AD_Package_Source_Type is mandatory");
if (AD_Package_Source_Type.equals("File") || AD_Package_Source_Type.equals("WS")); if (AD_Package_Source_Type.equals("File") || AD_Package_Source_Type.equals("WS"));
else throw new IllegalArgumentException ("AD_Package_Source_Type Invalid value - " + AD_Package_Source_Type + " - Reference_ID=1000005 - File - WS"); else throw new IllegalArgumentException ("AD_Package_Source_Type Invalid value - " + AD_Package_Source_Type + " - Reference_ID=50005 - File - WS");
if (AD_Package_Source_Type.length() > 10) if (AD_Package_Source_Type.length() > 10)
{ {
log.warning("Length > 10 - truncated"); log.warning("Length > 10 - truncated");
@ -180,14 +180,14 @@ public String getAD_Package_Source_Type()
{ {
return (String)get_Value("AD_Package_Source_Type"); return (String)get_Value("AD_Package_Source_Type");
} }
/** Set Process Now. /** Set Processing.
@param Processing Process Now */ @param Processing Start the import process */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Processing.
@return Process Now */ @return Start the import process */
public boolean isProcessing() public boolean isProcessing()
{ {
Object oo = get_Value("Processing"); Object oo = get_Value("Processing");

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Preference /** Generated Model for AD_Preference
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Preference extends PO public class X_AD_Preference extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Preference (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=195 */ /** AD_Table_ID=195 */
public static final int Table_ID=195; public static final int Table_ID=MTable.getTable_ID("AD_Preference");
/** TableName=AD_Preference */ /** TableName=AD_Preference */
public static final String Table_Name="AD_Preference"; public static final String Table_Name="AD_Preference";
protected static KeyNamePair Model = new KeyNamePair(195,"AD_Preference"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Preference");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Preference_ID (int AD_Preference_ID) public void setAD_Preference_ID (int AD_Preference_ID)
{ {
if (AD_Preference_ID < 1) throw new IllegalArgumentException ("AD_Preference_ID is mandatory."); if (AD_Preference_ID < 1) throw new IllegalArgumentException ("AD_Preference_ID is mandatory.");
set_ValueNoCheck ("AD_Preference_ID", new Integer(AD_Preference_ID)); set_ValueNoCheck ("AD_Preference_ID", Integer.valueOf(AD_Preference_ID));
} }
/** Get Preference. /** Get Preference.
@return Personal Value Preference */ @return Personal Value Preference */
@ -108,7 +108,7 @@ public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); if (AD_User_ID <= 0) set_Value ("AD_User_ID", null);
else else
set_Value ("AD_User_ID", new Integer(AD_User_ID)); set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */
@ -124,7 +124,7 @@ public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get Window.
@return Data entry or display window */ @return Data entry or display window */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintColor /** Generated Model for AD_PrintColor
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintColor extends PO public class X_AD_PrintColor extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_PrintColor (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=490 */ /** AD_Table_ID=490 */
public static final int Table_ID=490; public static final int Table_ID=MTable.getTable_ID("AD_PrintColor");
/** TableName=AD_PrintColor */ /** TableName=AD_PrintColor */
public static final String Table_Name="AD_PrintColor"; public static final String Table_Name="AD_PrintColor";
protected static KeyNamePair Model = new KeyNamePair(490,"AD_PrintColor"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintColor");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_PrintColor_ID (int AD_PrintColor_ID) public void setAD_PrintColor_ID (int AD_PrintColor_ID)
{ {
if (AD_PrintColor_ID < 1) throw new IllegalArgumentException ("AD_PrintColor_ID is mandatory."); if (AD_PrintColor_ID < 1) throw new IllegalArgumentException ("AD_PrintColor_ID is mandatory.");
set_ValueNoCheck ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); set_ValueNoCheck ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID));
} }
/** Get Print Color. /** Get Print Color.
@return Color used for printing and display */ @return Color used for printing and display */
@ -125,7 +125,7 @@ return (String)get_Value("Code");
@param IsDefault Default value */ @param IsDefault Default value */
public void setIsDefault (boolean IsDefault) public void setIsDefault (boolean IsDefault)
{ {
set_Value ("IsDefault", new Boolean(IsDefault)); set_Value ("IsDefault", Boolean.valueOf(IsDefault));
} }
/** Get Default. /** Get Default.
@return Default value */ @return Default value */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintFont /** Generated Model for AD_PrintFont
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintFont extends PO public class X_AD_PrintFont extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_PrintFont (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=491 */ /** AD_Table_ID=491 */
public static final int Table_ID=491; public static final int Table_ID=MTable.getTable_ID("AD_PrintFont");
/** TableName=AD_PrintFont */ /** TableName=AD_PrintFont */
public static final String Table_Name="AD_PrintFont"; public static final String Table_Name="AD_PrintFont";
protected static KeyNamePair Model = new KeyNamePair(491,"AD_PrintFont"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintFont");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_PrintFont_ID (int AD_PrintFont_ID) public void setAD_PrintFont_ID (int AD_PrintFont_ID)
{ {
if (AD_PrintFont_ID < 1) throw new IllegalArgumentException ("AD_PrintFont_ID is mandatory."); if (AD_PrintFont_ID < 1) throw new IllegalArgumentException ("AD_PrintFont_ID is mandatory.");
set_ValueNoCheck ("AD_PrintFont_ID", new Integer(AD_PrintFont_ID)); set_ValueNoCheck ("AD_PrintFont_ID", Integer.valueOf(AD_PrintFont_ID));
} }
/** Get Print Font. /** Get Print Font.
@return Maintain Print Font */ @return Maintain Print Font */
@ -125,7 +125,7 @@ return (String)get_Value("Code");
@param IsDefault Default value */ @param IsDefault Default value */
public void setIsDefault (boolean IsDefault) public void setIsDefault (boolean IsDefault)
{ {
set_Value ("IsDefault", new Boolean(IsDefault)); set_Value ("IsDefault", Boolean.valueOf(IsDefault));
} }
/** Get Default. /** Get Default.
@return Default value */ @return Default value */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintForm /** Generated Model for AD_PrintForm
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintForm extends PO public class X_AD_PrintForm extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_PrintForm (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=454 */ /** AD_Table_ID=454 */
public static final int Table_ID=454; public static final int Table_ID=MTable.getTable_ID("AD_PrintForm");
/** TableName=AD_PrintForm */ /** TableName=AD_PrintForm */
public static final String Table_Name="AD_PrintForm"; public static final String Table_Name="AD_PrintForm";
protected static KeyNamePair Model = new KeyNamePair(454,"AD_PrintForm"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintForm");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_PrintForm_ID (int AD_PrintForm_ID) public void setAD_PrintForm_ID (int AD_PrintForm_ID)
{ {
if (AD_PrintForm_ID < 1) throw new IllegalArgumentException ("AD_PrintForm_ID is mandatory."); if (AD_PrintForm_ID < 1) throw new IllegalArgumentException ("AD_PrintForm_ID is mandatory.");
set_ValueNoCheck ("AD_PrintForm_ID", new Integer(AD_PrintForm_ID)); set_ValueNoCheck ("AD_PrintForm_ID", Integer.valueOf(AD_PrintForm_ID));
} }
/** Get Print Form. /** Get Print Form.
@return Form */ @return Form */
@ -127,7 +127,7 @@ public void setInvoice_MailText_ID (int Invoice_MailText_ID)
{ {
if (Invoice_MailText_ID <= 0) set_Value ("Invoice_MailText_ID", null); if (Invoice_MailText_ID <= 0) set_Value ("Invoice_MailText_ID", null);
else else
set_Value ("Invoice_MailText_ID", new Integer(Invoice_MailText_ID)); set_Value ("Invoice_MailText_ID", Integer.valueOf(Invoice_MailText_ID));
} }
/** Get Invoice Mail Text. /** Get Invoice Mail Text.
@return Email text used for sending invoices */ @return Email text used for sending invoices */
@ -146,7 +146,7 @@ public void setInvoice_PrintFormat_ID (int Invoice_PrintFormat_ID)
{ {
if (Invoice_PrintFormat_ID <= 0) set_Value ("Invoice_PrintFormat_ID", null); if (Invoice_PrintFormat_ID <= 0) set_Value ("Invoice_PrintFormat_ID", null);
else else
set_Value ("Invoice_PrintFormat_ID", new Integer(Invoice_PrintFormat_ID)); set_Value ("Invoice_PrintFormat_ID", Integer.valueOf(Invoice_PrintFormat_ID));
} }
/** Get Invoice Print Format. /** Get Invoice Print Format.
@return Print Format for printing Invoices */ @return Print Format for printing Invoices */
@ -189,7 +189,7 @@ public void setOrder_MailText_ID (int Order_MailText_ID)
{ {
if (Order_MailText_ID <= 0) set_Value ("Order_MailText_ID", null); if (Order_MailText_ID <= 0) set_Value ("Order_MailText_ID", null);
else else
set_Value ("Order_MailText_ID", new Integer(Order_MailText_ID)); set_Value ("Order_MailText_ID", Integer.valueOf(Order_MailText_ID));
} }
/** Get Order Mail Text. /** Get Order Mail Text.
@return Email text used for sending order acknowledgements or quotations */ @return Email text used for sending order acknowledgements or quotations */
@ -208,7 +208,7 @@ public void setOrder_PrintFormat_ID (int Order_PrintFormat_ID)
{ {
if (Order_PrintFormat_ID <= 0) set_Value ("Order_PrintFormat_ID", null); if (Order_PrintFormat_ID <= 0) set_Value ("Order_PrintFormat_ID", null);
else else
set_Value ("Order_PrintFormat_ID", new Integer(Order_PrintFormat_ID)); set_Value ("Order_PrintFormat_ID", Integer.valueOf(Order_PrintFormat_ID));
} }
/** Get Order Print Format. /** Get Order Print Format.
@return Print Format for Orders, Quotes, Offers */ @return Print Format for Orders, Quotes, Offers */
@ -227,7 +227,7 @@ public void setProject_MailText_ID (int Project_MailText_ID)
{ {
if (Project_MailText_ID <= 0) set_Value ("Project_MailText_ID", null); if (Project_MailText_ID <= 0) set_Value ("Project_MailText_ID", null);
else else
set_Value ("Project_MailText_ID", new Integer(Project_MailText_ID)); set_Value ("Project_MailText_ID", Integer.valueOf(Project_MailText_ID));
} }
/** Get Project Mail Text. /** Get Project Mail Text.
@return Standard text for Project EMails */ @return Standard text for Project EMails */
@ -246,7 +246,7 @@ public void setProject_PrintFormat_ID (int Project_PrintFormat_ID)
{ {
if (Project_PrintFormat_ID <= 0) set_Value ("Project_PrintFormat_ID", null); if (Project_PrintFormat_ID <= 0) set_Value ("Project_PrintFormat_ID", null);
else else
set_Value ("Project_PrintFormat_ID", new Integer(Project_PrintFormat_ID)); set_Value ("Project_PrintFormat_ID", Integer.valueOf(Project_PrintFormat_ID));
} }
/** Get Project Print Format. /** Get Project Print Format.
@return Standard Project Print Format */ @return Standard Project Print Format */
@ -265,7 +265,7 @@ public void setRemittance_MailText_ID (int Remittance_MailText_ID)
{ {
if (Remittance_MailText_ID <= 0) set_Value ("Remittance_MailText_ID", null); if (Remittance_MailText_ID <= 0) set_Value ("Remittance_MailText_ID", null);
else else
set_Value ("Remittance_MailText_ID", new Integer(Remittance_MailText_ID)); set_Value ("Remittance_MailText_ID", Integer.valueOf(Remittance_MailText_ID));
} }
/** Get Remittance Mail Text. /** Get Remittance Mail Text.
@return Email text used for sending payment remittances */ @return Email text used for sending payment remittances */
@ -284,7 +284,7 @@ public void setRemittance_PrintFormat_ID (int Remittance_PrintFormat_ID)
{ {
if (Remittance_PrintFormat_ID <= 0) set_Value ("Remittance_PrintFormat_ID", null); if (Remittance_PrintFormat_ID <= 0) set_Value ("Remittance_PrintFormat_ID", null);
else else
set_Value ("Remittance_PrintFormat_ID", new Integer(Remittance_PrintFormat_ID)); set_Value ("Remittance_PrintFormat_ID", Integer.valueOf(Remittance_PrintFormat_ID));
} }
/** Get Remittance Print Format. /** Get Remittance Print Format.
@return Print Format for separate Remittances */ @return Print Format for separate Remittances */
@ -303,7 +303,7 @@ public void setShipment_MailText_ID (int Shipment_MailText_ID)
{ {
if (Shipment_MailText_ID <= 0) set_Value ("Shipment_MailText_ID", null); if (Shipment_MailText_ID <= 0) set_Value ("Shipment_MailText_ID", null);
else else
set_Value ("Shipment_MailText_ID", new Integer(Shipment_MailText_ID)); set_Value ("Shipment_MailText_ID", Integer.valueOf(Shipment_MailText_ID));
} }
/** Get Shipment Mail Text. /** Get Shipment Mail Text.
@return Email text used for sending delivery notes */ @return Email text used for sending delivery notes */
@ -322,7 +322,7 @@ public void setShipment_PrintFormat_ID (int Shipment_PrintFormat_ID)
{ {
if (Shipment_PrintFormat_ID <= 0) set_Value ("Shipment_PrintFormat_ID", null); if (Shipment_PrintFormat_ID <= 0) set_Value ("Shipment_PrintFormat_ID", null);
else else
set_Value ("Shipment_PrintFormat_ID", new Integer(Shipment_PrintFormat_ID)); set_Value ("Shipment_PrintFormat_ID", Integer.valueOf(Shipment_PrintFormat_ID));
} }
/** Get Shipment Print Format. /** Get Shipment Print Format.
@return Print Format for Shipments, Receipts, Pick Lists */ @return Print Format for Shipments, Receipts, Pick Lists */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintFormat /** Generated Model for AD_PrintFormat
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintFormat extends PO public class X_AD_PrintFormat extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -64,12 +64,12 @@ public X_AD_PrintFormat (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=493 */ /** AD_Table_ID=493 */
public static final int Table_ID=493; public static final int Table_ID=MTable.getTable_ID("AD_PrintFormat");
/** TableName=AD_PrintFormat */ /** TableName=AD_PrintFormat */
public static final String Table_Name="AD_PrintFormat"; public static final String Table_Name="AD_PrintFormat";
protected static KeyNamePair Model = new KeyNamePair(493,"AD_PrintFormat"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintFormat");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -101,7 +101,7 @@ return sb.toString();
public void setAD_PrintColor_ID (int AD_PrintColor_ID) public void setAD_PrintColor_ID (int AD_PrintColor_ID)
{ {
if (AD_PrintColor_ID < 1) throw new IllegalArgumentException ("AD_PrintColor_ID is mandatory."); if (AD_PrintColor_ID < 1) throw new IllegalArgumentException ("AD_PrintColor_ID is mandatory.");
set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID));
} }
/** Get Print Color. /** Get Print Color.
@return Color used for printing and display */ @return Color used for printing and display */
@ -116,7 +116,7 @@ return ii.intValue();
public void setAD_PrintFont_ID (int AD_PrintFont_ID) public void setAD_PrintFont_ID (int AD_PrintFont_ID)
{ {
if (AD_PrintFont_ID < 1) throw new IllegalArgumentException ("AD_PrintFont_ID is mandatory."); if (AD_PrintFont_ID < 1) throw new IllegalArgumentException ("AD_PrintFont_ID is mandatory.");
set_Value ("AD_PrintFont_ID", new Integer(AD_PrintFont_ID)); set_Value ("AD_PrintFont_ID", Integer.valueOf(AD_PrintFont_ID));
} }
/** Get Print Font. /** Get Print Font.
@return Maintain Print Font */ @return Maintain Print Font */
@ -131,7 +131,7 @@ return ii.intValue();
public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) public void setAD_PrintFormat_ID (int AD_PrintFormat_ID)
{ {
if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory."); if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory.");
set_ValueNoCheck ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID)); set_ValueNoCheck ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID));
} }
/** Get Print Format. /** Get Print Format.
@return Data Print Format */ @return Data Print Format */
@ -146,7 +146,7 @@ return ii.intValue();
public void setAD_PrintPaper_ID (int AD_PrintPaper_ID) public void setAD_PrintPaper_ID (int AD_PrintPaper_ID)
{ {
if (AD_PrintPaper_ID < 1) throw new IllegalArgumentException ("AD_PrintPaper_ID is mandatory."); if (AD_PrintPaper_ID < 1) throw new IllegalArgumentException ("AD_PrintPaper_ID is mandatory.");
set_Value ("AD_PrintPaper_ID", new Integer(AD_PrintPaper_ID)); set_Value ("AD_PrintPaper_ID", Integer.valueOf(AD_PrintPaper_ID));
} }
/** Get Print Paper. /** Get Print Paper.
@return Printer paper definition */ @return Printer paper definition */
@ -162,7 +162,7 @@ public void setAD_PrintTableFormat_ID (int AD_PrintTableFormat_ID)
{ {
if (AD_PrintTableFormat_ID <= 0) set_Value ("AD_PrintTableFormat_ID", null); if (AD_PrintTableFormat_ID <= 0) set_Value ("AD_PrintTableFormat_ID", null);
else else
set_Value ("AD_PrintTableFormat_ID", new Integer(AD_PrintTableFormat_ID)); set_Value ("AD_PrintTableFormat_ID", Integer.valueOf(AD_PrintTableFormat_ID));
} }
/** Get Print Table Format. /** Get Print Table Format.
@return Table Format in Reports */ @return Table Format in Reports */
@ -178,7 +178,7 @@ public void setAD_ReportView_ID (int AD_ReportView_ID)
{ {
if (AD_ReportView_ID <= 0) set_ValueNoCheck ("AD_ReportView_ID", null); if (AD_ReportView_ID <= 0) set_ValueNoCheck ("AD_ReportView_ID", null);
else else
set_ValueNoCheck ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); set_ValueNoCheck ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID));
} }
/** Get Report View. /** Get Report View.
@return View used to generate this report */ @return View used to generate this report */
@ -193,7 +193,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -241,7 +241,7 @@ return (String)get_Value("Description");
@param FooterMargin Margin of the Footer in 1/72 of an inch */ @param FooterMargin Margin of the Footer in 1/72 of an inch */
public void setFooterMargin (int FooterMargin) public void setFooterMargin (int FooterMargin)
{ {
set_Value ("FooterMargin", new Integer(FooterMargin)); set_Value ("FooterMargin", Integer.valueOf(FooterMargin));
} }
/** Get Footer Margin. /** Get Footer Margin.
@return Margin of the Footer in 1/72 of an inch */ @return Margin of the Footer in 1/72 of an inch */
@ -255,7 +255,7 @@ return ii.intValue();
@param HeaderMargin Margin of the Header in 1/72 of an inch */ @param HeaderMargin Margin of the Header in 1/72 of an inch */
public void setHeaderMargin (int HeaderMargin) public void setHeaderMargin (int HeaderMargin)
{ {
set_Value ("HeaderMargin", new Integer(HeaderMargin)); set_Value ("HeaderMargin", Integer.valueOf(HeaderMargin));
} }
/** Get Header Margin. /** Get Header Margin.
@return Margin of the Header in 1/72 of an inch */ @return Margin of the Header in 1/72 of an inch */
@ -269,7 +269,7 @@ return ii.intValue();
@param IsDefault Default value */ @param IsDefault Default value */
public void setIsDefault (boolean IsDefault) public void setIsDefault (boolean IsDefault)
{ {
set_Value ("IsDefault", new Boolean(IsDefault)); set_Value ("IsDefault", Boolean.valueOf(IsDefault));
} }
/** Get Default. /** Get Default.
@return Default value */ @return Default value */
@ -287,7 +287,7 @@ return false;
@param IsForm If Selected, a Form is printed, if not selected a columnar List report */ @param IsForm If Selected, a Form is printed, if not selected a columnar List report */
public void setIsForm (boolean IsForm) public void setIsForm (boolean IsForm)
{ {
set_Value ("IsForm", new Boolean(IsForm)); set_Value ("IsForm", Boolean.valueOf(IsForm));
} }
/** Get Form. /** Get Form.
@return If Selected, a Form is printed, if not selected a columnar List report */ @return If Selected, a Form is printed, if not selected a columnar List report */
@ -305,7 +305,7 @@ return false;
@param IsStandardHeaderFooter The standard Header and Footer is used */ @param IsStandardHeaderFooter The standard Header and Footer is used */
public void setIsStandardHeaderFooter (boolean IsStandardHeaderFooter) public void setIsStandardHeaderFooter (boolean IsStandardHeaderFooter)
{ {
set_Value ("IsStandardHeaderFooter", new Boolean(IsStandardHeaderFooter)); set_Value ("IsStandardHeaderFooter", Boolean.valueOf(IsStandardHeaderFooter));
} }
/** Get Standard Header/Footer. /** Get Standard Header/Footer.
@return The standard Header and Footer is used */ @return The standard Header and Footer is used */
@ -323,7 +323,7 @@ return false;
@param IsTableBased Table based List Reporting */ @param IsTableBased Table based List Reporting */
public void setIsTableBased (boolean IsTableBased) public void setIsTableBased (boolean IsTableBased)
{ {
set_ValueNoCheck ("IsTableBased", new Boolean(IsTableBased)); set_ValueNoCheck ("IsTableBased", Boolean.valueOf(IsTableBased));
} }
/** Get Table Based. /** Get Table Based.
@return Table based List Reporting */ @return Table based List Reporting */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintFormatItem /** Generated Model for AD_PrintFormatItem
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintFormatItem extends PO public class X_AD_PrintFormatItem extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -92,12 +92,12 @@ public X_AD_PrintFormatItem (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=489 */ /** AD_Table_ID=489 */
public static final int Table_ID=489; public static final int Table_ID=MTable.getTable_ID("AD_PrintFormatItem");
/** TableName=AD_PrintFormatItem */ /** TableName=AD_PrintFormatItem */
public static final String Table_Name="AD_PrintFormatItem"; public static final String Table_Name="AD_PrintFormatItem";
protected static KeyNamePair Model = new KeyNamePair(489,"AD_PrintFormatItem"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintFormatItem");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -129,7 +129,7 @@ return sb.toString();
public void setAD_Column_ID (int AD_Column_ID) public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory."); if (AD_Column_ID < 1) throw new IllegalArgumentException ("AD_Column_ID is mandatory.");
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -145,7 +145,7 @@ public void setAD_PrintColor_ID (int AD_PrintColor_ID)
{ {
if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null); if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null);
else else
set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID));
} }
/** Get Print Color. /** Get Print Color.
@return Color used for printing and display */ @return Color used for printing and display */
@ -161,7 +161,7 @@ public void setAD_PrintFont_ID (int AD_PrintFont_ID)
{ {
if (AD_PrintFont_ID <= 0) set_Value ("AD_PrintFont_ID", null); if (AD_PrintFont_ID <= 0) set_Value ("AD_PrintFont_ID", null);
else else
set_Value ("AD_PrintFont_ID", new Integer(AD_PrintFont_ID)); set_Value ("AD_PrintFont_ID", Integer.valueOf(AD_PrintFont_ID));
} }
/** Get Print Font. /** Get Print Font.
@return Maintain Print Font */ @return Maintain Print Font */
@ -179,7 +179,7 @@ public static final int AD_PRINTFORMATCHILD_ID_AD_Reference_ID=259;
public void setAD_PrintFormatChild_ID (int AD_PrintFormatChild_ID) public void setAD_PrintFormatChild_ID (int AD_PrintFormatChild_ID)
{ {
if (AD_PrintFormatChild_ID < 1) throw new IllegalArgumentException ("AD_PrintFormatChild_ID is mandatory."); if (AD_PrintFormatChild_ID < 1) throw new IllegalArgumentException ("AD_PrintFormatChild_ID is mandatory.");
set_Value ("AD_PrintFormatChild_ID", new Integer(AD_PrintFormatChild_ID)); set_Value ("AD_PrintFormatChild_ID", Integer.valueOf(AD_PrintFormatChild_ID));
} }
/** Get Included Print Format. /** Get Included Print Format.
@return Print format that is included here. */ @return Print format that is included here. */
@ -194,7 +194,7 @@ return ii.intValue();
public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID) public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID)
{ {
if (AD_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("AD_PrintFormatItem_ID is mandatory."); if (AD_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("AD_PrintFormatItem_ID is mandatory.");
set_ValueNoCheck ("AD_PrintFormatItem_ID", new Integer(AD_PrintFormatItem_ID)); set_ValueNoCheck ("AD_PrintFormatItem_ID", Integer.valueOf(AD_PrintFormatItem_ID));
} }
/** Get Print Format Item. /** Get Print Format Item.
@return Item/Column in the Print format */ @return Item/Column in the Print format */
@ -209,7 +209,7 @@ return ii.intValue();
public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) public void setAD_PrintFormat_ID (int AD_PrintFormat_ID)
{ {
if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory."); if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory.");
set_ValueNoCheck ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID)); set_ValueNoCheck ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID));
} }
/** Get Print Format. /** Get Print Format.
@return Data Print Format */ @return Data Print Format */
@ -225,7 +225,7 @@ public void setAD_PrintGraph_ID (int AD_PrintGraph_ID)
{ {
if (AD_PrintGraph_ID <= 0) set_Value ("AD_PrintGraph_ID", null); if (AD_PrintGraph_ID <= 0) set_Value ("AD_PrintGraph_ID", null);
else else
set_Value ("AD_PrintGraph_ID", new Integer(AD_PrintGraph_ID)); set_Value ("AD_PrintGraph_ID", Integer.valueOf(AD_PrintGraph_ID));
} }
/** Get Graph. /** Get Graph.
@return Graph included in Reports */ @return Graph included in Reports */
@ -239,7 +239,7 @@ return ii.intValue();
@param ArcDiameter Arc Diameter for rounded Rectangles */ @param ArcDiameter Arc Diameter for rounded Rectangles */
public void setArcDiameter (int ArcDiameter) public void setArcDiameter (int ArcDiameter)
{ {
set_Value ("ArcDiameter", new Integer(ArcDiameter)); set_Value ("ArcDiameter", Integer.valueOf(ArcDiameter));
} }
/** Get Arc Diameter. /** Get Arc Diameter.
@return Arc Diameter for rounded Rectangles */ @return Arc Diameter for rounded Rectangles */
@ -321,7 +321,7 @@ return (String)get_Value("BarcodeType");
@param BelowColumn Print this column below the column index entered */ @param BelowColumn Print this column below the column index entered */
public void setBelowColumn (int BelowColumn) public void setBelowColumn (int BelowColumn)
{ {
set_Value ("BelowColumn", new Integer(BelowColumn)); set_Value ("BelowColumn", Integer.valueOf(BelowColumn));
} }
/** Get Below Column. /** Get Below Column.
@return Print this column below the column index entered */ @return Print this column below the column index entered */
@ -368,7 +368,7 @@ return (String)get_Value("FieldAlignmentType");
@param ImageIsAttached The image to be printed is attached to the record */ @param ImageIsAttached The image to be printed is attached to the record */
public void setImageIsAttached (boolean ImageIsAttached) public void setImageIsAttached (boolean ImageIsAttached)
{ {
set_Value ("ImageIsAttached", new Boolean(ImageIsAttached)); set_Value ("ImageIsAttached", Boolean.valueOf(ImageIsAttached));
} }
/** Get Image attached. /** Get Image attached.
@return The image to be printed is attached to the record */ @return The image to be printed is attached to the record */
@ -403,7 +403,7 @@ return (String)get_Value("ImageURL");
@param IsAveraged Calculate Average of numeric content or length */ @param IsAveraged Calculate Average of numeric content or length */
public void setIsAveraged (boolean IsAveraged) public void setIsAveraged (boolean IsAveraged)
{ {
set_Value ("IsAveraged", new Boolean(IsAveraged)); set_Value ("IsAveraged", Boolean.valueOf(IsAveraged));
} }
/** Get Calculate Mean (?). /** Get Calculate Mean (?).
@return Calculate Average of numeric content or length */ @return Calculate Average of numeric content or length */
@ -421,7 +421,7 @@ return false;
@param IsCentrallyMaintained Information maintained in System Element table */ @param IsCentrallyMaintained Information maintained in System Element table */
public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) public void setIsCentrallyMaintained (boolean IsCentrallyMaintained)
{ {
set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained));
} }
/** Get Centrally maintained. /** Get Centrally maintained.
@return Information maintained in System Element table */ @return Information maintained in System Element table */
@ -439,7 +439,7 @@ return false;
@param IsCounted Count number of not empty elements */ @param IsCounted Count number of not empty elements */
public void setIsCounted (boolean IsCounted) public void setIsCounted (boolean IsCounted)
{ {
set_Value ("IsCounted", new Boolean(IsCounted)); set_Value ("IsCounted", Boolean.valueOf(IsCounted));
} }
/** Get Calculate Count (?). /** Get Calculate Count (?).
@return Count number of not empty elements */ @return Count number of not empty elements */
@ -457,7 +457,7 @@ return false;
@param IsDeviationCalc Calculate Standard Deviation */ @param IsDeviationCalc Calculate Standard Deviation */
public void setIsDeviationCalc (boolean IsDeviationCalc) public void setIsDeviationCalc (boolean IsDeviationCalc)
{ {
set_Value ("IsDeviationCalc", new Boolean(IsDeviationCalc)); set_Value ("IsDeviationCalc", Boolean.valueOf(IsDeviationCalc));
} }
/** Get Calculate Deviation (?). /** Get Calculate Deviation (?).
@return Calculate Standard Deviation */ @return Calculate Standard Deviation */
@ -475,7 +475,7 @@ return false;
@param IsFilledRectangle Fill the shape with the color selected */ @param IsFilledRectangle Fill the shape with the color selected */
public void setIsFilledRectangle (boolean IsFilledRectangle) public void setIsFilledRectangle (boolean IsFilledRectangle)
{ {
set_Value ("IsFilledRectangle", new Boolean(IsFilledRectangle)); set_Value ("IsFilledRectangle", Boolean.valueOf(IsFilledRectangle));
} }
/** Get Fill Shape. /** Get Fill Shape.
@return Fill the shape with the color selected */ @return Fill the shape with the color selected */
@ -493,7 +493,7 @@ return false;
@param IsFixedWidth Column has a fixed width */ @param IsFixedWidth Column has a fixed width */
public void setIsFixedWidth (boolean IsFixedWidth) public void setIsFixedWidth (boolean IsFixedWidth)
{ {
set_Value ("IsFixedWidth", new Boolean(IsFixedWidth)); set_Value ("IsFixedWidth", Boolean.valueOf(IsFixedWidth));
} }
/** Get Fixed Width. /** Get Fixed Width.
@return Column has a fixed width */ @return Column has a fixed width */
@ -511,7 +511,7 @@ return false;
@param IsGroupBy After a group change, totals, etc. are printed */ @param IsGroupBy After a group change, totals, etc. are printed */
public void setIsGroupBy (boolean IsGroupBy) public void setIsGroupBy (boolean IsGroupBy)
{ {
set_Value ("IsGroupBy", new Boolean(IsGroupBy)); set_Value ("IsGroupBy", Boolean.valueOf(IsGroupBy));
} }
/** Get Group by. /** Get Group by.
@return After a group change, totals, etc. are printed */ @return After a group change, totals, etc. are printed */
@ -529,7 +529,7 @@ return false;
@param IsHeightOneLine If selected, only one line is printed */ @param IsHeightOneLine If selected, only one line is printed */
public void setIsHeightOneLine (boolean IsHeightOneLine) public void setIsHeightOneLine (boolean IsHeightOneLine)
{ {
set_Value ("IsHeightOneLine", new Boolean(IsHeightOneLine)); set_Value ("IsHeightOneLine", Boolean.valueOf(IsHeightOneLine));
} }
/** Get One Line Only. /** Get One Line Only.
@return If selected, only one line is printed */ @return If selected, only one line is printed */
@ -547,7 +547,7 @@ return false;
@param IsImageField The image is retrieved from the data column */ @param IsImageField The image is retrieved from the data column */
public void setIsImageField (boolean IsImageField) public void setIsImageField (boolean IsImageField)
{ {
set_Value ("IsImageField", new Boolean(IsImageField)); set_Value ("IsImageField", Boolean.valueOf(IsImageField));
} }
/** Get Image Field. /** Get Image Field.
@return The image is retrieved from the data column */ @return The image is retrieved from the data column */
@ -565,7 +565,7 @@ return false;
@param IsMaxCalc Calculate the maximim amount */ @param IsMaxCalc Calculate the maximim amount */
public void setIsMaxCalc (boolean IsMaxCalc) public void setIsMaxCalc (boolean IsMaxCalc)
{ {
set_Value ("IsMaxCalc", new Boolean(IsMaxCalc)); set_Value ("IsMaxCalc", Boolean.valueOf(IsMaxCalc));
} }
/** Get Calculate Maximim (?). /** Get Calculate Maximim (?).
@return Calculate the maximim amount */ @return Calculate the maximim amount */
@ -583,7 +583,7 @@ return false;
@param IsMinCalc Calculate the minimum amount */ @param IsMinCalc Calculate the minimum amount */
public void setIsMinCalc (boolean IsMinCalc) public void setIsMinCalc (boolean IsMinCalc)
{ {
set_Value ("IsMinCalc", new Boolean(IsMinCalc)); set_Value ("IsMinCalc", Boolean.valueOf(IsMinCalc));
} }
/** Get Calculate Minimum (?). /** Get Calculate Minimum (?).
@return Calculate the minimum amount */ @return Calculate the minimum amount */
@ -601,7 +601,7 @@ return false;
@param IsNextLine Print item on next line */ @param IsNextLine Print item on next line */
public void setIsNextLine (boolean IsNextLine) public void setIsNextLine (boolean IsNextLine)
{ {
set_Value ("IsNextLine", new Boolean(IsNextLine)); set_Value ("IsNextLine", Boolean.valueOf(IsNextLine));
} }
/** Get Next Line. /** Get Next Line.
@return Print item on next line */ @return Print item on next line */
@ -619,7 +619,7 @@ return false;
@param IsNextPage The column is printed on the next page */ @param IsNextPage The column is printed on the next page */
public void setIsNextPage (boolean IsNextPage) public void setIsNextPage (boolean IsNextPage)
{ {
set_Value ("IsNextPage", new Boolean(IsNextPage)); set_Value ("IsNextPage", Boolean.valueOf(IsNextPage));
} }
/** Get Next Page. /** Get Next Page.
@return The column is printed on the next page */ @return The column is printed on the next page */
@ -637,7 +637,7 @@ return false;
@param IsOrderBy Include in sort order */ @param IsOrderBy Include in sort order */
public void setIsOrderBy (boolean IsOrderBy) public void setIsOrderBy (boolean IsOrderBy)
{ {
set_Value ("IsOrderBy", new Boolean(IsOrderBy)); set_Value ("IsOrderBy", Boolean.valueOf(IsOrderBy));
} }
/** Get Order by. /** Get Order by.
@return Include in sort order */ @return Include in sort order */
@ -655,7 +655,7 @@ return false;
@param IsPageBreak Start with new page */ @param IsPageBreak Start with new page */
public void setIsPageBreak (boolean IsPageBreak) public void setIsPageBreak (boolean IsPageBreak)
{ {
set_Value ("IsPageBreak", new Boolean(IsPageBreak)); set_Value ("IsPageBreak", Boolean.valueOf(IsPageBreak));
} }
/** Get Page break. /** Get Page break.
@return Start with new page */ @return Start with new page */
@ -673,7 +673,7 @@ return false;
@param IsPrinted Indicates if this document / line is printed */ @param IsPrinted Indicates if this document / line is printed */
public void setIsPrinted (boolean IsPrinted) public void setIsPrinted (boolean IsPrinted)
{ {
set_Value ("IsPrinted", new Boolean(IsPrinted)); set_Value ("IsPrinted", Boolean.valueOf(IsPrinted));
} }
/** Get Printed. /** Get Printed.
@return Indicates if this document / line is printed */ @return Indicates if this document / line is printed */
@ -691,7 +691,7 @@ return false;
@param IsRelativePosition The item is relative positioned (not absolute) */ @param IsRelativePosition The item is relative positioned (not absolute) */
public void setIsRelativePosition (boolean IsRelativePosition) public void setIsRelativePosition (boolean IsRelativePosition)
{ {
set_Value ("IsRelativePosition", new Boolean(IsRelativePosition)); set_Value ("IsRelativePosition", Boolean.valueOf(IsRelativePosition));
} }
/** Get Relative Position. /** Get Relative Position.
@return The item is relative positioned (not absolute) */ @return The item is relative positioned (not absolute) */
@ -709,7 +709,7 @@ return false;
@param IsRunningTotal Create a running total (sum) */ @param IsRunningTotal Create a running total (sum) */
public void setIsRunningTotal (boolean IsRunningTotal) public void setIsRunningTotal (boolean IsRunningTotal)
{ {
set_Value ("IsRunningTotal", new Boolean(IsRunningTotal)); set_Value ("IsRunningTotal", Boolean.valueOf(IsRunningTotal));
} }
/** Get Running Total. /** Get Running Total.
@return Create a running total (sum) */ @return Create a running total (sum) */
@ -727,7 +727,7 @@ return false;
@param IsSetNLPosition Set New Line Position */ @param IsSetNLPosition Set New Line Position */
public void setIsSetNLPosition (boolean IsSetNLPosition) public void setIsSetNLPosition (boolean IsSetNLPosition)
{ {
set_Value ("IsSetNLPosition", new Boolean(IsSetNLPosition)); set_Value ("IsSetNLPosition", Boolean.valueOf(IsSetNLPosition));
} }
/** Get Set NL Position. /** Get Set NL Position.
@return Set New Line Position */ @return Set New Line Position */
@ -745,7 +745,7 @@ return false;
@param IsSummarized Calculate the Sum of numeric content or length */ @param IsSummarized Calculate the Sum of numeric content or length */
public void setIsSummarized (boolean IsSummarized) public void setIsSummarized (boolean IsSummarized)
{ {
set_Value ("IsSummarized", new Boolean(IsSummarized)); set_Value ("IsSummarized", Boolean.valueOf(IsSummarized));
} }
/** Get Calculate Sum (?). /** Get Calculate Sum (?).
@return Calculate the Sum of numeric content or length */ @return Calculate the Sum of numeric content or length */
@ -763,7 +763,7 @@ return false;
@param IsSuppressNull Suppress columns or elements with NULL value */ @param IsSuppressNull Suppress columns or elements with NULL value */
public void setIsSuppressNull (boolean IsSuppressNull) public void setIsSuppressNull (boolean IsSuppressNull)
{ {
set_Value ("IsSuppressNull", new Boolean(IsSuppressNull)); set_Value ("IsSuppressNull", Boolean.valueOf(IsSuppressNull));
} }
/** Get Suppress Null. /** Get Suppress Null.
@return Suppress columns or elements with NULL value */ @return Suppress columns or elements with NULL value */
@ -777,13 +777,13 @@ if (oo != null)
} }
return false; return false;
} }
/** Set Calculate Variance (?²). /** Set Calculate Variance (??).
@param IsVarianceCalc Calculate Variance */ @param IsVarianceCalc Calculate Variance */
public void setIsVarianceCalc (boolean IsVarianceCalc) public void setIsVarianceCalc (boolean IsVarianceCalc)
{ {
set_Value ("IsVarianceCalc", new Boolean(IsVarianceCalc)); set_Value ("IsVarianceCalc", Boolean.valueOf(IsVarianceCalc));
} }
/** Get Calculate Variance (?²). /** Get Calculate Variance (??).
@return Calculate Variance */ @return Calculate Variance */
public boolean isVarianceCalc() public boolean isVarianceCalc()
{ {
@ -830,7 +830,7 @@ return (String)get_Value("LineAlignmentType");
@param LineWidth Width of the lines */ @param LineWidth Width of the lines */
public void setLineWidth (int LineWidth) public void setLineWidth (int LineWidth)
{ {
set_Value ("LineWidth", new Integer(LineWidth)); set_Value ("LineWidth", Integer.valueOf(LineWidth));
} }
/** Get Line Width. /** Get Line Width.
@return Width of the lines */ @return Width of the lines */
@ -844,7 +844,7 @@ return ii.intValue();
@param MaxHeight Maximum Height in 1/72 if an inch - 0 = no restriction */ @param MaxHeight Maximum Height in 1/72 if an inch - 0 = no restriction */
public void setMaxHeight (int MaxHeight) public void setMaxHeight (int MaxHeight)
{ {
set_Value ("MaxHeight", new Integer(MaxHeight)); set_Value ("MaxHeight", Integer.valueOf(MaxHeight));
} }
/** Get Max Height. /** Get Max Height.
@return Maximum Height in 1/72 if an inch - 0 = no restriction */ @return Maximum Height in 1/72 if an inch - 0 = no restriction */
@ -858,7 +858,7 @@ return ii.intValue();
@param MaxWidth Maximum Width in 1/72 if an inch - 0 = no restriction */ @param MaxWidth Maximum Width in 1/72 if an inch - 0 = no restriction */
public void setMaxWidth (int MaxWidth) public void setMaxWidth (int MaxWidth)
{ {
set_Value ("MaxWidth", new Integer(MaxWidth)); set_Value ("MaxWidth", Integer.valueOf(MaxWidth));
} }
/** Get Max Width. /** Get Max Width.
@return Maximum Width in 1/72 if an inch - 0 = no restriction */ @return Maximum Width in 1/72 if an inch - 0 = no restriction */
@ -994,7 +994,7 @@ return (String)get_Value("PrintNameSuffix");
@param RunningTotalLines Create Running Total Lines (page break) every x lines */ @param RunningTotalLines Create Running Total Lines (page break) every x lines */
public void setRunningTotalLines (int RunningTotalLines) public void setRunningTotalLines (int RunningTotalLines)
{ {
set_Value ("RunningTotalLines", new Integer(RunningTotalLines)); set_Value ("RunningTotalLines", Integer.valueOf(RunningTotalLines));
} }
/** Get Running Total Lines. /** Get Running Total Lines.
@return Create Running Total Lines (page break) every x lines */ @return Create Running Total Lines (page break) every x lines */
@ -1009,7 +1009,7 @@ return ii.intValue();
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;
@ -1054,7 +1054,7 @@ return (String)get_Value("ShapeType");
@param SortNo Determines in what order the records are displayed */ @param SortNo Determines in what order the records are displayed */
public void setSortNo (int SortNo) public void setSortNo (int SortNo)
{ {
set_Value ("SortNo", new Integer(SortNo)); set_Value ("SortNo", Integer.valueOf(SortNo));
} }
/** Get Record Sort No. /** Get Record Sort No.
@return Determines in what order the records are displayed */ @return Determines in what order the records are displayed */
@ -1068,7 +1068,7 @@ return ii.intValue();
@param XPosition Absolute X (horizontal) position in 1/72 of an inch */ @param XPosition Absolute X (horizontal) position in 1/72 of an inch */
public void setXPosition (int XPosition) public void setXPosition (int XPosition)
{ {
set_Value ("XPosition", new Integer(XPosition)); set_Value ("XPosition", Integer.valueOf(XPosition));
} }
/** Get X Position. /** Get X Position.
@return Absolute X (horizontal) position in 1/72 of an inch */ @return Absolute X (horizontal) position in 1/72 of an inch */
@ -1082,7 +1082,7 @@ return ii.intValue();
@param XSpace Relative X (horizontal) space in 1/72 of an inch */ @param XSpace Relative X (horizontal) space in 1/72 of an inch */
public void setXSpace (int XSpace) public void setXSpace (int XSpace)
{ {
set_Value ("XSpace", new Integer(XSpace)); set_Value ("XSpace", Integer.valueOf(XSpace));
} }
/** Get X Space. /** Get X Space.
@return Relative X (horizontal) space in 1/72 of an inch */ @return Relative X (horizontal) space in 1/72 of an inch */
@ -1096,7 +1096,7 @@ return ii.intValue();
@param YPosition Absolute Y (vertical) position in 1/72 of an inch */ @param YPosition Absolute Y (vertical) position in 1/72 of an inch */
public void setYPosition (int YPosition) public void setYPosition (int YPosition)
{ {
set_Value ("YPosition", new Integer(YPosition)); set_Value ("YPosition", Integer.valueOf(YPosition));
} }
/** Get Y Position. /** Get Y Position.
@return Absolute Y (vertical) position in 1/72 of an inch */ @return Absolute Y (vertical) position in 1/72 of an inch */
@ -1110,7 +1110,7 @@ return ii.intValue();
@param YSpace Relative Y (vertical) space in 1/72 of an inch */ @param YSpace Relative Y (vertical) space in 1/72 of an inch */
public void setYSpace (int YSpace) public void setYSpace (int YSpace)
{ {
set_Value ("YSpace", new Integer(YSpace)); set_Value ("YSpace", Integer.valueOf(YSpace));
} }
/** Get Y Space. /** Get Y Space.
@return Relative Y (vertical) space in 1/72 of an inch */ @return Relative Y (vertical) space in 1/72 of an inch */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintGraph /** Generated Model for AD_PrintGraph
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintGraph extends PO public class X_AD_PrintGraph extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_PrintGraph (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=521 */ /** AD_Table_ID=521 */
public static final int Table_ID=521; public static final int Table_ID=MTable.getTable_ID("AD_PrintGraph");
/** TableName=AD_PrintGraph */ /** TableName=AD_PrintGraph */
public static final String Table_Name="AD_PrintGraph"; public static final String Table_Name="AD_PrintGraph";
protected static KeyNamePair Model = new KeyNamePair(521,"AD_PrintGraph"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintGraph");
protected BigDecimal accessLevel = new BigDecimal(7); protected BigDecimal accessLevel = new BigDecimal(7);
/** AccessLevel /** AccessLevel
@ -95,7 +95,7 @@ return sb.toString();
public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) public void setAD_PrintFormat_ID (int AD_PrintFormat_ID)
{ {
if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory."); if (AD_PrintFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintFormat_ID is mandatory.");
set_Value ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID)); set_Value ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID));
} }
/** Get Print Format. /** Get Print Format.
@return Data Print Format */ @return Data Print Format */
@ -110,7 +110,7 @@ return ii.intValue();
public void setAD_PrintGraph_ID (int AD_PrintGraph_ID) public void setAD_PrintGraph_ID (int AD_PrintGraph_ID)
{ {
if (AD_PrintGraph_ID < 1) throw new IllegalArgumentException ("AD_PrintGraph_ID is mandatory."); if (AD_PrintGraph_ID < 1) throw new IllegalArgumentException ("AD_PrintGraph_ID is mandatory.");
set_ValueNoCheck ("AD_PrintGraph_ID", new Integer(AD_PrintGraph_ID)); set_ValueNoCheck ("AD_PrintGraph_ID", Integer.valueOf(AD_PrintGraph_ID));
} }
/** Get Graph. /** Get Graph.
@return Graph included in Reports */ @return Graph included in Reports */
@ -129,7 +129,7 @@ public void setData1_PrintFormatItem_ID (int Data1_PrintFormatItem_ID)
{ {
if (Data1_PrintFormatItem_ID <= 0) set_Value ("Data1_PrintFormatItem_ID", null); if (Data1_PrintFormatItem_ID <= 0) set_Value ("Data1_PrintFormatItem_ID", null);
else else
set_Value ("Data1_PrintFormatItem_ID", new Integer(Data1_PrintFormatItem_ID)); set_Value ("Data1_PrintFormatItem_ID", Integer.valueOf(Data1_PrintFormatItem_ID));
} }
/** Get Data Column 2. /** Get Data Column 2.
@return Data Column for Line Charts */ @return Data Column for Line Charts */
@ -148,7 +148,7 @@ public void setData2_PrintFormatItem_ID (int Data2_PrintFormatItem_ID)
{ {
if (Data2_PrintFormatItem_ID <= 0) set_Value ("Data2_PrintFormatItem_ID", null); if (Data2_PrintFormatItem_ID <= 0) set_Value ("Data2_PrintFormatItem_ID", null);
else else
set_Value ("Data2_PrintFormatItem_ID", new Integer(Data2_PrintFormatItem_ID)); set_Value ("Data2_PrintFormatItem_ID", Integer.valueOf(Data2_PrintFormatItem_ID));
} }
/** Get Data Column 3. /** Get Data Column 3.
@return Data Column for Line Charts */ @return Data Column for Line Charts */
@ -167,7 +167,7 @@ public void setData3_PrintFormatItem_ID (int Data3_PrintFormatItem_ID)
{ {
if (Data3_PrintFormatItem_ID <= 0) set_Value ("Data3_PrintFormatItem_ID", null); if (Data3_PrintFormatItem_ID <= 0) set_Value ("Data3_PrintFormatItem_ID", null);
else else
set_Value ("Data3_PrintFormatItem_ID", new Integer(Data3_PrintFormatItem_ID)); set_Value ("Data3_PrintFormatItem_ID", Integer.valueOf(Data3_PrintFormatItem_ID));
} }
/** Get Data Column 4. /** Get Data Column 4.
@return Data Column for Line Charts */ @return Data Column for Line Charts */
@ -186,7 +186,7 @@ public void setData4_PrintFormatItem_ID (int Data4_PrintFormatItem_ID)
{ {
if (Data4_PrintFormatItem_ID <= 0) set_Value ("Data4_PrintFormatItem_ID", null); if (Data4_PrintFormatItem_ID <= 0) set_Value ("Data4_PrintFormatItem_ID", null);
else else
set_Value ("Data4_PrintFormatItem_ID", new Integer(Data4_PrintFormatItem_ID)); set_Value ("Data4_PrintFormatItem_ID", Integer.valueOf(Data4_PrintFormatItem_ID));
} }
/** Get Data Column 5. /** Get Data Column 5.
@return Data Column for Line Charts */ @return Data Column for Line Charts */
@ -204,7 +204,7 @@ public static final int DATA_PRINTFORMATITEM_ID_AD_Reference_ID=264;
public void setData_PrintFormatItem_ID (int Data_PrintFormatItem_ID) public void setData_PrintFormatItem_ID (int Data_PrintFormatItem_ID)
{ {
if (Data_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("Data_PrintFormatItem_ID is mandatory."); if (Data_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("Data_PrintFormatItem_ID is mandatory.");
set_Value ("Data_PrintFormatItem_ID", new Integer(Data_PrintFormatItem_ID)); set_Value ("Data_PrintFormatItem_ID", Integer.valueOf(Data_PrintFormatItem_ID));
} }
/** Get Data Column. /** Get Data Column.
@return Data Column for Pie and Line Charts */ @return Data Column for Pie and Line Charts */
@ -239,7 +239,7 @@ public static final int DESCRIPTION_PRINTFORMATITEM_ID_AD_Reference_ID=264;
public void setDescription_PrintFormatItem_ID (int Description_PrintFormatItem_ID) public void setDescription_PrintFormatItem_ID (int Description_PrintFormatItem_ID)
{ {
if (Description_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("Description_PrintFormatItem_ID is mandatory."); if (Description_PrintFormatItem_ID < 1) throw new IllegalArgumentException ("Description_PrintFormatItem_ID is mandatory.");
set_Value ("Description_PrintFormatItem_ID", new Integer(Description_PrintFormatItem_ID)); set_Value ("Description_PrintFormatItem_ID", Integer.valueOf(Description_PrintFormatItem_ID));
} }
/** Get Description Column. /** Get Description Column.
@return Description Column for Pie/Line/Bar Charts */ @return Description Column for Pie/Line/Bar Charts */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintLabel /** Generated Model for AD_PrintLabel
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintLabel extends PO public class X_AD_PrintLabel extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -59,12 +59,12 @@ public X_AD_PrintLabel (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=570 */ /** AD_Table_ID=570 */
public static final int Table_ID=570; public static final int Table_ID=MTable.getTable_ID("AD_PrintLabel");
/** TableName=AD_PrintLabel */ /** TableName=AD_PrintLabel */
public static final String Table_Name="AD_PrintLabel"; public static final String Table_Name="AD_PrintLabel";
protected static KeyNamePair Model = new KeyNamePair(570,"AD_PrintLabel"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintLabel");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -96,7 +96,7 @@ return sb.toString();
public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID) public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID)
{ {
if (AD_LabelPrinter_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinter_ID is mandatory."); if (AD_LabelPrinter_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinter_ID is mandatory.");
set_Value ("AD_LabelPrinter_ID", new Integer(AD_LabelPrinter_ID)); set_Value ("AD_LabelPrinter_ID", Integer.valueOf(AD_LabelPrinter_ID));
} }
/** Get Label printer. /** Get Label printer.
@return Label Printer Definition */ @return Label Printer Definition */
@ -111,7 +111,7 @@ return ii.intValue();
public void setAD_PrintLabel_ID (int AD_PrintLabel_ID) public void setAD_PrintLabel_ID (int AD_PrintLabel_ID)
{ {
if (AD_PrintLabel_ID < 1) throw new IllegalArgumentException ("AD_PrintLabel_ID is mandatory."); if (AD_PrintLabel_ID < 1) throw new IllegalArgumentException ("AD_PrintLabel_ID is mandatory.");
set_ValueNoCheck ("AD_PrintLabel_ID", new Integer(AD_PrintLabel_ID)); set_ValueNoCheck ("AD_PrintLabel_ID", Integer.valueOf(AD_PrintLabel_ID));
} }
/** Get Print Label. /** Get Print Label.
@return Label Format to print */ @return Label Format to print */
@ -126,7 +126,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -157,7 +157,7 @@ return (String)get_Value("Description");
@param IsLandscape Landscape orientation */ @param IsLandscape Landscape orientation */
public void setIsLandscape (boolean IsLandscape) public void setIsLandscape (boolean IsLandscape)
{ {
set_Value ("IsLandscape", new Boolean(IsLandscape)); set_Value ("IsLandscape", Boolean.valueOf(IsLandscape));
} }
/** Get Landscape. /** Get Landscape.
@return Landscape orientation */ @return Landscape orientation */
@ -175,7 +175,7 @@ return false;
@param LabelHeight Height of the label */ @param LabelHeight Height of the label */
public void setLabelHeight (int LabelHeight) public void setLabelHeight (int LabelHeight)
{ {
set_Value ("LabelHeight", new Integer(LabelHeight)); set_Value ("LabelHeight", Integer.valueOf(LabelHeight));
} }
/** Get Label Height. /** Get Label Height.
@return Height of the label */ @return Height of the label */
@ -189,7 +189,7 @@ return ii.intValue();
@param LabelWidth Width of the Label */ @param LabelWidth Width of the Label */
public void setLabelWidth (int LabelWidth) public void setLabelWidth (int LabelWidth)
{ {
set_Value ("LabelWidth", new Integer(LabelWidth)); set_Value ("LabelWidth", Integer.valueOf(LabelWidth));
} }
/** Get Label Width. /** Get Label Width.
@return Width of the Label */ @return Width of the Label */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintLabelLine /** Generated Model for AD_PrintLabelLine
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintLabelLine extends PO public class X_AD_PrintLabelLine extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_PrintLabelLine (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=569 */ /** AD_Table_ID=569 */
public static final int Table_ID=569; public static final int Table_ID=MTable.getTable_ID("AD_PrintLabelLine");
/** TableName=AD_PrintLabelLine */ /** TableName=AD_PrintLabelLine */
public static final String Table_Name="AD_PrintLabelLine"; public static final String Table_Name="AD_PrintLabelLine";
protected static KeyNamePair Model = new KeyNamePair(569,"AD_PrintLabelLine"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintLabelLine");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -98,7 +98,7 @@ public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null);
else else
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -113,7 +113,7 @@ return ii.intValue();
public void setAD_LabelPrinterFunction_ID (int AD_LabelPrinterFunction_ID) public void setAD_LabelPrinterFunction_ID (int AD_LabelPrinterFunction_ID)
{ {
if (AD_LabelPrinterFunction_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinterFunction_ID is mandatory."); if (AD_LabelPrinterFunction_ID < 1) throw new IllegalArgumentException ("AD_LabelPrinterFunction_ID is mandatory.");
set_Value ("AD_LabelPrinterFunction_ID", new Integer(AD_LabelPrinterFunction_ID)); set_Value ("AD_LabelPrinterFunction_ID", Integer.valueOf(AD_LabelPrinterFunction_ID));
} }
/** Get Label printer Function. /** Get Label printer Function.
@return Function of Label Printer */ @return Function of Label Printer */
@ -128,7 +128,7 @@ return ii.intValue();
public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID) public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID)
{ {
if (AD_PrintLabelLine_ID < 1) throw new IllegalArgumentException ("AD_PrintLabelLine_ID is mandatory."); if (AD_PrintLabelLine_ID < 1) throw new IllegalArgumentException ("AD_PrintLabelLine_ID is mandatory.");
set_ValueNoCheck ("AD_PrintLabelLine_ID", new Integer(AD_PrintLabelLine_ID)); set_ValueNoCheck ("AD_PrintLabelLine_ID", Integer.valueOf(AD_PrintLabelLine_ID));
} }
/** Get Print Label Line. /** Get Print Label Line.
@return Print Label Line Format */ @return Print Label Line Format */
@ -143,7 +143,7 @@ return ii.intValue();
public void setAD_PrintLabel_ID (int AD_PrintLabel_ID) public void setAD_PrintLabel_ID (int AD_PrintLabel_ID)
{ {
if (AD_PrintLabel_ID < 1) throw new IllegalArgumentException ("AD_PrintLabel_ID is mandatory."); if (AD_PrintLabel_ID < 1) throw new IllegalArgumentException ("AD_PrintLabel_ID is mandatory.");
set_ValueNoCheck ("AD_PrintLabel_ID", new Integer(AD_PrintLabel_ID)); set_ValueNoCheck ("AD_PrintLabel_ID", Integer.valueOf(AD_PrintLabel_ID));
} }
/** Get Print Label. /** Get Print Label.
@return Label Format to print */ @return Label Format to print */
@ -220,7 +220,7 @@ return (String)get_Value("PrintName");
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;
@ -241,7 +241,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getSeqNo()));
@param XPosition Absolute X (horizontal) position in 1/72 of an inch */ @param XPosition Absolute X (horizontal) position in 1/72 of an inch */
public void setXPosition (int XPosition) public void setXPosition (int XPosition)
{ {
set_Value ("XPosition", new Integer(XPosition)); set_Value ("XPosition", Integer.valueOf(XPosition));
} }
/** Get X Position. /** Get X Position.
@return Absolute X (horizontal) position in 1/72 of an inch */ @return Absolute X (horizontal) position in 1/72 of an inch */
@ -255,7 +255,7 @@ return ii.intValue();
@param YPosition Absolute Y (vertical) position in 1/72 of an inch */ @param YPosition Absolute Y (vertical) position in 1/72 of an inch */
public void setYPosition (int YPosition) public void setYPosition (int YPosition)
{ {
set_Value ("YPosition", new Integer(YPosition)); set_Value ("YPosition", Integer.valueOf(YPosition));
} }
/** Get Y Position. /** Get Y Position.
@return Absolute Y (vertical) position in 1/72 of an inch */ @return Absolute Y (vertical) position in 1/72 of an inch */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintPaper /** Generated Model for AD_PrintPaper
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintPaper extends PO public class X_AD_PrintPaper extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -61,12 +61,12 @@ public X_AD_PrintPaper (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=492 */ /** AD_Table_ID=492 */
public static final int Table_ID=492; public static final int Table_ID=MTable.getTable_ID("AD_PrintPaper");
/** TableName=AD_PrintPaper */ /** TableName=AD_PrintPaper */
public static final String Table_Name="AD_PrintPaper"; public static final String Table_Name="AD_PrintPaper";
protected static KeyNamePair Model = new KeyNamePair(492,"AD_PrintPaper"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintPaper");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -98,7 +98,7 @@ return sb.toString();
public void setAD_PrintPaper_ID (int AD_PrintPaper_ID) public void setAD_PrintPaper_ID (int AD_PrintPaper_ID)
{ {
if (AD_PrintPaper_ID < 1) throw new IllegalArgumentException ("AD_PrintPaper_ID is mandatory."); if (AD_PrintPaper_ID < 1) throw new IllegalArgumentException ("AD_PrintPaper_ID is mandatory.");
set_ValueNoCheck ("AD_PrintPaper_ID", new Integer(AD_PrintPaper_ID)); set_ValueNoCheck ("AD_PrintPaper_ID", Integer.valueOf(AD_PrintPaper_ID));
} }
/** Get Print Paper. /** Get Print Paper.
@return Printer paper definition */ @return Printer paper definition */
@ -173,7 +173,7 @@ return (String)get_Value("DimensionUnits");
@param IsDefault Default value */ @param IsDefault Default value */
public void setIsDefault (boolean IsDefault) public void setIsDefault (boolean IsDefault)
{ {
set_Value ("IsDefault", new Boolean(IsDefault)); set_Value ("IsDefault", Boolean.valueOf(IsDefault));
} }
/** Get Default. /** Get Default.
@return Default value */ @return Default value */
@ -191,7 +191,7 @@ return false;
@param IsLandscape Landscape orientation */ @param IsLandscape Landscape orientation */
public void setIsLandscape (boolean IsLandscape) public void setIsLandscape (boolean IsLandscape)
{ {
set_Value ("IsLandscape", new Boolean(IsLandscape)); set_Value ("IsLandscape", Boolean.valueOf(IsLandscape));
} }
/** Get Landscape. /** Get Landscape.
@return Landscape orientation */ @return Landscape orientation */
@ -209,7 +209,7 @@ return false;
@param MarginBottom Bottom Space in 1/72 inch */ @param MarginBottom Bottom Space in 1/72 inch */
public void setMarginBottom (int MarginBottom) public void setMarginBottom (int MarginBottom)
{ {
set_Value ("MarginBottom", new Integer(MarginBottom)); set_Value ("MarginBottom", Integer.valueOf(MarginBottom));
} }
/** Get Bottom Margin. /** Get Bottom Margin.
@return Bottom Space in 1/72 inch */ @return Bottom Space in 1/72 inch */
@ -223,7 +223,7 @@ return ii.intValue();
@param MarginLeft Left Space in 1/72 inch */ @param MarginLeft Left Space in 1/72 inch */
public void setMarginLeft (int MarginLeft) public void setMarginLeft (int MarginLeft)
{ {
set_Value ("MarginLeft", new Integer(MarginLeft)); set_Value ("MarginLeft", Integer.valueOf(MarginLeft));
} }
/** Get Left Margin. /** Get Left Margin.
@return Left Space in 1/72 inch */ @return Left Space in 1/72 inch */
@ -237,7 +237,7 @@ return ii.intValue();
@param MarginRight Right Space in 1/72 inch */ @param MarginRight Right Space in 1/72 inch */
public void setMarginRight (int MarginRight) public void setMarginRight (int MarginRight)
{ {
set_Value ("MarginRight", new Integer(MarginRight)); set_Value ("MarginRight", Integer.valueOf(MarginRight));
} }
/** Get Right Margin. /** Get Right Margin.
@return Right Space in 1/72 inch */ @return Right Space in 1/72 inch */
@ -251,7 +251,7 @@ return ii.intValue();
@param MarginTop Top Space in 1/72 inch */ @param MarginTop Top Space in 1/72 inch */
public void setMarginTop (int MarginTop) public void setMarginTop (int MarginTop)
{ {
set_Value ("MarginTop", new Integer(MarginTop)); set_Value ("MarginTop", Integer.valueOf(MarginTop));
} }
/** Get Top Margin. /** Get Top Margin.
@return Top Space in 1/72 inch */ @return Top Space in 1/72 inch */
@ -289,7 +289,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_PrintTableFormat /** Generated Model for AD_PrintTableFormat
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_PrintTableFormat extends PO public class X_AD_PrintTableFormat extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_PrintTableFormat (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=523 */ /** AD_Table_ID=523 */
public static final int Table_ID=523; public static final int Table_ID=MTable.getTable_ID("AD_PrintTableFormat");
/** TableName=AD_PrintTableFormat */ /** TableName=AD_PrintTableFormat */
public static final String Table_Name="AD_PrintTableFormat"; public static final String Table_Name="AD_PrintTableFormat";
protected static KeyNamePair Model = new KeyNamePair(523,"AD_PrintTableFormat"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_PrintTableFormat");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -97,7 +97,7 @@ return sb.toString();
public void setAD_PrintTableFormat_ID (int AD_PrintTableFormat_ID) public void setAD_PrintTableFormat_ID (int AD_PrintTableFormat_ID)
{ {
if (AD_PrintTableFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintTableFormat_ID is mandatory."); if (AD_PrintTableFormat_ID < 1) throw new IllegalArgumentException ("AD_PrintTableFormat_ID is mandatory.");
set_ValueNoCheck ("AD_PrintTableFormat_ID", new Integer(AD_PrintTableFormat_ID)); set_ValueNoCheck ("AD_PrintTableFormat_ID", Integer.valueOf(AD_PrintTableFormat_ID));
} }
/** Get Print Table Format. /** Get Print Table Format.
@return Table Format in Reports */ @return Table Format in Reports */
@ -184,7 +184,7 @@ public void setFunctBG_PrintColor_ID (int FunctBG_PrintColor_ID)
{ {
if (FunctBG_PrintColor_ID <= 0) set_Value ("FunctBG_PrintColor_ID", null); if (FunctBG_PrintColor_ID <= 0) set_Value ("FunctBG_PrintColor_ID", null);
else else
set_Value ("FunctBG_PrintColor_ID", new Integer(FunctBG_PrintColor_ID)); set_Value ("FunctBG_PrintColor_ID", Integer.valueOf(FunctBG_PrintColor_ID));
} }
/** Get Function BG Color. /** Get Function BG Color.
@return Function Background Color */ @return Function Background Color */
@ -203,7 +203,7 @@ public void setFunctFG_PrintColor_ID (int FunctFG_PrintColor_ID)
{ {
if (FunctFG_PrintColor_ID <= 0) set_Value ("FunctFG_PrintColor_ID", null); if (FunctFG_PrintColor_ID <= 0) set_Value ("FunctFG_PrintColor_ID", null);
else else
set_Value ("FunctFG_PrintColor_ID", new Integer(FunctFG_PrintColor_ID)); set_Value ("FunctFG_PrintColor_ID", Integer.valueOf(FunctFG_PrintColor_ID));
} }
/** Get Function Color. /** Get Function Color.
@return Function Foreground Color */ @return Function Foreground Color */
@ -222,7 +222,7 @@ public void setFunct_PrintFont_ID (int Funct_PrintFont_ID)
{ {
if (Funct_PrintFont_ID <= 0) set_Value ("Funct_PrintFont_ID", null); if (Funct_PrintFont_ID <= 0) set_Value ("Funct_PrintFont_ID", null);
else else
set_Value ("Funct_PrintFont_ID", new Integer(Funct_PrintFont_ID)); set_Value ("Funct_PrintFont_ID", Integer.valueOf(Funct_PrintFont_ID));
} }
/** Get Function Font. /** Get Function Font.
@return Function row Font */ @return Function row Font */
@ -241,7 +241,7 @@ public void setHdrLine_PrintColor_ID (int HdrLine_PrintColor_ID)
{ {
if (HdrLine_PrintColor_ID <= 0) set_Value ("HdrLine_PrintColor_ID", null); if (HdrLine_PrintColor_ID <= 0) set_Value ("HdrLine_PrintColor_ID", null);
else else
set_Value ("HdrLine_PrintColor_ID", new Integer(HdrLine_PrintColor_ID)); set_Value ("HdrLine_PrintColor_ID", Integer.valueOf(HdrLine_PrintColor_ID));
} }
/** Get Header Line Color. /** Get Header Line Color.
@return Table header row line color */ @return Table header row line color */
@ -304,7 +304,7 @@ public void setHdrTextBG_PrintColor_ID (int HdrTextBG_PrintColor_ID)
{ {
if (HdrTextBG_PrintColor_ID <= 0) set_Value ("HdrTextBG_PrintColor_ID", null); if (HdrTextBG_PrintColor_ID <= 0) set_Value ("HdrTextBG_PrintColor_ID", null);
else else
set_Value ("HdrTextBG_PrintColor_ID", new Integer(HdrTextBG_PrintColor_ID)); set_Value ("HdrTextBG_PrintColor_ID", Integer.valueOf(HdrTextBG_PrintColor_ID));
} }
/** Get Header Row BG Color. /** Get Header Row BG Color.
@return Background color of header row */ @return Background color of header row */
@ -323,7 +323,7 @@ public void setHdrTextFG_PrintColor_ID (int HdrTextFG_PrintColor_ID)
{ {
if (HdrTextFG_PrintColor_ID <= 0) set_Value ("HdrTextFG_PrintColor_ID", null); if (HdrTextFG_PrintColor_ID <= 0) set_Value ("HdrTextFG_PrintColor_ID", null);
else else
set_Value ("HdrTextFG_PrintColor_ID", new Integer(HdrTextFG_PrintColor_ID)); set_Value ("HdrTextFG_PrintColor_ID", Integer.valueOf(HdrTextFG_PrintColor_ID));
} }
/** Get Header Row Color. /** Get Header Row Color.
@return Foreground color if the table header row */ @return Foreground color if the table header row */
@ -342,7 +342,7 @@ public void setHdr_PrintFont_ID (int Hdr_PrintFont_ID)
{ {
if (Hdr_PrintFont_ID <= 0) set_Value ("Hdr_PrintFont_ID", null); if (Hdr_PrintFont_ID <= 0) set_Value ("Hdr_PrintFont_ID", null);
else else
set_Value ("Hdr_PrintFont_ID", new Integer(Hdr_PrintFont_ID)); set_Value ("Hdr_PrintFont_ID", Integer.valueOf(Hdr_PrintFont_ID));
} }
/** Get Header Row Font. /** Get Header Row Font.
@return Header row Font */ @return Header row Font */
@ -407,7 +407,7 @@ return (String)get_Value("HeaderRight");
@param ImageIsAttached The image to be printed is attached to the record */ @param ImageIsAttached The image to be printed is attached to the record */
public void setImageIsAttached (boolean ImageIsAttached) public void setImageIsAttached (boolean ImageIsAttached)
{ {
set_Value ("ImageIsAttached", new Boolean(ImageIsAttached)); set_Value ("ImageIsAttached", Boolean.valueOf(ImageIsAttached));
} }
/** Get Image attached. /** Get Image attached.
@return The image to be printed is attached to the record */ @return The image to be printed is attached to the record */
@ -442,7 +442,7 @@ return (String)get_Value("ImageURL");
@param IsDefault Default value */ @param IsDefault Default value */
public void setIsDefault (boolean IsDefault) public void setIsDefault (boolean IsDefault)
{ {
set_Value ("IsDefault", new Boolean(IsDefault)); set_Value ("IsDefault", Boolean.valueOf(IsDefault));
} }
/** Get Default. /** Get Default.
@return Default value */ @return Default value */
@ -460,7 +460,7 @@ return false;
@param IsPaintBoundaryLines Paint table boundary lines */ @param IsPaintBoundaryLines Paint table boundary lines */
public void setIsPaintBoundaryLines (boolean IsPaintBoundaryLines) public void setIsPaintBoundaryLines (boolean IsPaintBoundaryLines)
{ {
set_Value ("IsPaintBoundaryLines", new Boolean(IsPaintBoundaryLines)); set_Value ("IsPaintBoundaryLines", Boolean.valueOf(IsPaintBoundaryLines));
} }
/** Get Paint Boundary Lines. /** Get Paint Boundary Lines.
@return Paint table boundary lines */ @return Paint table boundary lines */
@ -478,7 +478,7 @@ return false;
@param IsPaintHLines Paint horizontal lines */ @param IsPaintHLines Paint horizontal lines */
public void setIsPaintHLines (boolean IsPaintHLines) public void setIsPaintHLines (boolean IsPaintHLines)
{ {
set_Value ("IsPaintHLines", new Boolean(IsPaintHLines)); set_Value ("IsPaintHLines", Boolean.valueOf(IsPaintHLines));
} }
/** Get Paint Horizontal Lines. /** Get Paint Horizontal Lines.
@return Paint horizontal lines */ @return Paint horizontal lines */
@ -496,7 +496,7 @@ return false;
@param IsPaintHeaderLines Paint Lines over/under the Header Line */ @param IsPaintHeaderLines Paint Lines over/under the Header Line */
public void setIsPaintHeaderLines (boolean IsPaintHeaderLines) public void setIsPaintHeaderLines (boolean IsPaintHeaderLines)
{ {
set_Value ("IsPaintHeaderLines", new Boolean(IsPaintHeaderLines)); set_Value ("IsPaintHeaderLines", Boolean.valueOf(IsPaintHeaderLines));
} }
/** Get Paint Header Lines. /** Get Paint Header Lines.
@return Paint Lines over/under the Header Line */ @return Paint Lines over/under the Header Line */
@ -514,7 +514,7 @@ return false;
@param IsPaintVLines Paint vertical lines */ @param IsPaintVLines Paint vertical lines */
public void setIsPaintVLines (boolean IsPaintVLines) public void setIsPaintVLines (boolean IsPaintVLines)
{ {
set_Value ("IsPaintVLines", new Boolean(IsPaintVLines)); set_Value ("IsPaintVLines", Boolean.valueOf(IsPaintVLines));
} }
/** Get Paint Vertical Lines. /** Get Paint Vertical Lines.
@return Paint vertical lines */ @return Paint vertical lines */
@ -532,7 +532,7 @@ return false;
@param IsPrintFunctionSymbols Print Symbols for Functions (Sum, Average, Count) */ @param IsPrintFunctionSymbols Print Symbols for Functions (Sum, Average, Count) */
public void setIsPrintFunctionSymbols (boolean IsPrintFunctionSymbols) public void setIsPrintFunctionSymbols (boolean IsPrintFunctionSymbols)
{ {
set_Value ("IsPrintFunctionSymbols", new Boolean(IsPrintFunctionSymbols)); set_Value ("IsPrintFunctionSymbols", Boolean.valueOf(IsPrintFunctionSymbols));
} }
/** Get Print Function Symbols. /** Get Print Function Symbols.
@return Print Symbols for Functions (Sum, Average, Count) */ @return Print Symbols for Functions (Sum, Average, Count) */
@ -599,7 +599,7 @@ public void setLine_PrintColor_ID (int Line_PrintColor_ID)
{ {
if (Line_PrintColor_ID <= 0) set_Value ("Line_PrintColor_ID", null); if (Line_PrintColor_ID <= 0) set_Value ("Line_PrintColor_ID", null);
else else
set_Value ("Line_PrintColor_ID", new Integer(Line_PrintColor_ID)); set_Value ("Line_PrintColor_ID", Integer.valueOf(Line_PrintColor_ID));
} }
/** Get Line Color. /** Get Line Color.
@return Table line color */ @return Table line color */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Private_Access /** Generated Model for AD_Private_Access
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Private_Access extends PO public class X_AD_Private_Access extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Private_Access (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=627 */ /** AD_Table_ID=627 */
public static final int Table_ID=627; public static final int Table_ID=MTable.getTable_ID("AD_Private_Access");
/** TableName=AD_Private_Access */ /** TableName=AD_Private_Access */
public static final String Table_Name="AD_Private_Access"; public static final String Table_Name="AD_Private_Access";
protected static KeyNamePair Model = new KeyNamePair(627,"AD_Private_Access"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Private_Access");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_User_ID (int AD_User_ID) public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID < 1) throw new IllegalArgumentException ("AD_User_ID is mandatory."); if (AD_User_ID < 1) throw new IllegalArgumentException ("AD_User_ID is mandatory.");
set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */
@ -122,7 +122,7 @@ return ii.intValue();
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Process /** Generated Model for AD_Process
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 3.1.2 - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Process extends PO public class X_AD_Process extends PO
{ {
/** Standard Constructor /** Standard Constructor

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Process_Access /** Generated Model for AD_Process_Access
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Process_Access extends PO public class X_AD_Process_Access extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Process_Access (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=197 */ /** AD_Table_ID=197 */
public static final int Table_ID=197; public static final int Table_ID=MTable.getTable_ID("AD_Process_Access");
/** TableName=AD_Process_Access */ /** TableName=AD_Process_Access */
public static final String Table_Name="AD_Process_Access"; public static final String Table_Name="AD_Process_Access";
protected static KeyNamePair Model = new KeyNamePair(197,"AD_Process_Access"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Process_Access");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Process_ID (int AD_Process_ID) public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory."); if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory.");
set_ValueNoCheck ("AD_Process_ID", new Integer(AD_Process_ID)); set_ValueNoCheck ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory.");
set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -121,7 +121,7 @@ return ii.intValue();
@param IsReadWrite Field is read / write */ @param IsReadWrite Field is read / write */
public void setIsReadWrite (boolean IsReadWrite) public void setIsReadWrite (boolean IsReadWrite)
{ {
set_Value ("IsReadWrite", new Boolean(IsReadWrite)); set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite));
} }
/** Get Read Write. /** Get Read Write.
@return Field is read / write */ @return Field is read / write */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Process_Para /** Generated Model for AD_Process_Para
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Process_Para extends PO public class X_AD_Process_Para extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -63,12 +63,12 @@ public X_AD_Process_Para (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=285 */ /** AD_Table_ID=285 */
public static final int Table_ID=285; public static final int Table_ID=MTable.getTable_ID("AD_Process_Para");
/** TableName=AD_Process_Para */ /** TableName=AD_Process_Para */
public static final String Table_Name="AD_Process_Para"; public static final String Table_Name="AD_Process_Para";
protected static KeyNamePair Model = new KeyNamePair(285,"AD_Process_Para"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Process_Para");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -101,7 +101,7 @@ public void setAD_Element_ID (int AD_Element_ID)
{ {
if (AD_Element_ID <= 0) set_Value ("AD_Element_ID", null); if (AD_Element_ID <= 0) set_Value ("AD_Element_ID", null);
else else
set_Value ("AD_Element_ID", new Integer(AD_Element_ID)); set_Value ("AD_Element_ID", Integer.valueOf(AD_Element_ID));
} }
/** Get System Element. /** Get System Element.
@return System Element enables the central maintenance of column description and help. */ @return System Element enables the central maintenance of column description and help. */
@ -116,7 +116,7 @@ return ii.intValue();
public void setAD_Process_ID (int AD_Process_ID) public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory."); if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory.");
set_ValueNoCheck ("AD_Process_ID", new Integer(AD_Process_ID)); set_ValueNoCheck ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -131,7 +131,7 @@ return ii.intValue();
public void setAD_Process_Para_ID (int AD_Process_Para_ID) public void setAD_Process_Para_ID (int AD_Process_Para_ID)
{ {
if (AD_Process_Para_ID < 1) throw new IllegalArgumentException ("AD_Process_Para_ID is mandatory."); if (AD_Process_Para_ID < 1) throw new IllegalArgumentException ("AD_Process_Para_ID is mandatory.");
set_ValueNoCheck ("AD_Process_Para_ID", new Integer(AD_Process_Para_ID)); set_ValueNoCheck ("AD_Process_Para_ID", Integer.valueOf(AD_Process_Para_ID));
} }
/** Get Process Parameter. /** Get Process Parameter.
@return Process Parameter */ @return Process Parameter */
@ -149,7 +149,7 @@ public static final int AD_REFERENCE_ID_AD_Reference_ID=1;
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */
@ -168,7 +168,7 @@ public void setAD_Reference_Value_ID (int AD_Reference_Value_ID)
{ {
if (AD_Reference_Value_ID <= 0) set_Value ("AD_Reference_Value_ID", null); if (AD_Reference_Value_ID <= 0) set_Value ("AD_Reference_Value_ID", null);
else else
set_Value ("AD_Reference_Value_ID", new Integer(AD_Reference_Value_ID)); set_Value ("AD_Reference_Value_ID", Integer.valueOf(AD_Reference_Value_ID));
} }
/** Get Reference Key. /** Get Reference Key.
@return Required to specify, if data type is Table or List */ @return Required to specify, if data type is Table or List */
@ -184,7 +184,7 @@ public void setAD_Val_Rule_ID (int AD_Val_Rule_ID)
{ {
if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null); if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null);
else else
set_Value ("AD_Val_Rule_ID", new Integer(AD_Val_Rule_ID)); set_Value ("AD_Val_Rule_ID", Integer.valueOf(AD_Val_Rule_ID));
} }
/** Get Dynamic Validation. /** Get Dynamic Validation.
@return Dynamic Validation Rule */ @return Dynamic Validation Rule */
@ -293,7 +293,7 @@ return (String)get_Value("EntityType");
@param FieldLength Length of the column in the database */ @param FieldLength Length of the column in the database */
public void setFieldLength (int FieldLength) public void setFieldLength (int FieldLength)
{ {
set_Value ("FieldLength", new Integer(FieldLength)); set_Value ("FieldLength", Integer.valueOf(FieldLength));
} }
/** Get Length. /** Get Length.
@return Length of the column in the database */ @return Length of the column in the database */
@ -324,7 +324,7 @@ return (String)get_Value("Help");
@param IsCentrallyMaintained Information maintained in System Element table */ @param IsCentrallyMaintained Information maintained in System Element table */
public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) public void setIsCentrallyMaintained (boolean IsCentrallyMaintained)
{ {
set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained));
} }
/** Get Centrally maintained. /** Get Centrally maintained.
@return Information maintained in System Element table */ @return Information maintained in System Element table */
@ -342,7 +342,7 @@ return false;
@param IsMandatory Data entry is required in this column */ @param IsMandatory Data entry is required in this column */
public void setIsMandatory (boolean IsMandatory) public void setIsMandatory (boolean IsMandatory)
{ {
set_Value ("IsMandatory", new Boolean(IsMandatory)); set_Value ("IsMandatory", Boolean.valueOf(IsMandatory));
} }
/** Get Mandatory. /** Get Mandatory.
@return Data entry is required in this column */ @return Data entry is required in this column */
@ -360,7 +360,7 @@ return false;
@param IsRange The parameter is a range of values */ @param IsRange The parameter is a range of values */
public void setIsRange (boolean IsRange) public void setIsRange (boolean IsRange)
{ {
set_Value ("IsRange", new Boolean(IsRange)); set_Value ("IsRange", Boolean.valueOf(IsRange));
} }
/** Get Range. /** Get Range.
@return The parameter is a range of values */ @return The parameter is a range of values */
@ -403,7 +403,7 @@ return new KeyNamePair(get_ID(), getName());
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Record_Access /** Generated Model for AD_Record_Access
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Record_Access extends PO public class X_AD_Record_Access extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_Record_Access (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=567 */ /** AD_Table_ID=567 */
public static final int Table_ID=567; public static final int Table_ID=MTable.getTable_ID("AD_Record_Access");
/** TableName=AD_Record_Access */ /** TableName=AD_Record_Access */
public static final String Table_Name="AD_Record_Access"; public static final String Table_Name="AD_Record_Access";
protected static KeyNamePair Model = new KeyNamePair(567,"AD_Record_Access"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Record_Access");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -95,7 +95,7 @@ return sb.toString();
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory.");
set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -110,7 +110,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -130,7 +130,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Table_ID()));
@param IsDependentEntities Also check access in dependent entities */ @param IsDependentEntities Also check access in dependent entities */
public void setIsDependentEntities (boolean IsDependentEntities) public void setIsDependentEntities (boolean IsDependentEntities)
{ {
set_Value ("IsDependentEntities", new Boolean(IsDependentEntities)); set_Value ("IsDependentEntities", Boolean.valueOf(IsDependentEntities));
} }
/** Get Dependent Entities. /** Get Dependent Entities.
@return Also check access in dependent entities */ @return Also check access in dependent entities */
@ -148,7 +148,7 @@ return false;
@param IsExclude Exclude access to the data - if not selected Include access to the data */ @param IsExclude Exclude access to the data - if not selected Include access to the data */
public void setIsExclude (boolean IsExclude) public void setIsExclude (boolean IsExclude)
{ {
set_Value ("IsExclude", new Boolean(IsExclude)); set_Value ("IsExclude", Boolean.valueOf(IsExclude));
} }
/** Get Exclude. /** Get Exclude.
@return Exclude access to the data - if not selected Include access to the data */ @return Exclude access to the data - if not selected Include access to the data */
@ -166,7 +166,7 @@ return false;
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */
@ -185,7 +185,7 @@ return false;
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Ref_List /** Generated Model for AD_Ref_List
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Ref_List extends PO public class X_AD_Ref_List extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_Ref_List (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=104 */ /** AD_Table_ID=104 */
public static final int Table_ID=104; public static final int Table_ID=MTable.getTable_ID("AD_Ref_List");
/** TableName=AD_Ref_List */ /** TableName=AD_Ref_List */
public static final String Table_Name="AD_Ref_List"; public static final String Table_Name="AD_Ref_List";
protected static KeyNamePair Model = new KeyNamePair(104,"AD_Ref_List"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Ref_List");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_Ref_List_ID (int AD_Ref_List_ID) public void setAD_Ref_List_ID (int AD_Ref_List_ID)
{ {
if (AD_Ref_List_ID < 1) throw new IllegalArgumentException ("AD_Ref_List_ID is mandatory."); if (AD_Ref_List_ID < 1) throw new IllegalArgumentException ("AD_Ref_List_ID is mandatory.");
set_ValueNoCheck ("AD_Ref_List_ID", new Integer(AD_Ref_List_ID)); set_ValueNoCheck ("AD_Ref_List_ID", Integer.valueOf(AD_Ref_List_ID));
} }
/** Get Reference List. /** Get Reference List.
@return Reference List based on Table */ @return Reference List based on Table */
@ -109,7 +109,7 @@ return ii.intValue();
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_ValueNoCheck ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_ValueNoCheck ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Ref_Table /** Generated Model for AD_Ref_Table
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Ref_Table extends PO public class X_AD_Ref_Table extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_Ref_Table (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=103 */ /** AD_Table_ID=103 */
public static final int Table_ID=103; public static final int Table_ID=MTable.getTable_ID("AD_Ref_Table");
/** TableName=AD_Ref_Table */ /** TableName=AD_Ref_Table */
public static final String Table_Name="AD_Ref_Table"; public static final String Table_Name="AD_Ref_Table";
protected static KeyNamePair Model = new KeyNamePair(103,"AD_Ref_Table"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Ref_Table");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -97,7 +97,7 @@ public static final int AD_DISPLAY_AD_Reference_ID=3;
@param AD_Display Column that will display */ @param AD_Display Column that will display */
public void setAD_Display (int AD_Display) public void setAD_Display (int AD_Display)
{ {
set_Value ("AD_Display", new Integer(AD_Display)); set_Value ("AD_Display", Integer.valueOf(AD_Display));
} }
/** Get Display column. /** Get Display column.
@return Column that will display */ @return Column that will display */
@ -114,7 +114,7 @@ public static final int AD_KEY_AD_Reference_ID=3;
@param AD_Key Unique identifier of a record */ @param AD_Key Unique identifier of a record */
public void setAD_Key (int AD_Key) public void setAD_Key (int AD_Key)
{ {
set_Value ("AD_Key", new Integer(AD_Key)); set_Value ("AD_Key", Integer.valueOf(AD_Key));
} }
/** Get Key column. /** Get Key column.
@return Unique identifier of a record */ @return Unique identifier of a record */
@ -129,7 +129,7 @@ return ii.intValue();
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_ValueNoCheck ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_ValueNoCheck ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */
@ -150,7 +150,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Reference_ID()));
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -186,7 +186,7 @@ return (String)get_Value("EntityType");
@param IsValueDisplayed Displays Value column with the Display column */ @param IsValueDisplayed Displays Value column with the Display column */
public void setIsValueDisplayed (boolean IsValueDisplayed) public void setIsValueDisplayed (boolean IsValueDisplayed)
{ {
set_Value ("IsValueDisplayed", new Boolean(IsValueDisplayed)); set_Value ("IsValueDisplayed", Boolean.valueOf(IsValueDisplayed));
} }
/** Get Display Value. /** Get Display Value.
@return Displays Value column with the Display column */ @return Displays Value column with the Display column */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Reference /** Generated Model for AD_Reference
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Reference extends PO public class X_AD_Reference extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Reference (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=102 */ /** AD_Table_ID=102 */
public static final int Table_ID=102; public static final int Table_ID=MTable.getTable_ID("AD_Reference");
/** TableName=AD_Reference */ /** TableName=AD_Reference */
public static final String Table_Name="AD_Reference"; public static final String Table_Name="AD_Reference";
protected static KeyNamePair Model = new KeyNamePair(102,"AD_Reference"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Reference");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Reference_ID (int AD_Reference_ID) public void setAD_Reference_ID (int AD_Reference_ID)
{ {
if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory."); if (AD_Reference_ID < 1) throw new IllegalArgumentException ("AD_Reference_ID is mandatory.");
set_ValueNoCheck ("AD_Reference_ID", new Integer(AD_Reference_ID)); set_ValueNoCheck ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID));
} }
/** Get Reference. /** Get Reference.
@return System Reference and Validation */ @return System Reference and Validation */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Registration /** Generated Model for AD_Registration
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Registration extends PO public class X_AD_Registration extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -58,12 +58,12 @@ public X_AD_Registration (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=625 */ /** AD_Table_ID=625 */
public static final int Table_ID=625; public static final int Table_ID=MTable.getTable_ID("AD_Registration");
/** TableName=AD_Registration */ /** TableName=AD_Registration */
public static final String Table_Name="AD_Registration"; public static final String Table_Name="AD_Registration";
protected static KeyNamePair Model = new KeyNamePair(625,"AD_Registration"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Registration");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -95,7 +95,7 @@ return sb.toString();
public void setAD_Registration_ID (int AD_Registration_ID) public void setAD_Registration_ID (int AD_Registration_ID)
{ {
if (AD_Registration_ID < 1) throw new IllegalArgumentException ("AD_Registration_ID is mandatory."); if (AD_Registration_ID < 1) throw new IllegalArgumentException ("AD_Registration_ID is mandatory.");
set_ValueNoCheck ("AD_Registration_ID", new Integer(AD_Registration_ID)); set_ValueNoCheck ("AD_Registration_ID", Integer.valueOf(AD_Registration_ID));
} }
/** Get System Registration. /** Get System Registration.
@return System Registration */ @return System Registration */
@ -110,7 +110,7 @@ return ii.intValue();
public void setAD_System_ID (int AD_System_ID) public void setAD_System_ID (int AD_System_ID)
{ {
if (AD_System_ID < 1) throw new IllegalArgumentException ("AD_System_ID is mandatory."); if (AD_System_ID < 1) throw new IllegalArgumentException ("AD_System_ID is mandatory.");
set_ValueNoCheck ("AD_System_ID", new Integer(AD_System_ID)); set_ValueNoCheck ("AD_System_ID", Integer.valueOf(AD_System_ID));
} }
/** Get System. /** Get System.
@return System Definition */ @return System Definition */
@ -126,7 +126,7 @@ public void setC_Currency_ID (int C_Currency_ID)
{ {
if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null);
else else
set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID));
} }
/** Get Currency. /** Get Currency.
@return The Currency for this record */ @return The Currency for this record */
@ -142,7 +142,7 @@ public void setC_Location_ID (int C_Location_ID)
{ {
if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); if (C_Location_ID <= 0) set_Value ("C_Location_ID", null);
else else
set_Value ("C_Location_ID", new Integer(C_Location_ID)); set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID));
} }
/** Get Address. /** Get Address.
@return Location or Address */ @return Location or Address */
@ -190,7 +190,7 @@ return (String)get_Value("IndustryInfo");
@param IsAllowPublish You allow to publish the information, not just statistical summary info */ @param IsAllowPublish You allow to publish the information, not just statistical summary info */
public void setIsAllowPublish (boolean IsAllowPublish) public void setIsAllowPublish (boolean IsAllowPublish)
{ {
set_Value ("IsAllowPublish", new Boolean(IsAllowPublish)); set_Value ("IsAllowPublish", Boolean.valueOf(IsAllowPublish));
} }
/** Get Allowed to be Published. /** Get Allowed to be Published.
@return You allow to publish the information, not just statistical summary info */ @return You allow to publish the information, not just statistical summary info */
@ -208,7 +208,7 @@ return false;
@param IsAllowStatistics Maintain general statistics */ @param IsAllowStatistics Maintain general statistics */
public void setIsAllowStatistics (boolean IsAllowStatistics) public void setIsAllowStatistics (boolean IsAllowStatistics)
{ {
set_Value ("IsAllowStatistics", new Boolean(IsAllowStatistics)); set_Value ("IsAllowStatistics", Boolean.valueOf(IsAllowStatistics));
} }
/** Get Maintain Statistics. /** Get Maintain Statistics.
@return Maintain general statistics */ @return Maintain general statistics */
@ -226,7 +226,7 @@ return false;
@param IsInProduction The system is in production */ @param IsInProduction The system is in production */
public void setIsInProduction (boolean IsInProduction) public void setIsInProduction (boolean IsInProduction)
{ {
set_Value ("IsInProduction", new Boolean(IsInProduction)); set_Value ("IsInProduction", Boolean.valueOf(IsInProduction));
} }
/** Get In Production. /** Get In Production.
@return The system is in production */ @return The system is in production */
@ -244,7 +244,7 @@ return false;
@param IsRegistered The application is registered. */ @param IsRegistered The application is registered. */
public void setIsRegistered (boolean IsRegistered) public void setIsRegistered (boolean IsRegistered)
{ {
set_ValueNoCheck ("IsRegistered", new Boolean(IsRegistered)); set_ValueNoCheck ("IsRegistered", Boolean.valueOf(IsRegistered));
} }
/** Get Registered. /** Get Registered.
@return The application is registered. */ @return The application is registered. */
@ -262,7 +262,7 @@ return false;
@param NumberEmployees Number of employees */ @param NumberEmployees Number of employees */
public void setNumberEmployees (int NumberEmployees) public void setNumberEmployees (int NumberEmployees)
{ {
set_Value ("NumberEmployees", new Integer(NumberEmployees)); set_Value ("NumberEmployees", Integer.valueOf(NumberEmployees));
} }
/** Get Employees. /** Get Employees.
@return Number of employees */ @return Number of employees */
@ -293,7 +293,7 @@ return (String)get_Value("PlatformInfo");
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -313,7 +313,7 @@ public void setRecord_ID (int Record_ID)
{ {
if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null); if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null);
else else
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */
@ -361,7 +361,7 @@ return (String)get_Value("Remote_Host");
@param SalesVolume Total Volume of Sales in Thousands of Currency */ @param SalesVolume Total Volume of Sales in Thousands of Currency */
public void setSalesVolume (int SalesVolume) public void setSalesVolume (int SalesVolume)
{ {
set_Value ("SalesVolume", new Integer(SalesVolume)); set_Value ("SalesVolume", Integer.valueOf(SalesVolume));
} }
/** Get Sales Volume in 1.000. /** Get Sales Volume in 1.000.
@return Total Volume of Sales in Thousands of Currency */ @return Total Volume of Sales in Thousands of Currency */
@ -372,13 +372,13 @@ if (ii == null) return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Start Implementation/Production. /** Set Start Implementation/Production.
@param StartProductionDate The day you started the implementation (if implementing) - or production (went life) with Compiere */ @param StartProductionDate The day you started the implementation (if implementing) - or production (went life) with Adempiere */
public void setStartProductionDate (Timestamp StartProductionDate) public void setStartProductionDate (Timestamp StartProductionDate)
{ {
set_Value ("StartProductionDate", StartProductionDate); set_Value ("StartProductionDate", StartProductionDate);
} }
/** Get Start Implementation/Production. /** Get Start Implementation/Production.
@return The day you started the implementation (if implementing) - or production (went life) with Compiere */ @return The day you started the implementation (if implementing) - or production (went life) with Adempiere */
public Timestamp getStartProductionDate() public Timestamp getStartProductionDate()
{ {
return (Timestamp)get_Value("StartProductionDate"); return (Timestamp)get_Value("StartProductionDate");

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Replication /** Generated Model for AD_Replication
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Replication extends PO public class X_AD_Replication extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_Replication (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=605 */ /** AD_Table_ID=605 */
public static final int Table_ID=605; public static final int Table_ID=MTable.getTable_ID("AD_Replication");
/** TableName=AD_Replication */ /** TableName=AD_Replication */
public static final String Table_Name="AD_Replication"; public static final String Table_Name="AD_Replication";
protected static KeyNamePair Model = new KeyNamePair(605,"AD_Replication"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Replication");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -97,7 +97,7 @@ return sb.toString();
public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID) public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID)
{ {
if (AD_ReplicationStrategy_ID < 1) throw new IllegalArgumentException ("AD_ReplicationStrategy_ID is mandatory."); if (AD_ReplicationStrategy_ID < 1) throw new IllegalArgumentException ("AD_ReplicationStrategy_ID is mandatory.");
set_Value ("AD_ReplicationStrategy_ID", new Integer(AD_ReplicationStrategy_ID)); set_Value ("AD_ReplicationStrategy_ID", Integer.valueOf(AD_ReplicationStrategy_ID));
} }
/** Get Replication Strategy. /** Get Replication Strategy.
@return Data Replication Strategy */ @return Data Replication Strategy */
@ -112,7 +112,7 @@ return ii.intValue();
public void setAD_Replication_ID (int AD_Replication_ID) public void setAD_Replication_ID (int AD_Replication_ID)
{ {
if (AD_Replication_ID < 1) throw new IllegalArgumentException ("AD_Replication_ID is mandatory."); if (AD_Replication_ID < 1) throw new IllegalArgumentException ("AD_Replication_ID is mandatory.");
set_ValueNoCheck ("AD_Replication_ID", new Integer(AD_Replication_ID)); set_ValueNoCheck ("AD_Replication_ID", Integer.valueOf(AD_Replication_ID));
} }
/** Get Replication. /** Get Replication.
@return Data Replication Target */ @return Data Replication Target */
@ -190,7 +190,7 @@ return (String)get_Value("HostAddress");
@param HostPort Host Communication Port */ @param HostPort Host Communication Port */
public void setHostPort (int HostPort) public void setHostPort (int HostPort)
{ {
set_Value ("HostPort", new Integer(HostPort)); set_Value ("HostPort", Integer.valueOf(HostPort));
} }
/** Get Host port. /** Get Host port.
@return Host Communication Port */ @return Host Communication Port */
@ -232,7 +232,7 @@ return bd;
@param IsRMIoverHTTP Connect to Server via HTTP Tunnel */ @param IsRMIoverHTTP Connect to Server via HTTP Tunnel */
public void setIsRMIoverHTTP (boolean IsRMIoverHTTP) public void setIsRMIoverHTTP (boolean IsRMIoverHTTP)
{ {
set_Value ("IsRMIoverHTTP", new Boolean(IsRMIoverHTTP)); set_Value ("IsRMIoverHTTP", Boolean.valueOf(IsRMIoverHTTP));
} }
/** Get Tunnel via HTTP. /** Get Tunnel via HTTP.
@return Connect to Server via HTTP Tunnel */ @return Connect to Server via HTTP Tunnel */
@ -291,7 +291,7 @@ return (String)get_Value("Prefix");
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -313,7 +313,7 @@ public static final int REMOTE_CLIENT_ID_AD_Reference_ID=129;
public void setRemote_Client_ID (int Remote_Client_ID) public void setRemote_Client_ID (int Remote_Client_ID)
{ {
if (Remote_Client_ID < 1) throw new IllegalArgumentException ("Remote_Client_ID is mandatory."); if (Remote_Client_ID < 1) throw new IllegalArgumentException ("Remote_Client_ID is mandatory.");
set_ValueNoCheck ("Remote_Client_ID", new Integer(Remote_Client_ID)); set_ValueNoCheck ("Remote_Client_ID", Integer.valueOf(Remote_Client_ID));
} }
/** Get Remote Client. /** Get Remote Client.
@return Remote Client to be used to replicate / synchronize data with. */ @return Remote Client to be used to replicate / synchronize data with. */
@ -331,7 +331,7 @@ public static final int REMOTE_ORG_ID_AD_Reference_ID=276;
public void setRemote_Org_ID (int Remote_Org_ID) public void setRemote_Org_ID (int Remote_Org_ID)
{ {
if (Remote_Org_ID < 1) throw new IllegalArgumentException ("Remote_Org_ID is mandatory."); if (Remote_Org_ID < 1) throw new IllegalArgumentException ("Remote_Org_ID is mandatory.");
set_ValueNoCheck ("Remote_Org_ID", new Integer(Remote_Org_ID)); set_ValueNoCheck ("Remote_Org_ID", Integer.valueOf(Remote_Org_ID));
} }
/** Get Remote Organization. /** Get Remote Organization.
@return Remote Organization to be used to replicate / synchronize data with. */ @return Remote Organization to be used to replicate / synchronize data with. */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ReplicationStrategy /** Generated Model for AD_ReplicationStrategy
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ReplicationStrategy extends PO public class X_AD_ReplicationStrategy extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_ReplicationStrategy (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=602 */ /** AD_Table_ID=602 */
public static final int Table_ID=602; public static final int Table_ID=MTable.getTable_ID("AD_ReplicationStrategy");
/** TableName=AD_ReplicationStrategy */ /** TableName=AD_ReplicationStrategy */
public static final String Table_Name="AD_ReplicationStrategy"; public static final String Table_Name="AD_ReplicationStrategy";
protected static KeyNamePair Model = new KeyNamePair(602,"AD_ReplicationStrategy"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ReplicationStrategy");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID) public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID)
{ {
if (AD_ReplicationStrategy_ID < 1) throw new IllegalArgumentException ("AD_ReplicationStrategy_ID is mandatory."); if (AD_ReplicationStrategy_ID < 1) throw new IllegalArgumentException ("AD_ReplicationStrategy_ID is mandatory.");
set_ValueNoCheck ("AD_ReplicationStrategy_ID", new Integer(AD_ReplicationStrategy_ID)); set_ValueNoCheck ("AD_ReplicationStrategy_ID", Integer.valueOf(AD_ReplicationStrategy_ID));
} }
/** Get Replication Strategy. /** Get Replication Strategy.
@return Data Replication Strategy */ @return Data Replication Strategy */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ReplicationTable /** Generated Model for AD_ReplicationTable
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ReplicationTable extends PO public class X_AD_ReplicationTable extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -57,12 +57,12 @@ public X_AD_ReplicationTable (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=601 */ /** AD_Table_ID=601 */
public static final int Table_ID=601; public static final int Table_ID=MTable.getTable_ID("AD_ReplicationTable");
/** TableName=AD_ReplicationTable */ /** TableName=AD_ReplicationTable */
public static final String Table_Name="AD_ReplicationTable"; public static final String Table_Name="AD_ReplicationTable";
protected static KeyNamePair Model = new KeyNamePair(601,"AD_ReplicationTable"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ReplicationTable");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ return sb.toString();
public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID) public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID)
{ {
if (AD_ReplicationStrategy_ID < 1) throw new IllegalArgumentException ("AD_ReplicationStrategy_ID is mandatory."); if (AD_ReplicationStrategy_ID < 1) throw new IllegalArgumentException ("AD_ReplicationStrategy_ID is mandatory.");
set_ValueNoCheck ("AD_ReplicationStrategy_ID", new Integer(AD_ReplicationStrategy_ID)); set_ValueNoCheck ("AD_ReplicationStrategy_ID", Integer.valueOf(AD_ReplicationStrategy_ID));
} }
/** Get Replication Strategy. /** Get Replication Strategy.
@return Data Replication Strategy */ @return Data Replication Strategy */
@ -115,7 +115,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_ReplicationStrategy_ID()))
public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID) public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID)
{ {
if (AD_ReplicationTable_ID < 1) throw new IllegalArgumentException ("AD_ReplicationTable_ID is mandatory."); if (AD_ReplicationTable_ID < 1) throw new IllegalArgumentException ("AD_ReplicationTable_ID is mandatory.");
set_ValueNoCheck ("AD_ReplicationTable_ID", new Integer(AD_ReplicationTable_ID)); set_ValueNoCheck ("AD_ReplicationTable_ID", Integer.valueOf(AD_ReplicationTable_ID));
} }
/** Get Replication Table. /** Get Replication Table.
@return Data Replication Strategy Table Info */ @return Data Replication Strategy Table Info */
@ -130,7 +130,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Replication_Log /** Generated Model for AD_Replication_Log
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Replication_Log extends PO public class X_AD_Replication_Log extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Replication_Log (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=604 */ /** AD_Table_ID=604 */
public static final int Table_ID=604; public static final int Table_ID=MTable.getTable_ID("AD_Replication_Log");
/** TableName=AD_Replication_Log */ /** TableName=AD_Replication_Log */
public static final String Table_Name="AD_Replication_Log"; public static final String Table_Name="AD_Replication_Log";
protected static KeyNamePair Model = new KeyNamePair(604,"AD_Replication_Log"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Replication_Log");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ public void setAD_ReplicationTable_ID (int AD_ReplicationTable_ID)
{ {
if (AD_ReplicationTable_ID <= 0) set_Value ("AD_ReplicationTable_ID", null); if (AD_ReplicationTable_ID <= 0) set_Value ("AD_ReplicationTable_ID", null);
else else
set_Value ("AD_ReplicationTable_ID", new Integer(AD_ReplicationTable_ID)); set_Value ("AD_ReplicationTable_ID", Integer.valueOf(AD_ReplicationTable_ID));
} }
/** Get Replication Table. /** Get Replication Table.
@return Data Replication Strategy Table Info */ @return Data Replication Strategy Table Info */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Replication_Log_ID (int AD_Replication_Log_ID) public void setAD_Replication_Log_ID (int AD_Replication_Log_ID)
{ {
if (AD_Replication_Log_ID < 1) throw new IllegalArgumentException ("AD_Replication_Log_ID is mandatory."); if (AD_Replication_Log_ID < 1) throw new IllegalArgumentException ("AD_Replication_Log_ID is mandatory.");
set_ValueNoCheck ("AD_Replication_Log_ID", new Integer(AD_Replication_Log_ID)); set_ValueNoCheck ("AD_Replication_Log_ID", Integer.valueOf(AD_Replication_Log_ID));
} }
/** Get Replication Log. /** Get Replication Log.
@return Data Replication Log Details */ @return Data Replication Log Details */
@ -123,7 +123,7 @@ return ii.intValue();
public void setAD_Replication_Run_ID (int AD_Replication_Run_ID) public void setAD_Replication_Run_ID (int AD_Replication_Run_ID)
{ {
if (AD_Replication_Run_ID < 1) throw new IllegalArgumentException ("AD_Replication_Run_ID is mandatory."); if (AD_Replication_Run_ID < 1) throw new IllegalArgumentException ("AD_Replication_Run_ID is mandatory.");
set_ValueNoCheck ("AD_Replication_Run_ID", new Integer(AD_Replication_Run_ID)); set_ValueNoCheck ("AD_Replication_Run_ID", Integer.valueOf(AD_Replication_Run_ID));
} }
/** Get Replication Run. /** Get Replication Run.
@return Data Replication Run */ @return Data Replication Run */
@ -143,7 +143,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Replication_Run_ID()));
@param IsReplicated The data is successfully replicated */ @param IsReplicated The data is successfully replicated */
public void setIsReplicated (boolean IsReplicated) public void setIsReplicated (boolean IsReplicated)
{ {
set_Value ("IsReplicated", new Boolean(IsReplicated)); set_Value ("IsReplicated", Boolean.valueOf(IsReplicated));
} }
/** Get Replicated. /** Get Replicated.
@return The data is successfully replicated */ @return The data is successfully replicated */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Replication_Run /** Generated Model for AD_Replication_Run
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Replication_Run extends PO public class X_AD_Replication_Run extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Replication_Run (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=603 */ /** AD_Table_ID=603 */
public static final int Table_ID=603; public static final int Table_ID=MTable.getTable_ID("AD_Replication_Run");
/** TableName=AD_Replication_Run */ /** TableName=AD_Replication_Run */
public static final String Table_Name="AD_Replication_Run"; public static final String Table_Name="AD_Replication_Run";
protected static KeyNamePair Model = new KeyNamePair(603,"AD_Replication_Run"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Replication_Run");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Replication_ID (int AD_Replication_ID) public void setAD_Replication_ID (int AD_Replication_ID)
{ {
if (AD_Replication_ID < 1) throw new IllegalArgumentException ("AD_Replication_ID is mandatory."); if (AD_Replication_ID < 1) throw new IllegalArgumentException ("AD_Replication_ID is mandatory.");
set_ValueNoCheck ("AD_Replication_ID", new Integer(AD_Replication_ID)); set_ValueNoCheck ("AD_Replication_ID", Integer.valueOf(AD_Replication_ID));
} }
/** Get Replication. /** Get Replication.
@return Data Replication Target */ @return Data Replication Target */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Replication_Run_ID (int AD_Replication_Run_ID) public void setAD_Replication_Run_ID (int AD_Replication_Run_ID)
{ {
if (AD_Replication_Run_ID < 1) throw new IllegalArgumentException ("AD_Replication_Run_ID is mandatory."); if (AD_Replication_Run_ID < 1) throw new IllegalArgumentException ("AD_Replication_Run_ID is mandatory.");
set_ValueNoCheck ("AD_Replication_Run_ID", new Integer(AD_Replication_Run_ID)); set_ValueNoCheck ("AD_Replication_Run_ID", Integer.valueOf(AD_Replication_Run_ID));
} }
/** Get Replication Run. /** Get Replication Run.
@return Data Replication Run */ @return Data Replication Run */
@ -139,7 +139,7 @@ return (String)get_Value("Description");
@param IsReplicated The data is successfully replicated */ @param IsReplicated The data is successfully replicated */
public void setIsReplicated (boolean IsReplicated) public void setIsReplicated (boolean IsReplicated)
{ {
set_ValueNoCheck ("IsReplicated", new Boolean(IsReplicated)); set_ValueNoCheck ("IsReplicated", Boolean.valueOf(IsReplicated));
} }
/** Get Replicated. /** Get Replicated.
@return The data is successfully replicated */ @return The data is successfully replicated */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ReportView /** Generated Model for AD_ReportView
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ReportView extends PO public class X_AD_ReportView extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_ReportView (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=361 */ /** AD_Table_ID=361 */
public static final int Table_ID=361; public static final int Table_ID=MTable.getTable_ID("AD_ReportView");
/** TableName=AD_ReportView */ /** TableName=AD_ReportView */
public static final String Table_Name="AD_ReportView"; public static final String Table_Name="AD_ReportView";
protected static KeyNamePair Model = new KeyNamePair(361,"AD_ReportView"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ReportView");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_ReportView_ID (int AD_ReportView_ID) public void setAD_ReportView_ID (int AD_ReportView_ID)
{ {
if (AD_ReportView_ID < 1) throw new IllegalArgumentException ("AD_ReportView_ID is mandatory."); if (AD_ReportView_ID < 1) throw new IllegalArgumentException ("AD_ReportView_ID is mandatory.");
set_ValueNoCheck ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); set_ValueNoCheck ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID));
} }
/** Get Report View. /** Get Report View.
@return View used to generate this report */ @return View used to generate this report */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_ReportView_Col /** Generated Model for AD_ReportView_Col
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_ReportView_Col extends PO public class X_AD_ReportView_Col extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_ReportView_Col (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=428 */ /** AD_Table_ID=428 */
public static final int Table_ID=428; public static final int Table_ID=MTable.getTable_ID("AD_ReportView_Col");
/** TableName=AD_ReportView_Col */ /** TableName=AD_ReportView_Col */
public static final String Table_Name="AD_ReportView_Col"; public static final String Table_Name="AD_ReportView_Col";
protected static KeyNamePair Model = new KeyNamePair(428,"AD_ReportView_Col"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_ReportView_Col");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -94,7 +94,7 @@ public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null);
else else
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -109,7 +109,7 @@ return ii.intValue();
public void setAD_ReportView_Col_ID (int AD_ReportView_Col_ID) public void setAD_ReportView_Col_ID (int AD_ReportView_Col_ID)
{ {
if (AD_ReportView_Col_ID < 1) throw new IllegalArgumentException ("AD_ReportView_Col_ID is mandatory."); if (AD_ReportView_Col_ID < 1) throw new IllegalArgumentException ("AD_ReportView_Col_ID is mandatory.");
set_ValueNoCheck ("AD_ReportView_Col_ID", new Integer(AD_ReportView_Col_ID)); set_ValueNoCheck ("AD_ReportView_Col_ID", Integer.valueOf(AD_ReportView_Col_ID));
} }
/** Get Report view Column. /** Get Report view Column.
@return Report view Column */ @return Report view Column */
@ -124,7 +124,7 @@ return ii.intValue();
public void setAD_ReportView_ID (int AD_ReportView_ID) public void setAD_ReportView_ID (int AD_ReportView_ID)
{ {
if (AD_ReportView_ID < 1) throw new IllegalArgumentException ("AD_ReportView_ID is mandatory."); if (AD_ReportView_ID < 1) throw new IllegalArgumentException ("AD_ReportView_ID is mandatory.");
set_ValueNoCheck ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); set_ValueNoCheck ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID));
} }
/** Get Report View. /** Get Report View.
@return View used to generate this report */ @return View used to generate this report */
@ -162,7 +162,7 @@ return (String)get_Value("FunctionColumn");
@param IsGroupFunction This function will generate a Group By Clause */ @param IsGroupFunction This function will generate a Group By Clause */
public void setIsGroupFunction (boolean IsGroupFunction) public void setIsGroupFunction (boolean IsGroupFunction)
{ {
set_Value ("IsGroupFunction", new Boolean(IsGroupFunction)); set_Value ("IsGroupFunction", Boolean.valueOf(IsGroupFunction));
} }
/** Get SQL Group Function. /** Get SQL Group Function.
@return This function will generate a Group By Clause */ @return This function will generate a Group By Clause */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Role /** Generated Model for AD_Role
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Role extends PO public class X_AD_Role extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -69,12 +69,12 @@ public X_AD_Role (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=156 */ /** AD_Table_ID=156 */
public static final int Table_ID=156; public static final int Table_ID=MTable.getTable_ID("AD_Role");
/** TableName=AD_Role */ /** TableName=AD_Role */
public static final String Table_Name="AD_Role"; public static final String Table_Name="AD_Role";
protected static KeyNamePair Model = new KeyNamePair(156,"AD_Role"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Role");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -106,7 +106,7 @@ return sb.toString();
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory.");
set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -125,7 +125,7 @@ public void setAD_Tree_Menu_ID (int AD_Tree_Menu_ID)
{ {
if (AD_Tree_Menu_ID <= 0) set_Value ("AD_Tree_Menu_ID", null); if (AD_Tree_Menu_ID <= 0) set_Value ("AD_Tree_Menu_ID", null);
else else
set_Value ("AD_Tree_Menu_ID", new Integer(AD_Tree_Menu_ID)); set_Value ("AD_Tree_Menu_ID", Integer.valueOf(AD_Tree_Menu_ID));
} }
/** Get Menu Tree. /** Get Menu Tree.
@return Tree of the menu */ @return Tree of the menu */
@ -144,7 +144,7 @@ public void setAD_Tree_Org_ID (int AD_Tree_Org_ID)
{ {
if (AD_Tree_Org_ID <= 0) set_Value ("AD_Tree_Org_ID", null); if (AD_Tree_Org_ID <= 0) set_Value ("AD_Tree_Org_ID", null);
else else
set_Value ("AD_Tree_Org_ID", new Integer(AD_Tree_Org_ID)); set_Value ("AD_Tree_Org_ID", Integer.valueOf(AD_Tree_Org_ID));
} }
/** Get Organization Tree. /** Get Organization Tree.
@return Tree to determine organizational hierarchy */ @return Tree to determine organizational hierarchy */
@ -174,7 +174,7 @@ public void setC_Currency_ID (int C_Currency_ID)
{ {
if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null);
else else
set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID));
} }
/** Get Currency. /** Get Currency.
@return The Currency for this record */ @return The Currency for this record */
@ -188,7 +188,7 @@ return ii.intValue();
@param ConfirmQueryRecords Require Confirmation if more records will be returned by the query (If not defined 500) */ @param ConfirmQueryRecords Require Confirmation if more records will be returned by the query (If not defined 500) */
public void setConfirmQueryRecords (int ConfirmQueryRecords) public void setConfirmQueryRecords (int ConfirmQueryRecords)
{ {
set_Value ("ConfirmQueryRecords", new Integer(ConfirmQueryRecords)); set_Value ("ConfirmQueryRecords", Integer.valueOf(ConfirmQueryRecords));
} }
/** Get Confirm Query Records. /** Get Confirm Query Records.
@return Require Confirmation if more records will be returned by the query (If not defined 500) */ @return Require Confirmation if more records will be returned by the query (If not defined 500) */
@ -249,7 +249,7 @@ return (String)get_Value("Description");
@param IsAccessAllOrgs Access all Organizations (no org access control) of the client */ @param IsAccessAllOrgs Access all Organizations (no org access control) of the client */
public void setIsAccessAllOrgs (boolean IsAccessAllOrgs) public void setIsAccessAllOrgs (boolean IsAccessAllOrgs)
{ {
set_Value ("IsAccessAllOrgs", new Boolean(IsAccessAllOrgs)); set_Value ("IsAccessAllOrgs", Boolean.valueOf(IsAccessAllOrgs));
} }
/** Get Access all Orgs. /** Get Access all Orgs.
@return Access all Organizations (no org access control) of the client */ @return Access all Organizations (no org access control) of the client */
@ -267,7 +267,7 @@ return false;
@param IsCanApproveOwnDoc Users with this role can approve their own documents */ @param IsCanApproveOwnDoc Users with this role can approve their own documents */
public void setIsCanApproveOwnDoc (boolean IsCanApproveOwnDoc) public void setIsCanApproveOwnDoc (boolean IsCanApproveOwnDoc)
{ {
set_Value ("IsCanApproveOwnDoc", new Boolean(IsCanApproveOwnDoc)); set_Value ("IsCanApproveOwnDoc", Boolean.valueOf(IsCanApproveOwnDoc));
} }
/** Get Approve own Documents. /** Get Approve own Documents.
@return Users with this role can approve their own documents */ @return Users with this role can approve their own documents */
@ -285,7 +285,7 @@ return false;
@param IsCanExport Users with this role can export data */ @param IsCanExport Users with this role can export data */
public void setIsCanExport (boolean IsCanExport) public void setIsCanExport (boolean IsCanExport)
{ {
set_Value ("IsCanExport", new Boolean(IsCanExport)); set_Value ("IsCanExport", Boolean.valueOf(IsCanExport));
} }
/** Get Can Export. /** Get Can Export.
@return Users with this role can export data */ @return Users with this role can export data */
@ -303,7 +303,7 @@ return false;
@param IsCanReport Users with this role can create reports */ @param IsCanReport Users with this role can create reports */
public void setIsCanReport (boolean IsCanReport) public void setIsCanReport (boolean IsCanReport)
{ {
set_Value ("IsCanReport", new Boolean(IsCanReport)); set_Value ("IsCanReport", Boolean.valueOf(IsCanReport));
} }
/** Get Can Report. /** Get Can Report.
@return Users with this role can create reports */ @return Users with this role can create reports */
@ -321,7 +321,7 @@ return false;
@param IsChangeLog Maintain a log of changes */ @param IsChangeLog Maintain a log of changes */
public void setIsChangeLog (boolean IsChangeLog) public void setIsChangeLog (boolean IsChangeLog)
{ {
set_Value ("IsChangeLog", new Boolean(IsChangeLog)); set_Value ("IsChangeLog", Boolean.valueOf(IsChangeLog));
} }
/** Get Maintain Change Log. /** Get Maintain Change Log.
@return Maintain a log of changes */ @return Maintain a log of changes */
@ -339,7 +339,7 @@ return false;
@param IsManual This is a manual process */ @param IsManual This is a manual process */
public void setIsManual (boolean IsManual) public void setIsManual (boolean IsManual)
{ {
set_Value ("IsManual", new Boolean(IsManual)); set_Value ("IsManual", Boolean.valueOf(IsManual));
} }
/** Get Manual. /** Get Manual.
@return This is a manual process */ @return This is a manual process */
@ -357,7 +357,7 @@ return false;
@param IsPersonalAccess Allow access to all personal records */ @param IsPersonalAccess Allow access to all personal records */
public void setIsPersonalAccess (boolean IsPersonalAccess) public void setIsPersonalAccess (boolean IsPersonalAccess)
{ {
set_Value ("IsPersonalAccess", new Boolean(IsPersonalAccess)); set_Value ("IsPersonalAccess", Boolean.valueOf(IsPersonalAccess));
} }
/** Get Personal Access. /** Get Personal Access.
@return Allow access to all personal records */ @return Allow access to all personal records */
@ -375,7 +375,7 @@ return false;
@param IsPersonalLock Allow users with role to lock access to personal records */ @param IsPersonalLock Allow users with role to lock access to personal records */
public void setIsPersonalLock (boolean IsPersonalLock) public void setIsPersonalLock (boolean IsPersonalLock)
{ {
set_Value ("IsPersonalLock", new Boolean(IsPersonalLock)); set_Value ("IsPersonalLock", Boolean.valueOf(IsPersonalLock));
} }
/** Get Personal Lock. /** Get Personal Lock.
@return Allow users with role to lock access to personal records */ @return Allow users with role to lock access to personal records */
@ -393,7 +393,7 @@ return false;
@param IsShowAcct Users with this role can see accounting information */ @param IsShowAcct Users with this role can see accounting information */
public void setIsShowAcct (boolean IsShowAcct) public void setIsShowAcct (boolean IsShowAcct)
{ {
set_Value ("IsShowAcct", new Boolean(IsShowAcct)); set_Value ("IsShowAcct", Boolean.valueOf(IsShowAcct));
} }
/** Get Show Accounting. /** Get Show Accounting.
@return Users with this role can see accounting information */ @return Users with this role can see accounting information */
@ -411,7 +411,7 @@ return false;
@param IsUseUserOrgAccess Use Org Access defined by user instead of Role Org Access */ @param IsUseUserOrgAccess Use Org Access defined by user instead of Role Org Access */
public void setIsUseUserOrgAccess (boolean IsUseUserOrgAccess) public void setIsUseUserOrgAccess (boolean IsUseUserOrgAccess)
{ {
set_Value ("IsUseUserOrgAccess", new Boolean(IsUseUserOrgAccess)); set_Value ("IsUseUserOrgAccess", Boolean.valueOf(IsUseUserOrgAccess));
} }
/** Get Use User Org Access. /** Get Use User Org Access.
@return Use Org Access defined by user instead of Role Org Access */ @return Use Org Access defined by user instead of Role Org Access */
@ -429,7 +429,7 @@ return false;
@param MaxQueryRecords If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records */ @param MaxQueryRecords If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records */
public void setMaxQueryRecords (int MaxQueryRecords) public void setMaxQueryRecords (int MaxQueryRecords)
{ {
set_Value ("MaxQueryRecords", new Integer(MaxQueryRecords)); set_Value ("MaxQueryRecords", Integer.valueOf(MaxQueryRecords));
} }
/** Get Max Query Records. /** Get Max Query Records.
@return If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records */ @return If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records */
@ -467,7 +467,7 @@ return new KeyNamePair(get_ID(), getName());
@param OverwritePriceLimit Overwrite Price Limit if the Price List enforces the Price Limit */ @param OverwritePriceLimit Overwrite Price Limit if the Price List enforces the Price Limit */
public void setOverwritePriceLimit (boolean OverwritePriceLimit) public void setOverwritePriceLimit (boolean OverwritePriceLimit)
{ {
set_Value ("OverwritePriceLimit", new Boolean(OverwritePriceLimit)); set_Value ("OverwritePriceLimit", Boolean.valueOf(OverwritePriceLimit));
} }
/** Get Overwrite Price Limit. /** Get Overwrite Price Limit.
@return Overwrite Price Limit if the Price List enforces the Price Limit */ @return Overwrite Price Limit if the Price List enforces the Price Limit */
@ -521,7 +521,7 @@ public void setSupervisor_ID (int Supervisor_ID)
{ {
if (Supervisor_ID <= 0) set_Value ("Supervisor_ID", null); if (Supervisor_ID <= 0) set_Value ("Supervisor_ID", null);
else else
set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID));
} }
/** Get Supervisor. /** Get Supervisor.
@return Supervisor for this user/organization - used for escalation and approval */ @return Supervisor for this user/organization - used for escalation and approval */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Role_OrgAccess /** Generated Model for AD_Role_OrgAccess
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Role_OrgAccess extends PO public class X_AD_Role_OrgAccess extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Role_OrgAccess (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=422 */ /** AD_Table_ID=422 */
public static final int Table_ID=422; public static final int Table_ID=MTable.getTable_ID("AD_Role_OrgAccess");
/** TableName=AD_Role_OrgAccess */ /** TableName=AD_Role_OrgAccess */
public static final String Table_Name="AD_Role_OrgAccess"; public static final String Table_Name="AD_Role_OrgAccess";
protected static KeyNamePair Model = new KeyNamePair(422,"AD_Role_OrgAccess"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Role_OrgAccess");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_Role_ID (int AD_Role_ID) public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory.");
set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -105,7 +105,7 @@ return ii.intValue();
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Scheduler /** Generated Model for AD_Scheduler
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Scheduler extends PO public class X_AD_Scheduler extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -60,12 +60,12 @@ public X_AD_Scheduler (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=688 */ /** AD_Table_ID=688 */
public static final int Table_ID=688; public static final int Table_ID=MTable.getTable_ID("AD_Scheduler");
/** TableName=AD_Scheduler */ /** TableName=AD_Scheduler */
public static final String Table_Name="AD_Scheduler"; public static final String Table_Name="AD_Scheduler";
protected static KeyNamePair Model = new KeyNamePair(688,"AD_Scheduler"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Scheduler");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -97,7 +97,7 @@ return sb.toString();
public void setAD_Process_ID (int AD_Process_ID) public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory."); if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory.");
set_ValueNoCheck ("AD_Process_ID", new Integer(AD_Process_ID)); set_ValueNoCheck ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -112,7 +112,7 @@ return ii.intValue();
public void setAD_Scheduler_ID (int AD_Scheduler_ID) public void setAD_Scheduler_ID (int AD_Scheduler_ID)
{ {
if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory."); if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory.");
set_ValueNoCheck ("AD_Scheduler_ID", new Integer(AD_Scheduler_ID)); set_ValueNoCheck ("AD_Scheduler_ID", Integer.valueOf(AD_Scheduler_ID));
} }
/** Get Scheduler. /** Get Scheduler.
@return Schedule Processes */ @return Schedule Processes */
@ -167,7 +167,7 @@ return (String)get_Value("Description");
@param Frequency Frequency of events */ @param Frequency Frequency of events */
public void setFrequency (int Frequency) public void setFrequency (int Frequency)
{ {
set_Value ("Frequency", new Integer(Frequency)); set_Value ("Frequency", Integer.valueOf(Frequency));
} }
/** Get Frequency. /** Get Frequency.
@return Frequency of events */ @return Frequency of events */
@ -210,7 +210,7 @@ return (String)get_Value("FrequencyType");
@param KeepLogDays Number of days to keep the log entries */ @param KeepLogDays Number of days to keep the log entries */
public void setKeepLogDays (int KeepLogDays) public void setKeepLogDays (int KeepLogDays)
{ {
set_Value ("KeepLogDays", new Integer(KeepLogDays)); set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays));
} }
/** Get Days to keep Log. /** Get Days to keep Log.
@return Number of days to keep the log entries */ @return Number of days to keep the log entries */
@ -224,7 +224,7 @@ return ii.intValue();
@param MonthDay Day of the month 1 to 28/29/30/31 */ @param MonthDay Day of the month 1 to 28/29/30/31 */
public void setMonthDay (int MonthDay) public void setMonthDay (int MonthDay)
{ {
set_Value ("MonthDay", new Integer(MonthDay)); set_Value ("MonthDay", Integer.valueOf(MonthDay));
} }
/** Get Day of the Month. /** Get Day of the Month.
@return Day of the month 1 to 28/29/30/31 */ @return Day of the month 1 to 28/29/30/31 */
@ -262,7 +262,7 @@ return new KeyNamePair(get_ID(), getName());
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -313,7 +313,7 @@ public static final int SUPERVISOR_ID_AD_Reference_ID=316;
public void setSupervisor_ID (int Supervisor_ID) public void setSupervisor_ID (int Supervisor_ID)
{ {
if (Supervisor_ID < 1) throw new IllegalArgumentException ("Supervisor_ID is mandatory."); if (Supervisor_ID < 1) throw new IllegalArgumentException ("Supervisor_ID is mandatory.");
set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID));
} }
/** Get Supervisor. /** Get Supervisor.
@return Supervisor for this user/organization - used for escalation and approval */ @return Supervisor for this user/organization - used for escalation and approval */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_SchedulerLog /** Generated Model for AD_SchedulerLog
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_SchedulerLog extends PO public class X_AD_SchedulerLog extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_SchedulerLog (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=687 */ /** AD_Table_ID=687 */
public static final int Table_ID=687; public static final int Table_ID=MTable.getTable_ID("AD_SchedulerLog");
/** TableName=AD_SchedulerLog */ /** TableName=AD_SchedulerLog */
public static final String Table_Name="AD_SchedulerLog"; public static final String Table_Name="AD_SchedulerLog";
protected static KeyNamePair Model = new KeyNamePair(687,"AD_SchedulerLog"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_SchedulerLog");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID) public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID)
{ {
if (AD_SchedulerLog_ID < 1) throw new IllegalArgumentException ("AD_SchedulerLog_ID is mandatory."); if (AD_SchedulerLog_ID < 1) throw new IllegalArgumentException ("AD_SchedulerLog_ID is mandatory.");
set_ValueNoCheck ("AD_SchedulerLog_ID", new Integer(AD_SchedulerLog_ID)); set_ValueNoCheck ("AD_SchedulerLog_ID", Integer.valueOf(AD_SchedulerLog_ID));
} }
/** Get Scheduler Log. /** Get Scheduler Log.
@return Result of the execution of the Scheduler */ @return Result of the execution of the Scheduler */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_Scheduler_ID (int AD_Scheduler_ID) public void setAD_Scheduler_ID (int AD_Scheduler_ID)
{ {
if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory."); if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory.");
set_ValueNoCheck ("AD_Scheduler_ID", new Integer(AD_Scheduler_ID)); set_ValueNoCheck ("AD_Scheduler_ID", Integer.valueOf(AD_Scheduler_ID));
} }
/** Get Scheduler. /** Get Scheduler.
@return Schedule Processes */ @return Schedule Processes */
@ -150,7 +150,7 @@ return (String)get_Value("Description");
@param IsError An Error occured in the execution */ @param IsError An Error occured in the execution */
public void setIsError (boolean IsError) public void setIsError (boolean IsError)
{ {
set_Value ("IsError", new Boolean(IsError)); set_Value ("IsError", Boolean.valueOf(IsError));
} }
/** Get Error. /** Get Error.
@return An Error occured in the execution */ @return An Error occured in the execution */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_SchedulerRecipient /** Generated Model for AD_SchedulerRecipient
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_SchedulerRecipient extends PO public class X_AD_SchedulerRecipient extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_SchedulerRecipient (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=704 */ /** AD_Table_ID=704 */
public static final int Table_ID=704; public static final int Table_ID=MTable.getTable_ID("AD_SchedulerRecipient");
/** TableName=AD_SchedulerRecipient */ /** TableName=AD_SchedulerRecipient */
public static final String Table_Name="AD_SchedulerRecipient"; public static final String Table_Name="AD_SchedulerRecipient";
protected static KeyNamePair Model = new KeyNamePair(704,"AD_SchedulerRecipient"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_SchedulerRecipient");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ public void setAD_Role_ID (int AD_Role_ID)
{ {
if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null);
else else
set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID));
} }
/** Get Role. /** Get Role.
@return Responsibility Role */ @return Responsibility Role */
@ -107,7 +107,7 @@ return ii.intValue();
public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID) public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID)
{ {
if (AD_SchedulerRecipient_ID < 1) throw new IllegalArgumentException ("AD_SchedulerRecipient_ID is mandatory."); if (AD_SchedulerRecipient_ID < 1) throw new IllegalArgumentException ("AD_SchedulerRecipient_ID is mandatory.");
set_ValueNoCheck ("AD_SchedulerRecipient_ID", new Integer(AD_SchedulerRecipient_ID)); set_ValueNoCheck ("AD_SchedulerRecipient_ID", Integer.valueOf(AD_SchedulerRecipient_ID));
} }
/** Get Scheduler Recipient. /** Get Scheduler Recipient.
@return Recipient of the Scheduler Notification */ @return Recipient of the Scheduler Notification */
@ -122,7 +122,7 @@ return ii.intValue();
public void setAD_Scheduler_ID (int AD_Scheduler_ID) public void setAD_Scheduler_ID (int AD_Scheduler_ID)
{ {
if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory."); if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory.");
set_ValueNoCheck ("AD_Scheduler_ID", new Integer(AD_Scheduler_ID)); set_ValueNoCheck ("AD_Scheduler_ID", Integer.valueOf(AD_Scheduler_ID));
} }
/** Get Scheduler. /** Get Scheduler.
@return Schedule Processes */ @return Schedule Processes */
@ -138,7 +138,7 @@ public void setAD_User_ID (int AD_User_ID)
{ {
if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); if (AD_User_ID <= 0) set_Value ("AD_User_ID", null);
else else
set_Value ("AD_User_ID", new Integer(AD_User_ID)); set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID));
} }
/** Get User/Contact. /** Get User/Contact.
@return User within the system - Internal or Business Partner Contact */ @return User within the system - Internal or Business Partner Contact */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Scheduler_Para /** Generated Model for AD_Scheduler_Para
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Scheduler_Para extends PO public class X_AD_Scheduler_Para extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Scheduler_Para (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=698 */ /** AD_Table_ID=698 */
public static final int Table_ID=698; public static final int Table_ID=MTable.getTable_ID("AD_Scheduler_Para");
/** TableName=AD_Scheduler_Para */ /** TableName=AD_Scheduler_Para */
public static final String Table_Name="AD_Scheduler_Para"; public static final String Table_Name="AD_Scheduler_Para";
protected static KeyNamePair Model = new KeyNamePair(698,"AD_Scheduler_Para"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Scheduler_Para");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_Process_Para_ID (int AD_Process_Para_ID) public void setAD_Process_Para_ID (int AD_Process_Para_ID)
{ {
if (AD_Process_Para_ID < 1) throw new IllegalArgumentException ("AD_Process_Para_ID is mandatory."); if (AD_Process_Para_ID < 1) throw new IllegalArgumentException ("AD_Process_Para_ID is mandatory.");
set_ValueNoCheck ("AD_Process_Para_ID", new Integer(AD_Process_Para_ID)); set_ValueNoCheck ("AD_Process_Para_ID", Integer.valueOf(AD_Process_Para_ID));
} }
/** Get Process Parameter. /** Get Process Parameter.
@return Process Parameter */ @return Process Parameter */
@ -106,7 +106,7 @@ return ii.intValue();
public void setAD_Scheduler_ID (int AD_Scheduler_ID) public void setAD_Scheduler_ID (int AD_Scheduler_ID)
{ {
if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory."); if (AD_Scheduler_ID < 1) throw new IllegalArgumentException ("AD_Scheduler_ID is mandatory.");
set_ValueNoCheck ("AD_Scheduler_ID", new Integer(AD_Scheduler_ID)); set_ValueNoCheck ("AD_Scheduler_ID", Integer.valueOf(AD_Scheduler_ID));
} }
/** Get Scheduler. /** Get Scheduler.
@return Schedule Processes */ @return Schedule Processes */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Sequence /** Generated Model for AD_Sequence
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Sequence extends PO public class X_AD_Sequence extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -59,12 +59,12 @@ public X_AD_Sequence (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=115 */ /** AD_Table_ID=115 */
public static final int Table_ID=115; public static final int Table_ID=MTable.getTable_ID("AD_Sequence");
/** TableName=AD_Sequence */ /** TableName=AD_Sequence */
public static final String Table_Name="AD_Sequence"; public static final String Table_Name="AD_Sequence";
protected static KeyNamePair Model = new KeyNamePair(115,"AD_Sequence"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Sequence");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -96,7 +96,7 @@ return sb.toString();
public void setAD_Sequence_ID (int AD_Sequence_ID) public void setAD_Sequence_ID (int AD_Sequence_ID)
{ {
if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory."); if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory.");
set_ValueNoCheck ("AD_Sequence_ID", new Integer(AD_Sequence_ID)); set_ValueNoCheck ("AD_Sequence_ID", Integer.valueOf(AD_Sequence_ID));
} }
/** Get Sequence. /** Get Sequence.
@return Document Sequence */ @return Document Sequence */
@ -110,7 +110,7 @@ return ii.intValue();
@param CurrentNext The next number to be used */ @param CurrentNext The next number to be used */
public void setCurrentNext (int CurrentNext) public void setCurrentNext (int CurrentNext)
{ {
set_Value ("CurrentNext", new Integer(CurrentNext)); set_Value ("CurrentNext", Integer.valueOf(CurrentNext));
} }
/** Get Current Next. /** Get Current Next.
@return The next number to be used */ @return The next number to be used */
@ -124,7 +124,7 @@ return ii.intValue();
@param CurrentNextSys Next sequence for system use */ @param CurrentNextSys Next sequence for system use */
public void setCurrentNextSys (int CurrentNextSys) public void setCurrentNextSys (int CurrentNextSys)
{ {
set_Value ("CurrentNextSys", new Integer(CurrentNextSys)); set_Value ("CurrentNextSys", Integer.valueOf(CurrentNextSys));
} }
/** Get Current Next (System). /** Get Current Next (System).
@return Next sequence for system use */ @return Next sequence for system use */
@ -155,7 +155,7 @@ return (String)get_Value("Description");
@param IncrementNo The number to increment the last document number by */ @param IncrementNo The number to increment the last document number by */
public void setIncrementNo (int IncrementNo) public void setIncrementNo (int IncrementNo)
{ {
set_Value ("IncrementNo", new Integer(IncrementNo)); set_Value ("IncrementNo", Integer.valueOf(IncrementNo));
} }
/** Get Increment. /** Get Increment.
@return The number to increment the last document number by */ @return The number to increment the last document number by */
@ -169,7 +169,7 @@ return ii.intValue();
@param IsAudited Activate Audit Trail of what numbers are generated */ @param IsAudited Activate Audit Trail of what numbers are generated */
public void setIsAudited (boolean IsAudited) public void setIsAudited (boolean IsAudited)
{ {
set_Value ("IsAudited", new Boolean(IsAudited)); set_Value ("IsAudited", Boolean.valueOf(IsAudited));
} }
/** Get Activate Audit. /** Get Activate Audit.
@return Activate Audit Trail of what numbers are generated */ @return Activate Audit Trail of what numbers are generated */
@ -187,7 +187,7 @@ return false;
@param IsAutoSequence Automatically assign the next number */ @param IsAutoSequence Automatically assign the next number */
public void setIsAutoSequence (boolean IsAutoSequence) public void setIsAutoSequence (boolean IsAutoSequence)
{ {
set_Value ("IsAutoSequence", new Boolean(IsAutoSequence)); set_Value ("IsAutoSequence", Boolean.valueOf(IsAutoSequence));
} }
/** Get Auto numbering. /** Get Auto numbering.
@return Automatically assign the next number */ @return Automatically assign the next number */
@ -205,7 +205,7 @@ return false;
@param IsTableID The document number will be used as the record key */ @param IsTableID The document number will be used as the record key */
public void setIsTableID (boolean IsTableID) public void setIsTableID (boolean IsTableID)
{ {
set_Value ("IsTableID", new Boolean(IsTableID)); set_Value ("IsTableID", Boolean.valueOf(IsTableID));
} }
/** Get Used for Record ID. /** Get Used for Record ID.
@return The document number will be used as the record key */ @return The document number will be used as the record key */
@ -264,7 +264,7 @@ return (String)get_Value("Prefix");
@param StartNewYear Restart the sequence with Start on every 1/1 */ @param StartNewYear Restart the sequence with Start on every 1/1 */
public void setStartNewYear (boolean StartNewYear) public void setStartNewYear (boolean StartNewYear)
{ {
set_Value ("StartNewYear", new Boolean(StartNewYear)); set_Value ("StartNewYear", Boolean.valueOf(StartNewYear));
} }
/** Get Restart sequence every Year. /** Get Restart sequence every Year.
@return Restart the sequence with Start on every 1/1 */ @return Restart the sequence with Start on every 1/1 */
@ -282,7 +282,7 @@ return false;
@param StartNo Starting number/position */ @param StartNo Starting number/position */
public void setStartNo (int StartNo) public void setStartNo (int StartNo)
{ {
set_Value ("StartNo", new Integer(StartNo)); set_Value ("StartNo", Integer.valueOf(StartNo));
} }
/** Get Start No. /** Get Start No.
@return Starting number/position */ @return Starting number/position */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Sequence_Audit /** Generated Model for AD_Sequence_Audit
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Sequence_Audit extends PO public class X_AD_Sequence_Audit extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -56,12 +56,12 @@ public X_AD_Sequence_Audit (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=121 */ /** AD_Table_ID=121 */
public static final int Table_ID=121; public static final int Table_ID=MTable.getTable_ID("AD_Sequence_Audit");
/** TableName=AD_Sequence_Audit */ /** TableName=AD_Sequence_Audit */
public static final String Table_Name="AD_Sequence_Audit"; public static final String Table_Name="AD_Sequence_Audit";
protected static KeyNamePair Model = new KeyNamePair(121,"AD_Sequence_Audit"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Sequence_Audit");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -93,7 +93,7 @@ return sb.toString();
public void setAD_Sequence_ID (int AD_Sequence_ID) public void setAD_Sequence_ID (int AD_Sequence_ID)
{ {
if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory."); if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory.");
set_ValueNoCheck ("AD_Sequence_ID", new Integer(AD_Sequence_ID)); set_ValueNoCheck ("AD_Sequence_ID", Integer.valueOf(AD_Sequence_ID));
} }
/** Get Sequence. /** Get Sequence.
@return Document Sequence */ @return Document Sequence */
@ -108,7 +108,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -141,7 +141,7 @@ return (String)get_Value("DocumentNo");
public void setRecord_ID (int Record_ID) public void setRecord_ID (int Record_ID)
{ {
if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory.");
set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Sequence_No /** Generated Model for AD_Sequence_No
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Sequence_No extends PO public class X_AD_Sequence_No extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -55,12 +55,12 @@ public X_AD_Sequence_No (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=122 */ /** AD_Table_ID=122 */
public static final int Table_ID=122; public static final int Table_ID=MTable.getTable_ID("AD_Sequence_No");
/** TableName=AD_Sequence_No */ /** TableName=AD_Sequence_No */
public static final String Table_Name="AD_Sequence_No"; public static final String Table_Name="AD_Sequence_No";
protected static KeyNamePair Model = new KeyNamePair(122,"AD_Sequence_No"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Sequence_No");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -92,7 +92,7 @@ return sb.toString();
public void setAD_Sequence_ID (int AD_Sequence_ID) public void setAD_Sequence_ID (int AD_Sequence_ID)
{ {
if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory."); if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory.");
set_ValueNoCheck ("AD_Sequence_ID", new Integer(AD_Sequence_ID)); set_ValueNoCheck ("AD_Sequence_ID", Integer.valueOf(AD_Sequence_ID));
} }
/** Get Sequence. /** Get Sequence.
@return Document Sequence */ @return Document Sequence */
@ -124,7 +124,7 @@ return (String)get_Value("CalendarYear");
@param CurrentNext The next number to be used */ @param CurrentNext The next number to be used */
public void setCurrentNext (int CurrentNext) public void setCurrentNext (int CurrentNext)
{ {
set_Value ("CurrentNext", new Integer(CurrentNext)); set_Value ("CurrentNext", Integer.valueOf(CurrentNext));
} }
/** Get Current Next. /** Get Current Next.
@return The next number to be used */ @return The next number to be used */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Session /** Generated Model for AD_Session
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Session extends PO public class X_AD_Session extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -54,12 +54,12 @@ public X_AD_Session (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=566 */ /** AD_Table_ID=566 */
public static final int Table_ID=566; public static final int Table_ID=MTable.getTable_ID("AD_Session");
/** TableName=AD_Session */ /** TableName=AD_Session */
public static final String Table_Name="AD_Session"; public static final String Table_Name="AD_Session";
protected static KeyNamePair Model = new KeyNamePair(566,"AD_Session"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Session");
protected BigDecimal accessLevel = new BigDecimal(6); protected BigDecimal accessLevel = new BigDecimal(6);
/** AccessLevel /** AccessLevel
@ -91,7 +91,7 @@ return sb.toString();
public void setAD_Session_ID (int AD_Session_ID) public void setAD_Session_ID (int AD_Session_ID)
{ {
if (AD_Session_ID < 1) throw new IllegalArgumentException ("AD_Session_ID is mandatory."); if (AD_Session_ID < 1) throw new IllegalArgumentException ("AD_Session_ID is mandatory.");
set_ValueNoCheck ("AD_Session_ID", new Integer(AD_Session_ID)); set_ValueNoCheck ("AD_Session_ID", Integer.valueOf(AD_Session_ID));
} }
/** Get Session. /** Get Session.
@return User Session Online or Web */ @return User Session Online or Web */
@ -111,7 +111,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Session_ID()));
@param Processed The document has been processed */ @param Processed The document has been processed */
public void setProcessed (boolean Processed) public void setProcessed (boolean Processed)
{ {
set_ValueNoCheck ("Processed", new Boolean(Processed)); set_ValueNoCheck ("Processed", Boolean.valueOf(Processed));
} }
/** Get Processed. /** Get Processed.
@return The document has been processed */ @return The document has been processed */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_System /** Generated Model for AD_System
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_System extends PO public class X_AD_System extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -62,12 +62,12 @@ public X_AD_System (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=531 */ /** AD_Table_ID=531 */
public static final int Table_ID=531; public static final int Table_ID=MTable.getTable_ID("AD_System");
/** TableName=AD_System */ /** TableName=AD_System */
public static final String Table_Name="AD_System"; public static final String Table_Name="AD_System";
protected static KeyNamePair Model = new KeyNamePair(531,"AD_System"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_System");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -99,7 +99,7 @@ return sb.toString();
public void setAD_System_ID (int AD_System_ID) public void setAD_System_ID (int AD_System_ID)
{ {
if (AD_System_ID < 1) throw new IllegalArgumentException ("AD_System_ID is mandatory."); if (AD_System_ID < 1) throw new IllegalArgumentException ("AD_System_ID is mandatory.");
set_ValueNoCheck ("AD_System_ID", new Integer(AD_System_ID)); set_ValueNoCheck ("AD_System_ID", Integer.valueOf(AD_System_ID));
} }
/** Get System. /** Get System.
@return System Definition */ @return System Definition */
@ -244,7 +244,7 @@ return (String)get_Value("Info");
@param IsAllowStatistics Maintain general statistics */ @param IsAllowStatistics Maintain general statistics */
public void setIsAllowStatistics (boolean IsAllowStatistics) public void setIsAllowStatistics (boolean IsAllowStatistics)
{ {
set_Value ("IsAllowStatistics", new Boolean(IsAllowStatistics)); set_Value ("IsAllowStatistics", Boolean.valueOf(IsAllowStatistics));
} }
/** Get Maintain Statistics. /** Get Maintain Statistics.
@return Maintain general statistics */ @return Maintain general statistics */
@ -262,7 +262,7 @@ return false;
@param IsAutoErrorReport Automatically report Errors */ @param IsAutoErrorReport Automatically report Errors */
public void setIsAutoErrorReport (boolean IsAutoErrorReport) public void setIsAutoErrorReport (boolean IsAutoErrorReport)
{ {
set_Value ("IsAutoErrorReport", new Boolean(IsAutoErrorReport)); set_Value ("IsAutoErrorReport", Boolean.valueOf(IsAutoErrorReport));
} }
/** Get Error Reporting. /** Get Error Reporting.
@return Automatically report Errors */ @return Automatically report Errors */
@ -280,7 +280,7 @@ return false;
@param IsJustMigrated Value set by Migration for post-Migation tasks. */ @param IsJustMigrated Value set by Migration for post-Migation tasks. */
public void setIsJustMigrated (boolean IsJustMigrated) public void setIsJustMigrated (boolean IsJustMigrated)
{ {
set_Value ("IsJustMigrated", new Boolean(IsJustMigrated)); set_Value ("IsJustMigrated", Boolean.valueOf(IsJustMigrated));
} }
/** Get Just Migrated. /** Get Just Migrated.
@return Value set by Migration for post-Migation tasks. */ @return Value set by Migration for post-Migation tasks. */
@ -295,7 +295,7 @@ if (oo != null)
return false; return false;
} }
/** Set LDAP Domain. /** Set LDAP Domain.
@param LDAPDomain Directory service domain name - e.g. compiere.org */ @param LDAPDomain Directory service domain name - e.g. adempiere.org */
public void setLDAPDomain (String LDAPDomain) public void setLDAPDomain (String LDAPDomain)
{ {
if (LDAPDomain != null && LDAPDomain.length() > 255) if (LDAPDomain != null && LDAPDomain.length() > 255)
@ -306,7 +306,7 @@ LDAPDomain = LDAPDomain.substring(0,254);
set_Value ("LDAPDomain", LDAPDomain); set_Value ("LDAPDomain", LDAPDomain);
} }
/** Get LDAP Domain. /** Get LDAP Domain.
@return Directory service domain name - e.g. compiere.org */ @return Directory service domain name - e.g. adempiere.org */
public String getLDAPDomain() public String getLDAPDomain()
{ {
return (String)get_Value("LDAPDomain"); return (String)get_Value("LDAPDomain");
@ -356,7 +356,7 @@ return new KeyNamePair(get_ID(), getName());
@param NoProcessors Number of Database Processors */ @param NoProcessors Number of Database Processors */
public void setNoProcessors (int NoProcessors) public void setNoProcessors (int NoProcessors)
{ {
set_Value ("NoProcessors", new Integer(NoProcessors)); set_Value ("NoProcessors", Integer.valueOf(NoProcessors));
} }
/** Get Processors. /** Get Processors.
@return Number of Database Processors */ @return Number of Database Processors */
@ -405,7 +405,7 @@ return (String)get_Value("Password");
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -442,7 +442,7 @@ public void setRecord_ID (int Record_ID)
{ {
if (Record_ID <= 0) set_Value ("Record_ID", null); if (Record_ID <= 0) set_Value ("Record_ID", null);
else else
set_Value ("Record_ID", new Integer(Record_ID)); set_Value ("Record_ID", Integer.valueOf(Record_ID));
} }
/** Get Record ID. /** Get Record ID.
@return Direct internal record ID */ @return Direct internal record ID */
@ -550,25 +550,25 @@ public String getSupportEMail()
return (String)get_Value("SupportEMail"); return (String)get_Value("SupportEMail");
} }
/** Set Support Expires. /** Set Support Expires.
@param SupportExpDate Date when the Compiere support expires */ @param SupportExpDate Date when the Adempiere support expires */
public void setSupportExpDate (Timestamp SupportExpDate) public void setSupportExpDate (Timestamp SupportExpDate)
{ {
set_ValueNoCheck ("SupportExpDate", SupportExpDate); set_ValueNoCheck ("SupportExpDate", SupportExpDate);
} }
/** Get Support Expires. /** Get Support Expires.
@return Date when the Compiere support expires */ @return Date when the Adempiere support expires */
public Timestamp getSupportExpDate() public Timestamp getSupportExpDate()
{ {
return (Timestamp)get_Value("SupportExpDate"); return (Timestamp)get_Value("SupportExpDate");
} }
/** Set Internal Users. /** Set Internal Users.
@param SupportUnits Number of Internal Users for ComPiere Support */ @param SupportUnits Number of Internal Users for Adempiere Support */
public void setSupportUnits (int SupportUnits) public void setSupportUnits (int SupportUnits)
{ {
set_ValueNoCheck ("SupportUnits", new Integer(SupportUnits)); set_ValueNoCheck ("SupportUnits", Integer.valueOf(SupportUnits));
} }
/** Get Internal Users. /** Get Internal Users.
@return Number of Internal Users for ComPiere Support */ @return Number of Internal Users for Adempiere Support */
public int getSupportUnits() public int getSupportUnits()
{ {
Integer ii = (Integer)get_Value("SupportUnits"); Integer ii = (Integer)get_Value("SupportUnits");

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Tab /** Generated Model for AD_Tab
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Tab extends PO public class X_AD_Tab extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -66,12 +66,12 @@ public X_AD_Tab (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=106 */ /** AD_Table_ID=106 */
public static final int Table_ID=106; public static final int Table_ID=MTable.getTable_ID("AD_Tab");
/** TableName=AD_Tab */ /** TableName=AD_Tab */
public static final String Table_Name="AD_Tab"; public static final String Table_Name="AD_Tab";
protected static KeyNamePair Model = new KeyNamePair(106,"AD_Tab"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Tab");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -107,7 +107,7 @@ public void setAD_ColumnSortOrder_ID (int AD_ColumnSortOrder_ID)
{ {
if (AD_ColumnSortOrder_ID <= 0) set_Value ("AD_ColumnSortOrder_ID", null); if (AD_ColumnSortOrder_ID <= 0) set_Value ("AD_ColumnSortOrder_ID", null);
else else
set_Value ("AD_ColumnSortOrder_ID", new Integer(AD_ColumnSortOrder_ID)); set_Value ("AD_ColumnSortOrder_ID", Integer.valueOf(AD_ColumnSortOrder_ID));
} }
/** Get Order Column. /** Get Order Column.
@return Column determining the order */ @return Column determining the order */
@ -126,7 +126,7 @@ public void setAD_ColumnSortYesNo_ID (int AD_ColumnSortYesNo_ID)
{ {
if (AD_ColumnSortYesNo_ID <= 0) set_Value ("AD_ColumnSortYesNo_ID", null); if (AD_ColumnSortYesNo_ID <= 0) set_Value ("AD_ColumnSortYesNo_ID", null);
else else
set_Value ("AD_ColumnSortYesNo_ID", new Integer(AD_ColumnSortYesNo_ID)); set_Value ("AD_ColumnSortYesNo_ID", Integer.valueOf(AD_ColumnSortYesNo_ID));
} }
/** Get Included Column. /** Get Included Column.
@return Column determining if a Table Column is included in Ordering */ @return Column determining if a Table Column is included in Ordering */
@ -142,7 +142,7 @@ public void setAD_Column_ID (int AD_Column_ID)
{ {
if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null);
else else
set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID));
} }
/** Get Column. /** Get Column.
@return Column in the table */ @return Column in the table */
@ -158,7 +158,7 @@ public void setAD_Image_ID (int AD_Image_ID)
{ {
if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null);
else else
set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID));
} }
/** Get Image. /** Get Image.
@return Image or Icon */ @return Image or Icon */
@ -174,7 +174,7 @@ public void setAD_Process_ID (int AD_Process_ID)
{ {
if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null);
else else
set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
} }
/** Get Process. /** Get Process.
@return Process or Report */ @return Process or Report */
@ -189,7 +189,7 @@ return ii.intValue();
public void setAD_Tab_ID (int AD_Tab_ID) public void setAD_Tab_ID (int AD_Tab_ID)
{ {
if (AD_Tab_ID < 1) throw new IllegalArgumentException ("AD_Tab_ID is mandatory."); if (AD_Tab_ID < 1) throw new IllegalArgumentException ("AD_Tab_ID is mandatory.");
set_ValueNoCheck ("AD_Tab_ID", new Integer(AD_Tab_ID)); set_ValueNoCheck ("AD_Tab_ID", Integer.valueOf(AD_Tab_ID));
} }
/** Get Tab. /** Get Tab.
@return Tab within a Window */ @return Tab within a Window */
@ -204,7 +204,7 @@ return ii.intValue();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -219,7 +219,7 @@ return ii.intValue();
public void setAD_Window_ID (int AD_Window_ID) public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID < 1) throw new IllegalArgumentException ("AD_Window_ID is mandatory."); if (AD_Window_ID < 1) throw new IllegalArgumentException ("AD_Window_ID is mandatory.");
set_ValueNoCheck ("AD_Window_ID", new Integer(AD_Window_ID)); set_ValueNoCheck ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get Window.
@return Data entry or display window */ @return Data entry or display window */
@ -306,7 +306,7 @@ return (String)get_Value("EntityType");
@param HasTree Window has Tree Graph */ @param HasTree Window has Tree Graph */
public void setHasTree (boolean HasTree) public void setHasTree (boolean HasTree)
{ {
set_Value ("HasTree", new Boolean(HasTree)); set_Value ("HasTree", Boolean.valueOf(HasTree));
} }
/** Get Has Tree. /** Get Has Tree.
@return Window has Tree Graph */ @return Window has Tree Graph */
@ -363,7 +363,7 @@ public void setIncluded_Tab_ID (int Included_Tab_ID)
{ {
if (Included_Tab_ID <= 0) set_Value ("Included_Tab_ID", null); if (Included_Tab_ID <= 0) set_Value ("Included_Tab_ID", null);
else else
set_Value ("Included_Tab_ID", new Integer(Included_Tab_ID)); set_Value ("Included_Tab_ID", Integer.valueOf(Included_Tab_ID));
} }
/** Get Included Tab. /** Get Included Tab.
@return Included Tab in this Tab (Master Dateail) */ @return Included Tab in this Tab (Master Dateail) */
@ -377,7 +377,7 @@ return ii.intValue();
@param IsAdvancedTab This Tab contains advanced Functionality */ @param IsAdvancedTab This Tab contains advanced Functionality */
public void setIsAdvancedTab (boolean IsAdvancedTab) public void setIsAdvancedTab (boolean IsAdvancedTab)
{ {
set_Value ("IsAdvancedTab", new Boolean(IsAdvancedTab)); set_Value ("IsAdvancedTab", Boolean.valueOf(IsAdvancedTab));
} }
/** Get Advanced Tab. /** Get Advanced Tab.
@return This Tab contains advanced Functionality */ @return This Tab contains advanced Functionality */
@ -395,7 +395,7 @@ return false;
@param IsInfoTab This Tab contains accounting information */ @param IsInfoTab This Tab contains accounting information */
public void setIsInfoTab (boolean IsInfoTab) public void setIsInfoTab (boolean IsInfoTab)
{ {
set_Value ("IsInfoTab", new Boolean(IsInfoTab)); set_Value ("IsInfoTab", Boolean.valueOf(IsInfoTab));
} }
/** Get Accounting Tab. /** Get Accounting Tab.
@return This Tab contains accounting information */ @return This Tab contains accounting information */
@ -413,7 +413,7 @@ return false;
@param IsInsertRecord The user can insert a new Record */ @param IsInsertRecord The user can insert a new Record */
public void setIsInsertRecord (boolean IsInsertRecord) public void setIsInsertRecord (boolean IsInsertRecord)
{ {
set_Value ("IsInsertRecord", new Boolean(IsInsertRecord)); set_Value ("IsInsertRecord", Boolean.valueOf(IsInsertRecord));
} }
/** Get Insert Record. /** Get Insert Record.
@return The user can insert a new Record */ @return The user can insert a new Record */
@ -431,7 +431,7 @@ return false;
@param IsReadOnly Field is read only */ @param IsReadOnly Field is read only */
public void setIsReadOnly (boolean IsReadOnly) public void setIsReadOnly (boolean IsReadOnly)
{ {
set_Value ("IsReadOnly", new Boolean(IsReadOnly)); set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly));
} }
/** Get Read Only. /** Get Read Only.
@return Field is read only */ @return Field is read only */
@ -449,7 +449,7 @@ return false;
@param IsSingleRow Default for toggle between Single- and Multi-Row (Grid) Layout */ @param IsSingleRow Default for toggle between Single- and Multi-Row (Grid) Layout */
public void setIsSingleRow (boolean IsSingleRow) public void setIsSingleRow (boolean IsSingleRow)
{ {
set_Value ("IsSingleRow", new Boolean(IsSingleRow)); set_Value ("IsSingleRow", Boolean.valueOf(IsSingleRow));
} }
/** Get Single Row Layout. /** Get Single Row Layout.
@return Default for toggle between Single- and Multi-Row (Grid) Layout */ @return Default for toggle between Single- and Multi-Row (Grid) Layout */
@ -467,7 +467,7 @@ return false;
@param IsSortTab The Tab determines the Order */ @param IsSortTab The Tab determines the Order */
public void setIsSortTab (boolean IsSortTab) public void setIsSortTab (boolean IsSortTab)
{ {
set_Value ("IsSortTab", new Boolean(IsSortTab)); set_Value ("IsSortTab", Boolean.valueOf(IsSortTab));
} }
/** Get Order Tab. /** Get Order Tab.
@return The Tab determines the Order */ @return The Tab determines the Order */
@ -485,7 +485,7 @@ return false;
@param IsTranslationTab This Tab contains translation information */ @param IsTranslationTab This Tab contains translation information */
public void setIsTranslationTab (boolean IsTranslationTab) public void setIsTranslationTab (boolean IsTranslationTab)
{ {
set_Value ("IsTranslationTab", new Boolean(IsTranslationTab)); set_Value ("IsTranslationTab", Boolean.valueOf(IsTranslationTab));
} }
/** Get TranslationTab. /** Get TranslationTab.
@return This Tab contains translation information */ @return This Tab contains translation information */
@ -544,7 +544,7 @@ return (String)get_Value("OrderByClause");
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
{ {
set_Value ("Processing", new Boolean(Processing)); set_Value ("Processing", Boolean.valueOf(Processing));
} }
/** Get Process Now. /** Get Process Now.
@return Process Now */ @return Process Now */
@ -580,7 +580,7 @@ return (String)get_Value("ReadOnlyLogic");
lowest number comes first */ lowest number comes first */
public void setSeqNo (int SeqNo) public void setSeqNo (int SeqNo)
{ {
set_Value ("SeqNo", new Integer(SeqNo)); set_Value ("SeqNo", Integer.valueOf(SeqNo));
} }
/** Get Sequence. /** Get Sequence.
@return Method of ordering records; @return Method of ordering records;
@ -595,7 +595,7 @@ return ii.intValue();
@param TabLevel Hierarchical Tab Level (0 = top) */ @param TabLevel Hierarchical Tab Level (0 = top) */
public void setTabLevel (int TabLevel) public void setTabLevel (int TabLevel)
{ {
set_Value ("TabLevel", new Integer(TabLevel)); set_Value ("TabLevel", Integer.valueOf(TabLevel));
} }
/** Get Tab Level. /** Get Tab Level.
@return Hierarchical Tab Level (0 = top) */ @return Hierarchical Tab Level (0 = top) */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Compiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; * This program is free software;
you can redistribute it and/or modify it * you can redistribute it and/or modify it *
@ -26,7 +26,7 @@ import java.math.*;
import org.compiere.util.*; import org.compiere.util.*;
/** Generated Model for AD_Table /** Generated Model for AD_Table
* @author Jorg Janke (generated) * @author Jorg Janke (generated)
* @version Release 2.6.0a - $Id$ */ * @version Release 3.1.3 - $Id$ */
public class X_AD_Table extends PO public class X_AD_Table extends PO
{ {
/** Standard Constructor /** Standard Constructor
@ -63,12 +63,12 @@ public X_AD_Table (Properties ctx, ResultSet rs, String trxName)
super (ctx, rs, trxName); super (ctx, rs, trxName);
} }
/** AD_Table_ID=100 */ /** AD_Table_ID=100 */
public static final int Table_ID=100; public static final int Table_ID=MTable.getTable_ID("AD_Table");
/** TableName=AD_Table */ /** TableName=AD_Table */
public static final String Table_Name="AD_Table"; public static final String Table_Name="AD_Table";
protected static KeyNamePair Model = new KeyNamePair(100,"AD_Table"); protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Table");
protected BigDecimal accessLevel = new BigDecimal(4); protected BigDecimal accessLevel = new BigDecimal(4);
/** AccessLevel /** AccessLevel
@ -100,7 +100,7 @@ return sb.toString();
public void setAD_Table_ID (int AD_Table_ID) public void setAD_Table_ID (int AD_Table_ID)
{ {
if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory."); if (AD_Table_ID < 1) throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID));
} }
/** Get Table. /** Get Table.
@return Database Table information */ @return Database Table information */
@ -116,7 +116,7 @@ public void setAD_Val_Rule_ID (int AD_Val_Rule_ID)
{ {
if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null); if (AD_Val_Rule_ID <= 0) set_Value ("AD_Val_Rule_ID", null);
else else
set_Value ("AD_Val_Rule_ID", new Integer(AD_Val_Rule_ID)); set_Value ("AD_Val_Rule_ID", Integer.valueOf(AD_Val_Rule_ID));
} }
/** Get Dynamic Validation. /** Get Dynamic Validation.
@return Dynamic Validation Rule */ @return Dynamic Validation Rule */
@ -132,7 +132,7 @@ public void setAD_Window_ID (int AD_Window_ID)
{ {
if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null);
else else
set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID));
} }
/** Get Window. /** Get Window.
@return Data entry or display window */ @return Data entry or display window */
@ -254,7 +254,7 @@ return (String)get_Value("ImportTable");
@param IsChangeLog Maintain a log of changes */ @param IsChangeLog Maintain a log of changes */
public void setIsChangeLog (boolean IsChangeLog) public void setIsChangeLog (boolean IsChangeLog)
{ {
set_Value ("IsChangeLog", new Boolean(IsChangeLog)); set_Value ("IsChangeLog", Boolean.valueOf(IsChangeLog));
} }
/** Get Maintain Change Log. /** Get Maintain Change Log.
@return Maintain a log of changes */ @return Maintain a log of changes */
@ -272,7 +272,7 @@ return false;
@param IsDeleteable Indicates if records can be deleted from the database */ @param IsDeleteable Indicates if records can be deleted from the database */
public void setIsDeleteable (boolean IsDeleteable) public void setIsDeleteable (boolean IsDeleteable)
{ {
set_Value ("IsDeleteable", new Boolean(IsDeleteable)); set_Value ("IsDeleteable", Boolean.valueOf(IsDeleteable));
} }
/** Get Records deleteable. /** Get Records deleteable.
@return Indicates if records can be deleted from the database */ @return Indicates if records can be deleted from the database */
@ -290,7 +290,7 @@ return false;
@param IsHighVolume Use Search instead of Pick list */ @param IsHighVolume Use Search instead of Pick list */
public void setIsHighVolume (boolean IsHighVolume) public void setIsHighVolume (boolean IsHighVolume)
{ {
set_Value ("IsHighVolume", new Boolean(IsHighVolume)); set_Value ("IsHighVolume", Boolean.valueOf(IsHighVolume));
} }
/** Get High Volume. /** Get High Volume.
@return Use Search instead of Pick list */ @return Use Search instead of Pick list */
@ -308,7 +308,7 @@ return false;
@param IsSecurityEnabled If security is enabled, user access to data can be restricted via Roles */ @param IsSecurityEnabled If security is enabled, user access to data can be restricted via Roles */
public void setIsSecurityEnabled (boolean IsSecurityEnabled) public void setIsSecurityEnabled (boolean IsSecurityEnabled)
{ {
set_Value ("IsSecurityEnabled", new Boolean(IsSecurityEnabled)); set_Value ("IsSecurityEnabled", Boolean.valueOf(IsSecurityEnabled));
} }
/** Get Security enabled. /** Get Security enabled.
@return If security is enabled, user access to data can be restricted via Roles */ @return If security is enabled, user access to data can be restricted via Roles */
@ -326,7 +326,7 @@ return false;
@param IsView This is a view */ @param IsView This is a view */
public void setIsView (boolean IsView) public void setIsView (boolean IsView)
{ {
set_Value ("IsView", new Boolean(IsView)); set_Value ("IsView", Boolean.valueOf(IsView));
} }
/** Get View. /** Get View.
@return This is a view */ @return This is a view */
@ -344,7 +344,7 @@ return false;
@param LoadSeq Sequence */ @param LoadSeq Sequence */
public void setLoadSeq (int LoadSeq) public void setLoadSeq (int LoadSeq)
{ {
set_ValueNoCheck ("LoadSeq", new Integer(LoadSeq)); set_ValueNoCheck ("LoadSeq", Integer.valueOf(LoadSeq));
} }
/** Get Sequence. /** Get Sequence.
@return Sequence */ @return Sequence */
@ -381,7 +381,7 @@ public void setPO_Window_ID (int PO_Window_ID)
{ {
if (PO_Window_ID <= 0) set_Value ("PO_Window_ID", null); if (PO_Window_ID <= 0) set_Value ("PO_Window_ID", null);
else else
set_Value ("PO_Window_ID", new Integer(PO_Window_ID)); set_Value ("PO_Window_ID", Integer.valueOf(PO_Window_ID));
} }
/** Get PO Window. /** Get PO Window.
@return Purchase Order Window */ @return Purchase Order Window */

Some files were not shown because too many files have changed in this diff Show More