* fixed entity types for some tables + moved the models in right package

This commit is contained in:
teo_sarca 2008-06-06 13:02:02 +00:00
parent 3c5b4dcb98
commit 5681b0992b
7 changed files with 68 additions and 158 deletions

View File

@ -1,70 +0,0 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
/** Generated Model for RV_PP_Order_BOMLine
* @author Adempiere (generated)
* @version Release 3.5.1a - $Id$ */
public class X_RV_PP_Order_BOMLine extends PO implements I_RV_PP_Order_BOMLine, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 1L;
/** Standard Constructor */
public X_RV_PP_Order_BOMLine (Properties ctx, int RV_PP_Order_BOMLine_ID, String trxName)
{
super (ctx, RV_PP_Order_BOMLine_ID, trxName);
/** if (RV_PP_Order_BOMLine_ID == 0)
{
} */
}
/** Load Constructor */
public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[")
.append(get_ID()).append("]");
return sb.toString();
}
}

View File

@ -30,9 +30,11 @@
* Sponsors: *
* - Company (http://www.site.com) *
**********************************************************************/
package org.compiere.model;
package org.eevolution.model;
import java.math.BigDecimal;
import org.compiere.model.MTable;
import org.compiere.util.KeyNamePair;
/** Generated Interface for RV_PP_Order_BOMLine

View File

@ -30,9 +30,11 @@
* Sponsors: *
* - Company (http://www.site.com) *
**********************************************************************/
package org.compiere.model;
package org.eevolution.model;
import java.math.BigDecimal;
import org.compiere.model.MTable;
import org.compiere.util.KeyNamePair;
/** Generated Interface for RV_PP_WIP

View File

@ -1,106 +1,74 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
/** Generated Model - DO NOT CHANGE */
import java.util.*;
import java.sql.*;
import java.math.*;
import org.compiere.util.*;
import org.compiere.model.*;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.model.I_Persistent;
import org.compiere.model.PO;
import org.compiere.model.POInfo;
/** Generated Model for RV_PP_Order_BOMLine
* @author Adempiere (generated)
* @version Release 3.1.5 - $Id$ */
public class X_RV_PP_Order_BOMLine extends PO
* @version Release 3.5.1a - $Id$ */
public class X_RV_PP_Order_BOMLine extends PO implements I_RV_PP_Order_BOMLine, I_Persistent
{
/** Standard Constructor
@param ctx context
@param RV_PP_Order_BOMLine_ID id
@param trxName transaction
*/
public X_RV_PP_Order_BOMLine (Properties ctx, int RV_PP_Order_BOMLine_ID, String trxName)
{
super (ctx, RV_PP_Order_BOMLine_ID, trxName);
/** if (RV_PP_Order_BOMLine_ID == 0)
{
setRV_PP_Order_BOMLine_ID (0);
}
*/
}
/** Load Constructor
@param ctx context
@param rs result set
@param trxName transaction
*/
public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=50056 */
public static final int Table_ID=MTable.getTable_ID("RV_PP_Order_BOMLine");
/** TableName=RV_PP_Order_BOMLine */
public static final String Table_Name="RV_PP_Order_BOMLine";
/**
*
*/
private static final long serialVersionUID = 1L;
protected static KeyNamePair Model = new KeyNamePair(Table_ID,"RV_PP_Order_BOMLine");
/** Standard Constructor */
public X_RV_PP_Order_BOMLine (Properties ctx, int RV_PP_Order_BOMLine_ID, String trxName)
{
super (ctx, RV_PP_Order_BOMLine_ID, trxName);
/** if (RV_PP_Order_BOMLine_ID == 0)
{
} */
}
protected BigDecimal accessLevel = BigDecimal.valueOf(3);
/** AccessLevel
@return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data
@param ctx context
@return PO Info
*/
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID);
return poi;
}
/** Info
@return info
*/
public String toString()
{
StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[").append(get_ID()).append("]");
return sb.toString();
}
/** Set RV_PP_Order_BOMLine.
@param RV_PP_Order_BOMLine_ID RV_PP_Order_BOMLine */
public void setRV_PP_Order_BOMLine_ID (int RV_PP_Order_BOMLine_ID)
{
if (RV_PP_Order_BOMLine_ID < 1) throw new IllegalArgumentException ("RV_PP_Order_BOMLine_ID is mandatory.");
set_ValueNoCheck ("RV_PP_Order_BOMLine_ID", Integer.valueOf(RV_PP_Order_BOMLine_ID));
}
/** Get RV_PP_Order_BOMLine.
@return RV_PP_Order_BOMLine */
public int getRV_PP_Order_BOMLine_ID()
{
Integer ii = (Integer)get_Value("RV_PP_Order_BOMLine_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Column name RV_PP_Order_BOMLine_ID */
public static final String COLUMNNAME_RV_PP_Order_BOMLine_ID = "RV_PP_Order_BOMLine_ID";
}
/** Load Constructor */
public X_RV_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_RV_PP_Order_BOMLine[")
.append(get_ID()).append("]");
return sb.toString();
}
}

View File

@ -15,11 +15,15 @@
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
package org.eevolution.model;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.model.I_Persistent;
import org.compiere.model.PO;
import org.compiere.model.POInfo;
/** Generated Model for RV_PP_WIP
* @author Adempiere (generated)
* @version Release 3.5.1a - $Id$ */

View File

@ -0,0 +1,2 @@
update AD_Table set EntityType='EE01'
where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01';

View File

@ -0,0 +1,2 @@
update AD_Table set EntityType='EE01'
where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01';