From e24596adf51cebd186ca050ee45533bc75d5a90e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 27 Dec 2006 05:47:44 +0000 Subject: [PATCH] Preparing 3.1.3 release --- .../sqls_3.1.2/010_version313.sql | 6 + dbPort/src/org/compiere/Adempiere.java | 6 +- .../org/compiere/model/X_AD_AccessLog.java | 16 +- dbPort/src/org/compiere/model/X_AD_Alert.java | 22 +- .../compiere/model/X_AD_AlertProcessor.java | 18 +- .../model/X_AD_AlertProcessorLog.java | 14 +- .../compiere/model/X_AD_AlertRecipient.java | 20 +- .../org/compiere/model/X_AD_AlertRule.java | 20 +- .../src/org/compiere/model/X_AD_Archive.java | 20 +- .../org/compiere/model/X_AD_Attachment.java | 14 +- .../compiere/model/X_AD_AttachmentNote.java | 14 +- .../org/compiere/model/X_AD_Attribute.java | 38 ++-- .../compiere/model/X_AD_Attribute_Value.java | 12 +- .../org/compiere/model/X_AD_ChangeLog.java | 20 +- .../src/org/compiere/model/X_AD_Client.java | 20 +- .../org/compiere/model/X_AD_ClientInfo.java | 44 ++-- .../org/compiere/model/X_AD_ClientShare.java | 12 +- dbPort/src/org/compiere/model/X_AD_Color.java | 36 ++-- .../src/org/compiere/model/X_AD_Column.java | 42 ++-- .../compiere/model/X_AD_Column_Access.java | 18 +- .../src/org/compiere/model/X_AD_Desktop.java | 12 +- .../compiere/model/X_AD_DesktopWorkbench.java | 16 +- .../src/org/compiere/model/X_AD_Element.java | 10 +- .../org/compiere/model/X_AD_EntityType.java | 12 +- dbPort/src/org/compiere/model/X_AD_Error.java | 10 +- dbPort/src/org/compiere/model/X_AD_Field.java | 36 ++-- .../org/compiere/model/X_AD_FieldGroup.java | 10 +- dbPort/src/org/compiere/model/X_AD_Find.java | 12 +- dbPort/src/org/compiere/model/X_AD_Form.java | 12 +- .../org/compiere/model/X_AD_Form_Access.java | 14 +- dbPort/src/org/compiere/model/X_AD_Image.java | 10 +- .../org/compiere/model/X_AD_ImpFormat.java | 14 +- .../compiere/model/X_AD_ImpFormat_Row.java | 22 +- .../org/compiere/model/X_AD_InfoColumn.java | 22 +- .../org/compiere/model/X_AD_InfoWindow.java | 14 +- dbPort/src/org/compiere/model/X_AD_Issue.java | 40 ++-- .../org/compiere/model/X_AD_LabelPrinter.java | 10 +- .../model/X_AD_LabelPrinterFunction.java | 14 +- .../src/org/compiere/model/X_AD_Language.java | 18 +- .../org/compiere/model/X_AD_LdapAccess.java | 22 +- .../compiere/model/X_AD_LdapProcessor.java | 22 +- .../compiere/model/X_AD_LdapProcessorLog.java | 18 +- dbPort/src/org/compiere/model/X_AD_Menu.java | 28 +-- .../src/org/compiere/model/X_AD_Message.java | 10 +- .../org/compiere/model/X_AD_Modification.java | 12 +- dbPort/src/org/compiere/model/X_AD_Note.java | 24 +-- dbPort/src/org/compiere/model/X_AD_Org.java | 10 +- .../src/org/compiere/model/X_AD_OrgInfo.java | 18 +- .../src/org/compiere/model/X_AD_OrgType.java | 12 +- .../org/compiere/model/X_AD_PInstance.java | 20 +- .../compiere/model/X_AD_PInstance_Log.java | 14 +- .../compiere/model/X_AD_PInstance_Para.java | 12 +- .../org/compiere/model/X_AD_Package_Exp.java | 78 +++---- .../model/X_AD_Package_Exp_Common.java | 60 +++--- .../model/X_AD_Package_Exp_Detail.java | 196 +++++++++--------- .../org/compiere/model/X_AD_Package_Imp.java | 56 ++--- .../model/X_AD_Package_Imp_Backup.java | 42 ++-- .../model/X_AD_Package_Imp_Detail.java | 52 ++--- .../compiere/model/X_AD_Package_Imp_Inst.java | 12 +- .../compiere/model/X_AD_Package_Imp_Proc.java | 32 +-- .../org/compiere/model/X_AD_Preference.java | 14 +- .../org/compiere/model/X_AD_PrintColor.java | 12 +- .../org/compiere/model/X_AD_PrintFont.java | 12 +- .../org/compiere/model/X_AD_PrintForm.java | 30 +-- .../org/compiere/model/X_AD_PrintFormat.java | 34 +-- .../compiere/model/X_AD_PrintFormatItem.java | 96 ++++----- .../org/compiere/model/X_AD_PrintGraph.java | 24 +-- .../org/compiere/model/X_AD_PrintLabel.java | 20 +- .../compiere/model/X_AD_PrintLabelLine.java | 22 +- .../org/compiere/model/X_AD_PrintPaper.java | 24 +-- .../compiere/model/X_AD_PrintTableFormat.java | 40 ++-- .../compiere/model/X_AD_Private_Access.java | 14 +- .../src/org/compiere/model/X_AD_Process.java | 2 +- .../compiere/model/X_AD_Process_Access.java | 14 +- .../org/compiere/model/X_AD_Process_Para.java | 30 +-- .../compiere/model/X_AD_Record_Access.java | 20 +- .../src/org/compiere/model/X_AD_Ref_List.java | 12 +- .../org/compiere/model/X_AD_Ref_Table.java | 18 +- .../org/compiere/model/X_AD_Reference.java | 10 +- .../org/compiere/model/X_AD_Registration.java | 36 ++-- .../org/compiere/model/X_AD_Replication.java | 22 +- .../model/X_AD_ReplicationStrategy.java | 10 +- .../compiere/model/X_AD_ReplicationTable.java | 14 +- .../compiere/model/X_AD_Replication_Log.java | 16 +- .../compiere/model/X_AD_Replication_Run.java | 14 +- .../org/compiere/model/X_AD_ReportView.java | 12 +- .../compiere/model/X_AD_ReportView_Col.java | 16 +- dbPort/src/org/compiere/model/X_AD_Role.java | 44 ++-- .../compiere/model/X_AD_Role_OrgAccess.java | 12 +- .../org/compiere/model/X_AD_Scheduler.java | 22 +- .../org/compiere/model/X_AD_SchedulerLog.java | 14 +- .../model/X_AD_SchedulerRecipient.java | 16 +- .../compiere/model/X_AD_Scheduler_Para.java | 12 +- .../src/org/compiere/model/X_AD_Sequence.java | 26 +-- .../compiere/model/X_AD_Sequence_Audit.java | 14 +- .../org/compiere/model/X_AD_Sequence_No.java | 12 +- .../src/org/compiere/model/X_AD_Session.java | 12 +- .../src/org/compiere/model/X_AD_System.java | 36 ++-- dbPort/src/org/compiere/model/X_AD_Tab.java | 48 ++--- dbPort/src/org/compiere/model/X_AD_Table.java | 28 +-- .../org/compiere/model/X_AD_Table_Access.java | 20 +- dbPort/src/org/compiere/model/X_AD_Task.java | 12 +- .../org/compiere/model/X_AD_TaskInstance.java | 12 +- .../org/compiere/model/X_AD_Task_Access.java | 14 +- dbPort/src/org/compiere/model/X_AD_Tree.java | 16 +- .../src/org/compiere/model/X_AD_TreeBar.java | 14 +- .../src/org/compiere/model/X_AD_TreeNode.java | 16 +- .../org/compiere/model/X_AD_TreeNodeBP.java | 16 +- .../org/compiere/model/X_AD_TreeNodeCMC.java | 16 +- .../org/compiere/model/X_AD_TreeNodeCMM.java | 16 +- .../org/compiere/model/X_AD_TreeNodeCMS.java | 16 +- .../org/compiere/model/X_AD_TreeNodeCMT.java | 16 +- .../org/compiere/model/X_AD_TreeNodeMM.java | 16 +- .../org/compiere/model/X_AD_TreeNodePR.java | 16 +- .../org/compiere/model/X_AD_TreeNodeU1.java | 16 +- .../org/compiere/model/X_AD_TreeNodeU2.java | 16 +- .../org/compiere/model/X_AD_TreeNodeU3.java | 16 +- .../org/compiere/model/X_AD_TreeNodeU4.java | 16 +- dbPort/src/org/compiere/model/X_AD_User.java | 26 +-- .../org/compiere/model/X_AD_UserBPAccess.java | 14 +- .../compiere/model/X_AD_UserDef_Field.java | 28 +-- .../org/compiere/model/X_AD_UserDef_Tab.java | 20 +- .../org/compiere/model/X_AD_UserDef_Win.java | 22 +- .../src/org/compiere/model/X_AD_UserMail.java | 16 +- .../org/compiere/model/X_AD_UserQuery.java | 14 +- .../compiere/model/X_AD_User_OrgAccess.java | 12 +- .../org/compiere/model/X_AD_User_Roles.java | 12 +- .../compiere/model/X_AD_User_Substitute.java | 14 +- .../src/org/compiere/model/X_AD_Val_Rule.java | 10 +- .../org/compiere/model/X_AD_WF_Activity.java | 34 +-- .../model/X_AD_WF_ActivityResult.java | 12 +- .../src/org/compiere/model/X_AD_WF_Block.java | 12 +- .../compiere/model/X_AD_WF_EventAudit.java | 22 +- .../compiere/model/X_AD_WF_NextCondition.java | 16 +- .../src/org/compiere/model/X_AD_WF_Node.java | 50 ++--- .../org/compiere/model/X_AD_WF_NodeNext.java | 18 +- .../org/compiere/model/X_AD_WF_Node_Para.java | 14 +- .../org/compiere/model/X_AD_WF_Process.java | 28 +-- .../compiere/model/X_AD_WF_ProcessData.java | 12 +- .../compiere/model/X_AD_WF_Responsible.java | 14 +- .../src/org/compiere/model/X_AD_Window.java | 26 +-- .../compiere/model/X_AD_Window_Access.java | 14 +- .../org/compiere/model/X_AD_Workbench.java | 14 +- .../compiere/model/X_AD_WorkbenchWindow.java | 24 +-- .../src/org/compiere/model/X_AD_Workflow.java | 36 ++-- .../model/X_AD_WorkflowProcessor.java | 24 +-- .../model/X_AD_WorkflowProcessorLog.java | 14 +- .../compiere/model/X_AD_Workflow_Access.java | 14 +- dbPort/src/org/compiere/model/X_A_Asset.java | 56 ++--- .../compiere/model/X_A_Asset_Delivery.java | 22 +- .../org/compiere/model/X_A_Asset_Group.java | 20 +- .../compiere/model/X_A_Asset_Retirement.java | 14 +- .../org/compiere/model/X_A_Registration.java | 26 +-- .../model/X_A_RegistrationAttribute.java | 18 +- .../model/X_A_RegistrationProduct.java | 12 +- .../compiere/model/X_A_RegistrationValue.java | 12 +- dbPort/src/org/compiere/model/X_B_Bid.java | 18 +- .../org/compiere/model/X_B_BidComment.java | 14 +- dbPort/src/org/compiere/model/X_B_Buyer.java | 10 +- .../org/compiere/model/X_B_BuyerFunds.java | 16 +- dbPort/src/org/compiere/model/X_B_Offer.java | 18 +- dbPort/src/org/compiere/model/X_B_Seller.java | 12 +- .../org/compiere/model/X_B_SellerFunds.java | 16 +- dbPort/src/org/compiere/model/X_B_Topic.java | 20 +- .../org/compiere/model/X_B_TopicCategory.java | 12 +- .../src/org/compiere/model/X_B_TopicType.java | 16 +- .../compiere/model/X_CM_AccessContainer.java | 12 +- .../model/X_CM_AccessListBPGroup.java | 12 +- .../compiere/model/X_CM_AccessListRole.java | 12 +- .../org/compiere/model/X_CM_AccessMedia.java | 12 +- .../model/X_CM_AccessNewsChannel.java | 12 +- .../compiere/model/X_CM_AccessProfile.java | 12 +- .../org/compiere/model/X_CM_AccessStage.java | 12 +- dbPort/src/org/compiere/model/X_CM_Ad.java | 28 +-- .../src/org/compiere/model/X_CM_Ad_Cat.java | 12 +- .../compiere/model/X_CM_BroadcastServer.java | 12 +- .../src/org/compiere/model/X_CM_CStage.java | 30 +-- .../org/compiere/model/X_CM_CStageTTable.java | 16 +- .../compiere/model/X_CM_CStage_Element.java | 14 +- dbPort/src/org/compiere/model/X_CM_Chat.java | 16 +- .../org/compiere/model/X_CM_ChatEntry.java | 18 +- .../src/org/compiere/model/X_CM_ChatType.java | 12 +- .../compiere/model/X_CM_ChatTypeUpdate.java | 14 +- .../org/compiere/model/X_CM_ChatUpdate.java | 14 +- .../org/compiere/model/X_CM_Container.java | 26 +-- .../compiere/model/X_CM_ContainerTTable.java | 16 +- .../model/X_CM_Container_Element.java | 14 +- .../compiere/model/X_CM_Container_URL.java | 12 +- dbPort/src/org/compiere/model/X_CM_Media.java | 16 +- .../org/compiere/model/X_CM_MediaDeploy.java | 16 +- .../org/compiere/model/X_CM_Media_Server.java | 18 +- .../org/compiere/model/X_CM_NewsChannel.java | 12 +- .../src/org/compiere/model/X_CM_NewsItem.java | 12 +- .../src/org/compiere/model/X_CM_Template.java | 24 +-- .../compiere/model/X_CM_TemplateTable.java | 14 +- .../compiere/model/X_CM_Template_Ad_Cat.java | 12 +- .../org/compiere/model/X_CM_WebAccessLog.java | 20 +- .../org/compiere/model/X_CM_WebProject.java | 18 +- .../model/X_CM_WebProject_Domain.java | 14 +- .../org/compiere/model/X_CM_WikiToken.java | 12 +- .../org/compiere/model/X_C_AcctProcessor.java | 22 +- .../compiere/model/X_C_AcctProcessorLog.java | 14 +- .../org/compiere/model/X_C_AcctSchema.java | 42 ++-- .../model/X_C_AcctSchema_Default.java | 132 ++++++------ .../model/X_C_AcctSchema_Element.java | 40 ++-- .../org/compiere/model/X_C_AcctSchema_GL.java | 34 +-- .../src/org/compiere/model/X_C_Activity.java | 12 +- .../org/compiere/model/X_C_AllocationHdr.java | 22 +- .../compiere/model/X_C_AllocationLine.java | 24 +-- .../compiere/model/X_C_BP_BankAccount.java | 22 +- .../compiere/model/X_C_BP_Customer_Acct.java | 18 +- dbPort/src/org/compiere/model/X_C_BP_EDI.java | 28 +-- .../compiere/model/X_C_BP_Employee_Acct.java | 16 +- .../src/org/compiere/model/X_C_BP_Group.java | 26 +-- .../org/compiere/model/X_C_BP_Group_Acct.java | 40 ++-- .../org/compiere/model/X_C_BP_Relation.java | 26 +-- .../compiere/model/X_C_BP_Vendor_Acct.java | 18 +- .../compiere/model/X_C_BP_Withholding.java | 16 +- .../src/org/compiere/model/X_C_BPartner.java | 70 +++---- .../compiere/model/X_C_BPartner_Location.java | 24 +-- .../compiere/model/X_C_BPartner_Product.java | 16 +- dbPort/src/org/compiere/model/X_C_Bank.java | 14 +- .../org/compiere/model/X_C_BankAccount.java | 16 +- .../compiere/model/X_C_BankAccountDoc.java | 16 +- .../compiere/model/X_C_BankAccount_Acct.java | 36 ++-- .../org/compiere/model/X_C_BankStatement.java | 22 +- .../compiere/model/X_C_BankStatementLine.java | 30 +-- .../model/X_C_BankStatementLoader.java | 16 +- .../model/X_C_BankStatementMatcher.java | 12 +- .../src/org/compiere/model/X_C_Calendar.java | 10 +- .../src/org/compiere/model/X_C_Campaign.java | 14 +- dbPort/src/org/compiere/model/X_C_Cash.java | 32 +-- .../src/org/compiere/model/X_C_CashBook.java | 14 +- .../org/compiere/model/X_C_CashBook_Acct.java | 22 +- .../src/org/compiere/model/X_C_CashLine.java | 26 +-- .../src/org/compiere/model/X_C_Channel.java | 12 +- dbPort/src/org/compiere/model/X_C_Charge.java | 20 +- .../org/compiere/model/X_C_Charge_Acct.java | 16 +- dbPort/src/org/compiere/model/X_C_City.java | 14 +- .../org/compiere/model/X_C_Commission.java | 20 +- .../org/compiere/model/X_C_CommissionAmt.java | 14 +- .../compiere/model/X_C_CommissionDetail.java | 18 +- .../compiere/model/X_C_CommissionLine.java | 30 +-- .../org/compiere/model/X_C_CommissionRun.java | 16 +- .../compiere/model/X_C_ConversionType.java | 12 +- .../compiere/model/X_C_Conversion_Rate.java | 16 +- .../src/org/compiere/model/X_C_Country.java | 20 +- .../src/org/compiere/model/X_C_Currency.java | 18 +- .../org/compiere/model/X_C_Currency_Acct.java | 20 +- dbPort/src/org/compiere/model/X_C_Cycle.java | 12 +- .../org/compiere/model/X_C_CyclePhase.java | 12 +- .../src/org/compiere/model/X_C_CycleStep.java | 14 +- .../src/org/compiere/model/X_C_DocType.java | 50 ++--- .../compiere/model/X_C_DocTypeCounter.java | 20 +- .../src/org/compiere/model/X_C_Dunning.java | 16 +- .../org/compiere/model/X_C_DunningLevel.java | 30 +-- .../org/compiere/model/X_C_DunningRun.java | 16 +- .../compiere/model/X_C_DunningRunEntry.java | 24 +-- .../compiere/model/X_C_DunningRunLine.java | 24 +-- .../src/org/compiere/model/X_C_Element.java | 16 +- .../org/compiere/model/X_C_ElementValue.java | 32 +-- .../src/org/compiere/model/X_C_Greeting.java | 14 +- .../org/compiere/model/X_C_InterOrg_Acct.java | 16 +- .../src/org/compiere/model/X_C_Invoice.java | 80 +++---- .../org/compiere/model/X_C_InvoiceBatch.java | 22 +- .../compiere/model/X_C_InvoiceBatchLine.java | 44 ++-- .../org/compiere/model/X_C_InvoiceLine.java | 56 ++--- .../model/X_C_InvoicePaySchedule.java | 20 +- .../compiere/model/X_C_InvoiceSchedule.java | 20 +- .../org/compiere/model/X_C_InvoiceTax.java | 16 +- dbPort/src/org/compiere/model/X_C_Job.java | 14 +- .../org/compiere/model/X_C_JobAssignment.java | 14 +- .../org/compiere/model/X_C_JobCategory.java | 10 +- .../compiere/model/X_C_JobRemuneration.java | 14 +- .../org/compiere/model/X_C_LandedCost.java | 22 +- .../model/X_C_LandedCostAllocation.java | 18 +- .../src/org/compiere/model/X_C_Location.java | 16 +- .../compiere/model/X_C_NonBusinessDay.java | 12 +- dbPort/src/org/compiere/model/X_C_Order.java | 96 ++++----- .../src/org/compiere/model/X_C_OrderLine.java | 58 +++--- .../src/org/compiere/model/X_C_OrderTax.java | 16 +- .../org/compiere/model/X_C_OrgAssignment.java | 12 +- dbPort/src/org/compiere/model/X_C_POS.java | 26 +-- dbPort/src/org/compiere/model/X_C_POSKey.java | 18 +- .../org/compiere/model/X_C_POSKeyLayout.java | 10 +- .../org/compiere/model/X_C_PaySchedule.java | 20 +- .../org/compiere/model/X_C_PaySelection.java | 18 +- .../compiere/model/X_C_PaySelectionCheck.java | 26 +-- .../compiere/model/X_C_PaySelectionLine.java | 24 +-- .../src/org/compiere/model/X_C_Payment.java | 74 +++---- .../compiere/model/X_C_PaymentAllocate.java | 16 +- .../org/compiere/model/X_C_PaymentBatch.java | 16 +- .../compiere/model/X_C_PaymentProcessor.java | 42 ++-- .../org/compiere/model/X_C_PaymentTerm.java | 36 ++-- dbPort/src/org/compiere/model/X_C_Period.java | 16 +- .../org/compiere/model/X_C_PeriodControl.java | 14 +- dbPort/src/org/compiere/model/X_C_Phase.java | 16 +- .../src/org/compiere/model/X_C_Project.java | 42 ++-- .../org/compiere/model/X_C_ProjectIssue.java | 30 +-- .../compiere/model/X_C_ProjectIssueMA.java | 12 +- .../org/compiere/model/X_C_ProjectLine.java | 32 +-- .../org/compiere/model/X_C_ProjectPhase.java | 24 +-- .../org/compiere/model/X_C_ProjectTask.java | 18 +- .../org/compiere/model/X_C_ProjectType.java | 10 +- .../org/compiere/model/X_C_Project_Acct.java | 16 +- .../src/org/compiere/model/X_C_Recurring.java | 28 +-- .../org/compiere/model/X_C_Recurring_Run.java | 22 +- dbPort/src/org/compiere/model/X_C_Region.java | 14 +- .../org/compiere/model/X_C_Remuneration.java | 12 +- .../model/X_C_RevenueRecognition.java | 14 +- .../model/X_C_RevenueRecognition_Plan.java | 22 +- .../model/X_C_RevenueRecognition_Run.java | 14 +- dbPort/src/org/compiere/model/X_C_RfQ.java | 40 ++-- .../src/org/compiere/model/X_C_RfQLine.java | 20 +- .../org/compiere/model/X_C_RfQLineQty.java | 20 +- .../org/compiere/model/X_C_RfQResponse.java | 36 ++-- .../compiere/model/X_C_RfQResponseLine.java | 20 +- .../model/X_C_RfQResponseLineQty.java | 16 +- .../src/org/compiere/model/X_C_RfQ_Topic.java | 14 +- .../model/X_C_RfQ_TopicSubscriber.java | 18 +- .../model/X_C_RfQ_TopicSubscriberOnly.java | 16 +- .../org/compiere/model/X_C_SalesRegion.java | 16 +- .../org/compiere/model/X_C_ServiceLevel.java | 18 +- .../compiere/model/X_C_ServiceLevelLine.java | 14 +- .../src/org/compiere/model/X_C_SubAcct.java | 12 +- .../org/compiere/model/X_C_Subscription.java | 18 +- .../compiere/model/X_C_SubscriptionType.java | 12 +- .../model/X_C_Subscription_Delivery.java | 12 +- dbPort/src/org/compiere/model/X_C_Task.java | 16 +- dbPort/src/org/compiere/model/X_C_Tax.java | 34 +-- .../org/compiere/model/X_C_TaxCategory.java | 12 +- .../compiere/model/X_C_TaxDeclaration.java | 14 +- .../model/X_C_TaxDeclarationAcct.java | 18 +- .../model/X_C_TaxDeclarationLine.java | 28 +-- .../src/org/compiere/model/X_C_TaxPostal.java | 12 +- .../src/org/compiere/model/X_C_Tax_Acct.java | 22 +- dbPort/src/org/compiere/model/X_C_UOM.java | 16 +- .../compiere/model/X_C_UOM_Conversion.java | 16 +- .../compiere/model/X_C_UserRemuneration.java | 14 +- .../compiere/model/X_C_ValidCombination.java | 44 ++-- .../org/compiere/model/X_C_Withholding.java | 22 +- .../compiere/model/X_C_Withholding_Acct.java | 14 +- dbPort/src/org/compiere/model/X_C_Year.java | 148 ++++++------- .../src/org/compiere/model/X_Fact_Acct.java | 68 +++--- .../compiere/model/X_Fact_Acct_Balance.java | 46 ++-- .../src/org/compiere/model/X_GL_Budget.java | 12 +- .../compiere/model/X_GL_BudgetControl.java | 16 +- .../src/org/compiere/model/X_GL_Category.java | 12 +- .../org/compiere/model/X_GL_Distribution.java | 70 +++---- .../compiere/model/X_GL_DistributionLine.java | 66 +++--- dbPort/src/org/compiere/model/X_GL_Fund.java | 12 +- .../compiere/model/X_GL_FundRestriction.java | 14 +- .../src/org/compiere/model/X_GL_Journal.java | 36 ++-- .../org/compiere/model/X_GL_JournalBatch.java | 24 +-- .../org/compiere/model/X_GL_JournalLine.java | 26 +-- .../src/org/compiere/model/X_I_BPartner.java | 32 +-- .../org/compiere/model/X_I_BankStatement.java | 36 ++-- .../compiere/model/X_I_Conversion_Rate.java | 26 +-- .../org/compiere/model/X_I_ElementValue.java | 36 ++-- .../src/org/compiere/model/X_I_GLJournal.java | 72 +++---- .../compiere/model/X_I_InOutLineConfirm.java | 18 +- .../src/org/compiere/model/X_I_Inventory.java | 26 +-- .../src/org/compiere/model/X_I_Invoice.java | 58 +++--- dbPort/src/org/compiere/model/X_I_Order.java | 64 +++--- .../src/org/compiere/model/X_I_Payment.java | 44 ++-- .../src/org/compiere/model/X_I_Product.java | 46 ++-- .../org/compiere/model/X_I_ReportLine.java | 30 +-- .../src/org/compiere/model/X_K_Category.java | 10 +- .../org/compiere/model/X_K_CategoryValue.java | 12 +- .../src/org/compiere/model/X_K_Comment.java | 18 +- dbPort/src/org/compiere/model/X_K_Entry.java | 20 +- .../org/compiere/model/X_K_EntryCategory.java | 14 +- .../org/compiere/model/X_K_EntryRelated.java | 12 +- dbPort/src/org/compiere/model/X_K_Index.java | 20 +- .../src/org/compiere/model/X_K_IndexLog.java | 12 +- .../src/org/compiere/model/X_K_IndexStop.java | 18 +- dbPort/src/org/compiere/model/X_K_Source.java | 10 +- .../src/org/compiere/model/X_K_Synonym.java | 10 +- dbPort/src/org/compiere/model/X_K_Topic.java | 16 +- dbPort/src/org/compiere/model/X_K_Type.java | 14 +- .../src/org/compiere/model/X_M_Attribute.java | 16 +- .../compiere/model/X_M_AttributeInstance.java | 14 +- .../compiere/model/X_M_AttributeSearch.java | 10 +- .../org/compiere/model/X_M_AttributeSet.java | 30 +-- .../model/X_M_AttributeSetExclude.java | 16 +- .../model/X_M_AttributeSetInstance.java | 14 +- .../org/compiere/model/X_M_AttributeUse.java | 14 +- .../compiere/model/X_M_AttributeValue.java | 12 +- dbPort/src/org/compiere/model/X_M_BOM.java | 16 +- .../compiere/model/X_M_BOMAlternative.java | 12 +- .../org/compiere/model/X_M_BOMProduct.java | 30 +-- .../org/compiere/model/X_M_ChangeNotice.java | 16 +- .../org/compiere/model/X_M_ChangeRequest.java | 20 +- dbPort/src/org/compiere/model/X_M_Cost.java | 20 +- .../org/compiere/model/X_M_CostDetail.java | 36 ++-- .../org/compiere/model/X_M_CostElement.java | 12 +- .../src/org/compiere/model/X_M_CostQueue.java | 20 +- .../src/org/compiere/model/X_M_CostType.java | 10 +- dbPort/src/org/compiere/model/X_M_Demand.java | 18 +- .../org/compiere/model/X_M_DemandDetail.java | 18 +- .../org/compiere/model/X_M_DemandLine.java | 16 +- .../compiere/model/X_M_DiscountSchema.java | 16 +- .../model/X_M_DiscountSchemaBreak.java | 20 +- .../model/X_M_DiscountSchemaLine.java | 22 +- .../compiere/model/X_M_DistributionList.java | 12 +- .../model/X_M_DistributionListLine.java | 16 +- .../compiere/model/X_M_DistributionRun.java | 18 +- .../model/X_M_DistributionRunLine.java | 18 +- dbPort/src/org/compiere/model/X_M_EDI.java | 20 +- .../src/org/compiere/model/X_M_EDI_Info.java | 12 +- .../src/org/compiere/model/X_M_Forecast.java | 18 +- .../org/compiere/model/X_M_ForecastLine.java | 16 +- .../src/org/compiere/model/X_M_Freight.java | 24 +-- .../compiere/model/X_M_FreightCategory.java | 10 +- dbPort/src/org/compiere/model/X_M_InOut.java | 64 +++--- .../org/compiere/model/X_M_InOutConfirm.java | 26 +-- .../src/org/compiere/model/X_M_InOutLine.java | 50 ++--- .../compiere/model/X_M_InOutLineConfirm.java | 20 +- .../org/compiere/model/X_M_InOutLineMA.java | 12 +- .../src/org/compiere/model/X_M_Inventory.java | 36 ++-- .../org/compiere/model/X_M_InventoryLine.java | 24 +-- .../compiere/model/X_M_InventoryLineMA.java | 12 +- .../src/org/compiere/model/X_M_Locator.java | 16 +- dbPort/src/org/compiere/model/X_M_Lot.java | 14 +- dbPort/src/org/compiere/model/X_M_LotCtl.java | 16 +- .../org/compiere/model/X_M_LotCtlExclude.java | 16 +- .../src/org/compiere/model/X_M_MatchInv.java | 24 +-- .../src/org/compiere/model/X_M_MatchPO.java | 28 +-- .../src/org/compiere/model/X_M_Movement.java | 34 +-- .../compiere/model/X_M_MovementConfirm.java | 20 +- .../org/compiere/model/X_M_MovementLine.java | 26 +-- .../model/X_M_MovementLineConfirm.java | 18 +- .../compiere/model/X_M_MovementLineMA.java | 12 +- .../compiere/model/X_M_OperationResource.java | 16 +- .../src/org/compiere/model/X_M_Package.java | 14 +- .../org/compiere/model/X_M_PackageLine.java | 14 +- .../org/compiere/model/X_M_PerpetualInv.java | 24 +-- .../src/org/compiere/model/X_M_PriceList.java | 22 +- .../compiere/model/X_M_PriceList_Version.java | 16 +- .../src/org/compiere/model/X_M_Product.java | 76 +++---- .../compiere/model/X_M_ProductDownload.java | 12 +- .../compiere/model/X_M_ProductOperation.java | 12 +- .../org/compiere/model/X_M_ProductPrice.java | 12 +- .../org/compiere/model/X_M_Product_Acct.java | 32 +-- .../org/compiere/model/X_M_Product_BOM.java | 16 +- .../compiere/model/X_M_Product_Category.java | 18 +- .../model/X_M_Product_Category_Acct.java | 34 +-- .../compiere/model/X_M_Product_Costing.java | 12 +- .../org/compiere/model/X_M_Product_PO.java | 26 +-- .../org/compiere/model/X_M_Production.java | 30 +-- .../compiere/model/X_M_ProductionLine.java | 22 +- .../compiere/model/X_M_ProductionLineMA.java | 12 +- .../compiere/model/X_M_ProductionPlan.java | 20 +- dbPort/src/org/compiere/model/X_M_RMA.java | 30 +-- .../src/org/compiere/model/X_M_RMALine.java | 16 +- .../src/org/compiere/model/X_M_RMAType.java | 10 +- .../compiere/model/X_M_RelatedProduct.java | 12 +- .../src/org/compiere/model/X_M_Replenish.java | 14 +- .../org/compiere/model/X_M_Requisition.java | 26 +-- .../compiere/model/X_M_RequisitionLine.java | 22 +- .../src/org/compiere/model/X_M_SerNoCtl.java | 16 +- .../compiere/model/X_M_SerNoCtlExclude.java | 16 +- .../src/org/compiere/model/X_M_Shipper.java | 12 +- .../src/org/compiere/model/X_M_Storage.java | 14 +- .../org/compiere/model/X_M_Substitute.java | 12 +- .../org/compiere/model/X_M_Transaction.java | 26 +-- .../model/X_M_TransactionAllocation.java | 32 +-- .../src/org/compiere/model/X_M_Warehouse.java | 14 +- .../compiere/model/X_M_Warehouse_Acct.java | 20 +- .../org/compiere/model/X_PA_Achievement.java | 16 +- .../org/compiere/model/X_PA_Benchmark.java | 10 +- .../compiere/model/X_PA_BenchmarkData.java | 12 +- .../org/compiere/model/X_PA_ColorSchema.java | 26 +-- dbPort/src/org/compiere/model/X_PA_Goal.java | 24 +-- .../compiere/model/X_PA_GoalRestriction.java | 22 +- .../org/compiere/model/X_PA_Hierarchy.java | 26 +-- .../src/org/compiere/model/X_PA_Measure.java | 22 +- .../org/compiere/model/X_PA_MeasureCalc.java | 12 +- dbPort/src/org/compiere/model/X_PA_Ratio.java | 12 +- .../org/compiere/model/X_PA_RatioElement.java | 20 +- .../src/org/compiere/model/X_PA_Report.java | 26 +-- .../org/compiere/model/X_PA_ReportColumn.java | 44 ++-- .../compiere/model/X_PA_ReportColumnSet.java | 12 +- .../org/compiere/model/X_PA_ReportLine.java | 22 +- .../compiere/model/X_PA_ReportLineSet.java | 12 +- .../org/compiere/model/X_PA_ReportSource.java | 30 +-- .../org/compiere/model/X_PA_SLA_Criteria.java | 12 +- .../src/org/compiere/model/X_PA_SLA_Goal.java | 18 +- .../org/compiere/model/X_PA_SLA_Measure.java | 20 +- .../src/org/compiere/model/X_RV_BPartner.java | 86 ++++---- .../compiere/model/X_RV_WarehousePrice.java | 18 +- .../src/org/compiere/model/X_R_Category.java | 12 +- .../compiere/model/X_R_CategoryUpdates.java | 14 +- .../compiere/model/X_R_ContactInterest.java | 12 +- dbPort/src/org/compiere/model/X_R_Group.java | 14 +- .../org/compiere/model/X_R_GroupUpdates.java | 14 +- .../org/compiere/model/X_R_InterestArea.java | 12 +- .../org/compiere/model/X_R_IssueKnown.java | 20 +- .../org/compiere/model/X_R_IssueProject.java | 14 +- .../model/X_R_IssueRecommendation.java | 10 +- .../org/compiere/model/X_R_IssueStatus.java | 10 +- .../org/compiere/model/X_R_IssueSystem.java | 12 +- .../src/org/compiere/model/X_R_IssueUser.java | 12 +- .../src/org/compiere/model/X_R_MailText.java | 12 +- .../src/org/compiere/model/X_R_Request.java | 74 +++---- .../org/compiere/model/X_R_RequestAction.java | 50 ++--- .../compiere/model/X_R_RequestProcessor.java | 28 +-- .../model/X_R_RequestProcessorLog.java | 14 +- .../model/X_R_RequestProcessor_Route.java | 18 +- .../org/compiere/model/X_R_RequestType.java | 32 +-- .../model/X_R_RequestTypeUpdates.java | 14 +- .../org/compiere/model/X_R_RequestUpdate.java | 14 +- .../compiere/model/X_R_RequestUpdates.java | 14 +- .../org/compiere/model/X_R_Resolution.java | 10 +- .../compiere/model/X_R_StandardResponse.java | 10 +- dbPort/src/org/compiere/model/X_R_Status.java | 30 +-- .../compiere/model/X_R_StatusCategory.java | 12 +- .../org/compiere/model/X_S_ExpenseType.java | 18 +- .../src/org/compiere/model/X_S_Resource.java | 18 +- .../model/X_S_ResourceAssignment.java | 14 +- .../org/compiere/model/X_S_ResourceType.java | 40 ++-- .../model/X_S_ResourceUnAvailable.java | 12 +- .../org/compiere/model/X_S_TimeExpense.java | 22 +- .../compiere/model/X_S_TimeExpenseLine.java | 46 ++-- .../src/org/compiere/model/X_S_TimeType.java | 10 +- .../src/org/compiere/model/X_S_Training.java | 18 +- .../compiere/model/X_S_Training_Class.java | 14 +- .../org/compiere/model/X_TIRE_Storage.java | 20 +- dbPort/src/org/compiere/model/X_T_Aging.java | 32 +-- .../model/X_T_DistributionRunDetail.java | 22 +- .../compiere/model/X_T_InventoryValue.java | 22 +- .../src/org/compiere/model/X_T_InvoiceGL.java | 20 +- .../src/org/compiere/model/X_T_Replenish.java | 20 +- dbPort/src/org/compiere/model/X_T_Report.java | 20 +- .../compiere/model/X_T_ReportStatement.java | 14 +- .../org/compiere/model/X_T_Transaction.java | 44 ++-- dbPort/src/org/compiere/model/X_Test.java | 34 +-- .../org/compiere/model/X_W_Advertisement.java | 24 +-- dbPort/src/org/compiere/model/X_W_Basket.java | 18 +- .../org/compiere/model/X_W_BasketLine.java | 16 +- dbPort/src/org/compiere/model/X_W_Click.java | 16 +- .../org/compiere/model/X_W_ClickCount.java | 12 +- .../src/org/compiere/model/X_W_Counter.java | 16 +- .../org/compiere/model/X_W_CounterCount.java | 12 +- .../src/org/compiere/model/X_W_MailMsg.java | 12 +- dbPort/src/org/compiere/model/X_W_Store.java | 44 ++-- .../main/server/org/compiere/acct/Doc.java | 78 +++---- 547 files changed, 6045 insertions(+), 6057 deletions(-) create mode 100644 _Project-ID-ADempiere/sqls_3.1.2/010_version313.sql diff --git a/_Project-ID-ADempiere/sqls_3.1.2/010_version313.sql b/_Project-ID-ADempiere/sqls_3.1.2/010_version313.sql new file mode 100644 index 0000000000..292b1027bc --- /dev/null +++ b/_Project-ID-ADempiere/sqls_3.1.2/010_version313.sql @@ -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 ; diff --git a/dbPort/src/org/compiere/Adempiere.java b/dbPort/src/org/compiere/Adempiere.java index f01c9d491a..c8e2361947 100644 --- a/dbPort/src/org/compiere/Adempiere.java +++ b/dbPort/src/org/compiere/Adempiere.java @@ -41,11 +41,11 @@ public final class Adempiere /** Timestamp */ static public final String ID = "$Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $"; /** 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 */ - 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 */ - static public final String DB_VERSION = "2006-11-02"; + static public final String DB_VERSION = "2006-12-27"; /** Product Name */ static public final String NAME = "Adempiere\u00AE"; diff --git a/dbPort/src/org/compiere/model/X_AD_AccessLog.java b/dbPort/src/org/compiere/model/X_AD_AccessLog.java index 4132f92b7f..fff22a993b 100644 --- a/dbPort/src/org/compiere/model/X_AD_AccessLog.java +++ b/dbPort/src/org/compiere/model/X_AD_AccessLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_AccessLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_AccessLog extends PO { /** Standard Constructor @@ -53,12 +53,12 @@ public X_AD_AccessLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -90,7 +90,7 @@ return sb.toString(); public void setAD_AccessLog_ID (int AD_AccessLog_ID) { 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. @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); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @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); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -161,7 +161,7 @@ public void setRecord_ID (int Record_ID) { if (Record_ID <= 0) set_Value ("Record_ID", null); else -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Alert.java b/dbPort/src/org/compiere/model/X_AD_Alert.java index d6276f4ded..bd26ea9e24 100644 --- a/dbPort/src/org/compiere/model/X_AD_Alert.java +++ b/dbPort/src/org/compiere/model/X_AD_Alert.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Alert * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Alert extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_Alert (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID) { 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. @return Alert Processor/Server Parameter */ @@ -108,14 +108,14 @@ if (ii == null) return 0; return ii.intValue(); } /** Set Alert. -@param AD_Alert_ID Compiere Alert */ +@param AD_Alert_ID Adempiere Alert */ public void setAD_Alert_ID (int AD_Alert_ID) { 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. -@return Compiere Alert */ +@return Adempiere Alert */ public int getAD_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 */ public void setEnforceClientSecurity (boolean EnforceClientSecurity) { -set_Value ("EnforceClientSecurity", new Boolean(EnforceClientSecurity)); +set_Value ("EnforceClientSecurity", Boolean.valueOf(EnforceClientSecurity)); } /** Get Enforce Client Security. @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 */ public void setEnforceRoleSecurity (boolean EnforceRoleSecurity) { -set_Value ("EnforceRoleSecurity", new Boolean(EnforceRoleSecurity)); +set_Value ("EnforceRoleSecurity", Boolean.valueOf(EnforceRoleSecurity)); } /** Get Enforce Role Security. @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 */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ diff --git a/dbPort/src/org/compiere/model/X_AD_AlertProcessor.java b/dbPort/src/org/compiere/model/X_AD_AlertProcessor.java index dbe3e621a7..e62bb22c14 100644 --- a/dbPort/src/org/compiere/model/X_AD_AlertProcessor.java +++ b/dbPort/src/org/compiere/model/X_AD_AlertProcessor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_AlertProcessor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_AlertProcessor extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_AlertProcessor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_AlertProcessor_ID (int AD_AlertProcessor_ID) { 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. @return Alert Processor/Server Parameter */ @@ -150,7 +150,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ @@ -193,7 +193,7 @@ return (String)get_Value("FrequencyType"); @param KeepLogDays Number of days to keep the log entries */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @return Number of days to keep the log entries */ @@ -231,7 +231,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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) { 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. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_AlertProcessorLog.java b/dbPort/src/org/compiere/model/X_AD_AlertProcessorLog.java index 67e98a2d77..c4b2486faf 100644 --- a/dbPort/src/org/compiere/model/X_AD_AlertProcessorLog.java +++ b/dbPort/src/org/compiere/model/X_AD_AlertProcessorLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_AlertProcessorLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_AlertProcessorLog extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_AlertProcessorLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_AlertProcessorLog_ID (int AD_AlertProcessorLog_ID) { 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. @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) { 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. @return Alert Processor/Server Parameter */ @@ -150,7 +150,7 @@ return (String)get_Value("Description"); @param IsError An Error occured in the execution */ public void setIsError (boolean IsError) { -set_Value ("IsError", new Boolean(IsError)); +set_Value ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @return An Error occured in the execution */ diff --git a/dbPort/src/org/compiere/model/X_AD_AlertRecipient.java b/dbPort/src/org/compiere/model/X_AD_AlertRecipient.java index 5ae8dce041..7bf88f2c9e 100644 --- a/dbPort/src/org/compiere/model/X_AD_AlertRecipient.java +++ b/dbPort/src/org/compiere/model/X_AD_AlertRecipient.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_AlertRecipient * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_AlertRecipient extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_AlertRecipient (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_AlertRecipient_ID (int AD_AlertRecipient_ID) { 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. @return Recipient of the Alert Notification */ @@ -102,14 +102,14 @@ if (ii == null) return 0; return ii.intValue(); } /** Set Alert. -@param AD_Alert_ID Compiere Alert */ +@param AD_Alert_ID Adempiere Alert */ public void setAD_Alert_ID (int AD_Alert_ID) { 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. -@return Compiere Alert */ +@return Adempiere Alert */ public int getAD_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); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get 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); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ diff --git a/dbPort/src/org/compiere/model/X_AD_AlertRule.java b/dbPort/src/org/compiere/model/X_AD_AlertRule.java index 26877f3700..f6442f0890 100644 --- a/dbPort/src/org/compiere/model/X_AD_AlertRule.java +++ b/dbPort/src/org/compiere/model/X_AD_AlertRule.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_AlertRule * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_AlertRule extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_AlertRule (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_AlertRule_ID (int AD_AlertRule_ID) { 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. @return Definition of the alert element */ @@ -106,14 +106,14 @@ if (ii == null) return 0; return ii.intValue(); } /** Set Alert. -@param AD_Alert_ID Compiere Alert */ +@param AD_Alert_ID Adempiere Alert */ public void setAD_Alert_ID (int AD_Alert_ID) { 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. -@return Compiere Alert */ +@return Adempiere Alert */ public int getAD_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); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -175,7 +175,7 @@ return (String)get_Value("FromClause"); @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ diff --git a/dbPort/src/org/compiere/model/X_AD_Archive.java b/dbPort/src/org/compiere/model/X_AD_Archive.java index d3c716b6ae..dfc137d724 100644 --- a/dbPort/src/org/compiere/model/X_AD_Archive.java +++ b/dbPort/src/org/compiere/model/X_AD_Archive.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Archive * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Archive extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Archive (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Archive_ID (int AD_Archive_ID) { 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. @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); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @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); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @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); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -202,7 +202,7 @@ return (String)get_Value("Help"); @param IsReport Indicates a Report record */ public void setIsReport (boolean IsReport) { -set_Value ("IsReport", new Boolean(IsReport)); +set_Value ("IsReport", Boolean.valueOf(IsReport)); } /** Get Report. @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); else -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Attachment.java b/dbPort/src/org/compiere/model/X_AD_Attachment.java index 2f9679f07e..079b3c9190 100644 --- a/dbPort/src/org/compiere/model/X_AD_Attachment.java +++ b/dbPort/src/org/compiere/model/X_AD_Attachment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Attachment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Attachment extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Attachment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Attachment_ID (int AD_Attachment_ID) { 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. @return Attachment for the document */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -135,7 +135,7 @@ return (byte[])get_Value("BinaryData"); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_AttachmentNote.java b/dbPort/src/org/compiere/model/X_AD_AttachmentNote.java index 8b6b406c1f..432b779033 100644 --- a/dbPort/src/org/compiere/model/X_AD_AttachmentNote.java +++ b/dbPort/src/org/compiere/model/X_AD_AttachmentNote.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_AttachmentNote * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_AttachmentNote extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_AttachmentNote (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_AttachmentNote_ID (int AD_AttachmentNote_ID) { 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. @return Personal Attachment Note */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setAD_Attachment_ID (int AD_Attachment_ID) { 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. @return Attachment for the document */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ diff --git a/dbPort/src/org/compiere/model/X_AD_Attribute.java b/dbPort/src/org/compiere/model/X_AD_Attribute.java index a710138ab4..7a96e33451 100644 --- a/dbPort/src/org/compiere/model/X_AD_Attribute.java +++ b/dbPort/src/org/compiere/model/X_AD_Attribute.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Attribute * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Attribute extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_AD_Attribute (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -100,7 +100,7 @@ return sb.toString(); public void setAD_Attribute_ID (int AD_Attribute_ID) { 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. @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) { 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. @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); 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. @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) { 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. @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); 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. @return Dynamic Validation Rule */ @@ -235,7 +235,7 @@ return (String)get_Value("Description"); @param DisplayLength Length of the display in characters */ public void setDisplayLength (int DisplayLength) { -set_Value ("DisplayLength", new Integer(DisplayLength)); +set_Value ("DisplayLength", Integer.valueOf(DisplayLength)); } /** Get Display Length. @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 */ public void setFieldLength (int FieldLength) { -set_Value ("FieldLength", new Integer(FieldLength)); +set_Value ("FieldLength", Integer.valueOf(FieldLength)); } /** Get Length. @return Length of the column in the database */ @@ -297,7 +297,7 @@ return (String)get_Value("Help"); @param IsEncrypted Display or Storage is encrypted */ public void setIsEncrypted (boolean IsEncrypted) { -set_Value ("IsEncrypted", new Boolean(IsEncrypted)); +set_Value ("IsEncrypted", Boolean.valueOf(IsEncrypted)); } /** Get Encrypted. @return Display or Storage is encrypted */ @@ -315,7 +315,7 @@ return false; @param IsFieldOnly Label is not displayed */ public void setIsFieldOnly (boolean IsFieldOnly) { -set_Value ("IsFieldOnly", new Boolean(IsFieldOnly)); +set_Value ("IsFieldOnly", Boolean.valueOf(IsFieldOnly)); } /** Get Field Only. @return Label is not displayed */ @@ -333,7 +333,7 @@ return false; @param IsHeading Field without Column - Only label is displayed */ public void setIsHeading (boolean IsHeading) { -set_Value ("IsHeading", new Boolean(IsHeading)); +set_Value ("IsHeading", Boolean.valueOf(IsHeading)); } /** Get Heading only. @return Field without Column - Only label is displayed */ @@ -351,7 +351,7 @@ return false; @param IsMandatory Data entry is required in this column */ public void setIsMandatory (boolean IsMandatory) { -set_Value ("IsMandatory", new Boolean(IsMandatory)); +set_Value ("IsMandatory", Boolean.valueOf(IsMandatory)); } /** Get Mandatory. @return Data entry is required in this column */ @@ -369,7 +369,7 @@ return false; @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -387,7 +387,7 @@ return false; @param IsSameLine Displayed on same line as previous field */ public void setIsSameLine (boolean IsSameLine) { -set_Value ("IsSameLine", new Boolean(IsSameLine)); +set_Value ("IsSameLine", Boolean.valueOf(IsSameLine)); } /** Get Same Line. @return Displayed on same line as previous field */ @@ -405,7 +405,7 @@ return false; @param IsUpdateable Determines, if the field can be updated */ public void setIsUpdateable (boolean IsUpdateable) { -set_Value ("IsUpdateable", new Boolean(IsUpdateable)); +set_Value ("IsUpdateable", Boolean.valueOf(IsUpdateable)); } /** Get Updateable. @return Determines, if the field can be updated */ @@ -448,7 +448,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Attribute_Value.java b/dbPort/src/org/compiere/model/X_AD_Attribute_Value.java index e2dcc731b8..e265e0f495 100644 --- a/dbPort/src/org/compiere/model/X_AD_Attribute_Value.java +++ b/dbPort/src/org/compiere/model/X_AD_Attribute_Value.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Attribute_Value * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Attribute_Value extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Attribute_Value (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Attribute_ID (int AD_Attribute_ID) { 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. @return System Attribute */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_ChangeLog.java b/dbPort/src/org/compiere/model/X_AD_ChangeLog.java index 9aee4dc317..bb0854244d 100644 --- a/dbPort/src/org/compiere/model/X_AD_ChangeLog.java +++ b/dbPort/src/org/compiere/model/X_AD_ChangeLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ChangeLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ChangeLog extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_ChangeLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_ChangeLog_ID (int AD_ChangeLog_ID) { 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. @return Log of data changes */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setAD_Column_ID (int AD_Column_ID) { 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. @return Column in the table */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setAD_Session_ID (int AD_Session_ID) { 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. @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) { 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. @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 */ public void setIsCustomization (boolean IsCustomization) { -set_Value ("IsCustomization", new Boolean(IsCustomization)); +set_Value ("IsCustomization", Boolean.valueOf(IsCustomization)); } /** Get Customization. @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) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Client.java b/dbPort/src/org/compiere/model/X_AD_Client.java index 9b8c5fbda6..3f3bac7acb 100644 --- a/dbPort/src/org/compiere/model/X_AD_Client.java +++ b/dbPort/src/org/compiere/model/X_AD_Client.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Client * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Client extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_AD_Client (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -200,7 +200,7 @@ return (String)get_Value("EMailTest"); @param IsCostImmediate Update Costs immediately for testing */ public void setIsCostImmediate (boolean IsCostImmediate) { -set_Value ("IsCostImmediate", new Boolean(IsCostImmediate)); +set_Value ("IsCostImmediate", Boolean.valueOf(IsCostImmediate)); } /** Get Cost Immediately. @return Update Costs immediately for testing */ @@ -218,7 +218,7 @@ return false; @param IsMultiLingualDocument Documents are Multi Lingual */ public void setIsMultiLingualDocument (boolean IsMultiLingualDocument) { -set_Value ("IsMultiLingualDocument", new Boolean(IsMultiLingualDocument)); +set_Value ("IsMultiLingualDocument", Boolean.valueOf(IsMultiLingualDocument)); } /** Get Multi Lingual Documents. @return Documents are Multi Lingual */ @@ -236,7 +236,7 @@ return false; @param IsPostImmediate Post the accounting immediately for testing */ public void setIsPostImmediate (boolean IsPostImmediate) { -set_Value ("IsPostImmediate", new Boolean(IsPostImmediate)); +set_Value ("IsPostImmediate", Boolean.valueOf(IsPostImmediate)); } /** Get Post Immediately. @return Post the accounting immediately for testing */ @@ -254,7 +254,7 @@ return false; @param IsServerEMail Send EMail from Server */ public void setIsServerEMail (boolean IsServerEMail) { -set_Value ("IsServerEMail", new Boolean(IsServerEMail)); +set_Value ("IsServerEMail", Boolean.valueOf(IsServerEMail)); } /** Get Server EMail. @return Send EMail from Server */ @@ -272,7 +272,7 @@ return false; @param IsSmtpAuthorization Your mail server requires Authentication */ public void setIsSmtpAuthorization (boolean IsSmtpAuthorization) { -set_Value ("IsSmtpAuthorization", new Boolean(IsSmtpAuthorization)); +set_Value ("IsSmtpAuthorization", Boolean.valueOf(IsSmtpAuthorization)); } /** Get SMTP Authentication. @return Your mail server requires Authentication */ @@ -290,7 +290,7 @@ return false; @param IsUseBetaFunctions Enable the use of Beta Functionality */ public void setIsUseBetaFunctions (boolean IsUseBetaFunctions) { -set_Value ("IsUseBetaFunctions", new Boolean(IsUseBetaFunctions)); +set_Value ("IsUseBetaFunctions", Boolean.valueOf(IsUseBetaFunctions)); } /** Get Use Beta Functions. @return Enable the use of Beta Functionality */ diff --git a/dbPort/src/org/compiere/model/X_AD_ClientInfo.java b/dbPort/src/org/compiere/model/X_AD_ClientInfo.java index 46ec912225..23de526891 100644 --- a/dbPort/src/org/compiere/model/X_AD_ClientInfo.java +++ b/dbPort/src/org/compiere/model/X_AD_ClientInfo.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ClientInfo * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ClientInfo extends PO { /** Standard Constructor @@ -53,12 +53,12 @@ public X_AD_ClientInfo (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); else -set_Value ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_Value ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } /** Get Calendar. @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); 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. @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); 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. @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); 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. @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); 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. @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 */ public void setIsDiscountLineAmt (boolean IsDiscountLineAmt) { -set_Value ("IsDiscountLineAmt", new Boolean(IsDiscountLineAmt)); +set_Value ("IsDiscountLineAmt", Boolean.valueOf(IsDiscountLineAmt)); } /** Get Discount calculated from Line Amounts. @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 */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @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); 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. @return Product for Freight */ diff --git a/dbPort/src/org/compiere/model/X_AD_ClientShare.java b/dbPort/src/org/compiere/model/X_AD_ClientShare.java index fad964c376..c13e9539f7 100644 --- a/dbPort/src/org/compiere/model/X_AD_ClientShare.java +++ b/dbPort/src/org/compiere/model/X_AD_ClientShare.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ClientShare * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ClientShare extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_ClientShare (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_ClientShare_ID (int AD_ClientShare_ID) { 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. @return Force (not) sharing of client/org entities */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ diff --git a/dbPort/src/org/compiere/model/X_AD_Color.java b/dbPort/src/org/compiere/model/X_AD_Color.java index dc847259af..c9b4c86cfe 100644 --- a/dbPort/src/org/compiere/model/X_AD_Color.java +++ b/dbPort/src/org/compiere/model/X_AD_Color.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Color * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Color extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_AD_Color (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setAD_Color_ID (int AD_Color_ID) { 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. @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); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @return Image or Icon */ @@ -128,7 +128,7 @@ return ii.intValue(); @param Alpha Color Alpha value 0-255 */ public void setAlpha (int Alpha) { -set_Value ("Alpha", new Integer(Alpha)); +set_Value ("Alpha", Integer.valueOf(Alpha)); } /** Get Alpha. @return Color Alpha value 0-255 */ @@ -142,7 +142,7 @@ return ii.intValue(); @param Alpha_1 Alpha value for second color */ 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. @return Alpha value for second color */ @@ -156,7 +156,7 @@ return ii.intValue(); @param Blue Color RGB blue value */ public void setBlue (int Blue) { -set_Value ("Blue", new Integer(Blue)); +set_Value ("Blue", Integer.valueOf(Blue)); } /** Get Blue. @return Color RGB blue value */ @@ -170,7 +170,7 @@ return ii.intValue(); @param Blue_1 RGB value for second color */ 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. @return RGB value for second color */ @@ -210,7 +210,7 @@ return get_Value("ColorType"); @param Green RGB value */ public void setGreen (int Green) { -set_Value ("Green", new Integer(Green)); +set_Value ("Green", Integer.valueOf(Green)); } /** Get Green. @return RGB value */ @@ -224,7 +224,7 @@ return ii.intValue(); @param Green_1 RGB value for second color */ 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. @return RGB value for second color */ @@ -253,7 +253,7 @@ return bd; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -271,7 +271,7 @@ return false; @param LineDistance Distance between lines */ public void setLineDistance (int LineDistance) { -set_Value ("LineDistance", new Integer(LineDistance)); +set_Value ("LineDistance", Integer.valueOf(LineDistance)); } /** Get Line Distance. @return Distance between lines */ @@ -285,7 +285,7 @@ return ii.intValue(); @param LineWidth Width of the lines */ public void setLineWidth (int LineWidth) { -set_Value ("LineWidth", new Integer(LineWidth)); +set_Value ("LineWidth", Integer.valueOf(LineWidth)); } /** Get Line Width. @return Width of the lines */ @@ -323,7 +323,7 @@ return new KeyNamePair(get_ID(), getName()); @param Red RGB value */ public void setRed (int Red) { -set_Value ("Red", new Integer(Red)); +set_Value ("Red", Integer.valueOf(Red)); } /** Get Red. @return RGB value */ @@ -337,7 +337,7 @@ return ii.intValue(); @param Red_1 RGB value for second color */ 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. @return RGB value for second color */ @@ -351,7 +351,7 @@ return ii.intValue(); @param RepeatDistance Distance in points to repeat gradient color - or zero */ public void setRepeatDistance (int RepeatDistance) { -set_Value ("RepeatDistance", new Integer(RepeatDistance)); +set_Value ("RepeatDistance", Integer.valueOf(RepeatDistance)); } /** Get Repeat Distance. @return Distance in points to repeat gradient color - or zero */ diff --git a/dbPort/src/org/compiere/model/X_AD_Column.java b/dbPort/src/org/compiere/model/X_AD_Column.java index 79e24cd6cd..f0b8c26f7b 100644 --- a/dbPort/src/org/compiere/model/X_AD_Column.java +++ b/dbPort/src/org/compiere/model/X_AD_Column.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Column * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Column extends PO { /** Standard Constructor @@ -69,12 +69,12 @@ public X_AD_Column (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -106,7 +106,7 @@ return sb.toString(); public void setAD_Column_ID (int AD_Column_ID) { 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. @return Column in the table */ @@ -121,7 +121,7 @@ return ii.intValue(); public void setAD_Element_ID (int AD_Element_ID) { 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. @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); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @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) { 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. @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); 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. @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) { 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. @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); 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. @return Dynamic Validation Rule */ @@ -335,7 +335,7 @@ return (String)get_Value("EntityType"); @param FieldLength Length of the column in the database */ public void setFieldLength (int FieldLength) { -set_Value ("FieldLength", new Integer(FieldLength)); +set_Value ("FieldLength", Integer.valueOf(FieldLength)); } /** Get Length. @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 */ public void setIsAlwaysUpdateable (boolean IsAlwaysUpdateable) { -set_Value ("IsAlwaysUpdateable", new Boolean(IsAlwaysUpdateable)); +set_Value ("IsAlwaysUpdateable", Boolean.valueOf(IsAlwaysUpdateable)); } /** Get Always Updateable. @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 */ public void setIsIdentifier (boolean IsIdentifier) { -set_Value ("IsIdentifier", new Boolean(IsIdentifier)); +set_Value ("IsIdentifier", Boolean.valueOf(IsIdentifier)); } /** Get 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 */ public void setIsKey (boolean IsKey) { -set_Value ("IsKey", new Boolean(IsKey)); +set_Value ("IsKey", Boolean.valueOf(IsKey)); } /** Get Key column. @return This column is the key in this table */ @@ -447,7 +447,7 @@ return false; @param IsMandatory Data entry is required in this column */ public void setIsMandatory (boolean IsMandatory) { -set_Value ("IsMandatory", new Boolean(IsMandatory)); +set_Value ("IsMandatory", Boolean.valueOf(IsMandatory)); } /** Get Mandatory. @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 */ public void setIsParent (boolean IsParent) { -set_Value ("IsParent", new Boolean(IsParent)); +set_Value ("IsParent", Boolean.valueOf(IsParent)); } /** Get Parent link column. @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 */ public void setIsSelectionColumn (boolean IsSelectionColumn) { -set_Value ("IsSelectionColumn", new Boolean(IsSelectionColumn)); +set_Value ("IsSelectionColumn", Boolean.valueOf(IsSelectionColumn)); } /** Get Selection Column. @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 */ public void setIsTranslated (boolean IsTranslated) { -set_Value ("IsTranslated", new Boolean(IsTranslated)); +set_Value ("IsTranslated", Boolean.valueOf(IsTranslated)); } /** Get Translated. @return This column is translated */ @@ -536,7 +536,7 @@ return false; @param IsUpdateable Determines, if the field can be updated */ public void setIsUpdateable (boolean IsUpdateable) { -set_Value ("IsUpdateable", new Boolean(IsUpdateable)); +set_Value ("IsUpdateable", Boolean.valueOf(IsUpdateable)); } /** Get Updateable. @return Determines, if the field can be updated */ @@ -590,7 +590,7 @@ return (String)get_Value("ReadOnlyLogic"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Column_Access.java b/dbPort/src/org/compiere/model/X_AD_Column_Access.java index 8288a3deec..9280f76aa6 100644 --- a/dbPort/src/org/compiere/model/X_AD_Column_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Column_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Column_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Column_Access extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Column_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Column_ID (int AD_Column_ID) { 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. @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) { 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. @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); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @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 */ public void setIsExclude (boolean IsExclude) { -set_Value ("IsExclude", new Boolean(IsExclude)); +set_Value ("IsExclude", Boolean.valueOf(IsExclude)); } /** Get Exclude. @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 */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ diff --git a/dbPort/src/org/compiere/model/X_AD_Desktop.java b/dbPort/src/org/compiere/model/X_AD_Desktop.java index 56bfcc831d..dcf24f3791 100644 --- a/dbPort/src/org/compiere/model/X_AD_Desktop.java +++ b/dbPort/src/org/compiere/model/X_AD_Desktop.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Desktop * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Desktop extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Desktop (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -103,7 +103,7 @@ return get_Value("AD_Color_ID"); public void setAD_Desktop_ID (int AD_Desktop_ID) { 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. @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); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @return Image or Icon */ diff --git a/dbPort/src/org/compiere/model/X_AD_DesktopWorkbench.java b/dbPort/src/org/compiere/model/X_AD_DesktopWorkbench.java index 25506955ae..aa90f5a64a 100644 --- a/dbPort/src/org/compiere/model/X_AD_DesktopWorkbench.java +++ b/dbPort/src/org/compiere/model/X_AD_DesktopWorkbench.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_DesktopWorkbench * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_DesktopWorkbench extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_DesktopWorkbench (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_DesktopWorkbench_ID (int AD_DesktopWorkbench_ID) { 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. @return Desktop Workbench */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_Desktop_ID (int AD_Desktop_ID) { 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. @return Collection of Workbenches */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setAD_Workbench_ID (int AD_Workbench_ID) { 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. @return Collection of windows, reports */ @@ -144,7 +144,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Workbench_ID())); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Element.java b/dbPort/src/org/compiere/model/X_AD_Element.java index 5efc71ec0f..fa6023e0b4 100644 --- a/dbPort/src/org/compiere/model/X_AD_Element.java +++ b/dbPort/src/org/compiere/model/X_AD_Element.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Element * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Element extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_Element (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Element_ID (int AD_Element_ID) { 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. @return System Element enables the central maintenance of column description and help. */ diff --git a/dbPort/src/org/compiere/model/X_AD_EntityType.java b/dbPort/src/org/compiere/model/X_AD_EntityType.java index 68adb95373..03225e3111 100644 --- a/dbPort/src/org/compiere/model/X_AD_EntityType.java +++ b/dbPort/src/org/compiere/model/X_AD_EntityType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_EntityType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_EntityType extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_EntityType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_EntityType_ID (int AD_EntityType_ID) { 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. @return System Entity Type */ @@ -218,7 +218,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_AD_Error.java b/dbPort/src/org/compiere/model/X_AD_Error.java index db2a0eb7fc..924a109d80 100644 --- a/dbPort/src/org/compiere/model/X_AD_Error.java +++ b/dbPort/src/org/compiere/model/X_AD_Error.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Error * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Error extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Error (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Error_ID (int AD_Error_ID) { 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. @return Error */ diff --git a/dbPort/src/org/compiere/model/X_AD_Field.java b/dbPort/src/org/compiere/model/X_AD_Field.java index 2244343e9e..0455ab33be 100644 --- a/dbPort/src/org/compiere/model/X_AD_Field.java +++ b/dbPort/src/org/compiere/model/X_AD_Field.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Field * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Field extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_AD_Field (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setAD_Column_ID (int AD_Column_ID) { 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. @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); else -set_Value ("AD_FieldGroup_ID", new Integer(AD_FieldGroup_ID)); +set_Value ("AD_FieldGroup_ID", Integer.valueOf(AD_FieldGroup_ID)); } /** Get Field Group. @return Logical grouping of fields */ @@ -132,7 +132,7 @@ return ii.intValue(); public void setAD_Field_ID (int AD_Field_ID) { 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. @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); else -set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); +set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID)); } /** Get Reference. @return System Reference and Validation */ @@ -166,7 +166,7 @@ return ii.intValue(); public void setAD_Tab_ID (int AD_Tab_ID) { 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. @return Tab within a Window */ @@ -197,7 +197,7 @@ return (String)get_Value("Description"); @param DisplayLength Length of the display in characters */ public void setDisplayLength (int DisplayLength) { -set_Value ("DisplayLength", new Integer(DisplayLength)); +set_Value ("DisplayLength", Integer.valueOf(DisplayLength)); } /** Get Display Length. @return Length of the display in characters */ @@ -267,7 +267,7 @@ return (String)get_Value("Help"); @param IsCentrallyMaintained Information maintained in System Element table */ public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) { -set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); +set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained)); } /** Get Centrally maintained. @return Information maintained in System Element table */ @@ -285,7 +285,7 @@ return false; @param IsDisplayed Determines, if this field is displayed */ public void setIsDisplayed (boolean IsDisplayed) { -set_Value ("IsDisplayed", new Boolean(IsDisplayed)); +set_Value ("IsDisplayed", Boolean.valueOf(IsDisplayed)); } /** Get Displayed. @return Determines, if this field is displayed */ @@ -303,7 +303,7 @@ return false; @param IsEncrypted Display or Storage is encrypted */ public void setIsEncrypted (boolean IsEncrypted) { -set_Value ("IsEncrypted", new Boolean(IsEncrypted)); +set_Value ("IsEncrypted", Boolean.valueOf(IsEncrypted)); } /** Get Encrypted. @return Display or Storage is encrypted */ @@ -321,7 +321,7 @@ return false; @param IsFieldOnly Label is not displayed */ public void setIsFieldOnly (boolean IsFieldOnly) { -set_Value ("IsFieldOnly", new Boolean(IsFieldOnly)); +set_Value ("IsFieldOnly", Boolean.valueOf(IsFieldOnly)); } /** Get Field Only. @return Label is not displayed */ @@ -339,7 +339,7 @@ return false; @param IsHeading Field without Column - Only label is displayed */ public void setIsHeading (boolean IsHeading) { -set_Value ("IsHeading", new Boolean(IsHeading)); +set_Value ("IsHeading", Boolean.valueOf(IsHeading)); } /** Get Heading only. @return Field without Column - Only label is displayed */ @@ -383,7 +383,7 @@ return (String)get_Value("IsMandatory"); @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -401,7 +401,7 @@ return false; @param IsSameLine Displayed on same line as previous field */ public void setIsSameLine (boolean IsSameLine) { -set_Value ("IsSameLine", new Boolean(IsSameLine)); +set_Value ("IsSameLine", Boolean.valueOf(IsSameLine)); } /** Get Same Line. @return Displayed on same line as previous field */ @@ -474,7 +474,7 @@ return (String)get_Value("ObscureType"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_FieldGroup.java b/dbPort/src/org/compiere/model/X_AD_FieldGroup.java index e49c175b47..80e8e64553 100644 --- a/dbPort/src/org/compiere/model/X_AD_FieldGroup.java +++ b/dbPort/src/org/compiere/model/X_AD_FieldGroup.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_FieldGroup * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_FieldGroup extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_FieldGroup (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_FieldGroup_ID (int AD_FieldGroup_ID) { 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. @return Logical grouping of fields */ diff --git a/dbPort/src/org/compiere/model/X_AD_Find.java b/dbPort/src/org/compiere/model/X_AD_Find.java index 4489df9cab..9c99e6d66d 100644 --- a/dbPort/src/org/compiere/model/X_AD_Find.java +++ b/dbPort/src/org/compiere/model/X_AD_Find.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Find * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Find extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Find (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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) { 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. @return Column in the table */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setAD_Find_ID (int AD_Find_ID) { 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. @return Find */ diff --git a/dbPort/src/org/compiere/model/X_AD_Form.java b/dbPort/src/org/compiere/model/X_AD_Form.java index 3660cf722f..5035157efd 100644 --- a/dbPort/src/org/compiere/model/X_AD_Form.java +++ b/dbPort/src/org/compiere/model/X_AD_Form.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Form * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Form extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_Form (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Form_ID (int AD_Form_ID) { 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. @return Special Form */ @@ -216,7 +216,7 @@ return (String)get_Value("Help"); @param IsBetaFunctionality This functionality is considered Beta */ public void setIsBetaFunctionality (boolean IsBetaFunctionality) { -set_Value ("IsBetaFunctionality", new Boolean(IsBetaFunctionality)); +set_Value ("IsBetaFunctionality", Boolean.valueOf(IsBetaFunctionality)); } /** Get Beta Functionality. @return This functionality is considered Beta */ diff --git a/dbPort/src/org/compiere/model/X_AD_Form_Access.java b/dbPort/src/org/compiere/model/X_AD_Form_Access.java index 4d0cf38f8c..33c9b2c44e 100644 --- a/dbPort/src/org/compiere/model/X_AD_Form_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Form_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Form_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Form_Access extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Form_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Form_ID (int AD_Form_ID) { 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. @return Special Form */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsReadWrite Field is read / write */ public void setIsReadWrite (boolean IsReadWrite) { -set_Value ("IsReadWrite", new Boolean(IsReadWrite)); +set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite)); } /** Get Read Write. @return Field is read / write */ diff --git a/dbPort/src/org/compiere/model/X_AD_Image.java b/dbPort/src/org/compiere/model/X_AD_Image.java index b17b8db64e..567290ab2b 100644 --- a/dbPort/src/org/compiere/model/X_AD_Image.java +++ b/dbPort/src/org/compiere/model/X_AD_Image.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Image * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Image extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Image (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Image_ID (int AD_Image_ID) { 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. @return Image or Icon */ diff --git a/dbPort/src/org/compiere/model/X_AD_ImpFormat.java b/dbPort/src/org/compiere/model/X_AD_ImpFormat.java index 64022eca53..3ebd127328 100644 --- a/dbPort/src/org/compiere/model/X_AD_ImpFormat.java +++ b/dbPort/src/org/compiere/model/X_AD_ImpFormat.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ImpFormat * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ImpFormat extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_ImpFormat (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_ImpFormat_ID (int AD_ImpFormat_ID) { 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. @return Import Format */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -195,7 +195,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_AD_ImpFormat_Row.java b/dbPort/src/org/compiere/model/X_AD_ImpFormat_Row.java index b5000c6967..a5d724dfeb 100644 --- a/dbPort/src/org/compiere/model/X_AD_ImpFormat_Row.java +++ b/dbPort/src/org/compiere/model/X_AD_ImpFormat_Row.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ImpFormat_Row * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ImpFormat_Row extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_ImpFormat_Row (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_Column_ID (int AD_Column_ID) { 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. @return Column in the table */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setAD_ImpFormat_ID (int AD_ImpFormat_ID) { 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. @return Import Format */ @@ -127,7 +127,7 @@ return ii.intValue(); 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."); -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. @return Format Field */ @@ -241,7 +241,7 @@ return (String)get_Value("DecimalPoint"); @param DivideBy100 Divide number by 100 to get correct amount */ public void setDivideBy100 (boolean DivideBy100) { -set_Value ("DivideBy100", new Boolean(DivideBy100)); +set_Value ("DivideBy100", Boolean.valueOf(DivideBy100)); } /** Get Divide by 100. @return Divide number by 100 to get correct amount */ @@ -259,7 +259,7 @@ return false; @param EndNo End No */ public void setEndNo (int EndNo) { -set_Value ("EndNo", new Integer(EndNo)); +set_Value ("EndNo", Integer.valueOf(EndNo)); } /** Get End No. @return End No */ @@ -315,7 +315,7 @@ return (String)get_Value("Script"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; @@ -330,7 +330,7 @@ return ii.intValue(); @param StartNo Starting number/position */ public void setStartNo (int StartNo) { -set_Value ("StartNo", new Integer(StartNo)); +set_Value ("StartNo", Integer.valueOf(StartNo)); } /** Get Start No. @return Starting number/position */ diff --git a/dbPort/src/org/compiere/model/X_AD_InfoColumn.java b/dbPort/src/org/compiere/model/X_AD_InfoColumn.java index 0d0d2b3344..6a84f03614 100644 --- a/dbPort/src/org/compiere/model/X_AD_InfoColumn.java +++ b/dbPort/src/org/compiere/model/X_AD_InfoColumn.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_InfoColumn * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_InfoColumn extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_AD_InfoColumn (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Element_ID", new Integer(AD_Element_ID)); +set_Value ("AD_Element_ID", Integer.valueOf(AD_Element_ID)); } /** Get System Element. @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) { 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. @return Info Window Column */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setAD_InfoWindow_ID (int AD_InfoWindow_ID) { 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. @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) { 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. @return System Reference and Validation */ @@ -217,7 +217,7 @@ return (String)get_Value("Help"); @param IsDisplayed Determines, if this field is displayed */ public void setIsDisplayed (boolean IsDisplayed) { -set_Value ("IsDisplayed", new Boolean(IsDisplayed)); +set_Value ("IsDisplayed", Boolean.valueOf(IsDisplayed)); } /** Get 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 */ public void setIsQueryCriteria (boolean IsQueryCriteria) { -set_Value ("IsQueryCriteria", new Boolean(IsQueryCriteria)); +set_Value ("IsQueryCriteria", Boolean.valueOf(IsQueryCriteria)); } /** Get 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 */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_InfoWindow.java b/dbPort/src/org/compiere/model/X_AD_InfoWindow.java index d177ceab5f..04d72b6ba0 100644 --- a/dbPort/src/org/compiere/model/X_AD_InfoWindow.java +++ b/dbPort/src/org/compiere/model/X_AD_InfoWindow.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_InfoWindow * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_InfoWindow extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_InfoWindow (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_InfoWindow_ID (int AD_InfoWindow_ID) { 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. @return Info and search/select Window */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -238,7 +238,7 @@ return (String)get_Value("OtherClause"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_AD_Issue.java b/dbPort/src/org/compiere/model/X_AD_Issue.java index f85ae01359..21ed7f11fe 100644 --- a/dbPort/src/org/compiere/model/X_AD_Issue.java +++ b/dbPort/src/org/compiere/model/X_AD_Issue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Issue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Issue extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_Issue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); +set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID)); } /** Get Special Form. @return Special Form */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setAD_Issue_ID (int AD_Issue_ID) { 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. @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); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @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); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get 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); else -set_ValueNoCheck ("A_Asset_ID", new Integer(A_Asset_ID)); +set_ValueNoCheck ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -372,7 +372,7 @@ return (String)get_Value("JavaInfo"); @param LineNo Line No */ public void setLineNo (int LineNo) { -set_Value ("LineNo", new Integer(LineNo)); +set_Value ("LineNo", Integer.valueOf(LineNo)); } /** Get Line. @return Line No */ @@ -455,7 +455,7 @@ return (String)get_Value("OperatingSystemInfo"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -473,7 +473,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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); else -set_Value ("R_IssueKnown_ID", new Integer(R_IssueKnown_ID)); +set_Value ("R_IssueKnown_ID", Integer.valueOf(R_IssueKnown_ID)); } /** Get 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); else -set_Value ("R_IssueProject_ID", new Integer(R_IssueProject_ID)); +set_Value ("R_IssueProject_ID", Integer.valueOf(R_IssueProject_ID)); } /** Get Issue Project. @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); else -set_Value ("R_IssueSystem_ID", new Integer(R_IssueSystem_ID)); +set_Value ("R_IssueSystem_ID", Integer.valueOf(R_IssueSystem_ID)); } /** Get Issue System. @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); else -set_Value ("R_IssueUser_ID", new Integer(R_IssueUser_ID)); +set_Value ("R_IssueUser_ID", Integer.valueOf(R_IssueUser_ID)); } /** Get IssueUser. @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); else -set_ValueNoCheck ("R_Request_ID", new Integer(R_Request_ID)); +set_ValueNoCheck ("R_Request_ID", Integer.valueOf(R_Request_ID)); } /** Get Request. @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); else -set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); +set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ @@ -670,7 +670,7 @@ public String getRemote_Host() return (String)get_Value("Remote_Host"); } /** Set Request Document No. -@param RequestDocumentNo Compiere Request Document No */ +@param RequestDocumentNo Adempiere Request Document No */ public void setRequestDocumentNo (String RequestDocumentNo) { if (RequestDocumentNo != null && RequestDocumentNo.length() > 30) @@ -681,7 +681,7 @@ RequestDocumentNo = RequestDocumentNo.substring(0,29); set_ValueNoCheck ("RequestDocumentNo", RequestDocumentNo); } /** Get Request Document No. -@return Compiere Request Document No */ +@return Adempiere Request Document No */ public String getRequestDocumentNo() { return (String)get_Value("RequestDocumentNo"); diff --git a/dbPort/src/org/compiere/model/X_AD_LabelPrinter.java b/dbPort/src/org/compiere/model/X_AD_LabelPrinter.java index 95926becdc..2f90eb780d 100644 --- a/dbPort/src/org/compiere/model/X_AD_LabelPrinter.java +++ b/dbPort/src/org/compiere/model/X_AD_LabelPrinter.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_LabelPrinter * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_LabelPrinter extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_LabelPrinter (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID) { 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. @return Label Printer Definition */ diff --git a/dbPort/src/org/compiere/model/X_AD_LabelPrinterFunction.java b/dbPort/src/org/compiere/model/X_AD_LabelPrinterFunction.java index 82aaa1ed0c..1be8d5d814 100644 --- a/dbPort/src/org/compiere/model/X_AD_LabelPrinterFunction.java +++ b/dbPort/src/org/compiere/model/X_AD_LabelPrinterFunction.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_LabelPrinterFunction * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_LabelPrinterFunction extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_LabelPrinterFunction (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_LabelPrinterFunction_ID (int AD_LabelPrinterFunction_ID) { 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. @return Function of Label Printer */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID) { 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. @return Label Printer Definition */ @@ -173,7 +173,7 @@ return (String)get_Value("FunctionSuffix"); @param IsXYPosition The Function is XY position */ public void setIsXYPosition (boolean IsXYPosition) { -set_Value ("IsXYPosition", new Boolean(IsXYPosition)); +set_Value ("IsXYPosition", Boolean.valueOf(IsXYPosition)); } /** Get XY Position. @return The Function is XY position */ diff --git a/dbPort/src/org/compiere/model/X_AD_Language.java b/dbPort/src/org/compiere/model/X_AD_Language.java index 686220f116..6c91cb2662 100644 --- a/dbPort/src/org/compiere/model/X_AD_Language.java +++ b/dbPort/src/org/compiere/model/X_AD_Language.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Language * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Language extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Language (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -113,7 +113,7 @@ return (String)get_Value("AD_Language"); public void setAD_Language_ID (int AD_Language_ID) { 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. @return Language ID */ @@ -161,7 +161,7 @@ return (String)get_Value("DatePattern"); @param IsBaseLanguage The system information is maintained in this language */ public void setIsBaseLanguage (boolean IsBaseLanguage) { -set_ValueNoCheck ("IsBaseLanguage", new Boolean(IsBaseLanguage)); +set_ValueNoCheck ("IsBaseLanguage", Boolean.valueOf(IsBaseLanguage)); } /** Get Base 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) */ public void setIsDecimalPoint (boolean IsDecimalPoint) { -set_Value ("IsDecimalPoint", new Boolean(IsDecimalPoint)); +set_Value ("IsDecimalPoint", Boolean.valueOf(IsDecimalPoint)); } /** Get Decimal Point. @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 */ public void setIsSystemLanguage (boolean IsSystemLanguage) { -set_Value ("IsSystemLanguage", new Boolean(IsSystemLanguage)); +set_Value ("IsSystemLanguage", Boolean.valueOf(IsSystemLanguage)); } /** Get System Language. @return The screens, etc. are maintained in this Language */ @@ -256,7 +256,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_AD_LdapAccess.java b/dbPort/src/org/compiere/model/X_AD_LdapAccess.java index 95ab45059f..da816f2ae8 100755 --- a/dbPort/src/org/compiere/model/X_AD_LdapAccess.java +++ b/dbPort/src/org/compiere/model/X_AD_LdapAccess.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_LdapAccess * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_LdapAccess extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_LdapAccess (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_LdapAccess_ID (int AD_LdapAccess_ID) { 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. @return Ldap Access Log */ @@ -103,14 +103,14 @@ if (ii == null) return 0; return ii.intValue(); } /** 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) { 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. -@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() { 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); else -set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); +set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/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 */ public void setIsError (boolean IsError) { -set_ValueNoCheck ("IsError", new Boolean(IsError)); +set_ValueNoCheck ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @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); else -set_ValueNoCheck ("R_InterestArea_ID", new Integer(R_InterestArea_ID)); +set_ValueNoCheck ("R_InterestArea_ID", Integer.valueOf(R_InterestArea_ID)); } /** Get Interest Area. @return Interest Area or Topic */ diff --git a/dbPort/src/org/compiere/model/X_AD_LdapProcessor.java b/dbPort/src/org/compiere/model/X_AD_LdapProcessor.java index b52a0356b6..7c05250cb4 100755 --- a/dbPort/src/org/compiere/model/X_AD_LdapProcessor.java +++ b/dbPort/src/org/compiere/model/X_AD_LdapProcessor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_LdapProcessor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_LdapProcessor extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_LdapProcessor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -90,14 +90,14 @@ StringBuffer sb = new StringBuffer ("X_AD_LdapProcessor[").append(get_ID()).appe return sb.toString(); } /** 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) { 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. -@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() { 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 */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @return Number of days to keep the log entries */ @@ -163,7 +163,7 @@ return ii.intValue(); @param LdapPort The port the server is listening */ public void setLdapPort (int LdapPort) { -set_Value ("LdapPort", new Integer(LdapPort)); +set_Value ("LdapPort", Integer.valueOf(LdapPort)); } /** Get Ldap Port. @return The port the server is listening */ @@ -201,7 +201,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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) { 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. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_LdapProcessorLog.java b/dbPort/src/org/compiere/model/X_AD_LdapProcessorLog.java index 2fc3b6f3e1..b2e1404caa 100755 --- a/dbPort/src/org/compiere/model/X_AD_LdapProcessorLog.java +++ b/dbPort/src/org/compiere/model/X_AD_LdapProcessorLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_LdapProcessorLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_LdapProcessorLog extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_LdapProcessorLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_LdapProcessorLog_ID (int AD_LdapProcessorLog_ID) { 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. @return LDAP Server Log */ @@ -103,14 +103,14 @@ if (ii == null) return 0; return ii.intValue(); } /** 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) { 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. -@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() { 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 */ public void setIsError (boolean IsError) { -set_Value ("IsError", new Boolean(IsError)); +set_Value ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @return An Error occured in the execution */ diff --git a/dbPort/src/org/compiere/model/X_AD_Menu.java b/dbPort/src/org/compiere/model/X_AD_Menu.java index fd15dfaba3..0c9a727d08 100644 --- a/dbPort/src/org/compiere/model/X_AD_Menu.java +++ b/dbPort/src/org/compiere/model/X_AD_Menu.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Menu * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Menu extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Menu (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); +set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID)); } /** Get Special Form. @return Special Form */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setAD_Menu_ID (int AD_Menu_ID) { 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. @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); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @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); else -set_Value ("AD_Task_ID", new Integer(AD_Task_ID)); +set_Value ("AD_Task_ID", Integer.valueOf(AD_Task_ID)); } /** Get OS 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); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get 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); else -set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); +set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID)); } /** Get Workbench. @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); else -set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -280,7 +280,7 @@ return (String)get_Value("EntityType"); @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -298,7 +298,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -316,7 +316,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ diff --git a/dbPort/src/org/compiere/model/X_AD_Message.java b/dbPort/src/org/compiere/model/X_AD_Message.java index c09d37921d..6993da9acc 100644 --- a/dbPort/src/org/compiere/model/X_AD_Message.java +++ b/dbPort/src/org/compiere/model/X_AD_Message.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Message * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Message extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_Message (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Message_ID (int AD_Message_ID) { 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. @return System Message */ diff --git a/dbPort/src/org/compiere/model/X_AD_Modification.java b/dbPort/src/org/compiere/model/X_AD_Modification.java index b6eef72230..badb052db0 100644 --- a/dbPort/src/org/compiere/model/X_AD_Modification.java +++ b/dbPort/src/org/compiere/model/X_AD_Modification.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Modification * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Modification extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Modification (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Modification_ID (int AD_Modification_ID) { 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. @return System Modification or Extension */ @@ -188,7 +188,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Note.java b/dbPort/src/org/compiere/model/X_AD_Note.java index 970d69123d..0e7808217a 100644 --- a/dbPort/src/org/compiere/model/X_AD_Note.java +++ b/dbPort/src/org/compiere/model/X_AD_Note.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Note * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Note extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Note (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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) { 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. @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) { 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. @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); else -set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); +set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @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); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/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); 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. @return Workflow Activity */ @@ -194,7 +194,7 @@ return (String)get_Value("Description"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -212,7 +212,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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); else -set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); +set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Org.java b/dbPort/src/org/compiere/model/X_AD_Org.java index 9ca7bbad67..b244745356 100644 --- a/dbPort/src/org/compiere/model/X_AD_Org.java +++ b/dbPort/src/org/compiere/model/X_AD_Org.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Org * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Org extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Org (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -108,7 +108,7 @@ return (String)get_Value("Description"); @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ diff --git a/dbPort/src/org/compiere/model/X_AD_OrgInfo.java b/dbPort/src/org/compiere/model/X_AD_OrgInfo.java index 1e1fde912a..3b339f27dc 100644 --- a/dbPort/src/org/compiere/model/X_AD_OrgInfo.java +++ b/dbPort/src/org/compiere/model/X_AD_OrgInfo.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_OrgInfo * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_OrgInfo extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_OrgInfo (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_OrgType_ID", new Integer(AD_OrgType_ID)); +set_Value ("AD_OrgType_ID", Integer.valueOf(AD_OrgType_ID)); } /** Get Organization Type. @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); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get 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); else -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @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); else -set_Value ("Parent_Org_ID", new Integer(Parent_Org_ID)); +set_Value ("Parent_Org_ID", Integer.valueOf(Parent_Org_ID)); } /** Get Parent 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); else -set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); +set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID)); } /** Get Supervisor. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_OrgType.java b/dbPort/src/org/compiere/model/X_AD_OrgType.java index 740a5b5c14..cc2e4b173f 100644 --- a/dbPort/src/org/compiere/model/X_AD_OrgType.java +++ b/dbPort/src/org/compiere/model/X_AD_OrgType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_OrgType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_OrgType extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_OrgType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_OrgType_ID (int AD_OrgType_ID) { 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. @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); else -set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); +set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID)); } /** Get Print Color. @return Color used for printing and display */ diff --git a/dbPort/src/org/compiere/model/X_AD_PInstance.java b/dbPort/src/org/compiere/model/X_AD_PInstance.java index 8c7d35eb26..dfb913c953 100644 --- a/dbPort/src/org/compiere/model/X_AD_PInstance.java +++ b/dbPort/src/org/compiere/model/X_AD_PInstance.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PInstance * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PInstance extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_PInstance (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @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) { 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. @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); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -161,7 +161,7 @@ return (String)get_Value("ErrorMsg"); @param IsProcessing Processing */ public void setIsProcessing (boolean IsProcessing) { -set_Value ("IsProcessing", new Boolean(IsProcessing)); +set_Value ("IsProcessing", Boolean.valueOf(IsProcessing)); } /** Get Processing. @return Processing */ @@ -180,7 +180,7 @@ return false; public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ @@ -194,7 +194,7 @@ return ii.intValue(); @param Result Result of the action taken */ public void setResult (int Result) { -set_Value ("Result", new Integer(Result)); +set_Value ("Result", Integer.valueOf(Result)); } /** Get Result. @return Result of the action taken */ diff --git a/dbPort/src/org/compiere/model/X_AD_PInstance_Log.java b/dbPort/src/org/compiere/model/X_AD_PInstance_Log.java index 45924a2b1f..1ed1b42509 100644 --- a/dbPort/src/org/compiere/model/X_AD_PInstance_Log.java +++ b/dbPort/src/org/compiere/model/X_AD_PInstance_Log.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PInstance_Log * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PInstance_Log extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_PInstance_Log (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setLog_ID (int Log_ID) { 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. @return Log */ @@ -134,7 +134,7 @@ public void setP_ID (int P_ID) { if (P_ID <= 0) set_ValueNoCheck ("P_ID", null); else -set_ValueNoCheck ("P_ID", new Integer(P_ID)); +set_ValueNoCheck ("P_ID", Integer.valueOf(P_ID)); } /** Get Process ID. @return Process ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_PInstance_Para.java b/dbPort/src/org/compiere/model/X_AD_PInstance_Para.java index 4b95a43a59..9a9a06c224 100644 --- a/dbPort/src/org/compiere/model/X_AD_PInstance_Para.java +++ b/dbPort/src/org/compiere/model/X_AD_PInstance_Para.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PInstance_Para * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PInstance_Para extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_PInstance_Para (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -249,7 +249,7 @@ return new KeyNamePair(get_ID(), getParameterName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_ValueNoCheck ("SeqNo", new Integer(SeqNo)); +set_ValueNoCheck ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Exp.java b/dbPort/src/org/compiere/model/X_AD_Package_Exp.java index d4076ca979..593819454a 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Exp.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Exp.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Exp * @author Jorg Janke (generated) - * @version Release 3.1.2 - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Package_Exp extends PO { /** Standard Constructor @@ -62,7 +62,7 @@ public X_AD_Package_Exp (Properties ctx, ResultSet rs, String 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"); /** TableName=AD_Package_Exp */ @@ -100,7 +100,7 @@ return sb.toString(); 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."); -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. @return AD_Package_Exp_ID */ @@ -117,8 +117,8 @@ return ii.intValue(); return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Exp_ID())); } -/** AD_Package_Type AD_Reference_ID=1000001 */ -public static final int AD_PACKAGE_TYPE_AD_Reference_ID=1000001; +/** AD_Package_Type AD_Reference_ID=50001 */ +public static final int AD_PACKAGE_TYPE_AD_Reference_ID=50001; /** Local Transfer = L */ public static final String AD_PACKAGE_TYPE_LocalTransfer = "L"; /** Remote Transfer = R */ @@ -126,11 +126,11 @@ public static final String AD_PACKAGE_TYPE_RemoteTransfer = "R"; /** XML File = X */ public static final String AD_PACKAGE_TYPE_XMLFile = "X"; /** 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) { 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) { 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); } /** Get AD_Package_Type. -@return AD_Package_Type */ +@return Defines the type of package. XML File Local and Remote */ public String getAD_Package_Type() { return (String)get_Value("AD_Package_Type"); } /** Set Description. -@param Description Optional short description of the record */ +@param Description Description */ public void setDescription (String Description) { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); @@ -157,13 +157,13 @@ Description = Description.substring(0,999); set_Value ("Description", Description); } /** Get Description. -@return Optional short description of the record */ +@return Description */ public String getDescription() { return (String)get_Value("Description"); } -/** Set EMail Address. -@param EMail Electronic Mail Address */ +/** Set Email Address. +@param EMail Email Address creator of the package */ public void setEMail (String EMail) { if (EMail == null) throw new IllegalArgumentException ("EMail is mandatory."); @@ -174,8 +174,8 @@ EMail = EMail.substring(0,29); } set_Value ("EMail", EMail); } -/** Get EMail Address. -@return Electronic Mail Address */ +/** Get Email Address. +@return Email Address creator of the package */ public String getEMail() { return (String)get_Value("EMail"); @@ -217,7 +217,7 @@ public String getInstructions() return (String)get_Value("Instructions"); } /** Set PK_Name. -@param PK_Name PK_Name */ +@param PK_Name Name of Package */ public void setPK_Name (String PK_Name) { 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); } /** Get PK_Name. -@return PK_Name */ +@return Name of Package */ public String getPK_Name() { return (String)get_Value("PK_Name"); } /** Set PK_Version. -@param PK_Version PK_Version */ +@param PK_Version Package Version */ public void setPK_Version (String PK_Version) { 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); } /** Get PK_Version. -@return PK_Version */ +@return Package Version */ public String getPK_Version() { return (String)get_Value("PK_Version"); } /** Set Processed. -@param Processed The document has been processed */ +@param Processed Processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. -@return The document has been processed */ +@return Processed */ public boolean isProcessed() { Object oo = get_Value("Processed"); @@ -270,14 +270,14 @@ if (oo != null) } return false; } -/** Set Process Now. -@param Processing Process Now */ +/** Set Processing. +@param Processing Process to create package export */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } -/** Get Process Now. -@return Process Now */ +/** Get Processing. +@return Process to create package export */ public boolean isProcessing() { Object oo = get_Value("Processing"); @@ -289,8 +289,8 @@ if (oo != null) return false; } -/** ReleaseNo AD_Reference_ID=1000002 */ -public static final int RELEASENO_AD_Reference_ID=1000002; +/** ReleaseNo AD_Reference_ID=50002 */ +public static final int RELEASENO_AD_Reference_ID=50002; /** Release 2.5.2a = Release 2.5.2a */ public static final String RELEASENO_Release252a = "Release 2.5.2a"; /** 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"; /** No specific release = all */ public static final String RELEASENO_NoSpecificRelease = "all"; -/** Set Release No. -@param ReleaseNo Internal Release Number */ +/** Set ReleaseNo. +@param ReleaseNo Release Number */ public void setReleaseNo (String ReleaseNo) { 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")); - 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) { log.warning("Length > 20 - truncated"); @@ -321,14 +321,14 @@ ReleaseNo = ReleaseNo.substring(0,19); } set_Value ("ReleaseNo", ReleaseNo); } -/** Get Release No. -@return Internal Release Number */ +/** Get ReleaseNo. +@return Release Number */ public String getReleaseNo() { return (String)get_Value("ReleaseNo"); } -/** Set Registered EMail. -@param UserName Email of the responsible for the System */ +/** Set UserName. +@param UserName Creator of Package */ public void setUserName (String UserName) { if (UserName == null) throw new IllegalArgumentException ("UserName is mandatory."); @@ -339,14 +339,14 @@ UserName = UserName.substring(0,29); } set_Value ("UserName", UserName); } -/** Get Registered EMail. -@return Email of the responsible for the System */ +/** Get UserName. +@return Creator of Package */ public String getUserName() { return (String)get_Value("UserName"); } /** Set Version. -@param Version Version of the table definition */ +@param Version Version */ public void setVersion (String Version) { if (Version == null) throw new IllegalArgumentException ("Version is mandatory."); @@ -358,7 +358,7 @@ Version = Version.substring(0,19); set_Value ("Version", Version); } /** Get Version. -@return Version of the table definition */ +@return Version */ public String getVersion() { return (String)get_Value("Version"); diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Exp_Common.java b/dbPort/src/org/compiere/model/X_AD_Package_Exp_Common.java index f4d65f1e2e..89d18993a2 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Exp_Common.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Exp_Common.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Exp_Common * @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 { /** Standard Constructor @@ -52,7 +52,7 @@ public X_AD_Package_Exp_Common (Properties ctx, ResultSet rs, String 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"); /** 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); else -set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); +set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID)); } /** Get 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); else -set_Value ("AD_ImpFormat_ID", new Integer(AD_ImpFormat_ID)); +set_Value ("AD_ImpFormat_ID", Integer.valueOf(AD_ImpFormat_ID)); } /** Get 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); else -set_Value ("AD_Menu_ID", new Integer(AD_Menu_ID)); +set_Value ("AD_Menu_ID", Integer.valueOf(AD_Menu_ID)); } /** Get 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) { 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. @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); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @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); else -set_Value ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); +set_Value ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID)); } /** Get Report View. @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); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -203,15 +203,15 @@ if (ii == null) return 0; return ii.intValue(); } /** 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) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. -@return Database Table information */ +@return Table for the Fields */ public int getAD_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); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get Window. @return Data entry or display window */ @@ -235,15 +235,15 @@ if (ii == null) return 0; return ii.intValue(); } /** 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) { if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null); else -set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); +set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID)); } /** Get Workbench. -@return Collection of windows, reports */ +@return Collection of windows reports */ public int getAD_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); else -set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -267,8 +267,8 @@ if (ii == null) return 0; return ii.intValue(); } -/** DBType AD_Reference_ID=1000003 */ -public static final int DBTYPE_AD_Reference_ID=1000003; +/** DBType AD_Reference_ID=50003 */ +public static final int DBTYPE_AD_Reference_ID=50003; /** All Database Types = ALL */ public static final String DBTYPE_AllDatabaseTypes = "ALL"; /** DB2 = DB2 */ @@ -286,11 +286,11 @@ public static final String DBTYPE_SQLServer = "SQL"; /** Sybase = Sybase */ public static final String DBTYPE_Sybase = "Sybase"; /** Set DBType. -@param DBType DBType */ +@param DBType Indicates the type of database. */ 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")); - 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) { log.warning("Length > 22 - truncated"); @@ -299,7 +299,7 @@ DBType = DBType.substring(0,21); set_Value ("DBType", DBType); } /** Get DBType. -@return DBType */ +@return Indicates the type of database. */ public String getDBType() { return (String)get_Value("DBType"); @@ -376,7 +376,7 @@ return (String)get_Value("File_Directory"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -424,7 +424,7 @@ return (String)get_Value("PK_Name"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -442,7 +442,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -491,8 +491,8 @@ public String getTarget_Directory() return (String)get_Value("Target_Directory"); } -/** Type AD_Reference_ID=1000004 */ -public static final int TYPE_AD_Reference_ID=1000004; +/** Type AD_Reference_ID=50004 */ +public static final int TYPE_AD_Reference_ID=50004; /** Workbench = B */ public static final String TYPE_Workbench = "B"; /** File - Code or other = C */ @@ -522,11 +522,11 @@ public static final String TYPE_Window = "W"; /** Form = X */ public static final String TYPE_Form = "X"; /** 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) { 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) { log.warning("Length > 10 - truncated"); @@ -535,7 +535,7 @@ Type = Type.substring(0,9); set_Value ("Type", Type); } /** Get Type. -@return Type of Validation (SQL, Java Script, Java Language) */ +@return Type of Validation (SQL Java Script Java Language) */ public String getType() { return (String)get_Value("Type"); diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Exp_Detail.java b/dbPort/src/org/compiere/model/X_AD_Package_Exp_Detail.java index 9af5bd5aef..dd13b71219 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Exp_Detail.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Exp_Detail.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Exp_Detail * @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 { /** Standard Constructor @@ -57,7 +57,7 @@ public X_AD_Package_Exp_Detail (Properties ctx, ResultSet rs, String 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"); /** 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("]"); return sb.toString(); } -/** Set Special Form. -@param AD_Form_ID Special Form */ +/** Set AD_Form_ID. +@param AD_Form_ID AD_Form_ID */ public void setAD_Form_ID (int AD_Form_ID) { if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); else -set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); +set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID)); } -/** Get Special Form. -@return Special Form */ +/** Get AD_Form_ID. +@return AD_Form_ID */ public int getAD_Form_ID() { Integer ii = (Integer)get_Value("AD_Form_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Import Format. -@param AD_ImpFormat_ID Import Format */ +/** Set AD_ImpFormat_ID. +@param AD_ImpFormat_ID AD_ImpFormat_ID */ public void setAD_ImpFormat_ID (int AD_ImpFormat_ID) { if (AD_ImpFormat_ID <= 0) set_Value ("AD_ImpFormat_ID", null); else -set_Value ("AD_ImpFormat_ID", new Integer(AD_ImpFormat_ID)); +set_Value ("AD_ImpFormat_ID", Integer.valueOf(AD_ImpFormat_ID)); } -/** Get Import Format. -@return Import Format */ +/** Get AD_ImpFormat_ID. +@return AD_ImpFormat_ID */ public int getAD_ImpFormat_ID() { Integer ii = (Integer)get_Value("AD_ImpFormat_ID"); @@ -125,16 +125,16 @@ return ii.intValue(); /** AD_Menu_ID AD_Reference_ID=105 */ public static final int AD_MENU_ID_AD_Reference_ID=105; -/** Set Menu. -@param AD_Menu_ID Identifies a Menu */ +/** Set AD_Menu_ID. +@param AD_Menu_ID AD_Menu_ID */ public void setAD_Menu_ID (int AD_Menu_ID) { if (AD_Menu_ID <= 0) set_Value ("AD_Menu_ID", null); else -set_Value ("AD_Menu_ID", new Integer(AD_Menu_ID)); +set_Value ("AD_Menu_ID", Integer.valueOf(AD_Menu_ID)); } -/** Get Menu. -@return Identifies a Menu */ +/** Get AD_Menu_ID. +@return AD_Menu_ID */ public int getAD_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) { 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. @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) { 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. @return AD_Package_Exp_ID */ @@ -211,112 +211,112 @@ Integer ii = (Integer)get_Value("AD_Package_Exp_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Process. -@param AD_Process_ID Process or Report */ +/** Set AD_Process_ID. +@param AD_Process_ID AD_Process_ID */ public void setAD_Process_ID (int AD_Process_ID) { if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } -/** Get Process. -@return Process or Report */ +/** Get AD_Process_ID. +@return AD_Process_ID */ public int getAD_Process_ID() { Integer ii = (Integer)get_Value("AD_Process_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Report View. -@param AD_ReportView_ID View used to generate this report */ +/** Set AD_ReportView_ID. +@param AD_ReportView_ID Contain the Report View ID */ public void setAD_ReportView_ID (int AD_ReportView_ID) { if (AD_ReportView_ID <= 0) set_Value ("AD_ReportView_ID", null); else -set_Value ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); +set_Value ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID)); } -/** Get Report View. -@return View used to generate this report */ +/** Get AD_ReportView_ID. +@return Contain the Report View ID */ public int getAD_ReportView_ID() { Integer ii = (Integer)get_Value("AD_ReportView_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Role. -@param AD_Role_ID Responsibility Role */ +/** Set AD_Role_ID. +@param AD_Role_ID Role */ public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } -/** Get Role. -@return Responsibility Role */ +/** Get AD_Role_ID. +@return Role */ public int getAD_Role_ID() { Integer ii = (Integer)get_Value("AD_Role_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Table. -@param AD_Table_ID Database Table information */ +/** Set AD_Table_ID. +@param AD_Table_ID AD_Table_ID */ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } -/** Get Table. -@return Database Table information */ +/** Get AD_Table_ID. +@return AD_Table_ID */ public int getAD_Table_ID() { Integer ii = (Integer)get_Value("AD_Table_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Window. -@param AD_Window_ID Data entry or display window */ +/** Set AD_Window_ID. +@param AD_Window_ID AD_Window_ID */ public void setAD_Window_ID (int AD_Window_ID) { if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } -/** Get Window. -@return Data entry or display window */ +/** Get AD_Window_ID. +@return AD_Window_ID */ public int getAD_Window_ID() { Integer ii = (Integer)get_Value("AD_Window_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Workbench. -@param AD_Workbench_ID Collection of windows, reports */ +/** Set AD_Workbench_ID. +@param AD_Workbench_ID AD_Workbench_ID */ public void setAD_Workbench_ID (int AD_Workbench_ID) { if (AD_Workbench_ID <= 0) set_Value ("AD_Workbench_ID", null); else -set_Value ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); +set_Value ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID)); } -/** Get Workbench. -@return Collection of windows, reports */ +/** Get AD_Workbench_ID. +@return AD_Workbench_ID */ public int getAD_Workbench_ID() { Integer ii = (Integer)get_Value("AD_Workbench_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Workflow. -@param AD_Workflow_ID Workflow or combination of tasks */ +/** Set AD_Workflow_ID. +@param AD_Workflow_ID AD_Workflow_ID */ public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null); else -set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } -/** Get Workflow. -@return Workflow or combination of tasks */ +/** Get AD_Workflow_ID. +@return AD_Workflow_ID */ public int getAD_Workflow_ID() { Integer ii = (Integer)get_Value("AD_Workflow_ID"); @@ -324,8 +324,8 @@ if (ii == null) return 0; return ii.intValue(); } -/** DBType AD_Reference_ID=1000003 */ -public static final int DBTYPE_AD_Reference_ID=1000003; +/** DBType AD_Reference_ID=50003 */ +public static final int DBTYPE_AD_Reference_ID=50003; /** All Database Types = ALL */ public static final String DBTYPE_AllDatabaseTypes = "ALL"; /** DB2 = DB2 */ @@ -343,11 +343,11 @@ public static final String DBTYPE_SQLServer = "SQL"; /** Sybase = Sybase */ public static final String DBTYPE_Sybase = "Sybase"; /** Set DBType. -@param DBType DBType */ +@param DBType Indicates type of database */ 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")); - 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) { log.warning("Length > 22 - truncated"); @@ -356,13 +356,13 @@ DBType = DBType.substring(0,21); set_Value ("DBType", DBType); } /** Get DBType. -@return DBType */ +@return Indicates type of database */ public String getDBType() { return (String)get_Value("DBType"); } /** Set Description. -@param Description Optional short description of the record */ +@param Description Description */ public void setDescription (String Description) { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); @@ -374,7 +374,7 @@ Description = Description.substring(0,999); set_Value ("Description", Description); } /** Get Description. -@return Optional short description of the record */ +@return Description */ public String getDescription() { return (String)get_Value("Description"); @@ -413,8 +413,8 @@ public String getDestination_FileName() { return (String)get_Value("Destination_FileName"); } -/** Set File Name. -@param FileName Name of the local file or URL */ +/** Set FileName. +@param FileName FileName */ public void setFileName (String FileName) { if (FileName != null && FileName.length() > 255) @@ -424,8 +424,8 @@ FileName = FileName.substring(0,254); } set_Value ("FileName", FileName); } -/** Get File Name. -@return Name of the local file or URL */ +/** Get FileName. +@return FileName */ public String getFileName() { return (String)get_Value("FileName"); @@ -447,22 +447,22 @@ public String getFile_Directory() { return (String)get_Value("File_Directory"); } -/** Set Line No. -@param Line Unique line for this document */ +/** Set Line. +@param Line Line */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } -/** Get Line No. -@return Unique line for this document */ +/** Get Line. +@return Line */ public int getLine() { Integer ii = (Integer)get_Value("Line"); if (ii == null) return 0; return ii.intValue(); } -/** Set Name 2. -@param Name2 Additional Name */ +/** Set Name2. +@param Name2 Name2 */ public void setName2 (String Name2) { if (Name2 != null && Name2.length() > 60) @@ -472,14 +472,14 @@ Name2 = Name2.substring(0,59); } set_Value ("Name2", Name2); } -/** Get Name 2. -@return Additional Name */ +/** Get Name2. +@return Name2 */ public String getName2() { return (String)get_Value("Name2"); } /** Set PK_Name. -@param PK_Name PK_Name */ +@param PK_Name Name of package */ public void setPK_Name (String PK_Name) { 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); } /** Get PK_Name. -@return PK_Name */ +@return Name of package */ public String getPK_Name() { return (String)get_Value("PK_Name"); } /** Set Processed. -@param Processed The document has been processed */ +@param Processed Processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. -@return The document has been processed */ +@return Processed */ public boolean isProcessed() { Object oo = get_Value("Processed"); @@ -514,14 +514,14 @@ if (oo != null) } return false; } -/** Set Process Now. -@param Processing Process Now */ +/** Set Processing. +@param Processing Processing */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } -/** Get Process Now. -@return Process Now */ +/** Get Processing. +@return Processing */ public boolean isProcessing() { Object oo = get_Value("Processing"); @@ -533,8 +533,8 @@ if (oo != null) return false; } -/** ReleaseNo AD_Reference_ID=1000002 */ -public static final int RELEASENO_AD_Reference_ID=1000002; +/** ReleaseNo AD_Reference_ID=50002 */ +public static final int RELEASENO_AD_Reference_ID=50002; /** Release 2.5.2a = Release 2.5.2a */ public static final String RELEASENO_Release252a = "Release 2.5.2a"; /** 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"; /** No specific release = all */ public static final String RELEASENO_NoSpecificRelease = "all"; -/** Set Release No. -@param ReleaseNo Internal Release Number */ +/** Set ReleaseNo. +@param ReleaseNo 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")); - 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) { log.warning("Length > 20 - truncated"); @@ -564,8 +564,8 @@ ReleaseNo = ReleaseNo.substring(0,19); } set_Value ("ReleaseNo", ReleaseNo); } -/** Get Release No. -@return Internal Release Number */ +/** Get ReleaseNo. +@return ReleaseNo */ public String getReleaseNo() { return (String)get_Value("ReleaseNo"); @@ -588,7 +588,7 @@ public String getSQLStatement() return (String)get_Value("SQLStatement"); } /** 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) { 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); } /** Get Target_Directory. -@return Target_Directory */ +@return Directory where the file to be distributed will be copied to */ public String getTarget_Directory() { return (String)get_Value("Target_Directory"); } -/** Type AD_Reference_ID=1000004 */ -public static final int TYPE_AD_Reference_ID=1000004; +/** Type AD_Reference_ID=50004 */ +public static final int TYPE_AD_Reference_ID=50004; /** Workbench = B */ public static final String TYPE_Workbench = "B"; /** File - Code or other = C */ @@ -636,12 +636,12 @@ public static final String TYPE_Window = "W"; /** Form = X */ public static final String TYPE_Form = "X"; /** Set Type. -@param Type Type of Validation (SQL, Java Script, Java Language) */ +@param Type Type */ public void setType (String Type) { 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")); - 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) { log.warning("Length > 10 - truncated"); @@ -650,7 +650,7 @@ Type = Type.substring(0,9); set_Value ("Type", Type); } /** Get Type. -@return Type of Validation (SQL, Java Script, Java Language) */ +@return Type */ public String getType() { return (String)get_Value("Type"); diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Imp.java b/dbPort/src/org/compiere/model/X_AD_Package_Imp.java index 91afcc968b..e754d4ca0f 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Imp.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Imp.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Imp * @author Jorg Janke (generated) - * @version Release 3.1.2 - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Package_Imp extends PO { /** Standard Constructor @@ -55,7 +55,7 @@ public X_AD_Package_Imp (Properties ctx, ResultSet rs, String 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"); /** TableName=AD_Package_Imp */ @@ -93,7 +93,7 @@ return sb.toString(); 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."); -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. @return AD_Package_Imp_ID */ @@ -144,7 +144,7 @@ public String getCreatorContact() return (String)get_Value("CreatorContact"); } /** Set Description. -@param Description Optional short description of the record */ +@param Description Description */ public void setDescription (String Description) { if (Description == null) throw new IllegalArgumentException ("Description is mandatory."); @@ -156,13 +156,13 @@ Description = Description.substring(0,999); set_Value ("Description", Description); } /** Get Description. -@return Optional short description of the record */ +@return Description */ public String getDescription() { return (String)get_Value("Description"); } -/** Set EMail Address. -@param EMail Electronic Mail Address */ +/** Set EMail. +@param EMail EMail */ public void setEMail (String EMail) { if (EMail != null && EMail.length() > 60) @@ -172,14 +172,14 @@ EMail = EMail.substring(0,59); } set_Value ("EMail", EMail); } -/** Get EMail Address. -@return Electronic Mail Address */ +/** Get EMail. +@return EMail */ public String getEMail() { return (String)get_Value("EMail"); } /** Set Name. -@param Name Alphanumeric identifier of the entity */ +@param Name Name */ public void setName (String Name) { if (Name == null) throw new IllegalArgumentException ("Name is mandatory."); @@ -191,13 +191,13 @@ Name = Name.substring(0,59); set_Value ("Name", Name); } /** Get Name. -@return Alphanumeric identifier of the entity */ +@return Name */ public String getName() { return (String)get_Value("Name"); } /** Set PK_Status. -@param PK_Status PK_Status */ +@param PK_Status Status of package installation */ public void setPK_Status (String PK_Status) { 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); } /** Get PK_Status. -@return PK_Status */ +@return Status of package installation */ public String getPK_Status() { return (String)get_Value("PK_Status"); @@ -231,13 +231,13 @@ public String getPK_Version() return (String)get_Value("PK_Version"); } /** Set Processed. -@param Processed The document has been processed */ +@param Processed Processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. -@return The document has been processed */ +@return Processed */ public boolean isProcessed() { Object oo = get_Value("Processed"); @@ -248,14 +248,14 @@ if (oo != null) } return false; } -/** Set Process Now. -@param Processing Process Now */ +/** Set Processing. +@param Processing Processing */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } -/** Get Process Now. -@return Process Now */ +/** Get Processing. +@return Processing */ public boolean isProcessing() { Object oo = get_Value("Processing"); @@ -266,8 +266,8 @@ if (oo != null) } return false; } -/** Set Release No. -@param ReleaseNo Internal Release Number */ +/** Set ReleaseNo. +@param ReleaseNo ReleaseNo */ public void setReleaseNo (String ReleaseNo) { if (ReleaseNo != null && ReleaseNo.length() > 20) @@ -277,8 +277,8 @@ ReleaseNo = ReleaseNo.substring(0,19); } set_Value ("ReleaseNo", ReleaseNo); } -/** Get Release No. -@return Internal Release Number */ +/** Get ReleaseNo. +@return ReleaseNo */ public String getReleaseNo() { return (String)get_Value("ReleaseNo"); @@ -287,7 +287,7 @@ return (String)get_Value("ReleaseNo"); @param Uninstall Uninstall */ public void setUninstall (boolean Uninstall) { -set_Value ("Uninstall", new Boolean(Uninstall)); +set_Value ("Uninstall", Boolean.valueOf(Uninstall)); } /** Get Uninstall. @return Uninstall */ @@ -302,7 +302,7 @@ if (oo != null) return false; } /** Set Version. -@param Version Version of the table definition */ +@param Version Version */ public void setVersion (String Version) { if (Version != null && Version.length() > 20) @@ -313,7 +313,7 @@ Version = Version.substring(0,19); set_Value ("Version", Version); } /** Get Version. -@return Version of the table definition */ +@return Version */ public String getVersion() { return (String)get_Value("Version"); diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Backup.java b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Backup.java index ccf35e87a1..127e847eab 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Backup.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Backup.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Imp_Backup * @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 { /** Standard Constructor @@ -54,7 +54,7 @@ public X_AD_Package_Imp_Backup (Properties ctx, ResultSet rs, String 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"); /** TableName=AD_Package_Imp_Backup */ @@ -90,16 +90,16 @@ return sb.toString(); /** AD_Column_ID AD_Reference_ID=251 */ public static final int AD_COLUMN_ID_AD_Reference_ID=251; -/** Set Column. -@param AD_Column_ID Column in the table */ +/** Set AD_Column_ID. +@param AD_Column_ID AD_Column_ID */ public void setAD_Column_ID (int AD_Column_ID) { if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } -/** Get Column. -@return Column in the table */ +/** Get AD_Column_ID. +@return AD_Column_ID */ public int getAD_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) { 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. @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) { 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. @return AD_Package_Imp_Detail_ID */ @@ -164,7 +164,7 @@ return ii.intValue(); 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."); -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. @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 */ public static final int AD_REFERENCE_ID_AD_Reference_ID=1; -/** Set Reference. -@param AD_Reference_ID System Reference and Validation */ +/** Set AD_Reference_ID. +@param AD_Reference_ID AD_Reference_ID */ public void setAD_Reference_ID (int AD_Reference_ID) { if (AD_Reference_ID <= 0) set_Value ("AD_Reference_ID", null); else -set_Value ("AD_Reference_ID", new Integer(AD_Reference_ID)); +set_Value ("AD_Reference_ID", Integer.valueOf(AD_Reference_ID)); } -/** Get Reference. -@return System Reference and Validation */ +/** Get AD_Reference_ID. +@return AD_Reference_ID */ public int getAD_Reference_ID() { Integer ii = (Integer)get_Value("AD_Reference_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Table. -@param AD_Table_ID Database Table information */ +/** Set AD_Table_ID. +@param AD_Table_ID AD_Table_ID */ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } -/** Get Table. -@return Database Table information */ +/** Get AD_Table_ID. +@return AD_Table_ID */ public int getAD_Table_ID() { Integer ii = (Integer)get_Value("AD_Table_ID"); @@ -247,7 +247,7 @@ return (String)get_Value("ColValue"); @param Uninstall Uninstall */ public void setUninstall (boolean Uninstall) { -set_Value ("Uninstall", new Boolean(Uninstall)); +set_Value ("Uninstall", Boolean.valueOf(Uninstall)); } /** Get Uninstall. @return Uninstall */ diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Detail.java b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Detail.java index c0f46a5472..0b8e95b2b0 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Detail.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Detail.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Imp_Detail * @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 { /** Standard Constructor @@ -54,7 +54,7 @@ public X_AD_Package_Imp_Detail (Properties ctx, ResultSet rs, String 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"); /** TableName=AD_Package_Imp_Detail */ @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Original_ID (int AD_Original_ID) { 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. @return AD_Original_ID */ @@ -107,7 +107,7 @@ return ii.intValue(); 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."); -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. @return AD_Package_Imp_Detail_ID */ @@ -122,7 +122,7 @@ return ii.intValue(); 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."); -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. @return AD_Package_Imp_ID */ @@ -132,16 +132,16 @@ Integer ii = (Integer)get_Value("AD_Package_Imp_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Table. -@param AD_Table_ID Database Table information */ +/** Set AD_Table_ID. +@param AD_Table_ID AD_Table_ID */ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } -/** Get Table. -@return Database Table information */ +/** Get AD_Table_ID. +@return AD_Table_ID */ public int getAD_Table_ID() { Integer ii = (Integer)get_Value("AD_Table_ID"); @@ -149,7 +149,7 @@ if (ii == null) return 0; return ii.intValue(); } /** Set Action. -@param Action Indicates the Action to be performed */ +@param Action Action */ public void setAction (String Action) { if (Action != null && Action.length() > 20) @@ -160,7 +160,7 @@ Action = Action.substring(0,19); set_Value ("Action", Action); } /** Get Action. -@return Indicates the Action to be performed */ +@return Action */ public String getAction() { 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); 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. @return Ad_Backup_ID */ @@ -182,7 +182,7 @@ if (ii == null) return 0; return ii.intValue(); } /** Set Name. -@param Name Alphanumeric identifier of the entity */ +@param Name Name */ public void setName (String Name) { if (Name != null && Name.length() > 60) @@ -193,13 +193,13 @@ Name = Name.substring(0,59); set_Value ("Name", Name); } /** Get Name. -@return Alphanumeric identifier of the entity */ +@return Name */ public String getName() { return (String)get_Value("Name"); } /** Set Success. -@param Success Success */ +@param Success Indicates Success */ public void setSuccess (String Success) { if (Success != null && Success.length() > 20) @@ -210,13 +210,13 @@ Success = Success.substring(0,19); set_Value ("Success", Success); } /** Get Success. -@return Success */ +@return Indicates Success */ public String getSuccess() { return (String)get_Value("Success"); } -/** Set DB Table Name. -@param TableName Name of the table in the database */ +/** Set TableName. +@param TableName TableName */ public void setTableName (String TableName) { if (TableName != null && TableName.length() > 60) @@ -226,14 +226,14 @@ TableName = TableName.substring(0,59); } set_Value ("TableName", TableName); } -/** Get DB Table Name. -@return Name of the table in the database */ +/** Get TableName. +@return TableName */ public String getTableName() { return (String)get_Value("TableName"); } /** Set Type. -@param Type Type of Validation (SQL, Java Script, Java Language) */ +@param Type Type */ public void setType (String Type) { if (Type != null && Type.length() > 60) @@ -244,19 +244,19 @@ Type = Type.substring(0,59); set_Value ("Type", Type); } /** Get Type. -@return Type of Validation (SQL, Java Script, Java Language) */ +@return Type */ public String getType() { return (String)get_Value("Type"); } /** Set Uninstall. -@param Uninstall Uninstall */ +@param Uninstall Indicates if an object has been uninstalled or reversed */ public void setUninstall (boolean Uninstall) { -set_ValueNoCheck ("Uninstall", new Boolean(Uninstall)); +set_ValueNoCheck ("Uninstall", Boolean.valueOf(Uninstall)); } /** Get Uninstall. -@return Uninstall */ +@return Indicates if an object has been uninstalled or reversed */ public boolean isUninstall() { Object oo = get_Value("Uninstall"); diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Inst.java b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Inst.java index e4899085f9..b0ba22b197 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Inst.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Inst.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Imp_Inst * @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 { /** Standard Constructor @@ -52,7 +52,7 @@ public X_AD_Package_Imp_Inst (Properties ctx, ResultSet rs, String 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"); /** 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) { 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. @return AD_PACKAGE_IMP_INST_ID */ @@ -229,7 +229,7 @@ return (String)get_Value("PK_Version"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -247,7 +247,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -282,7 +282,7 @@ return (String)get_Value("ReleaseNo"); @param Uninstall Uninstall */ public void setUninstall (boolean Uninstall) { -set_Value ("Uninstall", new Boolean(Uninstall)); +set_Value ("Uninstall", Boolean.valueOf(Uninstall)); } /** Get Uninstall. @return Uninstall */ diff --git a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Proc.java b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Proc.java index 89a89da97b..ad2f1126bc 100644 --- a/dbPort/src/org/compiere/model/X_AD_Package_Imp_Proc.java +++ b/dbPort/src/org/compiere/model/X_AD_Package_Imp_Proc.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Package_Imp_Proc * @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 { /** Standard Constructor @@ -53,7 +53,7 @@ public X_AD_Package_Imp_Proc (Properties ctx, ResultSet rs, String 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"); /** TableName=AD_Package_Imp_Proc */ @@ -90,7 +90,7 @@ return sb.toString(); @param AD_Override_Dict 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. @return AD_Override_Dict */ @@ -105,7 +105,7 @@ if (oo != null) return false; } /** 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) { 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); } /** Get AD_Package_Dir. -@return AD_Package_Dir */ +@return Where the package directory is located */ public String getAD_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) { 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. @return AD_Package_Imp_Proc_ID */ @@ -137,7 +137,7 @@ if (ii == null) return 0; return ii.intValue(); } /** 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) { 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); } /** Get AD_Package_Source. -@return AD_Package_Source */ +@return Where the package is located */ public String getAD_Package_Source() { return (String)get_Value("AD_Package_Source"); } -/** AD_Package_Source_Type AD_Reference_ID=1000005 */ -public static final int 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=50005; /** File = File */ public static final String AD_PACKAGE_SOURCE_TYPE_File = "File"; /** 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.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) { log.warning("Length > 10 - truncated"); @@ -180,14 +180,14 @@ public String getAD_Package_Source_Type() { return (String)get_Value("AD_Package_Source_Type"); } -/** Set Process Now. -@param Processing Process Now */ +/** Set Processing. +@param Processing Start the import process */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } -/** Get Process Now. -@return Process Now */ +/** Get Processing. +@return Start the import process */ public boolean isProcessing() { Object oo = get_Value("Processing"); diff --git a/dbPort/src/org/compiere/model/X_AD_Preference.java b/dbPort/src/org/compiere/model/X_AD_Preference.java index 3b05a5018d..f81321d9e7 100644 --- a/dbPort/src/org/compiere/model/X_AD_Preference.java +++ b/dbPort/src/org/compiere/model/X_AD_Preference.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Preference * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Preference extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Preference (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Preference_ID (int AD_Preference_ID) { 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. @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); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/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); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get Window. @return Data entry or display window */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintColor.java b/dbPort/src/org/compiere/model/X_AD_PrintColor.java index 8b32cc2777..6059c77842 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintColor.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintColor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintColor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintColor extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_PrintColor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_PrintColor_ID (int AD_PrintColor_ID) { 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. @return Color used for printing and display */ @@ -125,7 +125,7 @@ return (String)get_Value("Code"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintFont.java b/dbPort/src/org/compiere/model/X_AD_PrintFont.java index d8422cdfee..001548c374 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintFont.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintFont.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintFont * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintFont extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_PrintFont (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_PrintFont_ID (int AD_PrintFont_ID) { 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. @return Maintain Print Font */ @@ -125,7 +125,7 @@ return (String)get_Value("Code"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintForm.java b/dbPort/src/org/compiere/model/X_AD_PrintForm.java index 9397ada9f9..3878bdee9b 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintForm.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintForm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintForm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintForm extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_PrintForm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_PrintForm_ID (int AD_PrintForm_ID) { 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @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); 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. @return Print Format for Shipments, Receipts, Pick Lists */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintFormat.java b/dbPort/src/org/compiere/model/X_AD_PrintFormat.java index 0b3c023b09..c79e74910e 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintFormat.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintFormat.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintFormat * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintFormat extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_AD_PrintFormat (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setAD_PrintColor_ID (int AD_PrintColor_ID) { 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. @return Color used for printing and display */ @@ -116,7 +116,7 @@ return ii.intValue(); public void setAD_PrintFont_ID (int AD_PrintFont_ID) { 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. @return Maintain Print Font */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) { 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. @return Data Print Format */ @@ -146,7 +146,7 @@ return ii.intValue(); public void setAD_PrintPaper_ID (int AD_PrintPaper_ID) { 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. @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); 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. @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); else -set_ValueNoCheck ("AD_ReportView_ID", new Integer(AD_ReportView_ID)); +set_ValueNoCheck ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID)); } /** Get Report View. @return View used to generate this report */ @@ -193,7 +193,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @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 */ public void setFooterMargin (int FooterMargin) { -set_Value ("FooterMargin", new Integer(FooterMargin)); +set_Value ("FooterMargin", Integer.valueOf(FooterMargin)); } /** Get Footer Margin. @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 */ public void setHeaderMargin (int HeaderMargin) { -set_Value ("HeaderMargin", new Integer(HeaderMargin)); +set_Value ("HeaderMargin", Integer.valueOf(HeaderMargin)); } /** Get Header Margin. @return Margin of the Header in 1/72 of an inch */ @@ -269,7 +269,7 @@ return ii.intValue(); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -287,7 +287,7 @@ return false; @param IsForm If Selected, a Form is printed, if not selected a columnar List report */ public void setIsForm (boolean IsForm) { -set_Value ("IsForm", new Boolean(IsForm)); +set_Value ("IsForm", Boolean.valueOf(IsForm)); } /** Get Form. @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 */ public void setIsStandardHeaderFooter (boolean IsStandardHeaderFooter) { -set_Value ("IsStandardHeaderFooter", new Boolean(IsStandardHeaderFooter)); +set_Value ("IsStandardHeaderFooter", Boolean.valueOf(IsStandardHeaderFooter)); } /** Get Standard Header/Footer. @return The standard Header and Footer is used */ @@ -323,7 +323,7 @@ return false; @param IsTableBased Table based List Reporting */ public void setIsTableBased (boolean IsTableBased) { -set_ValueNoCheck ("IsTableBased", new Boolean(IsTableBased)); +set_ValueNoCheck ("IsTableBased", Boolean.valueOf(IsTableBased)); } /** Get Table Based. @return Table based List Reporting */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintFormatItem.java b/dbPort/src/org/compiere/model/X_AD_PrintFormatItem.java index 8a5153feb9..192607cd36 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintFormatItem.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintFormatItem.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintFormatItem * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintFormatItem extends PO { /** Standard Constructor @@ -92,12 +92,12 @@ public X_AD_PrintFormatItem (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -129,7 +129,7 @@ return sb.toString(); public void setAD_Column_ID (int AD_Column_ID) { 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. @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); else -set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); +set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID)); } /** Get Print Color. @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); else -set_Value ("AD_PrintFont_ID", new Integer(AD_PrintFont_ID)); +set_Value ("AD_PrintFont_ID", Integer.valueOf(AD_PrintFont_ID)); } /** Get 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) { 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. @return Print format that is included here. */ @@ -194,7 +194,7 @@ return ii.intValue(); public void setAD_PrintFormatItem_ID (int AD_PrintFormatItem_ID) { 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. @return Item/Column in the Print format */ @@ -209,7 +209,7 @@ return ii.intValue(); public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) { 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. @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); else -set_Value ("AD_PrintGraph_ID", new Integer(AD_PrintGraph_ID)); +set_Value ("AD_PrintGraph_ID", Integer.valueOf(AD_PrintGraph_ID)); } /** Get Graph. @return Graph included in Reports */ @@ -239,7 +239,7 @@ return ii.intValue(); @param ArcDiameter Arc Diameter for rounded Rectangles */ public void setArcDiameter (int ArcDiameter) { -set_Value ("ArcDiameter", new Integer(ArcDiameter)); +set_Value ("ArcDiameter", Integer.valueOf(ArcDiameter)); } /** Get Arc Diameter. @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 */ public void setBelowColumn (int BelowColumn) { -set_Value ("BelowColumn", new Integer(BelowColumn)); +set_Value ("BelowColumn", Integer.valueOf(BelowColumn)); } /** Get Below Column. @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 */ public void setImageIsAttached (boolean ImageIsAttached) { -set_Value ("ImageIsAttached", new Boolean(ImageIsAttached)); +set_Value ("ImageIsAttached", Boolean.valueOf(ImageIsAttached)); } /** Get Image attached. @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 */ public void setIsAveraged (boolean IsAveraged) { -set_Value ("IsAveraged", new Boolean(IsAveraged)); +set_Value ("IsAveraged", Boolean.valueOf(IsAveraged)); } /** Get Calculate Mean (?). @return Calculate Average of numeric content or length */ @@ -421,7 +421,7 @@ return false; @param IsCentrallyMaintained Information maintained in System Element table */ public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) { -set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); +set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained)); } /** Get Centrally maintained. @return Information maintained in System Element table */ @@ -439,7 +439,7 @@ return false; @param IsCounted Count number of not empty elements */ public void setIsCounted (boolean IsCounted) { -set_Value ("IsCounted", new Boolean(IsCounted)); +set_Value ("IsCounted", Boolean.valueOf(IsCounted)); } /** Get Calculate Count (?). @return Count number of not empty elements */ @@ -457,7 +457,7 @@ return false; @param IsDeviationCalc Calculate Standard Deviation */ public void setIsDeviationCalc (boolean IsDeviationCalc) { -set_Value ("IsDeviationCalc", new Boolean(IsDeviationCalc)); +set_Value ("IsDeviationCalc", Boolean.valueOf(IsDeviationCalc)); } /** Get Calculate Deviation (?). @return Calculate Standard Deviation */ @@ -475,7 +475,7 @@ return false; @param IsFilledRectangle Fill the shape with the color selected */ public void setIsFilledRectangle (boolean IsFilledRectangle) { -set_Value ("IsFilledRectangle", new Boolean(IsFilledRectangle)); +set_Value ("IsFilledRectangle", Boolean.valueOf(IsFilledRectangle)); } /** Get Fill Shape. @return Fill the shape with the color selected */ @@ -493,7 +493,7 @@ return false; @param IsFixedWidth Column has a fixed width */ public void setIsFixedWidth (boolean IsFixedWidth) { -set_Value ("IsFixedWidth", new Boolean(IsFixedWidth)); +set_Value ("IsFixedWidth", Boolean.valueOf(IsFixedWidth)); } /** Get Fixed Width. @return Column has a fixed width */ @@ -511,7 +511,7 @@ return false; @param IsGroupBy After a group change, totals, etc. are printed */ public void setIsGroupBy (boolean IsGroupBy) { -set_Value ("IsGroupBy", new Boolean(IsGroupBy)); +set_Value ("IsGroupBy", Boolean.valueOf(IsGroupBy)); } /** Get Group by. @return After a group change, totals, etc. are printed */ @@ -529,7 +529,7 @@ return false; @param IsHeightOneLine If selected, only one line is printed */ public void setIsHeightOneLine (boolean IsHeightOneLine) { -set_Value ("IsHeightOneLine", new Boolean(IsHeightOneLine)); +set_Value ("IsHeightOneLine", Boolean.valueOf(IsHeightOneLine)); } /** Get One Line Only. @return If selected, only one line is printed */ @@ -547,7 +547,7 @@ return false; @param IsImageField The image is retrieved from the data column */ public void setIsImageField (boolean IsImageField) { -set_Value ("IsImageField", new Boolean(IsImageField)); +set_Value ("IsImageField", Boolean.valueOf(IsImageField)); } /** Get Image Field. @return The image is retrieved from the data column */ @@ -565,7 +565,7 @@ return false; @param IsMaxCalc Calculate the maximim amount */ public void setIsMaxCalc (boolean IsMaxCalc) { -set_Value ("IsMaxCalc", new Boolean(IsMaxCalc)); +set_Value ("IsMaxCalc", Boolean.valueOf(IsMaxCalc)); } /** Get Calculate Maximim (?). @return Calculate the maximim amount */ @@ -583,7 +583,7 @@ return false; @param IsMinCalc Calculate the minimum amount */ public void setIsMinCalc (boolean IsMinCalc) { -set_Value ("IsMinCalc", new Boolean(IsMinCalc)); +set_Value ("IsMinCalc", Boolean.valueOf(IsMinCalc)); } /** Get Calculate Minimum (?). @return Calculate the minimum amount */ @@ -601,7 +601,7 @@ return false; @param IsNextLine Print item on next line */ public void setIsNextLine (boolean IsNextLine) { -set_Value ("IsNextLine", new Boolean(IsNextLine)); +set_Value ("IsNextLine", Boolean.valueOf(IsNextLine)); } /** Get Next Line. @return Print item on next line */ @@ -619,7 +619,7 @@ return false; @param IsNextPage The column is printed on the next page */ public void setIsNextPage (boolean IsNextPage) { -set_Value ("IsNextPage", new Boolean(IsNextPage)); +set_Value ("IsNextPage", Boolean.valueOf(IsNextPage)); } /** Get Next Page. @return The column is printed on the next page */ @@ -637,7 +637,7 @@ return false; @param IsOrderBy Include in sort order */ public void setIsOrderBy (boolean IsOrderBy) { -set_Value ("IsOrderBy", new Boolean(IsOrderBy)); +set_Value ("IsOrderBy", Boolean.valueOf(IsOrderBy)); } /** Get Order by. @return Include in sort order */ @@ -655,7 +655,7 @@ return false; @param IsPageBreak Start with new page */ public void setIsPageBreak (boolean IsPageBreak) { -set_Value ("IsPageBreak", new Boolean(IsPageBreak)); +set_Value ("IsPageBreak", Boolean.valueOf(IsPageBreak)); } /** Get Page break. @return Start with new page */ @@ -673,7 +673,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -691,7 +691,7 @@ return false; @param IsRelativePosition The item is relative positioned (not absolute) */ public void setIsRelativePosition (boolean IsRelativePosition) { -set_Value ("IsRelativePosition", new Boolean(IsRelativePosition)); +set_Value ("IsRelativePosition", Boolean.valueOf(IsRelativePosition)); } /** Get Relative Position. @return The item is relative positioned (not absolute) */ @@ -709,7 +709,7 @@ return false; @param IsRunningTotal Create a running total (sum) */ public void setIsRunningTotal (boolean IsRunningTotal) { -set_Value ("IsRunningTotal", new Boolean(IsRunningTotal)); +set_Value ("IsRunningTotal", Boolean.valueOf(IsRunningTotal)); } /** Get Running Total. @return Create a running total (sum) */ @@ -727,7 +727,7 @@ return false; @param IsSetNLPosition Set New Line Position */ public void setIsSetNLPosition (boolean IsSetNLPosition) { -set_Value ("IsSetNLPosition", new Boolean(IsSetNLPosition)); +set_Value ("IsSetNLPosition", Boolean.valueOf(IsSetNLPosition)); } /** Get Set NL Position. @return Set New Line Position */ @@ -745,7 +745,7 @@ return false; @param IsSummarized Calculate the Sum of numeric content or length */ public void setIsSummarized (boolean IsSummarized) { -set_Value ("IsSummarized", new Boolean(IsSummarized)); +set_Value ("IsSummarized", Boolean.valueOf(IsSummarized)); } /** Get Calculate Sum (?). @return Calculate the Sum of numeric content or length */ @@ -763,7 +763,7 @@ return false; @param IsSuppressNull Suppress columns or elements with NULL value */ public void setIsSuppressNull (boolean IsSuppressNull) { -set_Value ("IsSuppressNull", new Boolean(IsSuppressNull)); +set_Value ("IsSuppressNull", Boolean.valueOf(IsSuppressNull)); } /** Get Suppress Null. @return Suppress columns or elements with NULL value */ @@ -777,13 +777,13 @@ if (oo != null) } return false; } -/** Set Calculate Variance (?²). +/** Set Calculate Variance (??). @param IsVarianceCalc Calculate Variance */ 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 */ public boolean isVarianceCalc() { @@ -830,7 +830,7 @@ return (String)get_Value("LineAlignmentType"); @param LineWidth Width of the lines */ public void setLineWidth (int LineWidth) { -set_Value ("LineWidth", new Integer(LineWidth)); +set_Value ("LineWidth", Integer.valueOf(LineWidth)); } /** Get Line Width. @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 */ public void setMaxHeight (int MaxHeight) { -set_Value ("MaxHeight", new Integer(MaxHeight)); +set_Value ("MaxHeight", Integer.valueOf(MaxHeight)); } /** Get Max Height. @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 */ public void setMaxWidth (int MaxWidth) { -set_Value ("MaxWidth", new Integer(MaxWidth)); +set_Value ("MaxWidth", Integer.valueOf(MaxWidth)); } /** Get Max Width. @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 */ public void setRunningTotalLines (int RunningTotalLines) { -set_Value ("RunningTotalLines", new Integer(RunningTotalLines)); +set_Value ("RunningTotalLines", Integer.valueOf(RunningTotalLines)); } /** Get Running Total Lines. @return Create Running Total Lines (page break) every x lines */ @@ -1009,7 +1009,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; @@ -1054,7 +1054,7 @@ return (String)get_Value("ShapeType"); @param SortNo Determines in what order the records are displayed */ public void setSortNo (int SortNo) { -set_Value ("SortNo", new Integer(SortNo)); +set_Value ("SortNo", Integer.valueOf(SortNo)); } /** Get Record Sort No. @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 */ public void setXPosition (int XPosition) { -set_Value ("XPosition", new Integer(XPosition)); +set_Value ("XPosition", Integer.valueOf(XPosition)); } /** Get X Position. @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 */ public void setXSpace (int XSpace) { -set_Value ("XSpace", new Integer(XSpace)); +set_Value ("XSpace", Integer.valueOf(XSpace)); } /** Get X Space. @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 */ public void setYPosition (int YPosition) { -set_Value ("YPosition", new Integer(YPosition)); +set_Value ("YPosition", Integer.valueOf(YPosition)); } /** Get Y Position. @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 */ public void setYSpace (int YSpace) { -set_Value ("YSpace", new Integer(YSpace)); +set_Value ("YSpace", Integer.valueOf(YSpace)); } /** Get Y Space. @return Relative Y (vertical) space in 1/72 of an inch */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintGraph.java b/dbPort/src/org/compiere/model/X_AD_PrintGraph.java index 9dea0a6f5c..13c0c6e66f 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintGraph.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintGraph.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintGraph * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintGraph extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_PrintGraph (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) { 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. @return Data Print Format */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setAD_PrintGraph_ID (int AD_PrintGraph_ID) { 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. @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); 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. @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); 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. @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); 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. @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); 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. @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) { 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. @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) { 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. @return Description Column for Pie/Line/Bar Charts */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintLabel.java b/dbPort/src/org/compiere/model/X_AD_PrintLabel.java index 1d799d0284..d9f038af92 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintLabel.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintLabel.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintLabel * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintLabel extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_PrintLabel (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setAD_LabelPrinter_ID (int AD_LabelPrinter_ID) { 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. @return Label Printer Definition */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setAD_PrintLabel_ID (int AD_PrintLabel_ID) { 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. @return Label Format to print */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -157,7 +157,7 @@ return (String)get_Value("Description"); @param IsLandscape Landscape orientation */ public void setIsLandscape (boolean IsLandscape) { -set_Value ("IsLandscape", new Boolean(IsLandscape)); +set_Value ("IsLandscape", Boolean.valueOf(IsLandscape)); } /** Get Landscape. @return Landscape orientation */ @@ -175,7 +175,7 @@ return false; @param LabelHeight Height of the label */ public void setLabelHeight (int LabelHeight) { -set_Value ("LabelHeight", new Integer(LabelHeight)); +set_Value ("LabelHeight", Integer.valueOf(LabelHeight)); } /** Get Label Height. @return Height of the label */ @@ -189,7 +189,7 @@ return ii.intValue(); @param LabelWidth Width of the Label */ public void setLabelWidth (int LabelWidth) { -set_Value ("LabelWidth", new Integer(LabelWidth)); +set_Value ("LabelWidth", Integer.valueOf(LabelWidth)); } /** Get Label Width. @return Width of the Label */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintLabelLine.java b/dbPort/src/org/compiere/model/X_AD_PrintLabelLine.java index 68aeb3968d..2b4f9ed777 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintLabelLine.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintLabelLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintLabelLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintLabelLine extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_PrintLabelLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @return Column in the table */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setAD_LabelPrinterFunction_ID (int AD_LabelPrinterFunction_ID) { 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. @return Function of Label Printer */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setAD_PrintLabelLine_ID (int AD_PrintLabelLine_ID) { 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. @return Print Label Line Format */ @@ -143,7 +143,7 @@ return ii.intValue(); public void setAD_PrintLabel_ID (int AD_PrintLabel_ID) { 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. @return Label Format to print */ @@ -220,7 +220,7 @@ return (String)get_Value("PrintName"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @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 */ public void setXPosition (int XPosition) { -set_Value ("XPosition", new Integer(XPosition)); +set_Value ("XPosition", Integer.valueOf(XPosition)); } /** Get X Position. @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 */ public void setYPosition (int YPosition) { -set_Value ("YPosition", new Integer(YPosition)); +set_Value ("YPosition", Integer.valueOf(YPosition)); } /** Get Y Position. @return Absolute Y (vertical) position in 1/72 of an inch */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintPaper.java b/dbPort/src/org/compiere/model/X_AD_PrintPaper.java index 73fd58c3de..ce47ccdc29 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintPaper.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintPaper.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintPaper * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintPaper extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_AD_PrintPaper (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setAD_PrintPaper_ID (int AD_PrintPaper_ID) { 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. @return Printer paper definition */ @@ -173,7 +173,7 @@ return (String)get_Value("DimensionUnits"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -191,7 +191,7 @@ return false; @param IsLandscape Landscape orientation */ public void setIsLandscape (boolean IsLandscape) { -set_Value ("IsLandscape", new Boolean(IsLandscape)); +set_Value ("IsLandscape", Boolean.valueOf(IsLandscape)); } /** Get Landscape. @return Landscape orientation */ @@ -209,7 +209,7 @@ return false; @param MarginBottom Bottom Space in 1/72 inch */ public void setMarginBottom (int MarginBottom) { -set_Value ("MarginBottom", new Integer(MarginBottom)); +set_Value ("MarginBottom", Integer.valueOf(MarginBottom)); } /** Get Bottom Margin. @return Bottom Space in 1/72 inch */ @@ -223,7 +223,7 @@ return ii.intValue(); @param MarginLeft Left Space in 1/72 inch */ public void setMarginLeft (int MarginLeft) { -set_Value ("MarginLeft", new Integer(MarginLeft)); +set_Value ("MarginLeft", Integer.valueOf(MarginLeft)); } /** Get Left Margin. @return Left Space in 1/72 inch */ @@ -237,7 +237,7 @@ return ii.intValue(); @param MarginRight Right Space in 1/72 inch */ public void setMarginRight (int MarginRight) { -set_Value ("MarginRight", new Integer(MarginRight)); +set_Value ("MarginRight", Integer.valueOf(MarginRight)); } /** Get Right Margin. @return Right Space in 1/72 inch */ @@ -251,7 +251,7 @@ return ii.intValue(); @param MarginTop Top Space in 1/72 inch */ public void setMarginTop (int MarginTop) { -set_Value ("MarginTop", new Integer(MarginTop)); +set_Value ("MarginTop", Integer.valueOf(MarginTop)); } /** Get Top Margin. @return Top Space in 1/72 inch */ @@ -289,7 +289,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_AD_PrintTableFormat.java b/dbPort/src/org/compiere/model/X_AD_PrintTableFormat.java index c257b82a3f..5d32348215 100644 --- a/dbPort/src/org/compiere/model/X_AD_PrintTableFormat.java +++ b/dbPort/src/org/compiere/model/X_AD_PrintTableFormat.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_PrintTableFormat * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_PrintTableFormat extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_PrintTableFormat (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_PrintTableFormat_ID (int AD_PrintTableFormat_ID) { 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. @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); 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. @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); else -set_Value ("FunctFG_PrintColor_ID", new Integer(FunctFG_PrintColor_ID)); +set_Value ("FunctFG_PrintColor_ID", Integer.valueOf(FunctFG_PrintColor_ID)); } /** Get Function 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); else -set_Value ("Funct_PrintFont_ID", new Integer(Funct_PrintFont_ID)); +set_Value ("Funct_PrintFont_ID", Integer.valueOf(Funct_PrintFont_ID)); } /** Get Function 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); 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. @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); 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. @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); 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. @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); 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. @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 */ public void setImageIsAttached (boolean ImageIsAttached) { -set_Value ("ImageIsAttached", new Boolean(ImageIsAttached)); +set_Value ("ImageIsAttached", Boolean.valueOf(ImageIsAttached)); } /** Get Image attached. @return The image to be printed is attached to the record */ @@ -442,7 +442,7 @@ return (String)get_Value("ImageURL"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -460,7 +460,7 @@ return false; @param IsPaintBoundaryLines Paint table boundary lines */ public void setIsPaintBoundaryLines (boolean IsPaintBoundaryLines) { -set_Value ("IsPaintBoundaryLines", new Boolean(IsPaintBoundaryLines)); +set_Value ("IsPaintBoundaryLines", Boolean.valueOf(IsPaintBoundaryLines)); } /** Get Paint Boundary Lines. @return Paint table boundary lines */ @@ -478,7 +478,7 @@ return false; @param IsPaintHLines Paint horizontal lines */ public void setIsPaintHLines (boolean IsPaintHLines) { -set_Value ("IsPaintHLines", new Boolean(IsPaintHLines)); +set_Value ("IsPaintHLines", Boolean.valueOf(IsPaintHLines)); } /** Get Paint Horizontal Lines. @return Paint horizontal lines */ @@ -496,7 +496,7 @@ return false; @param IsPaintHeaderLines Paint Lines over/under the Header Line */ public void setIsPaintHeaderLines (boolean IsPaintHeaderLines) { -set_Value ("IsPaintHeaderLines", new Boolean(IsPaintHeaderLines)); +set_Value ("IsPaintHeaderLines", Boolean.valueOf(IsPaintHeaderLines)); } /** Get Paint Header Lines. @return Paint Lines over/under the Header Line */ @@ -514,7 +514,7 @@ return false; @param IsPaintVLines Paint vertical lines */ public void setIsPaintVLines (boolean IsPaintVLines) { -set_Value ("IsPaintVLines", new Boolean(IsPaintVLines)); +set_Value ("IsPaintVLines", Boolean.valueOf(IsPaintVLines)); } /** Get Paint Vertical Lines. @return Paint vertical lines */ @@ -532,7 +532,7 @@ return false; @param IsPrintFunctionSymbols Print Symbols for Functions (Sum, Average, Count) */ public void setIsPrintFunctionSymbols (boolean IsPrintFunctionSymbols) { -set_Value ("IsPrintFunctionSymbols", new Boolean(IsPrintFunctionSymbols)); +set_Value ("IsPrintFunctionSymbols", Boolean.valueOf(IsPrintFunctionSymbols)); } /** Get Print Function Symbols. @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); else -set_Value ("Line_PrintColor_ID", new Integer(Line_PrintColor_ID)); +set_Value ("Line_PrintColor_ID", Integer.valueOf(Line_PrintColor_ID)); } /** Get Line Color. @return Table line color */ diff --git a/dbPort/src/org/compiere/model/X_AD_Private_Access.java b/dbPort/src/org/compiere/model/X_AD_Private_Access.java index 0bfbaa535c..2cff28a789 100644 --- a/dbPort/src/org/compiere/model/X_AD_Private_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Private_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Private_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Private_Access extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Private_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -122,7 +122,7 @@ return ii.intValue(); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Process.java b/dbPort/src/org/compiere/model/X_AD_Process.java index 0507dfc75d..c034a79813 100644 --- a/dbPort/src/org/compiere/model/X_AD_Process.java +++ b/dbPort/src/org/compiere/model/X_AD_Process.java @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Process * @author Jorg Janke (generated) - * @version Release 3.1.2 - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Process extends PO { /** Standard Constructor diff --git a/dbPort/src/org/compiere/model/X_AD_Process_Access.java b/dbPort/src/org/compiere/model/X_AD_Process_Access.java index 8cd9e02ad6..59774f95e2 100644 --- a/dbPort/src/org/compiere/model/X_AD_Process_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Process_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Process_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Process_Access extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Process_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Process_ID (int AD_Process_ID) { 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. @return Process or Report */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsReadWrite Field is read / write */ public void setIsReadWrite (boolean IsReadWrite) { -set_Value ("IsReadWrite", new Boolean(IsReadWrite)); +set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite)); } /** Get Read Write. @return Field is read / write */ diff --git a/dbPort/src/org/compiere/model/X_AD_Process_Para.java b/dbPort/src/org/compiere/model/X_AD_Process_Para.java index aedc041603..f9572ae33e 100644 --- a/dbPort/src/org/compiere/model/X_AD_Process_Para.java +++ b/dbPort/src/org/compiere/model/X_AD_Process_Para.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Process_Para * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Process_Para extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_AD_Process_Para (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Element_ID", new Integer(AD_Element_ID)); +set_Value ("AD_Element_ID", Integer.valueOf(AD_Element_ID)); } /** Get System Element. @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) { 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. @return Process or Report */ @@ -131,7 +131,7 @@ return ii.intValue(); 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."); -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. @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) { 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. @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); 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. @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); 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. @return Dynamic Validation Rule */ @@ -293,7 +293,7 @@ return (String)get_Value("EntityType"); @param FieldLength Length of the column in the database */ public void setFieldLength (int FieldLength) { -set_Value ("FieldLength", new Integer(FieldLength)); +set_Value ("FieldLength", Integer.valueOf(FieldLength)); } /** Get Length. @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 */ public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) { -set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); +set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained)); } /** Get Centrally maintained. @return Information maintained in System Element table */ @@ -342,7 +342,7 @@ return false; @param IsMandatory Data entry is required in this column */ public void setIsMandatory (boolean IsMandatory) { -set_Value ("IsMandatory", new Boolean(IsMandatory)); +set_Value ("IsMandatory", Boolean.valueOf(IsMandatory)); } /** Get Mandatory. @return Data entry is required in this column */ @@ -360,7 +360,7 @@ return false; @param IsRange The parameter is a range of values */ public void setIsRange (boolean IsRange) { -set_Value ("IsRange", new Boolean(IsRange)); +set_Value ("IsRange", Boolean.valueOf(IsRange)); } /** Get Range. @return The parameter is a range of values */ @@ -403,7 +403,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Record_Access.java b/dbPort/src/org/compiere/model/X_AD_Record_Access.java index f13060b755..9cd8f65b4a 100644 --- a/dbPort/src/org/compiere/model/X_AD_Record_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Record_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Record_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Record_Access extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Record_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @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 */ public void setIsDependentEntities (boolean IsDependentEntities) { -set_Value ("IsDependentEntities", new Boolean(IsDependentEntities)); +set_Value ("IsDependentEntities", Boolean.valueOf(IsDependentEntities)); } /** Get 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 */ public void setIsExclude (boolean IsExclude) { -set_Value ("IsExclude", new Boolean(IsExclude)); +set_Value ("IsExclude", Boolean.valueOf(IsExclude)); } /** Get Exclude. @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 */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -185,7 +185,7 @@ return false; public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Ref_List.java b/dbPort/src/org/compiere/model/X_AD_Ref_List.java index 7ae6a1e58d..3558d074cd 100644 --- a/dbPort/src/org/compiere/model/X_AD_Ref_List.java +++ b/dbPort/src/org/compiere/model/X_AD_Ref_List.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Ref_List * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Ref_List extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_Ref_List (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); 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."); -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. @return Reference List based on Table */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setAD_Reference_ID (int AD_Reference_ID) { 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. @return System Reference and Validation */ diff --git a/dbPort/src/org/compiere/model/X_AD_Ref_Table.java b/dbPort/src/org/compiere/model/X_AD_Ref_Table.java index f199af848d..051b4434ae 100644 --- a/dbPort/src/org/compiere/model/X_AD_Ref_Table.java +++ b/dbPort/src/org/compiere/model/X_AD_Ref_Table.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Ref_Table * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Ref_Table extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Ref_Table (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -97,7 +97,7 @@ public static final int AD_DISPLAY_AD_Reference_ID=3; @param AD_Display Column that will 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. @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 */ 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. @return Unique identifier of a record */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setAD_Reference_ID (int AD_Reference_ID) { 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. @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) { 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. @return Database Table information */ @@ -186,7 +186,7 @@ return (String)get_Value("EntityType"); @param IsValueDisplayed Displays Value column with the Display column */ public void setIsValueDisplayed (boolean IsValueDisplayed) { -set_Value ("IsValueDisplayed", new Boolean(IsValueDisplayed)); +set_Value ("IsValueDisplayed", Boolean.valueOf(IsValueDisplayed)); } /** Get Display Value. @return Displays Value column with the Display column */ diff --git a/dbPort/src/org/compiere/model/X_AD_Reference.java b/dbPort/src/org/compiere/model/X_AD_Reference.java index 360f277c73..a04a4d41df 100644 --- a/dbPort/src/org/compiere/model/X_AD_Reference.java +++ b/dbPort/src/org/compiere/model/X_AD_Reference.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Reference * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Reference extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Reference (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Reference_ID (int AD_Reference_ID) { 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. @return System Reference and Validation */ diff --git a/dbPort/src/org/compiere/model/X_AD_Registration.java b/dbPort/src/org/compiere/model/X_AD_Registration.java index 29b6f9d313..79a9afa4f4 100644 --- a/dbPort/src/org/compiere/model/X_AD_Registration.java +++ b/dbPort/src/org/compiere/model/X_AD_Registration.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Registration * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Registration extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Registration (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_Registration_ID (int AD_Registration_ID) { 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. @return System Registration */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setAD_System_ID (int AD_System_ID) { 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. @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); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @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); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get 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 */ public void setIsAllowPublish (boolean IsAllowPublish) { -set_Value ("IsAllowPublish", new Boolean(IsAllowPublish)); +set_Value ("IsAllowPublish", Boolean.valueOf(IsAllowPublish)); } /** Get Allowed to be Published. @return You allow to publish the information, not just statistical summary info */ @@ -208,7 +208,7 @@ return false; @param IsAllowStatistics Maintain general statistics */ public void setIsAllowStatistics (boolean IsAllowStatistics) { -set_Value ("IsAllowStatistics", new Boolean(IsAllowStatistics)); +set_Value ("IsAllowStatistics", Boolean.valueOf(IsAllowStatistics)); } /** Get Maintain Statistics. @return Maintain general statistics */ @@ -226,7 +226,7 @@ return false; @param IsInProduction The system is in production */ public void setIsInProduction (boolean IsInProduction) { -set_Value ("IsInProduction", new Boolean(IsInProduction)); +set_Value ("IsInProduction", Boolean.valueOf(IsInProduction)); } /** Get In Production. @return The system is in production */ @@ -244,7 +244,7 @@ return false; @param IsRegistered The application is registered. */ public void setIsRegistered (boolean IsRegistered) { -set_ValueNoCheck ("IsRegistered", new Boolean(IsRegistered)); +set_ValueNoCheck ("IsRegistered", Boolean.valueOf(IsRegistered)); } /** Get Registered. @return The application is registered. */ @@ -262,7 +262,7 @@ return false; @param NumberEmployees Number of employees */ public void setNumberEmployees (int NumberEmployees) { -set_Value ("NumberEmployees", new Integer(NumberEmployees)); +set_Value ("NumberEmployees", Integer.valueOf(NumberEmployees)); } /** Get Employees. @return Number of employees */ @@ -293,7 +293,7 @@ return (String)get_Value("PlatformInfo"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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); else -set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); +set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID)); } /** Get 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 */ public void setSalesVolume (int SalesVolume) { -set_Value ("SalesVolume", new Integer(SalesVolume)); +set_Value ("SalesVolume", Integer.valueOf(SalesVolume)); } /** Get Sales Volume in 1.000. @return Total Volume of Sales in Thousands of Currency */ @@ -372,13 +372,13 @@ if (ii == null) return 0; return ii.intValue(); } /** 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) { set_Value ("StartProductionDate", StartProductionDate); } /** 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() { return (Timestamp)get_Value("StartProductionDate"); diff --git a/dbPort/src/org/compiere/model/X_AD_Replication.java b/dbPort/src/org/compiere/model/X_AD_Replication.java index 5144b88744..362e41d29d 100644 --- a/dbPort/src/org/compiere/model/X_AD_Replication.java +++ b/dbPort/src/org/compiere/model/X_AD_Replication.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Replication * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Replication extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_Replication (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID) { 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. @return Data Replication Strategy */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setAD_Replication_ID (int AD_Replication_ID) { 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. @return Data Replication Target */ @@ -190,7 +190,7 @@ return (String)get_Value("HostAddress"); @param HostPort Host Communication Port */ public void setHostPort (int HostPort) { -set_Value ("HostPort", new Integer(HostPort)); +set_Value ("HostPort", Integer.valueOf(HostPort)); } /** Get Host port. @return Host Communication Port */ @@ -232,7 +232,7 @@ return bd; @param IsRMIoverHTTP Connect to Server via HTTP Tunnel */ public void setIsRMIoverHTTP (boolean IsRMIoverHTTP) { -set_Value ("IsRMIoverHTTP", new Boolean(IsRMIoverHTTP)); +set_Value ("IsRMIoverHTTP", Boolean.valueOf(IsRMIoverHTTP)); } /** Get Tunnel via HTTP. @return Connect to Server via HTTP Tunnel */ @@ -291,7 +291,7 @@ return (String)get_Value("Prefix"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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) { 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. @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) { 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. @return Remote Organization to be used to replicate / synchronize data with. */ diff --git a/dbPort/src/org/compiere/model/X_AD_ReplicationStrategy.java b/dbPort/src/org/compiere/model/X_AD_ReplicationStrategy.java index 38c8a4578e..72e5f55d74 100644 --- a/dbPort/src/org/compiere/model/X_AD_ReplicationStrategy.java +++ b/dbPort/src/org/compiere/model/X_AD_ReplicationStrategy.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ReplicationStrategy * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ReplicationStrategy extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_ReplicationStrategy (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID) { 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. @return Data Replication Strategy */ diff --git a/dbPort/src/org/compiere/model/X_AD_ReplicationTable.java b/dbPort/src/org/compiere/model/X_AD_ReplicationTable.java index 5f93d6e28c..af8ad2790a 100644 --- a/dbPort/src/org/compiere/model/X_AD_ReplicationTable.java +++ b/dbPort/src/org/compiere/model/X_AD_ReplicationTable.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ReplicationTable * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ReplicationTable extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_ReplicationTable (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_ReplicationStrategy_ID (int AD_ReplicationStrategy_ID) { 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. @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) { 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. @return Data Replication Strategy Table Info */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ diff --git a/dbPort/src/org/compiere/model/X_AD_Replication_Log.java b/dbPort/src/org/compiere/model/X_AD_Replication_Log.java index 2c2ac80bbc..dd59968263 100644 --- a/dbPort/src/org/compiere/model/X_AD_Replication_Log.java +++ b/dbPort/src/org/compiere/model/X_AD_Replication_Log.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Replication_Log * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Replication_Log extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Replication_Log (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_ReplicationTable_ID", new Integer(AD_ReplicationTable_ID)); +set_Value ("AD_ReplicationTable_ID", Integer.valueOf(AD_ReplicationTable_ID)); } /** Get Replication Table. @return Data Replication Strategy Table Info */ @@ -108,7 +108,7 @@ return ii.intValue(); 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."); -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. @return Data Replication Log Details */ @@ -123,7 +123,7 @@ return ii.intValue(); 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."); -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. @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 */ public void setIsReplicated (boolean IsReplicated) { -set_Value ("IsReplicated", new Boolean(IsReplicated)); +set_Value ("IsReplicated", Boolean.valueOf(IsReplicated)); } /** Get Replicated. @return The data is successfully replicated */ diff --git a/dbPort/src/org/compiere/model/X_AD_Replication_Run.java b/dbPort/src/org/compiere/model/X_AD_Replication_Run.java index 45bd3e39fb..2345e48e6c 100644 --- a/dbPort/src/org/compiere/model/X_AD_Replication_Run.java +++ b/dbPort/src/org/compiere/model/X_AD_Replication_Run.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Replication_Run * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Replication_Run extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Replication_Run (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Replication_ID (int AD_Replication_ID) { 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. @return Data Replication Target */ @@ -108,7 +108,7 @@ return ii.intValue(); 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."); -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. @return Data Replication Run */ @@ -139,7 +139,7 @@ return (String)get_Value("Description"); @param IsReplicated The data is successfully replicated */ public void setIsReplicated (boolean IsReplicated) { -set_ValueNoCheck ("IsReplicated", new Boolean(IsReplicated)); +set_ValueNoCheck ("IsReplicated", Boolean.valueOf(IsReplicated)); } /** Get Replicated. @return The data is successfully replicated */ diff --git a/dbPort/src/org/compiere/model/X_AD_ReportView.java b/dbPort/src/org/compiere/model/X_AD_ReportView.java index d8b96bf068..2bc53e9057 100644 --- a/dbPort/src/org/compiere/model/X_AD_ReportView.java +++ b/dbPort/src/org/compiere/model/X_AD_ReportView.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ReportView * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ReportView extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_ReportView (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_ReportView_ID (int AD_ReportView_ID) { 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. @return View used to generate this report */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ diff --git a/dbPort/src/org/compiere/model/X_AD_ReportView_Col.java b/dbPort/src/org/compiere/model/X_AD_ReportView_Col.java index 871fd15c15..455d3aa300 100644 --- a/dbPort/src/org/compiere/model/X_AD_ReportView_Col.java +++ b/dbPort/src/org/compiere/model/X_AD_ReportView_Col.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_ReportView_Col * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_ReportView_Col extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_ReportView_Col (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @return Column in the table */ @@ -109,7 +109,7 @@ return ii.intValue(); 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."); -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. @return Report view Column */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setAD_ReportView_ID (int AD_ReportView_ID) { 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. @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 */ public void setIsGroupFunction (boolean IsGroupFunction) { -set_Value ("IsGroupFunction", new Boolean(IsGroupFunction)); +set_Value ("IsGroupFunction", Boolean.valueOf(IsGroupFunction)); } /** Get SQL Group Function. @return This function will generate a Group By Clause */ diff --git a/dbPort/src/org/compiere/model/X_AD_Role.java b/dbPort/src/org/compiere/model/X_AD_Role.java index abcfabbed0..587906ac6d 100644 --- a/dbPort/src/org/compiere/model/X_AD_Role.java +++ b/dbPort/src/org/compiere/model/X_AD_Role.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Role * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Role extends PO { /** Standard Constructor @@ -69,12 +69,12 @@ public X_AD_Role (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -106,7 +106,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @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); 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. @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); 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. @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); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @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) */ public void setConfirmQueryRecords (int ConfirmQueryRecords) { -set_Value ("ConfirmQueryRecords", new Integer(ConfirmQueryRecords)); +set_Value ("ConfirmQueryRecords", Integer.valueOf(ConfirmQueryRecords)); } /** Get Confirm Query Records. @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 */ public void setIsAccessAllOrgs (boolean IsAccessAllOrgs) { -set_Value ("IsAccessAllOrgs", new Boolean(IsAccessAllOrgs)); +set_Value ("IsAccessAllOrgs", Boolean.valueOf(IsAccessAllOrgs)); } /** Get Access all Orgs. @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 */ public void setIsCanApproveOwnDoc (boolean IsCanApproveOwnDoc) { -set_Value ("IsCanApproveOwnDoc", new Boolean(IsCanApproveOwnDoc)); +set_Value ("IsCanApproveOwnDoc", Boolean.valueOf(IsCanApproveOwnDoc)); } /** Get Approve 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 */ public void setIsCanExport (boolean IsCanExport) { -set_Value ("IsCanExport", new Boolean(IsCanExport)); +set_Value ("IsCanExport", Boolean.valueOf(IsCanExport)); } /** Get Can Export. @return Users with this role can export data */ @@ -303,7 +303,7 @@ return false; @param IsCanReport Users with this role can create reports */ public void setIsCanReport (boolean IsCanReport) { -set_Value ("IsCanReport", new Boolean(IsCanReport)); +set_Value ("IsCanReport", Boolean.valueOf(IsCanReport)); } /** Get Can Report. @return Users with this role can create reports */ @@ -321,7 +321,7 @@ return false; @param IsChangeLog Maintain a log of changes */ public void setIsChangeLog (boolean IsChangeLog) { -set_Value ("IsChangeLog", new Boolean(IsChangeLog)); +set_Value ("IsChangeLog", Boolean.valueOf(IsChangeLog)); } /** Get Maintain Change Log. @return Maintain a log of changes */ @@ -339,7 +339,7 @@ return false; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -357,7 +357,7 @@ return false; @param IsPersonalAccess Allow access to all personal records */ public void setIsPersonalAccess (boolean IsPersonalAccess) { -set_Value ("IsPersonalAccess", new Boolean(IsPersonalAccess)); +set_Value ("IsPersonalAccess", Boolean.valueOf(IsPersonalAccess)); } /** Get Personal Access. @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 */ public void setIsPersonalLock (boolean IsPersonalLock) { -set_Value ("IsPersonalLock", new Boolean(IsPersonalLock)); +set_Value ("IsPersonalLock", Boolean.valueOf(IsPersonalLock)); } /** Get Personal Lock. @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 */ public void setIsShowAcct (boolean IsShowAcct) { -set_Value ("IsShowAcct", new Boolean(IsShowAcct)); +set_Value ("IsShowAcct", Boolean.valueOf(IsShowAcct)); } /** Get Show Accounting. @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 */ public void setIsUseUserOrgAccess (boolean IsUseUserOrgAccess) { -set_Value ("IsUseUserOrgAccess", new Boolean(IsUseUserOrgAccess)); +set_Value ("IsUseUserOrgAccess", Boolean.valueOf(IsUseUserOrgAccess)); } /** Get Use User 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 */ public void setMaxQueryRecords (int MaxQueryRecords) { -set_Value ("MaxQueryRecords", new Integer(MaxQueryRecords)); +set_Value ("MaxQueryRecords", Integer.valueOf(MaxQueryRecords)); } /** 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 */ @@ -467,7 +467,7 @@ return new KeyNamePair(get_ID(), getName()); @param OverwritePriceLimit Overwrite Price Limit if the Price List enforces the Price Limit */ public void setOverwritePriceLimit (boolean OverwritePriceLimit) { -set_Value ("OverwritePriceLimit", new Boolean(OverwritePriceLimit)); +set_Value ("OverwritePriceLimit", Boolean.valueOf(OverwritePriceLimit)); } /** Get Overwrite 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); else -set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); +set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID)); } /** Get Supervisor. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_Role_OrgAccess.java b/dbPort/src/org/compiere/model/X_AD_Role_OrgAccess.java index 94449028e0..9ae09158a3 100644 --- a/dbPort/src/org/compiere/model/X_AD_Role_OrgAccess.java +++ b/dbPort/src/org/compiere/model/X_AD_Role_OrgAccess.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Role_OrgAccess * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Role_OrgAccess extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Role_OrgAccess (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -105,7 +105,7 @@ return ii.intValue(); @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ diff --git a/dbPort/src/org/compiere/model/X_AD_Scheduler.java b/dbPort/src/org/compiere/model/X_AD_Scheduler.java index 68978a92cb..4ee5acf2a0 100644 --- a/dbPort/src/org/compiere/model/X_AD_Scheduler.java +++ b/dbPort/src/org/compiere/model/X_AD_Scheduler.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Scheduler * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Scheduler extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_Scheduler (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_Process_ID (int AD_Process_ID) { 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. @return Process or Report */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setAD_Scheduler_ID (int AD_Scheduler_ID) { 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. @return Schedule Processes */ @@ -167,7 +167,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ @@ -210,7 +210,7 @@ return (String)get_Value("FrequencyType"); @param KeepLogDays Number of days to keep the log entries */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @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 */ public void setMonthDay (int MonthDay) { -set_Value ("MonthDay", new Integer(MonthDay)); +set_Value ("MonthDay", Integer.valueOf(MonthDay)); } /** Get Day of the Month. @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 */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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) { 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. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_SchedulerLog.java b/dbPort/src/org/compiere/model/X_AD_SchedulerLog.java index 1b80f62658..33b24c7e2a 100644 --- a/dbPort/src/org/compiere/model/X_AD_SchedulerLog.java +++ b/dbPort/src/org/compiere/model/X_AD_SchedulerLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_SchedulerLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_SchedulerLog extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_SchedulerLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_SchedulerLog_ID (int AD_SchedulerLog_ID) { 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. @return Result of the execution of the Scheduler */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Scheduler_ID (int AD_Scheduler_ID) { 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. @return Schedule Processes */ @@ -150,7 +150,7 @@ return (String)get_Value("Description"); @param IsError An Error occured in the execution */ public void setIsError (boolean IsError) { -set_Value ("IsError", new Boolean(IsError)); +set_Value ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @return An Error occured in the execution */ diff --git a/dbPort/src/org/compiere/model/X_AD_SchedulerRecipient.java b/dbPort/src/org/compiere/model/X_AD_SchedulerRecipient.java index 5fe9d3fdba..50cfd19459 100644 --- a/dbPort/src/org/compiere/model/X_AD_SchedulerRecipient.java +++ b/dbPort/src/org/compiere/model/X_AD_SchedulerRecipient.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_SchedulerRecipient * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_SchedulerRecipient extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_SchedulerRecipient (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_SchedulerRecipient_ID (int AD_SchedulerRecipient_ID) { 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. @return Recipient of the Scheduler Notification */ @@ -122,7 +122,7 @@ return ii.intValue(); public void setAD_Scheduler_ID (int AD_Scheduler_ID) { 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. @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); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ diff --git a/dbPort/src/org/compiere/model/X_AD_Scheduler_Para.java b/dbPort/src/org/compiere/model/X_AD_Scheduler_Para.java index fe7a73518f..3cb09ed771 100644 --- a/dbPort/src/org/compiere/model/X_AD_Scheduler_Para.java +++ b/dbPort/src/org/compiere/model/X_AD_Scheduler_Para.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Scheduler_Para * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Scheduler_Para extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Scheduler_Para (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); 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."); -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. @return Process Parameter */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setAD_Scheduler_ID (int AD_Scheduler_ID) { 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. @return Schedule Processes */ diff --git a/dbPort/src/org/compiere/model/X_AD_Sequence.java b/dbPort/src/org/compiere/model/X_AD_Sequence.java index bd3aee086e..af48bf9d12 100644 --- a/dbPort/src/org/compiere/model/X_AD_Sequence.java +++ b/dbPort/src/org/compiere/model/X_AD_Sequence.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Sequence * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Sequence extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_Sequence (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setAD_Sequence_ID (int AD_Sequence_ID) { 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. @return Document Sequence */ @@ -110,7 +110,7 @@ return ii.intValue(); @param CurrentNext The next number to be used */ public void setCurrentNext (int CurrentNext) { -set_Value ("CurrentNext", new Integer(CurrentNext)); +set_Value ("CurrentNext", Integer.valueOf(CurrentNext)); } /** Get Current Next. @return The next number to be used */ @@ -124,7 +124,7 @@ return ii.intValue(); @param CurrentNextSys Next sequence for system use */ public void setCurrentNextSys (int CurrentNextSys) { -set_Value ("CurrentNextSys", new Integer(CurrentNextSys)); +set_Value ("CurrentNextSys", Integer.valueOf(CurrentNextSys)); } /** Get Current Next (System). @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 */ public void setIncrementNo (int IncrementNo) { -set_Value ("IncrementNo", new Integer(IncrementNo)); +set_Value ("IncrementNo", Integer.valueOf(IncrementNo)); } /** Get Increment. @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 */ public void setIsAudited (boolean IsAudited) { -set_Value ("IsAudited", new Boolean(IsAudited)); +set_Value ("IsAudited", Boolean.valueOf(IsAudited)); } /** Get Activate Audit. @return Activate Audit Trail of what numbers are generated */ @@ -187,7 +187,7 @@ return false; @param IsAutoSequence Automatically assign the next number */ public void setIsAutoSequence (boolean IsAutoSequence) { -set_Value ("IsAutoSequence", new Boolean(IsAutoSequence)); +set_Value ("IsAutoSequence", Boolean.valueOf(IsAutoSequence)); } /** Get Auto numbering. @return Automatically assign the next number */ @@ -205,7 +205,7 @@ return false; @param IsTableID The document number will be used as the record key */ public void setIsTableID (boolean IsTableID) { -set_Value ("IsTableID", new Boolean(IsTableID)); +set_Value ("IsTableID", Boolean.valueOf(IsTableID)); } /** Get Used for Record ID. @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 */ public void setStartNewYear (boolean StartNewYear) { -set_Value ("StartNewYear", new Boolean(StartNewYear)); +set_Value ("StartNewYear", Boolean.valueOf(StartNewYear)); } /** Get Restart sequence every Year. @return Restart the sequence with Start on every 1/1 */ @@ -282,7 +282,7 @@ return false; @param StartNo Starting number/position */ public void setStartNo (int StartNo) { -set_Value ("StartNo", new Integer(StartNo)); +set_Value ("StartNo", Integer.valueOf(StartNo)); } /** Get Start No. @return Starting number/position */ diff --git a/dbPort/src/org/compiere/model/X_AD_Sequence_Audit.java b/dbPort/src/org/compiere/model/X_AD_Sequence_Audit.java index 393418feca..7abba500fe 100644 --- a/dbPort/src/org/compiere/model/X_AD_Sequence_Audit.java +++ b/dbPort/src/org/compiere/model/X_AD_Sequence_Audit.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Sequence_Audit * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Sequence_Audit extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Sequence_Audit (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Sequence_ID (int AD_Sequence_ID) { 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. @return Document Sequence */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -141,7 +141,7 @@ return (String)get_Value("DocumentNo"); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_Sequence_No.java b/dbPort/src/org/compiere/model/X_AD_Sequence_No.java index 0c243a3231..04c79bd82b 100644 --- a/dbPort/src/org/compiere/model/X_AD_Sequence_No.java +++ b/dbPort/src/org/compiere/model/X_AD_Sequence_No.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Sequence_No * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Sequence_No extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Sequence_No (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Sequence_ID (int AD_Sequence_ID) { 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. @return Document Sequence */ @@ -124,7 +124,7 @@ return (String)get_Value("CalendarYear"); @param CurrentNext The next number to be used */ public void setCurrentNext (int CurrentNext) { -set_Value ("CurrentNext", new Integer(CurrentNext)); +set_Value ("CurrentNext", Integer.valueOf(CurrentNext)); } /** Get Current Next. @return The next number to be used */ diff --git a/dbPort/src/org/compiere/model/X_AD_Session.java b/dbPort/src/org/compiere/model/X_AD_Session.java index a8f2ed520a..06df01636f 100644 --- a/dbPort/src/org/compiere/model/X_AD_Session.java +++ b/dbPort/src/org/compiere/model/X_AD_Session.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Session * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Session extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_Session (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Session_ID (int AD_Session_ID) { 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. @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 */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_AD_System.java b/dbPort/src/org/compiere/model/X_AD_System.java index 0d4a93d69a..b253229faf 100644 --- a/dbPort/src/org/compiere/model/X_AD_System.java +++ b/dbPort/src/org/compiere/model/X_AD_System.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_System * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_System extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_AD_System (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -99,7 +99,7 @@ return sb.toString(); public void setAD_System_ID (int AD_System_ID) { 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. @return System Definition */ @@ -244,7 +244,7 @@ return (String)get_Value("Info"); @param IsAllowStatistics Maintain general statistics */ public void setIsAllowStatistics (boolean IsAllowStatistics) { -set_Value ("IsAllowStatistics", new Boolean(IsAllowStatistics)); +set_Value ("IsAllowStatistics", Boolean.valueOf(IsAllowStatistics)); } /** Get Maintain Statistics. @return Maintain general statistics */ @@ -262,7 +262,7 @@ return false; @param IsAutoErrorReport Automatically report Errors */ public void setIsAutoErrorReport (boolean IsAutoErrorReport) { -set_Value ("IsAutoErrorReport", new Boolean(IsAutoErrorReport)); +set_Value ("IsAutoErrorReport", Boolean.valueOf(IsAutoErrorReport)); } /** Get Error Reporting. @return Automatically report Errors */ @@ -280,7 +280,7 @@ return false; @param IsJustMigrated Value set by Migration for post-Migation tasks. */ public void setIsJustMigrated (boolean IsJustMigrated) { -set_Value ("IsJustMigrated", new Boolean(IsJustMigrated)); +set_Value ("IsJustMigrated", Boolean.valueOf(IsJustMigrated)); } /** Get Just Migrated. @return Value set by Migration for post-Migation tasks. */ @@ -295,7 +295,7 @@ if (oo != null) return false; } /** 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) { if (LDAPDomain != null && LDAPDomain.length() > 255) @@ -306,7 +306,7 @@ LDAPDomain = LDAPDomain.substring(0,254); set_Value ("LDAPDomain", LDAPDomain); } /** Get LDAP Domain. -@return Directory service domain name - e.g. compiere.org */ +@return Directory service domain name - e.g. adempiere.org */ public String getLDAPDomain() { return (String)get_Value("LDAPDomain"); @@ -356,7 +356,7 @@ return new KeyNamePair(get_ID(), getName()); @param NoProcessors Number of Database Processors */ public void setNoProcessors (int NoProcessors) { -set_Value ("NoProcessors", new Integer(NoProcessors)); +set_Value ("NoProcessors", Integer.valueOf(NoProcessors)); } /** Get Processors. @return Number of Database Processors */ @@ -405,7 +405,7 @@ return (String)get_Value("Password"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get 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); else -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ @@ -550,25 +550,25 @@ public String getSupportEMail() return (String)get_Value("SupportEMail"); } /** Set Support Expires. -@param SupportExpDate Date when the Compiere support expires */ +@param SupportExpDate Date when the Adempiere support expires */ public void setSupportExpDate (Timestamp SupportExpDate) { set_ValueNoCheck ("SupportExpDate", SupportExpDate); } /** Get Support Expires. -@return Date when the Compiere support expires */ +@return Date when the Adempiere support expires */ public Timestamp getSupportExpDate() { return (Timestamp)get_Value("SupportExpDate"); } /** 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) { -set_ValueNoCheck ("SupportUnits", new Integer(SupportUnits)); +set_ValueNoCheck ("SupportUnits", Integer.valueOf(SupportUnits)); } /** Get Internal Users. -@return Number of Internal Users for ComPiere Support */ +@return Number of Internal Users for Adempiere Support */ public int getSupportUnits() { Integer ii = (Integer)get_Value("SupportUnits"); diff --git a/dbPort/src/org/compiere/model/X_AD_Tab.java b/dbPort/src/org/compiere/model/X_AD_Tab.java index d856851e4f..85efa96336 100644 --- a/dbPort/src/org/compiere/model/X_AD_Tab.java +++ b/dbPort/src/org/compiere/model/X_AD_Tab.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Tab * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Tab extends PO { /** Standard Constructor @@ -66,12 +66,12 @@ public X_AD_Tab (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** 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); else -set_Value ("AD_ColumnSortOrder_ID", new Integer(AD_ColumnSortOrder_ID)); +set_Value ("AD_ColumnSortOrder_ID", Integer.valueOf(AD_ColumnSortOrder_ID)); } /** Get Order Column. @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); else -set_Value ("AD_ColumnSortYesNo_ID", new Integer(AD_ColumnSortYesNo_ID)); +set_Value ("AD_ColumnSortYesNo_ID", Integer.valueOf(AD_ColumnSortYesNo_ID)); } /** Get Included Column. @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); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @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); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @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); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @return Process or Report */ @@ -189,7 +189,7 @@ return ii.intValue(); public void setAD_Tab_ID (int AD_Tab_ID) { 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. @return Tab within a Window */ @@ -204,7 +204,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -219,7 +219,7 @@ return ii.intValue(); public void setAD_Window_ID (int AD_Window_ID) { 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. @return Data entry or display window */ @@ -306,7 +306,7 @@ return (String)get_Value("EntityType"); @param HasTree Window has Tree Graph */ public void setHasTree (boolean HasTree) { -set_Value ("HasTree", new Boolean(HasTree)); +set_Value ("HasTree", Boolean.valueOf(HasTree)); } /** Get Has Tree. @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); else -set_Value ("Included_Tab_ID", new Integer(Included_Tab_ID)); +set_Value ("Included_Tab_ID", Integer.valueOf(Included_Tab_ID)); } /** Get Included Tab. @return Included Tab in this Tab (Master Dateail) */ @@ -377,7 +377,7 @@ return ii.intValue(); @param IsAdvancedTab This Tab contains advanced Functionality */ public void setIsAdvancedTab (boolean IsAdvancedTab) { -set_Value ("IsAdvancedTab", new Boolean(IsAdvancedTab)); +set_Value ("IsAdvancedTab", Boolean.valueOf(IsAdvancedTab)); } /** Get Advanced Tab. @return This Tab contains advanced Functionality */ @@ -395,7 +395,7 @@ return false; @param IsInfoTab This Tab contains accounting information */ public void setIsInfoTab (boolean IsInfoTab) { -set_Value ("IsInfoTab", new Boolean(IsInfoTab)); +set_Value ("IsInfoTab", Boolean.valueOf(IsInfoTab)); } /** Get Accounting Tab. @return This Tab contains accounting information */ @@ -413,7 +413,7 @@ return false; @param IsInsertRecord The user can insert a new Record */ public void setIsInsertRecord (boolean IsInsertRecord) { -set_Value ("IsInsertRecord", new Boolean(IsInsertRecord)); +set_Value ("IsInsertRecord", Boolean.valueOf(IsInsertRecord)); } /** Get Insert Record. @return The user can insert a new Record */ @@ -431,7 +431,7 @@ return false; @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get 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 */ public void setIsSingleRow (boolean IsSingleRow) { -set_Value ("IsSingleRow", new Boolean(IsSingleRow)); +set_Value ("IsSingleRow", Boolean.valueOf(IsSingleRow)); } /** Get Single Row 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 */ public void setIsSortTab (boolean IsSortTab) { -set_Value ("IsSortTab", new Boolean(IsSortTab)); +set_Value ("IsSortTab", Boolean.valueOf(IsSortTab)); } /** Get Order Tab. @return The Tab determines the Order */ @@ -485,7 +485,7 @@ return false; @param IsTranslationTab This Tab contains translation information */ public void setIsTranslationTab (boolean IsTranslationTab) { -set_Value ("IsTranslationTab", new Boolean(IsTranslationTab)); +set_Value ("IsTranslationTab", Boolean.valueOf(IsTranslationTab)); } /** Get TranslationTab. @return This Tab contains translation information */ @@ -544,7 +544,7 @@ return (String)get_Value("OrderByClause"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -580,7 +580,7 @@ return (String)get_Value("ReadOnlyLogic"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; @@ -595,7 +595,7 @@ return ii.intValue(); @param TabLevel Hierarchical Tab Level (0 = top) */ public void setTabLevel (int TabLevel) { -set_Value ("TabLevel", new Integer(TabLevel)); +set_Value ("TabLevel", Integer.valueOf(TabLevel)); } /** Get Tab Level. @return Hierarchical Tab Level (0 = top) */ diff --git a/dbPort/src/org/compiere/model/X_AD_Table.java b/dbPort/src/org/compiere/model/X_AD_Table.java index c4f7f91fd3..641fed91f9 100644 --- a/dbPort/src/org/compiere/model/X_AD_Table.java +++ b/dbPort/src/org/compiere/model/X_AD_Table.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Table * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Table extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_AD_Table (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** 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 */ 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); /** AccessLevel @@ -100,7 +100,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @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); 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. @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); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get Window. @return Data entry or display window */ @@ -254,7 +254,7 @@ return (String)get_Value("ImportTable"); @param IsChangeLog Maintain a log of changes */ public void setIsChangeLog (boolean IsChangeLog) { -set_Value ("IsChangeLog", new Boolean(IsChangeLog)); +set_Value ("IsChangeLog", Boolean.valueOf(IsChangeLog)); } /** Get Maintain Change Log. @return Maintain a log of changes */ @@ -272,7 +272,7 @@ return false; @param IsDeleteable Indicates if records can be deleted from the database */ public void setIsDeleteable (boolean IsDeleteable) { -set_Value ("IsDeleteable", new Boolean(IsDeleteable)); +set_Value ("IsDeleteable", Boolean.valueOf(IsDeleteable)); } /** Get Records deleteable. @return Indicates if records can be deleted from the database */ @@ -290,7 +290,7 @@ return false; @param IsHighVolume Use Search instead of Pick list */ public void setIsHighVolume (boolean IsHighVolume) { -set_Value ("IsHighVolume", new Boolean(IsHighVolume)); +set_Value ("IsHighVolume", Boolean.valueOf(IsHighVolume)); } /** Get High Volume. @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 */ public void setIsSecurityEnabled (boolean IsSecurityEnabled) { -set_Value ("IsSecurityEnabled", new Boolean(IsSecurityEnabled)); +set_Value ("IsSecurityEnabled", Boolean.valueOf(IsSecurityEnabled)); } /** Get Security enabled. @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 */ public void setIsView (boolean IsView) { -set_Value ("IsView", new Boolean(IsView)); +set_Value ("IsView", Boolean.valueOf(IsView)); } /** Get View. @return This is a view */ @@ -344,7 +344,7 @@ return false; @param LoadSeq Sequence */ public void setLoadSeq (int LoadSeq) { -set_ValueNoCheck ("LoadSeq", new Integer(LoadSeq)); +set_ValueNoCheck ("LoadSeq", Integer.valueOf(LoadSeq)); } /** Get 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); else -set_Value ("PO_Window_ID", new Integer(PO_Window_ID)); +set_Value ("PO_Window_ID", Integer.valueOf(PO_Window_ID)); } /** Get PO Window. @return Purchase Order Window */ diff --git a/dbPort/src/org/compiere/model/X_AD_Table_Access.java b/dbPort/src/org/compiere/model/X_AD_Table_Access.java index f7ac359e93..29dbbd3088 100644 --- a/dbPort/src/org/compiere/model/X_AD_Table_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Table_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Table_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Table_Access extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_Table_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=565 */ -public static final int Table_ID=565; +public static final int Table_ID=MTable.getTable_ID("AD_Table_Access"); /** TableName=AD_Table_Access */ public static final String Table_Name="AD_Table_Access"; -protected static KeyNamePair Model = new KeyNamePair(565,"AD_Table_Access"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Table_Access"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -160,7 +160,7 @@ return (String)get_Value("AccessTypeRule"); @param IsCanExport Users with this role can export data */ public void setIsCanExport (boolean IsCanExport) { -set_Value ("IsCanExport", new Boolean(IsCanExport)); +set_Value ("IsCanExport", Boolean.valueOf(IsCanExport)); } /** Get Can Export. @return Users with this role can export data */ @@ -178,7 +178,7 @@ return false; @param IsCanReport Users with this role can create reports */ public void setIsCanReport (boolean IsCanReport) { -set_Value ("IsCanReport", new Boolean(IsCanReport)); +set_Value ("IsCanReport", Boolean.valueOf(IsCanReport)); } /** Get Can Report. @return Users with this role can create reports */ @@ -196,7 +196,7 @@ return false; @param IsExclude Exclude access to the data - if not selected Include access to the data */ public void setIsExclude (boolean IsExclude) { -set_Value ("IsExclude", new Boolean(IsExclude)); +set_Value ("IsExclude", Boolean.valueOf(IsExclude)); } /** Get Exclude. @return Exclude access to the data - if not selected Include access to the data */ @@ -214,7 +214,7 @@ return false; @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ diff --git a/dbPort/src/org/compiere/model/X_AD_Task.java b/dbPort/src/org/compiere/model/X_AD_Task.java index 3f08bdeb31..969843289d 100644 --- a/dbPort/src/org/compiere/model/X_AD_Task.java +++ b/dbPort/src/org/compiere/model/X_AD_Task.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Task * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Task extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_Task (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=118 */ -public static final int Table_ID=118; +public static final int Table_ID=MTable.getTable_ID("AD_Task"); /** TableName=AD_Task */ public static final String Table_Name="AD_Task"; -protected static KeyNamePair Model = new KeyNamePair(118,"AD_Task"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Task"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_Task_ID (int AD_Task_ID) { if (AD_Task_ID < 1) throw new IllegalArgumentException ("AD_Task_ID is mandatory."); -set_ValueNoCheck ("AD_Task_ID", new Integer(AD_Task_ID)); +set_ValueNoCheck ("AD_Task_ID", Integer.valueOf(AD_Task_ID)); } /** Get OS Task. @return Operation System Task */ @@ -200,7 +200,7 @@ return (String)get_Value("Help"); @param IsServerProcess Run this Process on Server only */ public void setIsServerProcess (boolean IsServerProcess) { -set_Value ("IsServerProcess", new Boolean(IsServerProcess)); +set_Value ("IsServerProcess", Boolean.valueOf(IsServerProcess)); } /** Get Server Process. @return Run this Process on Server only */ diff --git a/dbPort/src/org/compiere/model/X_AD_TaskInstance.java b/dbPort/src/org/compiere/model/X_AD_TaskInstance.java index 5cd5078538..901888bbda 100644 --- a/dbPort/src/org/compiere/model/X_AD_TaskInstance.java +++ b/dbPort/src/org/compiere/model/X_AD_TaskInstance.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TaskInstance * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TaskInstance extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_TaskInstance (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=125 */ -public static final int Table_ID=125; +public static final int Table_ID=MTable.getTable_ID("AD_TaskInstance"); /** TableName=AD_TaskInstance */ public static final String Table_Name="AD_TaskInstance"; -protected static KeyNamePair Model = new KeyNamePair(125,"AD_TaskInstance"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TaskInstance"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_TaskInstance_ID (int AD_TaskInstance_ID) { if (AD_TaskInstance_ID < 1) throw new IllegalArgumentException ("AD_TaskInstance_ID is mandatory."); -set_ValueNoCheck ("AD_TaskInstance_ID", new Integer(AD_TaskInstance_ID)); +set_ValueNoCheck ("AD_TaskInstance_ID", Integer.valueOf(AD_TaskInstance_ID)); } /** Get Task Instance. @return Task Instance */ @@ -112,7 +112,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_TaskInstance_ID())); public void setAD_Task_ID (int AD_Task_ID) { if (AD_Task_ID < 1) throw new IllegalArgumentException ("AD_Task_ID is mandatory."); -set_Value ("AD_Task_ID", new Integer(AD_Task_ID)); +set_Value ("AD_Task_ID", Integer.valueOf(AD_Task_ID)); } /** Get OS Task. @return Operation System Task */ diff --git a/dbPort/src/org/compiere/model/X_AD_Task_Access.java b/dbPort/src/org/compiere/model/X_AD_Task_Access.java index b074d51fb2..f29a86efdb 100644 --- a/dbPort/src/org/compiere/model/X_AD_Task_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Task_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Task_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Task_Access extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Task_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=199 */ -public static final int Table_ID=199; +public static final int Table_ID=MTable.getTable_ID("AD_Task_Access"); /** TableName=AD_Task_Access */ public static final String Table_Name="AD_Task_Access"; -protected static KeyNamePair Model = new KeyNamePair(199,"AD_Task_Access"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Task_Access"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Task_ID (int AD_Task_ID) { if (AD_Task_ID < 1) throw new IllegalArgumentException ("AD_Task_ID is mandatory."); -set_ValueNoCheck ("AD_Task_ID", new Integer(AD_Task_ID)); +set_ValueNoCheck ("AD_Task_ID", Integer.valueOf(AD_Task_ID)); } /** Get OS Task. @return Operation System Task */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsReadWrite Field is read / write */ public void setIsReadWrite (boolean IsReadWrite) { -set_Value ("IsReadWrite", new Boolean(IsReadWrite)); +set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite)); } /** Get Read Write. @return Field is read / write */ diff --git a/dbPort/src/org/compiere/model/X_AD_Tree.java b/dbPort/src/org/compiere/model/X_AD_Tree.java index 60bb31fe4c..a535d2946f 100644 --- a/dbPort/src/org/compiere/model/X_AD_Tree.java +++ b/dbPort/src/org/compiere/model/X_AD_Tree.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Tree * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Tree extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_Tree (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=288 */ -public static final int Table_ID=288; +public static final int Table_ID=MTable.getTable_ID("AD_Tree"); /** TableName=AD_Tree */ public static final String Table_Name="AD_Tree"; -protected static KeyNamePair Model = new KeyNamePair(288,"AD_Tree"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Tree"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -125,7 +125,7 @@ return (String)get_Value("Description"); @param IsAllNodes All Nodes are included (Complete Tree) */ public void setIsAllNodes (boolean IsAllNodes) { -set_Value ("IsAllNodes", new Boolean(IsAllNodes)); +set_Value ("IsAllNodes", Boolean.valueOf(IsAllNodes)); } /** Get All Nodes. @return All Nodes are included (Complete Tree) */ @@ -143,7 +143,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -185,7 +185,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_AD_TreeBar.java b/dbPort/src/org/compiere/model/X_AD_TreeBar.java index d471151ff0..97f85d659a 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeBar.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeBar.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeBar * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeBar extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_TreeBar (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=456 */ -public static final int Table_ID=456; +public static final int Table_ID=MTable.getTable_ID("AD_TreeBar"); /** TableName=AD_TreeBar */ public static final String Table_Name="AD_TreeBar"; -protected static KeyNamePair Model = new KeyNamePair(456,"AD_TreeBar"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeBar"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -122,7 +122,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_Value ("Node_ID", new Integer(Node_ID)); +set_Value ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNode.java b/dbPort/src/org/compiere/model/X_AD_TreeNode.java index a5f3c43e75..80be3176d2 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNode.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNode.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNode * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNode extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_TreeNode (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=289 */ -public static final int Table_ID=289; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNode"); /** TableName=AD_TreeNode */ public static final String Table_Name="AD_TreeNode"; -protected static KeyNamePair Model = new KeyNamePair(289,"AD_TreeNode"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNode"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ public void setParent_ID (int Parent_ID) { if (Parent_ID <= 0) set_Value ("Parent_ID", null); else -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeBP.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeBP.java index a6e343e7cf..e7275b9790 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeBP.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeBP.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeBP * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeBP extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_TreeNodeBP (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=451 */ -public static final int Table_ID=451; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeBP"); /** TableName=AD_TreeNodeBP */ public static final String Table_Name="AD_TreeNodeBP"; -protected static KeyNamePair Model = new KeyNamePair(451,"AD_TreeNodeBP"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeBP"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -122,7 +122,7 @@ public void setParent_ID (int Parent_ID) { if (Parent_ID <= 0) set_Value ("Parent_ID", null); else -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -137,7 +137,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMC.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMC.java index 734a6ff07f..60a45a7eb0 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMC.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMC.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeCMC * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeCMC extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeCMC (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=845 */ -public static final int Table_ID=845; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeCMC"); /** TableName=AD_TreeNodeCMC */ public static final String Table_Name="AD_TreeNodeCMC"; -protected static KeyNamePair Model = new KeyNamePair(845,"AD_TreeNodeCMC"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeCMC"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMM.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMM.java index 5b64a62275..6c0477198e 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMM.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMM.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeCMM * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeCMM extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeCMM (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=846 */ -public static final int Table_ID=846; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeCMM"); /** TableName=AD_TreeNodeCMM */ public static final String Table_Name="AD_TreeNodeCMM"; -protected static KeyNamePair Model = new KeyNamePair(846,"AD_TreeNodeCMM"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeCMM"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMS.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMS.java index 55ad03e910..6a4bd1d438 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMS.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMS.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeCMS * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeCMS extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeCMS (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=847 */ -public static final int Table_ID=847; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeCMS"); /** TableName=AD_TreeNodeCMS */ public static final String Table_Name="AD_TreeNodeCMS"; -protected static KeyNamePair Model = new KeyNamePair(847,"AD_TreeNodeCMS"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeCMS"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMT.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMT.java index 1c0f101274..1f4600f591 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeCMT.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeCMT.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeCMT * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeCMT extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeCMT (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=848 */ -public static final int Table_ID=848; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeCMT"); /** TableName=AD_TreeNodeCMT */ public static final String Table_Name="AD_TreeNodeCMT"; -protected static KeyNamePair Model = new KeyNamePair(848,"AD_TreeNodeCMT"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeCMT"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeMM.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeMM.java index 4191b30a8b..93cf3ed564 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeMM.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeMM.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeMM * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeMM extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_TreeNodeMM (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=452 */ -public static final int Table_ID=452; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeMM"); /** TableName=AD_TreeNodeMM */ public static final String Table_Name="AD_TreeNodeMM"; -protected static KeyNamePair Model = new KeyNamePair(452,"AD_TreeNodeMM"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeMM"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -122,7 +122,7 @@ public void setParent_ID (int Parent_ID) { if (Parent_ID <= 0) set_Value ("Parent_ID", null); else -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -137,7 +137,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodePR.java b/dbPort/src/org/compiere/model/X_AD_TreeNodePR.java index 7957d35b77..9f75d4c9b5 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodePR.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodePR.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodePR * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodePR extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_TreeNodePR (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=453 */ -public static final int Table_ID=453; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodePR"); /** TableName=AD_TreeNodePR */ public static final String Table_Name="AD_TreeNodePR"; -protected static KeyNamePair Model = new KeyNamePair(453,"AD_TreeNodePR"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodePR"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -122,7 +122,7 @@ public void setParent_ID (int Parent_ID) { if (Parent_ID <= 0) set_Value ("Parent_ID", null); else -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -137,7 +137,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeU1.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeU1.java index 48f1b2725d..f88bfadce4 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeU1.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeU1.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeU1 * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeU1 extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeU1 (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=852 */ -public static final int Table_ID=852; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeU1"); /** TableName=AD_TreeNodeU1 */ public static final String Table_Name="AD_TreeNodeU1"; -protected static KeyNamePair Model = new KeyNamePair(852,"AD_TreeNodeU1"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeU1"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeU2.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeU2.java index a43e2e9f97..1f04fa59c8 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeU2.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeU2.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeU2 * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeU2 extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeU2 (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=851 */ -public static final int Table_ID=851; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeU2"); /** TableName=AD_TreeNodeU2 */ public static final String Table_Name="AD_TreeNodeU2"; -protected static KeyNamePair Model = new KeyNamePair(851,"AD_TreeNodeU2"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeU2"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeU3.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeU3.java index ba7ac73b72..d17c89a3b5 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeU3.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeU3.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeU3 * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeU3 extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeU3 (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=850 */ -public static final int Table_ID=850; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeU3"); /** TableName=AD_TreeNodeU3 */ public static final String Table_Name="AD_TreeNodeU3"; -protected static KeyNamePair Model = new KeyNamePair(850,"AD_TreeNodeU3"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeU3"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_TreeNodeU4.java b/dbPort/src/org/compiere/model/X_AD_TreeNodeU4.java index 2b9b0f6222..9a8568aed4 100644 --- a/dbPort/src/org/compiere/model/X_AD_TreeNodeU4.java +++ b/dbPort/src/org/compiere/model/X_AD_TreeNodeU4.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_TreeNodeU4 * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_TreeNodeU4 extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_TreeNodeU4 (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=849 */ -public static final int Table_ID=849; +public static final int Table_ID=MTable.getTable_ID("AD_TreeNodeU4"); /** TableName=AD_TreeNodeU4 */ public static final String Table_Name="AD_TreeNodeU4"; -protected static KeyNamePair Model = new KeyNamePair(849,"AD_TreeNodeU4"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_TreeNodeU4"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setNode_ID (int Node_ID) { if (Node_ID < 0) throw new IllegalArgumentException ("Node_ID is mandatory."); -set_ValueNoCheck ("Node_ID", new Integer(Node_ID)); +set_ValueNoCheck ("Node_ID", Integer.valueOf(Node_ID)); } /** Get Node_ID. @return Node_ID */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setParent_ID (int Parent_ID) { if (Parent_ID < 1) throw new IllegalArgumentException ("Parent_ID is mandatory."); -set_Value ("Parent_ID", new Integer(Parent_ID)); +set_Value ("Parent_ID", Integer.valueOf(Parent_ID)); } /** Get Parent. @return Parent of Entity */ @@ -138,7 +138,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_User.java b/dbPort/src/org/compiere/model/X_AD_User.java index 31a1102029..7e41718592 100644 --- a/dbPort/src/org/compiere/model/X_AD_User.java +++ b/dbPort/src/org/compiere/model/X_AD_User.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_User * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_User extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_User (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=114 */ -public static final int Table_ID=114; +public static final int Table_ID=MTable.getTable_ID("AD_User"); /** TableName=AD_User */ public static final String Table_Name="AD_User"; -protected static KeyNamePair Model = new KeyNamePair(114,"AD_User"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_User"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -97,7 +97,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -140,7 +140,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -156,7 +156,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -172,7 +172,7 @@ public void setC_Greeting_ID (int C_Greeting_ID) { if (C_Greeting_ID <= 0) set_Value ("C_Greeting_ID", null); else -set_Value ("C_Greeting_ID", new Integer(C_Greeting_ID)); +set_Value ("C_Greeting_ID", Integer.valueOf(C_Greeting_ID)); } /** Get Greeting. @return Greeting to print on correspondence */ @@ -188,7 +188,7 @@ public void setC_Job_ID (int C_Job_ID) { if (C_Job_ID <= 0) set_Value ("C_Job_ID", null); else -set_Value ("C_Job_ID", new Integer(C_Job_ID)); +set_Value ("C_Job_ID", Integer.valueOf(C_Job_ID)); } /** Get Position. @return Job Position */ @@ -363,7 +363,7 @@ return (String)get_Value("Fax"); @param IsFullBPAccess The user/concat has full access to Business Partner information and resources */ public void setIsFullBPAccess (boolean IsFullBPAccess) { -set_Value ("IsFullBPAccess", new Boolean(IsFullBPAccess)); +set_Value ("IsFullBPAccess", Boolean.valueOf(IsFullBPAccess)); } /** Get Full BP Access. @return The user/concat has full access to Business Partner information and resources */ @@ -533,7 +533,7 @@ return (String)get_Value("Phone2"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -556,7 +556,7 @@ public void setSupervisor_ID (int Supervisor_ID) { if (Supervisor_ID <= 0) set_Value ("Supervisor_ID", null); else -set_Value ("Supervisor_ID", new Integer(Supervisor_ID)); +set_Value ("Supervisor_ID", Integer.valueOf(Supervisor_ID)); } /** Get Supervisor. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_UserBPAccess.java b/dbPort/src/org/compiere/model/X_AD_UserBPAccess.java index d80c99e137..9c830451c8 100644 --- a/dbPort/src/org/compiere/model/X_AD_UserBPAccess.java +++ b/dbPort/src/org/compiere/model/X_AD_UserBPAccess.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_UserBPAccess * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_UserBPAccess extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_UserBPAccess (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=813 */ -public static final int Table_ID=813; +public static final int Table_ID=MTable.getTable_ID("AD_UserBPAccess"); /** TableName=AD_UserBPAccess */ public static final String Table_Name="AD_UserBPAccess"; -protected static KeyNamePair Model = new KeyNamePair(813,"AD_UserBPAccess"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_UserBPAccess"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_UserBPAccess_ID (int AD_UserBPAccess_ID) { if (AD_UserBPAccess_ID < 1) throw new IllegalArgumentException ("AD_UserBPAccess_ID is mandatory."); -set_ValueNoCheck ("AD_UserBPAccess_ID", new Integer(AD_UserBPAccess_ID)); +set_ValueNoCheck ("AD_UserBPAccess_ID", Integer.valueOf(AD_UserBPAccess_ID)); } /** Get User BP Access. @return User/concat access to Business Partner information and resources */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -220,7 +220,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_Value ("R_RequestType_ID", null); else -set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_Value ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ diff --git a/dbPort/src/org/compiere/model/X_AD_UserDef_Field.java b/dbPort/src/org/compiere/model/X_AD_UserDef_Field.java index e68d78f617..d42c145fe5 100644 --- a/dbPort/src/org/compiere/model/X_AD_UserDef_Field.java +++ b/dbPort/src/org/compiere/model/X_AD_UserDef_Field.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_UserDef_Field * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_UserDef_Field extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_AD_UserDef_Field (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=464 */ -public static final int Table_ID=464; +public static final int Table_ID=MTable.getTable_ID("AD_UserDef_Field"); /** TableName=AD_UserDef_Field */ public static final String Table_Name="AD_UserDef_Field"; -protected static KeyNamePair Model = new KeyNamePair(464,"AD_UserDef_Field"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_UserDef_Field"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setAD_Field_ID (int AD_Field_ID) { if (AD_Field_ID < 1) throw new IllegalArgumentException ("AD_Field_ID is mandatory."); -set_Value ("AD_Field_ID", new Integer(AD_Field_ID)); +set_Value ("AD_Field_ID", Integer.valueOf(AD_Field_ID)); } /** Get Field. @return Field on a database table */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setAD_UserDef_Field_ID (int AD_UserDef_Field_ID) { if (AD_UserDef_Field_ID < 1) throw new IllegalArgumentException ("AD_UserDef_Field_ID is mandatory."); -set_ValueNoCheck ("AD_UserDef_Field_ID", new Integer(AD_UserDef_Field_ID)); +set_ValueNoCheck ("AD_UserDef_Field_ID", Integer.valueOf(AD_UserDef_Field_ID)); } /** Get User defined Field. @return User defined Field */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setAD_UserDef_Tab_ID (int AD_UserDef_Tab_ID) { if (AD_UserDef_Tab_ID < 1) throw new IllegalArgumentException ("AD_UserDef_Tab_ID is mandatory."); -set_ValueNoCheck ("AD_UserDef_Tab_ID", new Integer(AD_UserDef_Tab_ID)); +set_ValueNoCheck ("AD_UserDef_Tab_ID", Integer.valueOf(AD_UserDef_Tab_ID)); } /** Get User defined Tab. @return User defined Tab */ @@ -179,7 +179,7 @@ return (String)get_Value("Description"); @param DisplayLength Length of the display in characters */ public void setDisplayLength (int DisplayLength) { -set_Value ("DisplayLength", new Integer(DisplayLength)); +set_Value ("DisplayLength", Integer.valueOf(DisplayLength)); } /** Get Display Length. @return Length of the display in characters */ @@ -227,7 +227,7 @@ return (String)get_Value("Help"); @param IsDisplayed Determines, if this field is displayed */ public void setIsDisplayed (boolean IsDisplayed) { -set_Value ("IsDisplayed", new Boolean(IsDisplayed)); +set_Value ("IsDisplayed", Boolean.valueOf(IsDisplayed)); } /** Get Displayed. @return Determines, if this field is displayed */ @@ -245,7 +245,7 @@ return false; @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -263,7 +263,7 @@ return false; @param IsSameLine Displayed on same line as previous field */ public void setIsSameLine (boolean IsSameLine) { -set_Value ("IsSameLine", new Boolean(IsSameLine)); +set_Value ("IsSameLine", Boolean.valueOf(IsSameLine)); } /** Get Same Line. @return Displayed on same line as previous field */ @@ -281,7 +281,7 @@ return false; @param IsUpdateable Determines, if the field can be updated */ public void setIsUpdateable (boolean IsUpdateable) { -set_Value ("IsUpdateable", new Boolean(IsUpdateable)); +set_Value ("IsUpdateable", Boolean.valueOf(IsUpdateable)); } /** Get Updateable. @return Determines, if the field can be updated */ @@ -324,7 +324,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; @@ -339,7 +339,7 @@ return ii.intValue(); @param SortNo Determines in what order the records are displayed */ public void setSortNo (int SortNo) { -set_Value ("SortNo", new Integer(SortNo)); +set_Value ("SortNo", Integer.valueOf(SortNo)); } /** Get Record Sort No. @return Determines in what order the records are displayed */ diff --git a/dbPort/src/org/compiere/model/X_AD_UserDef_Tab.java b/dbPort/src/org/compiere/model/X_AD_UserDef_Tab.java index 90ef1276d0..2850561fcb 100644 --- a/dbPort/src/org/compiere/model/X_AD_UserDef_Tab.java +++ b/dbPort/src/org/compiere/model/X_AD_UserDef_Tab.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_UserDef_Tab * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_UserDef_Tab extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_UserDef_Tab (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=466 */ -public static final int Table_ID=466; +public static final int Table_ID=MTable.getTable_ID("AD_UserDef_Tab"); /** TableName=AD_UserDef_Tab */ public static final String Table_Name="AD_UserDef_Tab"; -protected static KeyNamePair Model = new KeyNamePair(466,"AD_UserDef_Tab"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_UserDef_Tab"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setAD_Tab_ID (int AD_Tab_ID) { if (AD_Tab_ID < 1) throw new IllegalArgumentException ("AD_Tab_ID is mandatory."); -set_Value ("AD_Tab_ID", new Integer(AD_Tab_ID)); +set_Value ("AD_Tab_ID", Integer.valueOf(AD_Tab_ID)); } /** Get Tab. @return Tab within a Window */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setAD_UserDef_Tab_ID (int AD_UserDef_Tab_ID) { if (AD_UserDef_Tab_ID < 1) throw new IllegalArgumentException ("AD_UserDef_Tab_ID is mandatory."); -set_ValueNoCheck ("AD_UserDef_Tab_ID", new Integer(AD_UserDef_Tab_ID)); +set_ValueNoCheck ("AD_UserDef_Tab_ID", Integer.valueOf(AD_UserDef_Tab_ID)); } /** Get User defined Tab. @return User defined Tab */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setAD_UserDef_Win_ID (int AD_UserDef_Win_ID) { if (AD_UserDef_Win_ID < 1) throw new IllegalArgumentException ("AD_UserDef_Win_ID is mandatory."); -set_ValueNoCheck ("AD_UserDef_Win_ID", new Integer(AD_UserDef_Win_ID)); +set_ValueNoCheck ("AD_UserDef_Win_ID", Integer.valueOf(AD_UserDef_Win_ID)); } /** Get User defined Window. @return User defined Window */ @@ -174,7 +174,7 @@ return (String)get_Value("Help"); @param IsMultiRowOnly This applies to Multi-Row view only */ public void setIsMultiRowOnly (boolean IsMultiRowOnly) { -set_Value ("IsMultiRowOnly", new Boolean(IsMultiRowOnly)); +set_Value ("IsMultiRowOnly", Boolean.valueOf(IsMultiRowOnly)); } /** Get Multi Row Only. @return This applies to Multi-Row view only */ @@ -192,7 +192,7 @@ return false; @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -210,7 +210,7 @@ return false; @param IsSingleRow Default for toggle between Single- and Multi-Row (Grid) Layout */ public void setIsSingleRow (boolean IsSingleRow) { -set_Value ("IsSingleRow", new Boolean(IsSingleRow)); +set_Value ("IsSingleRow", Boolean.valueOf(IsSingleRow)); } /** Get Single Row Layout. @return Default for toggle between Single- and Multi-Row (Grid) Layout */ diff --git a/dbPort/src/org/compiere/model/X_AD_UserDef_Win.java b/dbPort/src/org/compiere/model/X_AD_UserDef_Win.java index 545beea310..6570887038 100644 --- a/dbPort/src/org/compiere/model/X_AD_UserDef_Win.java +++ b/dbPort/src/org/compiere/model/X_AD_UserDef_Win.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_UserDef_Win * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_UserDef_Win extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_UserDef_Win (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=467 */ -public static final int Table_ID=467; +public static final int Table_ID=MTable.getTable_ID("AD_UserDef_Win"); /** TableName=AD_UserDef_Win */ public static final String Table_Name="AD_UserDef_Win"; -protected static KeyNamePair Model = new KeyNamePair(467,"AD_UserDef_Win"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_UserDef_Win"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -117,7 +117,7 @@ public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -132,7 +132,7 @@ return ii.intValue(); public void setAD_UserDef_Win_ID (int AD_UserDef_Win_ID) { if (AD_UserDef_Win_ID < 1) throw new IllegalArgumentException ("AD_UserDef_Win_ID is mandatory."); -set_ValueNoCheck ("AD_UserDef_Win_ID", new Integer(AD_UserDef_Win_ID)); +set_ValueNoCheck ("AD_UserDef_Win_ID", Integer.valueOf(AD_UserDef_Win_ID)); } /** Get User defined Window. @return User defined Window */ @@ -148,7 +148,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -163,7 +163,7 @@ return ii.intValue(); public void setAD_Window_ID (int AD_Window_ID) { if (AD_Window_ID < 1) throw new IllegalArgumentException ("AD_Window_ID is mandatory."); -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get Window. @return Data entry or display window */ @@ -211,7 +211,7 @@ return (String)get_Value("Help"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -229,7 +229,7 @@ return false; @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ @@ -247,7 +247,7 @@ return false; @param IsUserUpdateable The field can be updated by the user */ public void setIsUserUpdateable (boolean IsUserUpdateable) { -set_Value ("IsUserUpdateable", new Boolean(IsUserUpdateable)); +set_Value ("IsUserUpdateable", Boolean.valueOf(IsUserUpdateable)); } /** Get User updateable. @return The field can be updated by the user */ diff --git a/dbPort/src/org/compiere/model/X_AD_UserMail.java b/dbPort/src/org/compiere/model/X_AD_UserMail.java index bf72b7d63f..c720e96d02 100644 --- a/dbPort/src/org/compiere/model/X_AD_UserMail.java +++ b/dbPort/src/org/compiere/model/X_AD_UserMail.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_UserMail * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_UserMail extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_UserMail (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=782 */ -public static final int Table_ID=782; +public static final int Table_ID=MTable.getTable_ID("AD_UserMail"); /** TableName=AD_UserMail */ public static final String Table_Name="AD_UserMail"; -protected static KeyNamePair Model = new KeyNamePair(782,"AD_UserMail"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_UserMail"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_UserMail_ID (int AD_UserMail_ID) { if (AD_UserMail_ID < 1) throw new IllegalArgumentException ("AD_UserMail_ID is mandatory."); -set_ValueNoCheck ("AD_UserMail_ID", new Integer(AD_UserMail_ID)); +set_ValueNoCheck ("AD_UserMail_ID", Integer.valueOf(AD_UserMail_ID)); } /** Get User Mail. @return Mail sent to the user */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -205,7 +205,7 @@ public void setR_MailText_ID (int R_MailText_ID) { if (R_MailText_ID <= 0) set_ValueNoCheck ("R_MailText_ID", null); else -set_ValueNoCheck ("R_MailText_ID", new Integer(R_MailText_ID)); +set_ValueNoCheck ("R_MailText_ID", Integer.valueOf(R_MailText_ID)); } /** Get Mail Template. @return Text templates for mailings */ @@ -238,7 +238,7 @@ public void setW_MailMsg_ID (int W_MailMsg_ID) { if (W_MailMsg_ID <= 0) set_ValueNoCheck ("W_MailMsg_ID", null); else -set_ValueNoCheck ("W_MailMsg_ID", new Integer(W_MailMsg_ID)); +set_ValueNoCheck ("W_MailMsg_ID", Integer.valueOf(W_MailMsg_ID)); } /** Get Mail Message. @return Web Store Mail Message Template */ diff --git a/dbPort/src/org/compiere/model/X_AD_UserQuery.java b/dbPort/src/org/compiere/model/X_AD_UserQuery.java index 8e1d15b85e..99783c00d7 100644 --- a/dbPort/src/org/compiere/model/X_AD_UserQuery.java +++ b/dbPort/src/org/compiere/model/X_AD_UserQuery.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_UserQuery * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_UserQuery extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_UserQuery (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=814 */ -public static final int Table_ID=814; +public static final int Table_ID=MTable.getTable_ID("AD_UserQuery"); /** TableName=AD_UserQuery */ public static final String Table_Name="AD_UserQuery"; -protected static KeyNamePair Model = new KeyNamePair(814,"AD_UserQuery"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_UserQuery"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_UserQuery_ID (int AD_UserQuery_ID) { if (AD_UserQuery_ID < 1) throw new IllegalArgumentException ("AD_UserQuery_ID is mandatory."); -set_ValueNoCheck ("AD_UserQuery_ID", new Integer(AD_UserQuery_ID)); +set_ValueNoCheck ("AD_UserQuery_ID", Integer.valueOf(AD_UserQuery_ID)); } /** Get User Query. @return Saved User Query */ @@ -123,7 +123,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ diff --git a/dbPort/src/org/compiere/model/X_AD_User_OrgAccess.java b/dbPort/src/org/compiere/model/X_AD_User_OrgAccess.java index 5dcf12965b..5f624f0d48 100644 --- a/dbPort/src/org/compiere/model/X_AD_User_OrgAccess.java +++ b/dbPort/src/org/compiere/model/X_AD_User_OrgAccess.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_User_OrgAccess * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_User_OrgAccess extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_User_OrgAccess (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=769 */ -public static final int Table_ID=769; +public static final int Table_ID=MTable.getTable_ID("AD_User_OrgAccess"); /** TableName=AD_User_OrgAccess */ public static final String Table_Name="AD_User_OrgAccess"; -protected static KeyNamePair Model = new KeyNamePair(769,"AD_User_OrgAccess"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_User_OrgAccess"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -105,7 +105,7 @@ return ii.intValue(); @param IsReadOnly Field is read only */ public void setIsReadOnly (boolean IsReadOnly) { -set_Value ("IsReadOnly", new Boolean(IsReadOnly)); +set_Value ("IsReadOnly", Boolean.valueOf(IsReadOnly)); } /** Get Read Only. @return Field is read only */ diff --git a/dbPort/src/org/compiere/model/X_AD_User_Roles.java b/dbPort/src/org/compiere/model/X_AD_User_Roles.java index 9fc3d5f2d2..bde993e386 100644 --- a/dbPort/src/org/compiere/model/X_AD_User_Roles.java +++ b/dbPort/src/org/compiere/model/X_AD_User_Roles.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_User_Roles * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_User_Roles extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_AD_User_Roles (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=157 */ -public static final int Table_ID=157; +public static final int Table_ID=MTable.getTable_ID("AD_User_Roles"); /** TableName=AD_User_Roles */ public static final String Table_Name="AD_User_Roles"; -protected static KeyNamePair Model = new KeyNamePair(157,"AD_User_Roles"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_User_Roles"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ diff --git a/dbPort/src/org/compiere/model/X_AD_User_Substitute.java b/dbPort/src/org/compiere/model/X_AD_User_Substitute.java index 45ebb5add5..d5b190724b 100644 --- a/dbPort/src/org/compiere/model/X_AD_User_Substitute.java +++ b/dbPort/src/org/compiere/model/X_AD_User_Substitute.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_User_Substitute * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_User_Substitute extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_User_Substitute (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=642 */ -public static final int Table_ID=642; +public static final int Table_ID=MTable.getTable_ID("AD_User_Substitute"); /** TableName=AD_User_Substitute */ public static final String Table_Name="AD_User_Substitute"; -protected static KeyNamePair Model = new KeyNamePair(642,"AD_User_Substitute"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_User_Substitute"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_User_Substitute_ID (int AD_User_Substitute_ID) { if (AD_User_Substitute_ID < 1) throw new IllegalArgumentException ("AD_User_Substitute_ID is mandatory."); -set_ValueNoCheck ("AD_User_Substitute_ID", new Integer(AD_User_Substitute_ID)); +set_ValueNoCheck ("AD_User_Substitute_ID", Integer.valueOf(AD_User_Substitute_ID)); } /** Get User Substitute. @return Substitute of the user */ @@ -167,7 +167,7 @@ public static final int SUBSTITUTE_ID_AD_Reference_ID=110; public void setSubstitute_ID (int Substitute_ID) { if (Substitute_ID < 1) throw new IllegalArgumentException ("Substitute_ID is mandatory."); -set_Value ("Substitute_ID", new Integer(Substitute_ID)); +set_Value ("Substitute_ID", Integer.valueOf(Substitute_ID)); } /** Get Substitute. @return Entity which can be used in place of this entity */ diff --git a/dbPort/src/org/compiere/model/X_AD_Val_Rule.java b/dbPort/src/org/compiere/model/X_AD_Val_Rule.java index 2a59d1c593..6ede26dad1 100644 --- a/dbPort/src/org/compiere/model/X_AD_Val_Rule.java +++ b/dbPort/src/org/compiere/model/X_AD_Val_Rule.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Val_Rule * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Val_Rule extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Val_Rule (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=108 */ -public static final int Table_ID=108; +public static final int Table_ID=MTable.getTable_ID("AD_Val_Rule"); /** TableName=AD_Val_Rule */ public static final String Table_Name="AD_Val_Rule"; -protected static KeyNamePair Model = new KeyNamePair(108,"AD_Val_Rule"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Val_Rule"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Val_Rule_ID (int AD_Val_Rule_ID) { if (AD_Val_Rule_ID < 1) throw new IllegalArgumentException ("AD_Val_Rule_ID is mandatory."); -set_ValueNoCheck ("AD_Val_Rule_ID", new Integer(AD_Val_Rule_ID)); +set_ValueNoCheck ("AD_Val_Rule_ID", Integer.valueOf(AD_Val_Rule_ID)); } /** Get Dynamic Validation. @return Dynamic Validation Rule */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_Activity.java b/dbPort/src/org/compiere/model/X_AD_WF_Activity.java index 2b3c68c7c9..a76ba7cc97 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_Activity.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_Activity.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_Activity * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_Activity extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_WF_Activity (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=644 */ -public static final int Table_ID=644; +public static final int Table_ID=MTable.getTable_ID("AD_WF_Activity"); /** TableName=AD_WF_Activity */ public static final String Table_Name="AD_WF_Activity"; -protected static KeyNamePair Model = new KeyNamePair(644,"AD_WF_Activity"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_Activity"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -98,7 +98,7 @@ public void setAD_Message_ID (int AD_Message_ID) { if (AD_Message_ID <= 0) set_Value ("AD_Message_ID", null); else -set_Value ("AD_Message_ID", new Integer(AD_Message_ID)); +set_Value ("AD_Message_ID", Integer.valueOf(AD_Message_ID)); } /** Get Message. @return System Message */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -132,7 +132,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -147,7 +147,7 @@ return ii.intValue(); public void setAD_WF_Activity_ID (int AD_WF_Activity_ID) { if (AD_WF_Activity_ID < 1) throw new IllegalArgumentException ("AD_WF_Activity_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Activity_ID", new Integer(AD_WF_Activity_ID)); +set_ValueNoCheck ("AD_WF_Activity_ID", Integer.valueOf(AD_WF_Activity_ID)); } /** Get Workflow Activity. @return Workflow Activity */ @@ -162,7 +162,7 @@ return ii.intValue(); public void setAD_WF_Node_ID (int AD_WF_Node_ID) { if (AD_WF_Node_ID < 1) throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory."); -set_Value ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID)); +set_Value ("AD_WF_Node_ID", Integer.valueOf(AD_WF_Node_ID)); } /** Get Node. @return Workflow Node (activity), step or process */ @@ -183,7 +183,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Node_ID())); public void setAD_WF_Process_ID (int AD_WF_Process_ID) { if (AD_WF_Process_ID < 1) throw new IllegalArgumentException ("AD_WF_Process_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Process_ID", new Integer(AD_WF_Process_ID)); +set_ValueNoCheck ("AD_WF_Process_ID", Integer.valueOf(AD_WF_Process_ID)); } /** Get Workflow Process. @return Actual Workflow Process Instance */ @@ -199,7 +199,7 @@ public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID) { if (AD_WF_Responsible_ID <= 0) set_Value ("AD_WF_Responsible_ID", null); else -set_Value ("AD_WF_Responsible_ID", new Integer(AD_WF_Responsible_ID)); +set_Value ("AD_WF_Responsible_ID", Integer.valueOf(AD_WF_Responsible_ID)); } /** Get Workflow Responsible. @return Responsible for Workflow Execution */ @@ -214,7 +214,7 @@ return ii.intValue(); public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID < 1) throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); -set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -240,7 +240,7 @@ return (Timestamp)get_Value("DateLastAlert"); @param DynPriorityStart Starting priority before changed dynamically */ public void setDynPriorityStart (int DynPriorityStart) { -set_Value ("DynPriorityStart", new Integer(DynPriorityStart)); +set_Value ("DynPriorityStart", Integer.valueOf(DynPriorityStart)); } /** Get Dyn Priority Start. @return Starting priority before changed dynamically */ @@ -266,7 +266,7 @@ return (Timestamp)get_Value("EndWaitTime"); @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (int Priority) { -set_Value ("Priority", new Integer(Priority)); +set_Value ("Priority", Integer.valueOf(Priority)); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ @@ -280,7 +280,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -298,7 +298,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -317,7 +317,7 @@ return false; public void setRecord_ID (int Record_ID) { if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_ActivityResult.java b/dbPort/src/org/compiere/model/X_AD_WF_ActivityResult.java index 669ad078c6..afce5170c9 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_ActivityResult.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_ActivityResult.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_ActivityResult * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_ActivityResult extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_WF_ActivityResult (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=650 */ -public static final int Table_ID=650; +public static final int Table_ID=MTable.getTable_ID("AD_WF_ActivityResult"); /** TableName=AD_WF_ActivityResult */ public static final String Table_Name="AD_WF_ActivityResult"; -protected static KeyNamePair Model = new KeyNamePair(650,"AD_WF_ActivityResult"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_ActivityResult"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_WF_ActivityResult_ID (int AD_WF_ActivityResult_ID) { if (AD_WF_ActivityResult_ID < 1) throw new IllegalArgumentException ("AD_WF_ActivityResult_ID is mandatory."); -set_ValueNoCheck ("AD_WF_ActivityResult_ID", new Integer(AD_WF_ActivityResult_ID)); +set_ValueNoCheck ("AD_WF_ActivityResult_ID", Integer.valueOf(AD_WF_ActivityResult_ID)); } /** Get Workflow Activity Result. @return Result of the Workflow Process Activity */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_WF_Activity_ID (int AD_WF_Activity_ID) { if (AD_WF_Activity_ID < 1) throw new IllegalArgumentException ("AD_WF_Activity_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Activity_ID", new Integer(AD_WF_Activity_ID)); +set_ValueNoCheck ("AD_WF_Activity_ID", Integer.valueOf(AD_WF_Activity_ID)); } /** Get Workflow Activity. @return Workflow Activity */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_Block.java b/dbPort/src/org/compiere/model/X_AD_WF_Block.java index afade0807f..56778e9a99 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_Block.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_Block.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_Block * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_Block extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_WF_Block (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=647 */ -public static final int Table_ID=647; +public static final int Table_ID=MTable.getTable_ID("AD_WF_Block"); /** TableName=AD_WF_Block */ public static final String Table_Name="AD_WF_Block"; -protected static KeyNamePair Model = new KeyNamePair(647,"AD_WF_Block"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_Block"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_WF_Block_ID (int AD_WF_Block_ID) { if (AD_WF_Block_ID < 1) throw new IllegalArgumentException ("AD_WF_Block_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Block_ID", new Integer(AD_WF_Block_ID)); +set_ValueNoCheck ("AD_WF_Block_ID", Integer.valueOf(AD_WF_Block_ID)); } /** Get Workflow Block. @return Workflow Transaction Execution Block */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID < 1) throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); -set_ValueNoCheck ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_ValueNoCheck ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_EventAudit.java b/dbPort/src/org/compiere/model/X_AD_WF_EventAudit.java index 84691d77a8..d27a1ba78d 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_EventAudit.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_EventAudit.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_EventAudit * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_EventAudit extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_AD_WF_EventAudit (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=649 */ -public static final int Table_ID=649; +public static final int Table_ID=MTable.getTable_ID("AD_WF_EventAudit"); /** TableName=AD_WF_EventAudit */ public static final String Table_Name="AD_WF_EventAudit"; -protected static KeyNamePair Model = new KeyNamePair(649,"AD_WF_EventAudit"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_EventAudit"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -117,7 +117,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -132,7 +132,7 @@ return ii.intValue(); public void setAD_WF_EventAudit_ID (int AD_WF_EventAudit_ID) { if (AD_WF_EventAudit_ID < 1) throw new IllegalArgumentException ("AD_WF_EventAudit_ID is mandatory."); -set_ValueNoCheck ("AD_WF_EventAudit_ID", new Integer(AD_WF_EventAudit_ID)); +set_ValueNoCheck ("AD_WF_EventAudit_ID", Integer.valueOf(AD_WF_EventAudit_ID)); } /** Get Workflow Event Audit. @return Workflow Process Activity Event Audit Information */ @@ -153,7 +153,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_EventAudit_ID())); public void setAD_WF_Node_ID (int AD_WF_Node_ID) { if (AD_WF_Node_ID < 1) throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory."); -set_Value ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID)); +set_Value ("AD_WF_Node_ID", Integer.valueOf(AD_WF_Node_ID)); } /** Get Node. @return Workflow Node (activity), step or process */ @@ -168,7 +168,7 @@ return ii.intValue(); public void setAD_WF_Process_ID (int AD_WF_Process_ID) { if (AD_WF_Process_ID < 1) throw new IllegalArgumentException ("AD_WF_Process_ID is mandatory."); -set_Value ("AD_WF_Process_ID", new Integer(AD_WF_Process_ID)); +set_Value ("AD_WF_Process_ID", Integer.valueOf(AD_WF_Process_ID)); } /** Get Workflow Process. @return Actual Workflow Process Instance */ @@ -183,7 +183,7 @@ return ii.intValue(); public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID) { if (AD_WF_Responsible_ID < 1) throw new IllegalArgumentException ("AD_WF_Responsible_ID is mandatory."); -set_Value ("AD_WF_Responsible_ID", new Integer(AD_WF_Responsible_ID)); +set_Value ("AD_WF_Responsible_ID", Integer.valueOf(AD_WF_Responsible_ID)); } /** Get Workflow Responsible. @return Responsible for Workflow Execution */ @@ -310,7 +310,7 @@ return (String)get_Value("OldValue"); public void setRecord_ID (int Record_ID) { if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_NextCondition.java b/dbPort/src/org/compiere/model/X_AD_WF_NextCondition.java index d1a11a287a..b247311678 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_NextCondition.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_NextCondition.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_NextCondition * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_NextCondition extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_AD_WF_NextCondition (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=706 */ -public static final int Table_ID=706; +public static final int Table_ID=MTable.getTable_ID("AD_WF_NextCondition"); /** TableName=AD_WF_NextCondition */ public static final String Table_Name="AD_WF_NextCondition"; -protected static KeyNamePair Model = new KeyNamePair(706,"AD_WF_NextCondition"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_NextCondition"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_Column_ID (int AD_Column_ID) { 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. @return Column in the table */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setAD_WF_NextCondition_ID (int AD_WF_NextCondition_ID) { if (AD_WF_NextCondition_ID < 1) throw new IllegalArgumentException ("AD_WF_NextCondition_ID is mandatory."); -set_ValueNoCheck ("AD_WF_NextCondition_ID", new Integer(AD_WF_NextCondition_ID)); +set_ValueNoCheck ("AD_WF_NextCondition_ID", Integer.valueOf(AD_WF_NextCondition_ID)); } /** Get Transition Condition. @return Workflow Node Transition Condition */ @@ -127,7 +127,7 @@ return ii.intValue(); public void setAD_WF_NodeNext_ID (int AD_WF_NodeNext_ID) { if (AD_WF_NodeNext_ID < 1) throw new IllegalArgumentException ("AD_WF_NodeNext_ID is mandatory."); -set_ValueNoCheck ("AD_WF_NodeNext_ID", new Integer(AD_WF_NodeNext_ID)); +set_ValueNoCheck ("AD_WF_NodeNext_ID", Integer.valueOf(AD_WF_NodeNext_ID)); } /** Get Node Transition. @return Workflow Node Transition */ @@ -232,7 +232,7 @@ return (String)get_Value("Operation"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_WF_Node.java b/dbPort/src/org/compiere/model/X_AD_WF_Node.java index 9b27d7fa8a..97e657f45c 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_Node.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_Node.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_Node * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_Node extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_AD_WF_Node (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=129 */ -public static final int Table_ID=129; +public static final int Table_ID=MTable.getTable_ID("AD_WF_Node"); /** TableName=AD_WF_Node */ public static final String Table_Name="AD_WF_Node"; -protected static KeyNamePair Model = new KeyNamePair(129,"AD_WF_Node"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_Node"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -105,7 +105,7 @@ public void setAD_Column_ID (int AD_Column_ID) { if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @return Column in the table */ @@ -121,7 +121,7 @@ public void setAD_Form_ID (int AD_Form_ID) { if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); else -set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); +set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID)); } /** Get Special Form. @return Special Form */ @@ -137,7 +137,7 @@ public void setAD_Image_ID (int AD_Image_ID) { if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @return Image or Icon */ @@ -153,7 +153,7 @@ public void setAD_Process_ID (int AD_Process_ID) { if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @return Process or Report */ @@ -169,7 +169,7 @@ public void setAD_Task_ID (int AD_Task_ID) { if (AD_Task_ID <= 0) set_Value ("AD_Task_ID", null); else -set_Value ("AD_Task_ID", new Integer(AD_Task_ID)); +set_Value ("AD_Task_ID", Integer.valueOf(AD_Task_ID)); } /** Get OS Task. @return Operation System Task */ @@ -185,7 +185,7 @@ public void setAD_WF_Block_ID (int AD_WF_Block_ID) { if (AD_WF_Block_ID <= 0) set_Value ("AD_WF_Block_ID", null); else -set_Value ("AD_WF_Block_ID", new Integer(AD_WF_Block_ID)); +set_Value ("AD_WF_Block_ID", Integer.valueOf(AD_WF_Block_ID)); } /** Get Workflow Block. @return Workflow Transaction Execution Block */ @@ -200,7 +200,7 @@ return ii.intValue(); public void setAD_WF_Node_ID (int AD_WF_Node_ID) { if (AD_WF_Node_ID < 1) throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID)); +set_ValueNoCheck ("AD_WF_Node_ID", Integer.valueOf(AD_WF_Node_ID)); } /** Get Node. @return Workflow Node (activity), step or process */ @@ -216,7 +216,7 @@ public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID) { if (AD_WF_Responsible_ID <= 0) set_Value ("AD_WF_Responsible_ID", null); else -set_Value ("AD_WF_Responsible_ID", new Integer(AD_WF_Responsible_ID)); +set_Value ("AD_WF_Responsible_ID", Integer.valueOf(AD_WF_Responsible_ID)); } /** Get Workflow Responsible. @return Responsible for Workflow Execution */ @@ -232,7 +232,7 @@ public void setAD_Window_ID (int AD_Window_ID) { if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get Window. @return Data entry or display window */ @@ -247,7 +247,7 @@ return ii.intValue(); public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID < 1) throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); -set_ValueNoCheck ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_ValueNoCheck ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -424,7 +424,7 @@ return (String)get_Value("DocAction"); @param Duration Normal Duration in Duration Unit */ public void setDuration (int Duration) { -set_Value ("Duration", new Integer(Duration)); +set_Value ("Duration", Integer.valueOf(Duration)); } /** Get Duration. @return Normal Duration in Duration Unit */ @@ -590,7 +590,7 @@ return (String)get_Value("Help"); @param IsCentrallyMaintained Information maintained in System Element table */ public void setIsCentrallyMaintained (boolean IsCentrallyMaintained) { -set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained)); +set_Value ("IsCentrallyMaintained", Boolean.valueOf(IsCentrallyMaintained)); } /** Get Centrally maintained. @return Information maintained in System Element table */ @@ -635,7 +635,7 @@ return (String)get_Value("JoinElement"); @param Limit Maximum Duration in Duration Unit */ public void setLimit (int Limit) { -set_Value ("Limit", new Integer(Limit)); +set_Value ("Limit", Integer.valueOf(Limit)); } /** Get Duration Limit. @return Maximum Duration in Duration Unit */ @@ -673,7 +673,7 @@ return new KeyNamePair(get_ID(), getName()); @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (int Priority) { -set_Value ("Priority", new Integer(Priority)); +set_Value ("Priority", Integer.valueOf(Priority)); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ @@ -689,7 +689,7 @@ public void setR_MailText_ID (int R_MailText_ID) { if (R_MailText_ID <= 0) set_Value ("R_MailText_ID", null); else -set_Value ("R_MailText_ID", new Integer(R_MailText_ID)); +set_Value ("R_MailText_ID", Integer.valueOf(R_MailText_ID)); } /** Get Mail Template. @return Text templates for mailings */ @@ -800,7 +800,7 @@ return (String)get_Value("Value"); @param WaitTime Time in minutes to wait (sleep) */ public void setWaitTime (int WaitTime) { -set_Value ("WaitTime", new Integer(WaitTime)); +set_Value ("WaitTime", Integer.valueOf(WaitTime)); } /** Get Wait Time. @return Time in minutes to wait (sleep) */ @@ -814,7 +814,7 @@ return ii.intValue(); @param WaitingTime Workflow Simulation Waiting time */ public void setWaitingTime (int WaitingTime) { -set_Value ("WaitingTime", new Integer(WaitingTime)); +set_Value ("WaitingTime", Integer.valueOf(WaitingTime)); } /** Get Waiting Time. @return Workflow Simulation Waiting time */ @@ -833,7 +833,7 @@ public void setWorkflow_ID (int Workflow_ID) { if (Workflow_ID <= 0) set_Value ("Workflow_ID", null); else -set_Value ("Workflow_ID", new Integer(Workflow_ID)); +set_Value ("Workflow_ID", Integer.valueOf(Workflow_ID)); } /** Get Workflow. @return Workflow or tasks */ @@ -847,7 +847,7 @@ return ii.intValue(); @param WorkingTime Workflow Simulation Execution Time */ public void setWorkingTime (int WorkingTime) { -set_Value ("WorkingTime", new Integer(WorkingTime)); +set_Value ("WorkingTime", Integer.valueOf(WorkingTime)); } /** Get Working Time. @return Workflow Simulation Execution Time */ @@ -861,7 +861,7 @@ return ii.intValue(); @param XPosition Absolute X (horizontal) position in 1/72 of an inch */ public void setXPosition (int XPosition) { -set_Value ("XPosition", new Integer(XPosition)); +set_Value ("XPosition", Integer.valueOf(XPosition)); } /** Get X Position. @return Absolute X (horizontal) position in 1/72 of an inch */ @@ -875,7 +875,7 @@ return ii.intValue(); @param YPosition Absolute Y (vertical) position in 1/72 of an inch */ public void setYPosition (int YPosition) { -set_Value ("YPosition", new Integer(YPosition)); +set_Value ("YPosition", Integer.valueOf(YPosition)); } /** Get Y Position. @return Absolute Y (vertical) position in 1/72 of an inch */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_NodeNext.java b/dbPort/src/org/compiere/model/X_AD_WF_NodeNext.java index c9d8e58483..4f7d1fba0e 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_NodeNext.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_NodeNext.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_NodeNext * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_NodeNext extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_WF_NodeNext (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=131 */ -public static final int Table_ID=131; +public static final int Table_ID=MTable.getTable_ID("AD_WF_NodeNext"); /** TableName=AD_WF_NodeNext */ public static final String Table_Name="AD_WF_NodeNext"; -protected static KeyNamePair Model = new KeyNamePair(131,"AD_WF_NodeNext"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_NodeNext"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -98,7 +98,7 @@ public static final int AD_WF_NEXT_ID_AD_Reference_ID=109; public void setAD_WF_Next_ID (int AD_WF_Next_ID) { if (AD_WF_Next_ID < 1) throw new IllegalArgumentException ("AD_WF_Next_ID is mandatory."); -set_Value ("AD_WF_Next_ID", new Integer(AD_WF_Next_ID)); +set_Value ("AD_WF_Next_ID", Integer.valueOf(AD_WF_Next_ID)); } /** Get Next Node. @return Next Node in workflow */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setAD_WF_NodeNext_ID (int AD_WF_NodeNext_ID) { if (AD_WF_NodeNext_ID < 1) throw new IllegalArgumentException ("AD_WF_NodeNext_ID is mandatory."); -set_ValueNoCheck ("AD_WF_NodeNext_ID", new Integer(AD_WF_NodeNext_ID)); +set_ValueNoCheck ("AD_WF_NodeNext_ID", Integer.valueOf(AD_WF_NodeNext_ID)); } /** Get Node Transition. @return Workflow Node Transition */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setAD_WF_Node_ID (int AD_WF_Node_ID) { if (AD_WF_Node_ID < 1) throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID)); +set_ValueNoCheck ("AD_WF_Node_ID", Integer.valueOf(AD_WF_Node_ID)); } /** Get Node. @return Workflow Node (activity), step or process */ @@ -187,7 +187,7 @@ return (String)get_Value("EntityType"); @param IsStdUserWorkflow Standard Manual User Approval Workflow */ public void setIsStdUserWorkflow (boolean IsStdUserWorkflow) { -set_Value ("IsStdUserWorkflow", new Boolean(IsStdUserWorkflow)); +set_Value ("IsStdUserWorkflow", Boolean.valueOf(IsStdUserWorkflow)); } /** Get Std User Workflow. @return Standard Manual User Approval Workflow */ @@ -206,7 +206,7 @@ return false; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_WF_Node_Para.java b/dbPort/src/org/compiere/model/X_AD_WF_Node_Para.java index 7b6551430a..0cfe5b82eb 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_Node_Para.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_Node_Para.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_Node_Para * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_Node_Para extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_WF_Node_Para (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=643 */ -public static final int Table_ID=643; +public static final int Table_ID=MTable.getTable_ID("AD_WF_Node_Para"); /** TableName=AD_WF_Node_Para */ public static final String Table_Name="AD_WF_Node_Para"; -protected static KeyNamePair Model = new KeyNamePair(643,"AD_WF_Node_Para"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_Node_Para"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ public void setAD_Process_Para_ID (int AD_Process_Para_ID) { if (AD_Process_Para_ID <= 0) set_Value ("AD_Process_Para_ID", null); else -set_Value ("AD_Process_Para_ID", new Integer(AD_Process_Para_ID)); +set_Value ("AD_Process_Para_ID", Integer.valueOf(AD_Process_Para_ID)); } /** Get Process Parameter. @return Process Parameter */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setAD_WF_Node_ID (int AD_WF_Node_ID) { if (AD_WF_Node_ID < 1) throw new IllegalArgumentException ("AD_WF_Node_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID)); +set_ValueNoCheck ("AD_WF_Node_ID", Integer.valueOf(AD_WF_Node_ID)); } /** Get Node. @return Workflow Node (activity), step or process */ @@ -129,7 +129,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Node_ID())); public void setAD_WF_Node_Para_ID (int AD_WF_Node_Para_ID) { if (AD_WF_Node_Para_ID < 1) throw new IllegalArgumentException ("AD_WF_Node_Para_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Node_Para_ID", new Integer(AD_WF_Node_Para_ID)); +set_ValueNoCheck ("AD_WF_Node_Para_ID", Integer.valueOf(AD_WF_Node_Para_ID)); } /** Get Workflow Node Parameter. @return Workflow Node Execution Parameter */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_Process.java b/dbPort/src/org/compiere/model/X_AD_WF_Process.java index 4cc7791fc8..6e870e3157 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_Process.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_Process.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_Process * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_Process extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_WF_Process (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=645 */ -public static final int Table_ID=645; +public static final int Table_ID=MTable.getTable_ID("AD_WF_Process"); /** TableName=AD_WF_Process */ public static final String Table_Name="AD_WF_Process"; -protected static KeyNamePair Model = new KeyNamePair(645,"AD_WF_Process"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_Process"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -97,7 +97,7 @@ public void setAD_Message_ID (int AD_Message_ID) { if (AD_Message_ID <= 0) set_Value ("AD_Message_ID", null); else -set_Value ("AD_Message_ID", new Integer(AD_Message_ID)); +set_Value ("AD_Message_ID", Integer.valueOf(AD_Message_ID)); } /** Get Message. @return System Message */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -131,7 +131,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -146,7 +146,7 @@ return ii.intValue(); public void setAD_WF_Process_ID (int AD_WF_Process_ID) { if (AD_WF_Process_ID < 1) throw new IllegalArgumentException ("AD_WF_Process_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Process_ID", new Integer(AD_WF_Process_ID)); +set_ValueNoCheck ("AD_WF_Process_ID", Integer.valueOf(AD_WF_Process_ID)); } /** Get Workflow Process. @return Actual Workflow Process Instance */ @@ -161,7 +161,7 @@ return ii.intValue(); public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID) { if (AD_WF_Responsible_ID < 1) throw new IllegalArgumentException ("AD_WF_Responsible_ID is mandatory."); -set_Value ("AD_WF_Responsible_ID", new Integer(AD_WF_Responsible_ID)); +set_Value ("AD_WF_Responsible_ID", Integer.valueOf(AD_WF_Responsible_ID)); } /** Get Workflow Responsible. @return Responsible for Workflow Execution */ @@ -176,7 +176,7 @@ return ii.intValue(); public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID < 1) throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); -set_Value ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -196,7 +196,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_Workflow_ID())); @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (int Priority) { -set_Value ("Priority", new Integer(Priority)); +set_Value ("Priority", Integer.valueOf(Priority)); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ @@ -210,7 +210,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -228,7 +228,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -247,7 +247,7 @@ return false; public void setRecord_ID (int Record_ID) { if (Record_ID < 0) throw new IllegalArgumentException ("Record_ID is mandatory."); -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_ProcessData.java b/dbPort/src/org/compiere/model/X_AD_WF_ProcessData.java index ddb27487fc..e56164c469 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_ProcessData.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_ProcessData.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_ProcessData * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_ProcessData extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_WF_ProcessData (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=648 */ -public static final int Table_ID=648; +public static final int Table_ID=MTable.getTable_ID("AD_WF_ProcessData"); /** TableName=AD_WF_ProcessData */ public static final String Table_Name="AD_WF_ProcessData"; -protected static KeyNamePair Model = new KeyNamePair(648,"AD_WF_ProcessData"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_ProcessData"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_WF_ProcessData_ID (int AD_WF_ProcessData_ID) { if (AD_WF_ProcessData_ID < 1) throw new IllegalArgumentException ("AD_WF_ProcessData_ID is mandatory."); -set_ValueNoCheck ("AD_WF_ProcessData_ID", new Integer(AD_WF_ProcessData_ID)); +set_ValueNoCheck ("AD_WF_ProcessData_ID", Integer.valueOf(AD_WF_ProcessData_ID)); } /** Get Workflow Process Data. @return Workflow Process Context */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_WF_Process_ID (int AD_WF_Process_ID) { if (AD_WF_Process_ID < 1) throw new IllegalArgumentException ("AD_WF_Process_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Process_ID", new Integer(AD_WF_Process_ID)); +set_ValueNoCheck ("AD_WF_Process_ID", Integer.valueOf(AD_WF_Process_ID)); } /** Get Workflow Process. @return Actual Workflow Process Instance */ diff --git a/dbPort/src/org/compiere/model/X_AD_WF_Responsible.java b/dbPort/src/org/compiere/model/X_AD_WF_Responsible.java index d2f2094d43..ebee7e4aff 100644 --- a/dbPort/src/org/compiere/model/X_AD_WF_Responsible.java +++ b/dbPort/src/org/compiere/model/X_AD_WF_Responsible.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WF_Responsible * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WF_Responsible extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_WF_Responsible (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=646 */ -public static final int Table_ID=646; +public static final int Table_ID=MTable.getTable_ID("AD_WF_Responsible"); /** TableName=AD_WF_Responsible */ public static final String Table_Name="AD_WF_Responsible"; -protected static KeyNamePair Model = new KeyNamePair(646,"AD_WF_Responsible"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WF_Responsible"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID < 0) throw new IllegalArgumentException ("AD_Role_ID is mandatory."); -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -113,7 +113,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID) { if (AD_WF_Responsible_ID < 1) throw new IllegalArgumentException ("AD_WF_Responsible_ID is mandatory."); -set_ValueNoCheck ("AD_WF_Responsible_ID", new Integer(AD_WF_Responsible_ID)); +set_ValueNoCheck ("AD_WF_Responsible_ID", Integer.valueOf(AD_WF_Responsible_ID)); } /** Get Workflow Responsible. @return Responsible for Workflow Execution */ diff --git a/dbPort/src/org/compiere/model/X_AD_Window.java b/dbPort/src/org/compiere/model/X_AD_Window.java index 70d7c74af7..4ef980d312 100644 --- a/dbPort/src/org/compiere/model/X_AD_Window.java +++ b/dbPort/src/org/compiere/model/X_AD_Window.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Window * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Window extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_AD_Window (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=105 */ -public static final int Table_ID=105; +public static final int Table_ID=MTable.getTable_ID("AD_Window"); /** TableName=AD_Window */ public static final String Table_Name="AD_Window"; -protected static KeyNamePair Model = new KeyNamePair(105,"AD_Window"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Window"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -97,7 +97,7 @@ public void setAD_Color_ID (int AD_Color_ID) { if (AD_Color_ID <= 0) set_Value ("AD_Color_ID", null); else -set_Value ("AD_Color_ID", new Integer(AD_Color_ID)); +set_Value ("AD_Color_ID", Integer.valueOf(AD_Color_ID)); } /** Get System Color. @return Color for backgrounds or indicators */ @@ -113,7 +113,7 @@ public void setAD_Image_ID (int AD_Image_ID) { if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @return Image or Icon */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setAD_Window_ID (int AD_Window_ID) { 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. @return Data entry or display window */ @@ -198,7 +198,7 @@ return (String)get_Value("Help"); @param IsBetaFunctionality This functionality is considered Beta */ public void setIsBetaFunctionality (boolean IsBetaFunctionality) { -set_Value ("IsBetaFunctionality", new Boolean(IsBetaFunctionality)); +set_Value ("IsBetaFunctionality", Boolean.valueOf(IsBetaFunctionality)); } /** Get Beta Functionality. @return This functionality is considered Beta */ @@ -216,7 +216,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -234,7 +234,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -276,7 +276,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -294,7 +294,7 @@ return false; @param WinHeight Window Height */ public void setWinHeight (int WinHeight) { -set_Value ("WinHeight", new Integer(WinHeight)); +set_Value ("WinHeight", Integer.valueOf(WinHeight)); } /** Get Window Height. @return Window Height */ @@ -308,7 +308,7 @@ return ii.intValue(); @param WinWidth Window Width */ public void setWinWidth (int WinWidth) { -set_Value ("WinWidth", new Integer(WinWidth)); +set_Value ("WinWidth", Integer.valueOf(WinWidth)); } /** Get Window Width. @return Window Width */ diff --git a/dbPort/src/org/compiere/model/X_AD_Window_Access.java b/dbPort/src/org/compiere/model/X_AD_Window_Access.java index fddb25505a..852bc023d9 100644 --- a/dbPort/src/org/compiere/model/X_AD_Window_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Window_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Window_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Window_Access extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Window_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=201 */ -public static final int Table_ID=201; +public static final int Table_ID=MTable.getTable_ID("AD_Window_Access"); /** TableName=AD_Window_Access */ public static final String Table_Name="AD_Window_Access"; -protected static KeyNamePair Model = new KeyNamePair(201,"AD_Window_Access"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Window_Access"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Window_ID (int AD_Window_ID) { 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. @return Data entry or display window */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsReadWrite Field is read / write */ public void setIsReadWrite (boolean IsReadWrite) { -set_Value ("IsReadWrite", new Boolean(IsReadWrite)); +set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite)); } /** Get Read Write. @return Field is read / write */ diff --git a/dbPort/src/org/compiere/model/X_AD_Workbench.java b/dbPort/src/org/compiere/model/X_AD_Workbench.java index 876e914716..ae7f952cc5 100644 --- a/dbPort/src/org/compiere/model/X_AD_Workbench.java +++ b/dbPort/src/org/compiere/model/X_AD_Workbench.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Workbench * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Workbench extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_AD_Workbench (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=468 */ -public static final int Table_ID=468; +public static final int Table_ID=MTable.getTable_ID("AD_Workbench"); /** TableName=AD_Workbench */ public static final String Table_Name="AD_Workbench"; -protected static KeyNamePair Model = new KeyNamePair(468,"AD_Workbench"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Workbench"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -108,7 +108,7 @@ public static final int AD_COLUMN_ID_AD_Reference_ID=244; public void setAD_Column_ID (int AD_Column_ID) { 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. @return Column in the table */ @@ -124,7 +124,7 @@ public void setAD_Image_ID (int AD_Image_ID) { if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @return Image or Icon */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setAD_Workbench_ID (int AD_Workbench_ID) { if (AD_Workbench_ID < 1) throw new IllegalArgumentException ("AD_Workbench_ID is mandatory."); -set_ValueNoCheck ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); +set_ValueNoCheck ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID)); } /** Get Workbench. @return Collection of windows, reports */ diff --git a/dbPort/src/org/compiere/model/X_AD_WorkbenchWindow.java b/dbPort/src/org/compiere/model/X_AD_WorkbenchWindow.java index 96d76644ff..a603bd6821 100644 --- a/dbPort/src/org/compiere/model/X_AD_WorkbenchWindow.java +++ b/dbPort/src/org/compiere/model/X_AD_WorkbenchWindow.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WorkbenchWindow * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WorkbenchWindow extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_AD_WorkbenchWindow (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=469 */ -public static final int Table_ID=469; +public static final int Table_ID=MTable.getTable_ID("AD_WorkbenchWindow"); /** TableName=AD_WorkbenchWindow */ public static final String Table_Name="AD_WorkbenchWindow"; -protected static KeyNamePair Model = new KeyNamePair(469,"AD_WorkbenchWindow"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WorkbenchWindow"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_Form_ID (int AD_Form_ID) { if (AD_Form_ID <= 0) set_Value ("AD_Form_ID", null); else -set_Value ("AD_Form_ID", new Integer(AD_Form_ID)); +set_Value ("AD_Form_ID", Integer.valueOf(AD_Form_ID)); } /** Get Special Form. @return Special Form */ @@ -111,7 +111,7 @@ public void setAD_Process_ID (int AD_Process_ID) { if (AD_Process_ID <= 0) set_Value ("AD_Process_ID", null); else -set_Value ("AD_Process_ID", new Integer(AD_Process_ID)); +set_Value ("AD_Process_ID", Integer.valueOf(AD_Process_ID)); } /** Get Process. @return Process or Report */ @@ -127,7 +127,7 @@ public void setAD_Task_ID (int AD_Task_ID) { if (AD_Task_ID <= 0) set_Value ("AD_Task_ID", null); else -set_Value ("AD_Task_ID", new Integer(AD_Task_ID)); +set_Value ("AD_Task_ID", Integer.valueOf(AD_Task_ID)); } /** Get OS Task. @return Operation System Task */ @@ -143,7 +143,7 @@ public void setAD_Window_ID (int AD_Window_ID) { if (AD_Window_ID <= 0) set_Value ("AD_Window_ID", null); else -set_Value ("AD_Window_ID", new Integer(AD_Window_ID)); +set_Value ("AD_Window_ID", Integer.valueOf(AD_Window_ID)); } /** Get Window. @return Data entry or display window */ @@ -158,7 +158,7 @@ return ii.intValue(); public void setAD_WorkbenchWindow_ID (int AD_WorkbenchWindow_ID) { if (AD_WorkbenchWindow_ID < 1) throw new IllegalArgumentException ("AD_WorkbenchWindow_ID is mandatory."); -set_ValueNoCheck ("AD_WorkbenchWindow_ID", new Integer(AD_WorkbenchWindow_ID)); +set_ValueNoCheck ("AD_WorkbenchWindow_ID", Integer.valueOf(AD_WorkbenchWindow_ID)); } /** Get Workbench Window. @return Workbench Window */ @@ -179,7 +179,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_WorkbenchWindow_ID())); public void setAD_Workbench_ID (int AD_Workbench_ID) { if (AD_Workbench_ID < 1) throw new IllegalArgumentException ("AD_Workbench_ID is mandatory."); -set_ValueNoCheck ("AD_Workbench_ID", new Integer(AD_Workbench_ID)); +set_ValueNoCheck ("AD_Workbench_ID", Integer.valueOf(AD_Workbench_ID)); } /** Get Workbench. @return Collection of windows, reports */ @@ -215,7 +215,7 @@ return (String)get_Value("EntityType"); @param IsPrimary Indicates if this is the primary budget */ public void setIsPrimary (boolean IsPrimary) { -set_Value ("IsPrimary", new Boolean(IsPrimary)); +set_Value ("IsPrimary", Boolean.valueOf(IsPrimary)); } /** Get Primary. @return Indicates if this is the primary budget */ @@ -234,7 +234,7 @@ return false; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_AD_Workflow.java b/dbPort/src/org/compiere/model/X_AD_Workflow.java index f7c72dc61e..b7fc20965c 100644 --- a/dbPort/src/org/compiere/model/X_AD_Workflow.java +++ b/dbPort/src/org/compiere/model/X_AD_Workflow.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Workflow * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Workflow extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_AD_Workflow (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=117 */ -public static final int Table_ID=117; +public static final int Table_ID=MTable.getTable_ID("AD_Workflow"); /** TableName=AD_Workflow */ public static final String Table_Name="AD_Workflow"; -protected static KeyNamePair Model = new KeyNamePair(117,"AD_Workflow"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Workflow"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -105,7 +105,7 @@ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -121,7 +121,7 @@ public void setAD_WF_Node_ID (int AD_WF_Node_ID) { if (AD_WF_Node_ID <= 0) set_Value ("AD_WF_Node_ID", null); else -set_Value ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID)); +set_Value ("AD_WF_Node_ID", Integer.valueOf(AD_WF_Node_ID)); } /** Get Node. @return Workflow Node (activity), step or process */ @@ -137,7 +137,7 @@ public void setAD_WF_Responsible_ID (int AD_WF_Responsible_ID) { if (AD_WF_Responsible_ID <= 0) set_Value ("AD_WF_Responsible_ID", null); else -set_Value ("AD_WF_Responsible_ID", new Integer(AD_WF_Responsible_ID)); +set_Value ("AD_WF_Responsible_ID", Integer.valueOf(AD_WF_Responsible_ID)); } /** Get Workflow Responsible. @return Responsible for Workflow Execution */ @@ -153,7 +153,7 @@ public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID) { if (AD_WorkflowProcessor_ID <= 0) set_Value ("AD_WorkflowProcessor_ID", null); else -set_Value ("AD_WorkflowProcessor_ID", new Integer(AD_WorkflowProcessor_ID)); +set_Value ("AD_WorkflowProcessor_ID", Integer.valueOf(AD_WorkflowProcessor_ID)); } /** Get Workflow Processor. @return Workflow Processor Server */ @@ -168,7 +168,7 @@ return ii.intValue(); public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID < 1) throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); -set_ValueNoCheck ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_ValueNoCheck ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -235,7 +235,7 @@ return (String)get_Value("Author"); @param Cost Cost information */ public void setCost (int Cost) { -set_Value ("Cost", new Integer(Cost)); +set_Value ("Cost", Integer.valueOf(Cost)); } /** Get Cost. @return Cost information */ @@ -283,7 +283,7 @@ return (String)get_Value("DocValueLogic"); @param Duration Normal Duration in Duration Unit */ public void setDuration (int Duration) { -set_Value ("Duration", new Integer(Duration)); +set_Value ("Duration", Integer.valueOf(Duration)); } /** Get Duration. @return Normal Duration in Duration Unit */ @@ -370,7 +370,7 @@ return (String)get_Value("Help"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -388,7 +388,7 @@ return false; @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -406,7 +406,7 @@ return false; @param Limit Maximum Duration in Duration Unit */ public void setLimit (int Limit) { -set_Value ("Limit", new Integer(Limit)); +set_Value ("Limit", Integer.valueOf(Limit)); } /** Get Duration Limit. @return Maximum Duration in Duration Unit */ @@ -444,7 +444,7 @@ return new KeyNamePair(get_ID(), getName()); @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (int Priority) { -set_Value ("Priority", new Integer(Priority)); +set_Value ("Priority", Integer.valueOf(Priority)); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ @@ -548,7 +548,7 @@ return (String)get_Value("Value"); @param Version Version of the table definition */ public void setVersion (int Version) { -set_Value ("Version", new Integer(Version)); +set_Value ("Version", Integer.valueOf(Version)); } /** Get Version. @return Version of the table definition */ @@ -562,7 +562,7 @@ return ii.intValue(); @param WaitingTime Workflow Simulation Waiting time */ public void setWaitingTime (int WaitingTime) { -set_Value ("WaitingTime", new Integer(WaitingTime)); +set_Value ("WaitingTime", Integer.valueOf(WaitingTime)); } /** Get Waiting Time. @return Workflow Simulation Waiting time */ @@ -605,7 +605,7 @@ return (String)get_Value("WorkflowType"); @param WorkingTime Workflow Simulation Execution Time */ public void setWorkingTime (int WorkingTime) { -set_Value ("WorkingTime", new Integer(WorkingTime)); +set_Value ("WorkingTime", Integer.valueOf(WorkingTime)); } /** Get Working Time. @return Workflow Simulation Execution Time */ diff --git a/dbPort/src/org/compiere/model/X_AD_WorkflowProcessor.java b/dbPort/src/org/compiere/model/X_AD_WorkflowProcessor.java index 59434af84e..bb2da8e9f4 100644 --- a/dbPort/src/org/compiere/model/X_AD_WorkflowProcessor.java +++ b/dbPort/src/org/compiere/model/X_AD_WorkflowProcessor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WorkflowProcessor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WorkflowProcessor extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_AD_WorkflowProcessor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=697 */ -public static final int Table_ID=697; +public static final int Table_ID=MTable.getTable_ID("AD_WorkflowProcessor"); /** TableName=AD_WorkflowProcessor */ public static final String Table_Name="AD_WorkflowProcessor"; -protected static KeyNamePair Model = new KeyNamePair(697,"AD_WorkflowProcessor"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WorkflowProcessor"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID) { if (AD_WorkflowProcessor_ID < 1) throw new IllegalArgumentException ("AD_WorkflowProcessor_ID is mandatory."); -set_ValueNoCheck ("AD_WorkflowProcessor_ID", new Integer(AD_WorkflowProcessor_ID)); +set_ValueNoCheck ("AD_WorkflowProcessor_ID", Integer.valueOf(AD_WorkflowProcessor_ID)); } /** Get Workflow Processor. @return Workflow Processor Server */ @@ -109,7 +109,7 @@ return ii.intValue(); @param AlertOverPriority Send alert email when over priority */ public void setAlertOverPriority (int AlertOverPriority) { -set_Value ("AlertOverPriority", new Integer(AlertOverPriority)); +set_Value ("AlertOverPriority", Integer.valueOf(AlertOverPriority)); } /** Get Alert over Priority. @return Send alert email when over priority */ @@ -164,7 +164,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ @@ -207,7 +207,7 @@ return (String)get_Value("FrequencyType"); @param InactivityAlertDays Send Alert when there is no activity after days (0= no alert) */ public void setInactivityAlertDays (int InactivityAlertDays) { -set_Value ("InactivityAlertDays", new Integer(InactivityAlertDays)); +set_Value ("InactivityAlertDays", Integer.valueOf(InactivityAlertDays)); } /** Get Inactivity Alert Days. @return Send Alert when there is no activity after days (0= no alert) */ @@ -221,7 +221,7 @@ return ii.intValue(); @param KeepLogDays Number of days to keep the log entries */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @return Number of days to keep the log entries */ @@ -259,7 +259,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -277,7 +277,7 @@ return false; @param RemindDays Days between sending Reminder Emails for a due or inactive Document */ public void setRemindDays (int RemindDays) { -set_Value ("RemindDays", new Integer(RemindDays)); +set_Value ("RemindDays", Integer.valueOf(RemindDays)); } /** Get Reminder Days. @return Days between sending Reminder Emails for a due or inactive Document */ @@ -295,7 +295,7 @@ public static final int SUPERVISOR_ID_AD_Reference_ID=316; public void setSupervisor_ID (int Supervisor_ID) { 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. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_AD_WorkflowProcessorLog.java b/dbPort/src/org/compiere/model/X_AD_WorkflowProcessorLog.java index 2eee209f1a..227c990939 100644 --- a/dbPort/src/org/compiere/model/X_AD_WorkflowProcessorLog.java +++ b/dbPort/src/org/compiere/model/X_AD_WorkflowProcessorLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_WorkflowProcessorLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_WorkflowProcessorLog extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_WorkflowProcessorLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=696 */ -public static final int Table_ID=696; +public static final int Table_ID=MTable.getTable_ID("AD_WorkflowProcessorLog"); /** TableName=AD_WorkflowProcessorLog */ public static final String Table_Name="AD_WorkflowProcessorLog"; -protected static KeyNamePair Model = new KeyNamePair(696,"AD_WorkflowProcessorLog"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_WorkflowProcessorLog"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_WorkflowProcessorLog_ID (int AD_WorkflowProcessorLog_ID) { if (AD_WorkflowProcessorLog_ID < 1) throw new IllegalArgumentException ("AD_WorkflowProcessorLog_ID is mandatory."); -set_ValueNoCheck ("AD_WorkflowProcessorLog_ID", new Integer(AD_WorkflowProcessorLog_ID)); +set_ValueNoCheck ("AD_WorkflowProcessorLog_ID", Integer.valueOf(AD_WorkflowProcessorLog_ID)); } /** Get Workflow Processorl Log. @return Result of the execution of the Workflow Processor */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_WorkflowProcessor_ID (int AD_WorkflowProcessor_ID) { if (AD_WorkflowProcessor_ID < 1) throw new IllegalArgumentException ("AD_WorkflowProcessor_ID is mandatory."); -set_ValueNoCheck ("AD_WorkflowProcessor_ID", new Integer(AD_WorkflowProcessor_ID)); +set_ValueNoCheck ("AD_WorkflowProcessor_ID", Integer.valueOf(AD_WorkflowProcessor_ID)); } /** Get Workflow Processor. @return Workflow Processor Server */ @@ -150,7 +150,7 @@ return (String)get_Value("Description"); @param IsError An Error occured in the execution */ public void setIsError (boolean IsError) { -set_Value ("IsError", new Boolean(IsError)); +set_Value ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @return An Error occured in the execution */ diff --git a/dbPort/src/org/compiere/model/X_AD_Workflow_Access.java b/dbPort/src/org/compiere/model/X_AD_Workflow_Access.java index d69772840a..c222af38c7 100644 --- a/dbPort/src/org/compiere/model/X_AD_Workflow_Access.java +++ b/dbPort/src/org/compiere/model/X_AD_Workflow_Access.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for AD_Workflow_Access * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_AD_Workflow_Access extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_AD_Workflow_Access (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=202 */ -public static final int Table_ID=202; +public static final int Table_ID=MTable.getTable_ID("AD_Workflow_Access"); /** TableName=AD_Workflow_Access */ public static final String Table_Name="AD_Workflow_Access"; -protected static KeyNamePair Model = new KeyNamePair(202,"AD_Workflow_Access"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Workflow_Access"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setAD_Workflow_ID (int AD_Workflow_ID) { if (AD_Workflow_ID < 1) throw new IllegalArgumentException ("AD_Workflow_ID is mandatory."); -set_ValueNoCheck ("AD_Workflow_ID", new Integer(AD_Workflow_ID)); +set_ValueNoCheck ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID)); } /** Get Workflow. @return Workflow or combination of tasks */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsReadWrite Field is read / write */ public void setIsReadWrite (boolean IsReadWrite) { -set_Value ("IsReadWrite", new Boolean(IsReadWrite)); +set_Value ("IsReadWrite", Boolean.valueOf(IsReadWrite)); } /** Get Read Write. @return Field is read / write */ diff --git a/dbPort/src/org/compiere/model/X_A_Asset.java b/dbPort/src/org/compiere/model/X_A_Asset.java index d3170e9c3f..c0a21094c2 100644 --- a/dbPort/src/org/compiere/model/X_A_Asset.java +++ b/dbPort/src/org/compiere/model/X_A_Asset.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_Asset * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_Asset extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_A_Asset (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=539 */ -public static final int Table_ID=539; +public static final int Table_ID=MTable.getTable_ID("A_Asset"); /** TableName=A_Asset */ public static final String Table_Name="A_Asset"; -protected static KeyNamePair Model = new KeyNamePair(539,"A_Asset"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_Asset"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -100,7 +100,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -115,7 +115,7 @@ return ii.intValue(); public void setA_Asset_Group_ID (int A_Asset_Group_ID) { if (A_Asset_Group_ID < 1) throw new IllegalArgumentException ("A_Asset_Group_ID is mandatory."); -set_Value ("A_Asset_Group_ID", new Integer(A_Asset_Group_ID)); +set_Value ("A_Asset_Group_ID", Integer.valueOf(A_Asset_Group_ID)); } /** Get Asset Group. @return Group of Assets */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID < 1) throw new IllegalArgumentException ("A_Asset_ID is mandatory."); -set_ValueNoCheck ("A_Asset_ID", new Integer(A_Asset_ID)); +set_ValueNoCheck ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -185,7 +185,7 @@ public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) { if (C_BPartnerSR_ID <= 0) set_Value ("C_BPartnerSR_ID", null); else -set_Value ("C_BPartnerSR_ID", new Integer(C_BPartnerSR_ID)); +set_Value ("C_BPartnerSR_ID", Integer.valueOf(C_BPartnerSR_ID)); } /** Get BPartner (Agent). @return Business Partner (Agent or Sales Rep) */ @@ -201,7 +201,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -217,7 +217,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -233,7 +233,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -249,7 +249,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -309,7 +309,7 @@ return (String)get_Value("Help"); @param IsDepreciated The asset will be depreciated */ public void setIsDepreciated (boolean IsDepreciated) { -set_Value ("IsDepreciated", new Boolean(IsDepreciated)); +set_Value ("IsDepreciated", Boolean.valueOf(IsDepreciated)); } /** Get Depreciate. @return The asset will be depreciated */ @@ -327,7 +327,7 @@ return false; @param IsDisposed The asset is disposed */ public void setIsDisposed (boolean IsDisposed) { -set_Value ("IsDisposed", new Boolean(IsDisposed)); +set_Value ("IsDisposed", Boolean.valueOf(IsDisposed)); } /** Get Disposed. @return The asset is disposed */ @@ -345,7 +345,7 @@ return false; @param IsFullyDepreciated The asset is fully depreciated */ public void setIsFullyDepreciated (boolean IsFullyDepreciated) { -set_ValueNoCheck ("IsFullyDepreciated", new Boolean(IsFullyDepreciated)); +set_ValueNoCheck ("IsFullyDepreciated", Boolean.valueOf(IsFullyDepreciated)); } /** Get Fully depreciated. @return The asset is fully depreciated */ @@ -363,7 +363,7 @@ return false; @param IsInPosession The asset is in the possession of the organization */ public void setIsInPosession (boolean IsInPosession) { -set_Value ("IsInPosession", new Boolean(IsInPosession)); +set_Value ("IsInPosession", Boolean.valueOf(IsInPosession)); } /** Get In Possession. @return The asset is in the possession of the organization */ @@ -381,7 +381,7 @@ return false; @param IsOwned The asset is owned by the organization */ public void setIsOwned (boolean IsOwned) { -set_Value ("IsOwned", new Boolean(IsOwned)); +set_Value ("IsOwned", Boolean.valueOf(IsOwned)); } /** Get Owned. @return The asset is owned by the organization */ @@ -428,7 +428,7 @@ return (String)get_Value("LastMaintenanceNote"); @param LastMaintenanceUnit Last Maintenance Unit */ public void setLastMaintenanceUnit (int LastMaintenanceUnit) { -set_Value ("LastMaintenanceUnit", new Integer(LastMaintenanceUnit)); +set_Value ("LastMaintenanceUnit", Integer.valueOf(LastMaintenanceUnit)); } /** Get Last Unit. @return Last Maintenance Unit */ @@ -459,7 +459,7 @@ public void setLease_BPartner_ID (int Lease_BPartner_ID) { if (Lease_BPartner_ID <= 0) set_Value ("Lease_BPartner_ID", null); else -set_Value ("Lease_BPartner_ID", new Integer(Lease_BPartner_ID)); +set_Value ("Lease_BPartner_ID", Integer.valueOf(Lease_BPartner_ID)); } /** Get Lessor. @return The Business Partner who rents or leases */ @@ -473,7 +473,7 @@ return ii.intValue(); @param LifeUseUnits Units of use until the asset is not usable anymore */ public void setLifeUseUnits (int LifeUseUnits) { -set_Value ("LifeUseUnits", new Integer(LifeUseUnits)); +set_Value ("LifeUseUnits", Integer.valueOf(LifeUseUnits)); } /** Get Life use. @return Units of use until the asset is not usable anymore */ @@ -522,7 +522,7 @@ return (String)get_Value("Lot"); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -538,7 +538,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_Value ("M_InOutLine_ID", null); else -set_Value ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_Value ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -554,7 +554,7 @@ public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID <= 0) set_Value ("M_Locator_ID", null); else -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -570,7 +570,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_ValueNoCheck ("M_Product_ID", null); else -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -620,7 +620,7 @@ return (Timestamp)get_Value("NextMaintenenceDate"); @param NextMaintenenceUnit Next Maintenence Unit */ public void setNextMaintenenceUnit (int NextMaintenenceUnit) { -set_Value ("NextMaintenenceUnit", new Integer(NextMaintenenceUnit)); +set_Value ("NextMaintenenceUnit", Integer.valueOf(NextMaintenenceUnit)); } /** Get Next Unit. @return Next Maintenence Unit */ @@ -665,7 +665,7 @@ return (String)get_Value("SerNo"); @param UseLifeMonths Months of the usable life of the asset */ public void setUseLifeMonths (int UseLifeMonths) { -set_Value ("UseLifeMonths", new Integer(UseLifeMonths)); +set_Value ("UseLifeMonths", Integer.valueOf(UseLifeMonths)); } /** Get Usable Life - Months. @return Months of the usable life of the asset */ @@ -679,7 +679,7 @@ return ii.intValue(); @param UseLifeYears Years of the usable life of the asset */ public void setUseLifeYears (int UseLifeYears) { -set_Value ("UseLifeYears", new Integer(UseLifeYears)); +set_Value ("UseLifeYears", Integer.valueOf(UseLifeYears)); } /** Get Usable Life - Years. @return Years of the usable life of the asset */ @@ -693,7 +693,7 @@ return ii.intValue(); @param UseUnits Currently used units of the assets */ public void setUseUnits (int UseUnits) { -set_ValueNoCheck ("UseUnits", new Integer(UseUnits)); +set_ValueNoCheck ("UseUnits", Integer.valueOf(UseUnits)); } /** Get Use units. @return Currently used units of the assets */ diff --git a/dbPort/src/org/compiere/model/X_A_Asset_Delivery.java b/dbPort/src/org/compiere/model/X_A_Asset_Delivery.java index 33400cdfaa..a4ef5cc2cc 100644 --- a/dbPort/src/org/compiere/model/X_A_Asset_Delivery.java +++ b/dbPort/src/org/compiere/model/X_A_Asset_Delivery.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_Asset_Delivery * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_Asset_Delivery extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_A_Asset_Delivery (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=541 */ -public static final int Table_ID=541; +public static final int Table_ID=MTable.getTable_ID("A_Asset_Delivery"); /** TableName=A_Asset_Delivery */ public static final String Table_Name="A_Asset_Delivery"; -protected static KeyNamePair Model = new KeyNamePair(541,"A_Asset_Delivery"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_Asset_Delivery"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_ValueNoCheck ("AD_User_ID", null); else -set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); +set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setA_Asset_Delivery_ID (int A_Asset_Delivery_ID) { if (A_Asset_Delivery_ID < 1) throw new IllegalArgumentException ("A_Asset_Delivery_ID is mandatory."); -set_ValueNoCheck ("A_Asset_Delivery_ID", new Integer(A_Asset_Delivery_ID)); +set_ValueNoCheck ("A_Asset_Delivery_ID", Integer.valueOf(A_Asset_Delivery_ID)); } /** Get Asset Delivery. @return Delivery of Asset */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID < 1) throw new IllegalArgumentException ("A_Asset_ID is mandatory."); -set_ValueNoCheck ("A_Asset_ID", new Integer(A_Asset_ID)); +set_ValueNoCheck ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -207,7 +207,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_ValueNoCheck ("M_InOutLine_ID", null); else -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -223,7 +223,7 @@ public void setM_ProductDownload_ID (int M_ProductDownload_ID) { if (M_ProductDownload_ID <= 0) set_Value ("M_ProductDownload_ID", null); else -set_Value ("M_ProductDownload_ID", new Integer(M_ProductDownload_ID)); +set_Value ("M_ProductDownload_ID", Integer.valueOf(M_ProductDownload_ID)); } /** Get Product Download. @return Product downloads */ @@ -338,7 +338,7 @@ public String getSerNo() return (String)get_Value("SerNo"); } /** Set URL. -@param URL Full URL address - e.g. http://www.compiere.org */ +@param URL Full URL address - e.g. http://www.adempiere.org */ public void setURL (String URL) { if (URL != null && URL.length() > 120) @@ -349,7 +349,7 @@ URL = URL.substring(0,119); set_ValueNoCheck ("URL", URL); } /** Get URL. -@return Full URL address - e.g. http://www.compiere.org */ +@return Full URL address - e.g. http://www.adempiere.org */ public String getURL() { return (String)get_Value("URL"); diff --git a/dbPort/src/org/compiere/model/X_A_Asset_Group.java b/dbPort/src/org/compiere/model/X_A_Asset_Group.java index e28975489d..947563aece 100644 --- a/dbPort/src/org/compiere/model/X_A_Asset_Group.java +++ b/dbPort/src/org/compiere/model/X_A_Asset_Group.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_Asset_Group * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_Asset_Group extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_A_Asset_Group (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=542 */ -public static final int Table_ID=542; +public static final int Table_ID=MTable.getTable_ID("A_Asset_Group"); /** TableName=A_Asset_Group */ public static final String Table_Name="A_Asset_Group"; -protected static KeyNamePair Model = new KeyNamePair(542,"A_Asset_Group"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_Asset_Group"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setA_Asset_Group_ID (int A_Asset_Group_ID) { if (A_Asset_Group_ID < 1) throw new IllegalArgumentException ("A_Asset_Group_ID is mandatory."); -set_ValueNoCheck ("A_Asset_Group_ID", new Integer(A_Asset_Group_ID)); +set_ValueNoCheck ("A_Asset_Group_ID", Integer.valueOf(A_Asset_Group_ID)); } /** Get Asset Group. @return Group of Assets */ @@ -144,7 +144,7 @@ return (String)get_Value("Help"); @param IsCreateAsActive Create Asset and activate it */ public void setIsCreateAsActive (boolean IsCreateAsActive) { -set_Value ("IsCreateAsActive", new Boolean(IsCreateAsActive)); +set_Value ("IsCreateAsActive", Boolean.valueOf(IsCreateAsActive)); } /** Get Create As Active. @return Create Asset and activate it */ @@ -162,7 +162,7 @@ return false; @param IsDepreciated The asset will be depreciated */ public void setIsDepreciated (boolean IsDepreciated) { -set_Value ("IsDepreciated", new Boolean(IsDepreciated)); +set_Value ("IsDepreciated", Boolean.valueOf(IsDepreciated)); } /** Get Depreciate. @return The asset will be depreciated */ @@ -180,7 +180,7 @@ return false; @param IsOneAssetPerUOM Create one asset per UOM */ public void setIsOneAssetPerUOM (boolean IsOneAssetPerUOM) { -set_Value ("IsOneAssetPerUOM", new Boolean(IsOneAssetPerUOM)); +set_Value ("IsOneAssetPerUOM", Boolean.valueOf(IsOneAssetPerUOM)); } /** Get One Asset Per UOM. @return Create one asset per UOM */ @@ -198,7 +198,7 @@ return false; @param IsOwned The asset is owned by the organization */ public void setIsOwned (boolean IsOwned) { -set_Value ("IsOwned", new Boolean(IsOwned)); +set_Value ("IsOwned", Boolean.valueOf(IsOwned)); } /** Get Owned. @return The asset is owned by the organization */ @@ -216,7 +216,7 @@ return false; @param IsTrackIssues Enable tracking issues for this asset */ public void setIsTrackIssues (boolean IsTrackIssues) { -set_Value ("IsTrackIssues", new Boolean(IsTrackIssues)); +set_Value ("IsTrackIssues", Boolean.valueOf(IsTrackIssues)); } /** Get Track Issues. @return Enable tracking issues for this asset */ diff --git a/dbPort/src/org/compiere/model/X_A_Asset_Retirement.java b/dbPort/src/org/compiere/model/X_A_Asset_Retirement.java index f77085e7cd..0c06098965 100644 --- a/dbPort/src/org/compiere/model/X_A_Asset_Retirement.java +++ b/dbPort/src/org/compiere/model/X_A_Asset_Retirement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_Asset_Retirement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_Asset_Retirement extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_A_Asset_Retirement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=540 */ -public static final int Table_ID=540; +public static final int Table_ID=MTable.getTable_ID("A_Asset_Retirement"); /** TableName=A_Asset_Retirement */ public static final String Table_Name="A_Asset_Retirement"; -protected static KeyNamePair Model = new KeyNamePair(540,"A_Asset_Retirement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_Asset_Retirement"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID < 1) throw new IllegalArgumentException ("A_Asset_ID is mandatory."); -set_ValueNoCheck ("A_Asset_ID", new Integer(A_Asset_ID)); +set_ValueNoCheck ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setA_Asset_Retirement_ID (int A_Asset_Retirement_ID) { if (A_Asset_Retirement_ID < 1) throw new IllegalArgumentException ("A_Asset_Retirement_ID is mandatory."); -set_ValueNoCheck ("A_Asset_Retirement_ID", new Integer(A_Asset_Retirement_ID)); +set_ValueNoCheck ("A_Asset_Retirement_ID", Integer.valueOf(A_Asset_Retirement_ID)); } /** Get Asset Retirement. @return Internally used asset is not longer used. */ @@ -160,7 +160,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_Value ("C_InvoiceLine_ID", null); else -set_Value ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_Value ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ diff --git a/dbPort/src/org/compiere/model/X_A_Registration.java b/dbPort/src/org/compiere/model/X_A_Registration.java index 671eb6b7d6..63a8fe5823 100644 --- a/dbPort/src/org/compiere/model/X_A_Registration.java +++ b/dbPort/src/org/compiere/model/X_A_Registration.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_Registration * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_Registration extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_A_Registration (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=651 */ -public static final int Table_ID=651; +public static final int Table_ID=MTable.getTable_ID("A_Registration"); /** TableName=A_Registration */ public static final String Table_Name="A_Registration"; -protected static KeyNamePair Model = new KeyNamePair(651,"A_Registration"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_Registration"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -112,7 +112,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -127,7 +127,7 @@ return ii.intValue(); public void setA_Registration_ID (int A_Registration_ID) { if (A_Registration_ID < 1) throw new IllegalArgumentException ("A_Registration_ID is mandatory."); -set_ValueNoCheck ("A_Registration_ID", new Integer(A_Registration_ID)); +set_ValueNoCheck ("A_Registration_ID", Integer.valueOf(A_Registration_ID)); } /** Get Registration. @return User Asset Registration */ @@ -156,7 +156,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -204,7 +204,7 @@ return (String)get_Value("Help"); @param IsAllowPublish You allow to publish the information, not just statistical summary info */ public void setIsAllowPublish (boolean IsAllowPublish) { -set_Value ("IsAllowPublish", new Boolean(IsAllowPublish)); +set_Value ("IsAllowPublish", Boolean.valueOf(IsAllowPublish)); } /** Get Allowed to be Published. @return You allow to publish the information, not just statistical summary info */ @@ -222,7 +222,7 @@ return false; @param IsInProduction The system is in production */ public void setIsInProduction (boolean IsInProduction) { -set_Value ("IsInProduction", new Boolean(IsInProduction)); +set_Value ("IsInProduction", Boolean.valueOf(IsInProduction)); } /** Get In Production. @return The system is in production */ @@ -240,7 +240,7 @@ return false; @param IsRegistered The application is registered. */ public void setIsRegistered (boolean IsRegistered) { -set_Value ("IsRegistered", new Boolean(IsRegistered)); +set_Value ("IsRegistered", Boolean.valueOf(IsRegistered)); } /** Get Registered. @return The application is registered. */ @@ -260,7 +260,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -315,7 +315,7 @@ return (String)get_Value("Note"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_A_RegistrationAttribute.java b/dbPort/src/org/compiere/model/X_A_RegistrationAttribute.java index 0ce770ee9a..367b549c42 100644 --- a/dbPort/src/org/compiere/model/X_A_RegistrationAttribute.java +++ b/dbPort/src/org/compiere/model/X_A_RegistrationAttribute.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_RegistrationAttribute * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_RegistrationAttribute extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_A_RegistrationAttribute (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=652 */ -public static final int Table_ID=652; +public static final int Table_ID=MTable.getTable_ID("A_RegistrationAttribute"); /** TableName=A_RegistrationAttribute */ public static final String Table_Name="A_RegistrationAttribute"; -protected static KeyNamePair Model = new KeyNamePair(652,"A_RegistrationAttribute"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_RegistrationAttribute"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -97,7 +97,7 @@ public static final int AD_REFERENCE_ID_AD_Reference_ID=1; public void setAD_Reference_ID (int AD_Reference_ID) { 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. @return System Reference and Validation */ @@ -116,7 +116,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); 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. @return Required to specify, if data type is Table or List */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setA_RegistrationAttribute_ID (int A_RegistrationAttribute_ID) { if (A_RegistrationAttribute_ID < 1) throw new IllegalArgumentException ("A_RegistrationAttribute_ID is mandatory."); -set_ValueNoCheck ("A_RegistrationAttribute_ID", new Integer(A_RegistrationAttribute_ID)); +set_ValueNoCheck ("A_RegistrationAttribute_ID", Integer.valueOf(A_RegistrationAttribute_ID)); } /** Get Registration Attribute. @return Asset Registration Attribute */ @@ -179,7 +179,7 @@ return (String)get_Value("Description"); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -222,7 +222,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_A_RegistrationProduct.java b/dbPort/src/org/compiere/model/X_A_RegistrationProduct.java index e8afb2e4e2..864d4b3f0e 100644 --- a/dbPort/src/org/compiere/model/X_A_RegistrationProduct.java +++ b/dbPort/src/org/compiere/model/X_A_RegistrationProduct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_RegistrationProduct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_RegistrationProduct extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_A_RegistrationProduct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=715 */ -public static final int Table_ID=715; +public static final int Table_ID=MTable.getTable_ID("A_RegistrationProduct"); /** TableName=A_RegistrationProduct */ public static final String Table_Name="A_RegistrationProduct"; -protected static KeyNamePair Model = new KeyNamePair(715,"A_RegistrationProduct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_RegistrationProduct"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setA_RegistrationAttribute_ID (int A_RegistrationAttribute_ID) { if (A_RegistrationAttribute_ID < 1) throw new IllegalArgumentException ("A_RegistrationAttribute_ID is mandatory."); -set_ValueNoCheck ("A_RegistrationAttribute_ID", new Integer(A_RegistrationAttribute_ID)); +set_ValueNoCheck ("A_RegistrationAttribute_ID", Integer.valueOf(A_RegistrationAttribute_ID)); } /** Get Registration Attribute. @return Asset Registration Attribute */ @@ -123,7 +123,7 @@ return (String)get_Value("Description"); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_A_RegistrationValue.java b/dbPort/src/org/compiere/model/X_A_RegistrationValue.java index 0c829f4000..0bdf2df564 100644 --- a/dbPort/src/org/compiere/model/X_A_RegistrationValue.java +++ b/dbPort/src/org/compiere/model/X_A_RegistrationValue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for A_RegistrationValue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_A_RegistrationValue extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_A_RegistrationValue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=653 */ -public static final int Table_ID=653; +public static final int Table_ID=MTable.getTable_ID("A_RegistrationValue"); /** TableName=A_RegistrationValue */ public static final String Table_Name="A_RegistrationValue"; -protected static KeyNamePair Model = new KeyNamePair(653,"A_RegistrationValue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"A_RegistrationValue"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setA_RegistrationAttribute_ID (int A_RegistrationAttribute_ID) { if (A_RegistrationAttribute_ID < 1) throw new IllegalArgumentException ("A_RegistrationAttribute_ID is mandatory."); -set_ValueNoCheck ("A_RegistrationAttribute_ID", new Integer(A_RegistrationAttribute_ID)); +set_ValueNoCheck ("A_RegistrationAttribute_ID", Integer.valueOf(A_RegistrationAttribute_ID)); } /** Get Registration Attribute. @return Asset Registration Attribute */ @@ -113,7 +113,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getA_RegistrationAttribute_ID()) public void setA_Registration_ID (int A_Registration_ID) { if (A_Registration_ID < 1) throw new IllegalArgumentException ("A_Registration_ID is mandatory."); -set_ValueNoCheck ("A_Registration_ID", new Integer(A_Registration_ID)); +set_ValueNoCheck ("A_Registration_ID", Integer.valueOf(A_Registration_ID)); } /** Get Registration. @return User Asset Registration */ diff --git a/dbPort/src/org/compiere/model/X_B_Bid.java b/dbPort/src/org/compiere/model/X_B_Bid.java index ab602b0de1..dba845166b 100644 --- a/dbPort/src/org/compiere/model/X_B_Bid.java +++ b/dbPort/src/org/compiere/model/X_B_Bid.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_Bid * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_Bid extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_B_Bid (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=686 */ -public static final int Table_ID=686; +public static final int Table_ID=MTable.getTable_ID("B_Bid"); /** TableName=B_Bid */ public static final String Table_Name="B_Bid"; -protected static KeyNamePair Model = new KeyNamePair(686,"B_Bid"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_Bid"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setB_Bid_ID (int B_Bid_ID) { if (B_Bid_ID < 1) throw new IllegalArgumentException ("B_Bid_ID is mandatory."); -set_ValueNoCheck ("B_Bid_ID", new Integer(B_Bid_ID)); +set_ValueNoCheck ("B_Bid_ID", Integer.valueOf(B_Bid_ID)); } /** Get Bid. @return Bid for a Topic */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setB_BuyerFunds_ID (int B_BuyerFunds_ID) { if (B_BuyerFunds_ID < 1) throw new IllegalArgumentException ("B_BuyerFunds_ID is mandatory."); -set_Value ("B_BuyerFunds_ID", new Integer(B_BuyerFunds_ID)); +set_Value ("B_BuyerFunds_ID", Integer.valueOf(B_BuyerFunds_ID)); } /** Get Buyer Funds. @return Buyer Funds for Bids on Topics */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setB_Topic_ID (int B_Topic_ID) { if (B_Topic_ID < 1) throw new IllegalArgumentException ("B_Topic_ID is mandatory."); -set_Value ("B_Topic_ID", new Integer(B_Topic_ID)); +set_Value ("B_Topic_ID", Integer.valueOf(B_Topic_ID)); } /** Get Topic. @return Auction Topic */ @@ -154,7 +154,7 @@ return ii.intValue(); @param IsWillingToCommit Willing to commit */ public void setIsWillingToCommit (boolean IsWillingToCommit) { -set_Value ("IsWillingToCommit", new Boolean(IsWillingToCommit)); +set_Value ("IsWillingToCommit", Boolean.valueOf(IsWillingToCommit)); } /** Get Willing to commit. @return Willing to commit */ diff --git a/dbPort/src/org/compiere/model/X_B_BidComment.java b/dbPort/src/org/compiere/model/X_B_BidComment.java index fc12340e48..1e9b031a5c 100644 --- a/dbPort/src/org/compiere/model/X_B_BidComment.java +++ b/dbPort/src/org/compiere/model/X_B_BidComment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_BidComment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_BidComment extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_B_BidComment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=685 */ -public static final int Table_ID=685; +public static final int Table_ID=MTable.getTable_ID("B_BidComment"); /** TableName=B_BidComment */ public static final String Table_Name="B_BidComment"; -protected static KeyNamePair Model = new KeyNamePair(685,"B_BidComment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_BidComment"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setB_BidComment_ID (int B_BidComment_ID) { if (B_BidComment_ID < 1) throw new IllegalArgumentException ("B_BidComment_ID is mandatory."); -set_ValueNoCheck ("B_BidComment_ID", new Integer(B_BidComment_ID)); +set_ValueNoCheck ("B_BidComment_ID", Integer.valueOf(B_BidComment_ID)); } /** Get Bid Comment. @return Make a comment to a Bid Topic */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setB_Topic_ID (int B_Topic_ID) { if (B_Topic_ID < 1) throw new IllegalArgumentException ("B_Topic_ID is mandatory."); -set_Value ("B_Topic_ID", new Integer(B_Topic_ID)); +set_Value ("B_Topic_ID", Integer.valueOf(B_Topic_ID)); } /** Get Topic. @return Auction Topic */ diff --git a/dbPort/src/org/compiere/model/X_B_Buyer.java b/dbPort/src/org/compiere/model/X_B_Buyer.java index 45b43009f6..09d3ac72db 100644 --- a/dbPort/src/org/compiere/model/X_B_Buyer.java +++ b/dbPort/src/org/compiere/model/X_B_Buyer.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_Buyer * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_Buyer extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_B_Buyer (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=684 */ -public static final int Table_ID=684; +public static final int Table_ID=MTable.getTable_ID("B_Buyer"); /** TableName=B_Buyer */ public static final String Table_Name="B_Buyer"; -protected static KeyNamePair Model = new KeyNamePair(684,"B_Buyer"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_Buyer"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ diff --git a/dbPort/src/org/compiere/model/X_B_BuyerFunds.java b/dbPort/src/org/compiere/model/X_B_BuyerFunds.java index cdd433ba73..8859f08295 100644 --- a/dbPort/src/org/compiere/model/X_B_BuyerFunds.java +++ b/dbPort/src/org/compiere/model/X_B_BuyerFunds.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_BuyerFunds * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_BuyerFunds extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_B_BuyerFunds (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=683 */ -public static final int Table_ID=683; +public static final int Table_ID=MTable.getTable_ID("B_BuyerFunds"); /** TableName=B_BuyerFunds */ public static final String Table_Name="B_BuyerFunds"; -protected static KeyNamePair Model = new KeyNamePair(683,"B_BuyerFunds"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_BuyerFunds"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); public void setB_BuyerFunds_ID (int B_BuyerFunds_ID) { if (B_BuyerFunds_ID < 1) throw new IllegalArgumentException ("B_BuyerFunds_ID is mandatory."); -set_ValueNoCheck ("B_BuyerFunds_ID", new Integer(B_BuyerFunds_ID)); +set_ValueNoCheck ("B_BuyerFunds_ID", Integer.valueOf(B_BuyerFunds_ID)); } /** Get Buyer Funds. @return Buyer Funds for Bids on Topics */ @@ -130,7 +130,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -146,7 +146,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_ValueNoCheck ("C_Payment_ID", null); else -set_ValueNoCheck ("C_Payment_ID", new Integer(C_Payment_ID)); +set_ValueNoCheck ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ diff --git a/dbPort/src/org/compiere/model/X_B_Offer.java b/dbPort/src/org/compiere/model/X_B_Offer.java index e9e7ab3c9d..dd8b311fb6 100644 --- a/dbPort/src/org/compiere/model/X_B_Offer.java +++ b/dbPort/src/org/compiere/model/X_B_Offer.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_Offer * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_Offer extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_B_Offer (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=682 */ -public static final int Table_ID=682; +public static final int Table_ID=MTable.getTable_ID("B_Offer"); /** TableName=B_Offer */ public static final String Table_Name="B_Offer"; -protected static KeyNamePair Model = new KeyNamePair(682,"B_Offer"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_Offer"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setB_Offer_ID (int B_Offer_ID) { if (B_Offer_ID < 1) throw new IllegalArgumentException ("B_Offer_ID is mandatory."); -set_ValueNoCheck ("B_Offer_ID", new Integer(B_Offer_ID)); +set_ValueNoCheck ("B_Offer_ID", Integer.valueOf(B_Offer_ID)); } /** Get Offer. @return Offer for a Topic */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setB_SellerFunds_ID (int B_SellerFunds_ID) { if (B_SellerFunds_ID < 1) throw new IllegalArgumentException ("B_SellerFunds_ID is mandatory."); -set_Value ("B_SellerFunds_ID", new Integer(B_SellerFunds_ID)); +set_Value ("B_SellerFunds_ID", Integer.valueOf(B_SellerFunds_ID)); } /** Get Seller Funds. @return Seller Funds from Offers on Topics */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setB_Topic_ID (int B_Topic_ID) { if (B_Topic_ID < 1) throw new IllegalArgumentException ("B_Topic_ID is mandatory."); -set_Value ("B_Topic_ID", new Integer(B_Topic_ID)); +set_Value ("B_Topic_ID", Integer.valueOf(B_Topic_ID)); } /** Get Topic. @return Auction Topic */ @@ -154,7 +154,7 @@ return ii.intValue(); @param IsWillingToCommit Willing to commit */ public void setIsWillingToCommit (boolean IsWillingToCommit) { -set_Value ("IsWillingToCommit", new Boolean(IsWillingToCommit)); +set_Value ("IsWillingToCommit", Boolean.valueOf(IsWillingToCommit)); } /** Get Willing to commit. @return Willing to commit */ diff --git a/dbPort/src/org/compiere/model/X_B_Seller.java b/dbPort/src/org/compiere/model/X_B_Seller.java index c6692a7f99..83751342c2 100644 --- a/dbPort/src/org/compiere/model/X_B_Seller.java +++ b/dbPort/src/org/compiere/model/X_B_Seller.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_Seller * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_Seller extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_B_Seller (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=681 */ -public static final int Table_ID=681; +public static final int Table_ID=MTable.getTable_ID("B_Seller"); /** TableName=B_Seller */ public static final String Table_Name="B_Seller"; -protected static KeyNamePair Model = new KeyNamePair(681,"B_Seller"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_Seller"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); @param IsInternal Internal Organization */ public void setIsInternal (boolean IsInternal) { -set_Value ("IsInternal", new Boolean(IsInternal)); +set_Value ("IsInternal", Boolean.valueOf(IsInternal)); } /** Get Internal. @return Internal Organization */ diff --git a/dbPort/src/org/compiere/model/X_B_SellerFunds.java b/dbPort/src/org/compiere/model/X_B_SellerFunds.java index 9e8e371bb7..54091f85db 100644 --- a/dbPort/src/org/compiere/model/X_B_SellerFunds.java +++ b/dbPort/src/org/compiere/model/X_B_SellerFunds.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_SellerFunds * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_SellerFunds extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_B_SellerFunds (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=680 */ -public static final int Table_ID=680; +public static final int Table_ID=MTable.getTable_ID("B_SellerFunds"); /** TableName=B_SellerFunds */ public static final String Table_Name="B_SellerFunds"; -protected static KeyNamePair Model = new KeyNamePair(680,"B_SellerFunds"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_SellerFunds"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); public void setB_SellerFunds_ID (int B_SellerFunds_ID) { if (B_SellerFunds_ID < 1) throw new IllegalArgumentException ("B_SellerFunds_ID is mandatory."); -set_ValueNoCheck ("B_SellerFunds_ID", new Integer(B_SellerFunds_ID)); +set_ValueNoCheck ("B_SellerFunds_ID", Integer.valueOf(B_SellerFunds_ID)); } /** Get Seller Funds. @return Seller Funds from Offers on Topics */ @@ -130,7 +130,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -146,7 +146,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ diff --git a/dbPort/src/org/compiere/model/X_B_Topic.java b/dbPort/src/org/compiere/model/X_B_Topic.java index c1c8c71650..eee341ed20 100644 --- a/dbPort/src/org/compiere/model/X_B_Topic.java +++ b/dbPort/src/org/compiere/model/X_B_Topic.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_Topic * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_Topic extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_B_Topic (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=679 */ -public static final int Table_ID=679; +public static final int Table_ID=MTable.getTable_ID("B_Topic"); /** TableName=B_Topic */ public static final String Table_Name="B_Topic"; -protected static KeyNamePair Model = new KeyNamePair(679,"B_Topic"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_Topic"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ return sb.toString(); public void setB_TopicCategory_ID (int B_TopicCategory_ID) { if (B_TopicCategory_ID < 1) throw new IllegalArgumentException ("B_TopicCategory_ID is mandatory."); -set_ValueNoCheck ("B_TopicCategory_ID", new Integer(B_TopicCategory_ID)); +set_ValueNoCheck ("B_TopicCategory_ID", Integer.valueOf(B_TopicCategory_ID)); } /** Get Topic Category. @return Auction Topic Category */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setB_TopicType_ID (int B_TopicType_ID) { if (B_TopicType_ID < 1) throw new IllegalArgumentException ("B_TopicType_ID is mandatory."); -set_ValueNoCheck ("B_TopicType_ID", new Integer(B_TopicType_ID)); +set_ValueNoCheck ("B_TopicType_ID", Integer.valueOf(B_TopicType_ID)); } /** Get Topic Type. @return Auction Topic Type */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setB_Topic_ID (int B_Topic_ID) { if (B_Topic_ID < 1) throw new IllegalArgumentException ("B_Topic_ID is mandatory."); -set_ValueNoCheck ("B_Topic_ID", new Integer(B_Topic_ID)); +set_ValueNoCheck ("B_Topic_ID", Integer.valueOf(B_Topic_ID)); } /** Get Topic. @return Auction Topic */ @@ -191,7 +191,7 @@ return (String)get_Value("DocumentNo"); @param IsPublished The Topic is published and can be viewed */ public void setIsPublished (boolean IsPublished) { -set_Value ("IsPublished", new Boolean(IsPublished)); +set_Value ("IsPublished", Boolean.valueOf(IsPublished)); } /** Get Published. @return The Topic is published and can be viewed */ @@ -233,7 +233,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -251,7 +251,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_B_TopicCategory.java b/dbPort/src/org/compiere/model/X_B_TopicCategory.java index c2fd825f1b..1fc1a1a282 100644 --- a/dbPort/src/org/compiere/model/X_B_TopicCategory.java +++ b/dbPort/src/org/compiere/model/X_B_TopicCategory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_TopicCategory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_TopicCategory extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_B_TopicCategory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=691 */ -public static final int Table_ID=691; +public static final int Table_ID=MTable.getTable_ID("B_TopicCategory"); /** TableName=B_TopicCategory */ public static final String Table_Name="B_TopicCategory"; -protected static KeyNamePair Model = new KeyNamePair(691,"B_TopicCategory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_TopicCategory"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setB_TopicCategory_ID (int B_TopicCategory_ID) { if (B_TopicCategory_ID < 1) throw new IllegalArgumentException ("B_TopicCategory_ID is mandatory."); -set_ValueNoCheck ("B_TopicCategory_ID", new Integer(B_TopicCategory_ID)); +set_ValueNoCheck ("B_TopicCategory_ID", Integer.valueOf(B_TopicCategory_ID)); } /** Get Topic Category. @return Auction Topic Category */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setB_TopicType_ID (int B_TopicType_ID) { if (B_TopicType_ID < 1) throw new IllegalArgumentException ("B_TopicType_ID is mandatory."); -set_ValueNoCheck ("B_TopicType_ID", new Integer(B_TopicType_ID)); +set_ValueNoCheck ("B_TopicType_ID", Integer.valueOf(B_TopicType_ID)); } /** Get Topic Type. @return Auction Topic Type */ diff --git a/dbPort/src/org/compiere/model/X_B_TopicType.java b/dbPort/src/org/compiere/model/X_B_TopicType.java index c5023d2d15..8e0b8842bb 100644 --- a/dbPort/src/org/compiere/model/X_B_TopicType.java +++ b/dbPort/src/org/compiere/model/X_B_TopicType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for B_TopicType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_B_TopicType extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_B_TopicType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=690 */ -public static final int Table_ID=690; +public static final int Table_ID=MTable.getTable_ID("B_TopicType"); /** TableName=B_TopicType */ public static final String Table_Name="B_TopicType"; -protected static KeyNamePair Model = new KeyNamePair(690,"B_TopicType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"B_TopicType"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -113,7 +113,7 @@ return (String)get_Value("AuctionType"); public void setB_TopicType_ID (int B_TopicType_ID) { if (B_TopicType_ID < 1) throw new IllegalArgumentException ("B_TopicType_ID is mandatory."); -set_ValueNoCheck ("B_TopicType_ID", new Integer(B_TopicType_ID)); +set_ValueNoCheck ("B_TopicType_ID", Integer.valueOf(B_TopicType_ID)); } /** Get Topic Type. @return Auction Topic Type */ @@ -162,7 +162,7 @@ return (String)get_Value("Help"); public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -180,7 +180,7 @@ public static final int M_PRODUCTMEMBER_ID_AD_Reference_ID=162; public void setM_ProductMember_ID (int M_ProductMember_ID) { if (M_ProductMember_ID < 1) throw new IllegalArgumentException ("M_ProductMember_ID is mandatory."); -set_Value ("M_ProductMember_ID", new Integer(M_ProductMember_ID)); +set_Value ("M_ProductMember_ID", Integer.valueOf(M_ProductMember_ID)); } /** Get Membership. @return Product used to deternine the price of the membership for the topic type */ @@ -195,7 +195,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessContainer.java b/dbPort/src/org/compiere/model/X_CM_AccessContainer.java index 6644eb7599..8d32b870a8 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessContainer.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessContainer.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessContainer * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessContainer extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_AccessContainer (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=888 */ -public static final int Table_ID=888; +public static final int Table_ID=MTable.getTable_ID("CM_AccessContainer"); /** TableName=CM_AccessContainer */ public static final String Table_Name="CM_AccessContainer"; -protected static KeyNamePair Model = new KeyNamePair(888,"CM_AccessContainer"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessContainer"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setCM_Container_ID (int CM_Container_ID) { if (CM_Container_ID < 1) throw new IllegalArgumentException ("CM_Container_ID is mandatory."); -set_ValueNoCheck ("CM_Container_ID", new Integer(CM_Container_ID)); +set_ValueNoCheck ("CM_Container_ID", Integer.valueOf(CM_Container_ID)); } /** Get Web Container. @return Web Container contains content like images, text etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessListBPGroup.java b/dbPort/src/org/compiere/model/X_CM_AccessListBPGroup.java index c0f75f3958..14e2bfdef5 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessListBPGroup.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessListBPGroup.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessListBPGroup * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessListBPGroup extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_AccessListBPGroup (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=886 */ -public static final int Table_ID=886; +public static final int Table_ID=MTable.getTable_ID("CM_AccessListBPGroup"); /** TableName=CM_AccessListBPGroup */ public static final String Table_Name="CM_AccessListBPGroup"; -protected static KeyNamePair Model = new KeyNamePair(886,"CM_AccessListBPGroup"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessListBPGroup"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID < 1) throw new IllegalArgumentException ("C_BP_Group_ID is mandatory."); -set_ValueNoCheck ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_ValueNoCheck ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessListRole.java b/dbPort/src/org/compiere/model/X_CM_AccessListRole.java index 407decf7a7..b0b96ae774 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessListRole.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessListRole.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessListRole * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessListRole extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_AccessListRole (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=887 */ -public static final int Table_ID=887; +public static final int Table_ID=MTable.getTable_ID("CM_AccessListRole"); /** TableName=CM_AccessListRole */ public static final String Table_Name="CM_AccessListRole"; -protected static KeyNamePair Model = new KeyNamePair(887,"CM_AccessListRole"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessListRole"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_Role_ID (int AD_Role_ID) { 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. @return Responsibility Role */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessMedia.java b/dbPort/src/org/compiere/model/X_CM_AccessMedia.java index 4e4e56ccd4..aafdb50321 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessMedia.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessMedia.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessMedia * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessMedia extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_AccessMedia (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=890 */ -public static final int Table_ID=890; +public static final int Table_ID=MTable.getTable_ID("CM_AccessMedia"); /** TableName=CM_AccessMedia */ public static final String Table_Name="CM_AccessMedia"; -protected static KeyNamePair Model = new KeyNamePair(890,"CM_AccessMedia"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessMedia"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setCM_Media_ID (int CM_Media_ID) { if (CM_Media_ID < 1) throw new IllegalArgumentException ("CM_Media_ID is mandatory."); -set_ValueNoCheck ("CM_Media_ID", new Integer(CM_Media_ID)); +set_ValueNoCheck ("CM_Media_ID", Integer.valueOf(CM_Media_ID)); } /** Get Media Item. @return Contains media content like images, flash movies etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessNewsChannel.java b/dbPort/src/org/compiere/model/X_CM_AccessNewsChannel.java index ba01465745..6ede666186 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessNewsChannel.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessNewsChannel.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessNewsChannel * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessNewsChannel extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_AccessNewsChannel (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=891 */ -public static final int Table_ID=891; +public static final int Table_ID=MTable.getTable_ID("CM_AccessNewsChannel"); /** TableName=CM_AccessNewsChannel */ public static final String Table_Name="CM_AccessNewsChannel"; -protected static KeyNamePair Model = new KeyNamePair(891,"CM_AccessNewsChannel"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessNewsChannel"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setCM_NewsChannel_ID (int CM_NewsChannel_ID) { if (CM_NewsChannel_ID < 1) throw new IllegalArgumentException ("CM_NewsChannel_ID is mandatory."); -set_ValueNoCheck ("CM_NewsChannel_ID", new Integer(CM_NewsChannel_ID)); +set_ValueNoCheck ("CM_NewsChannel_ID", Integer.valueOf(CM_NewsChannel_ID)); } /** Get News Channel. @return News channel for rss feed */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessProfile.java b/dbPort/src/org/compiere/model/X_CM_AccessProfile.java index e91af3f063..6459948636 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessProfile.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessProfile.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessProfile * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessProfile extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_AccessProfile (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=885 */ -public static final int Table_ID=885; +public static final int Table_ID=MTable.getTable_ID("CM_AccessProfile"); /** TableName=CM_AccessProfile */ public static final String Table_Name="CM_AccessProfile"; -protected static KeyNamePair Model = new KeyNamePair(885,"CM_AccessProfile"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessProfile"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ @@ -140,7 +140,7 @@ return (String)get_Value("Help"); @param IsExclude Exclude access to the data - if not selected Include access to the data */ public void setIsExclude (boolean IsExclude) { -set_Value ("IsExclude", new Boolean(IsExclude)); +set_Value ("IsExclude", Boolean.valueOf(IsExclude)); } /** Get Exclude. @return Exclude access to the data - if not selected Include access to the data */ diff --git a/dbPort/src/org/compiere/model/X_CM_AccessStage.java b/dbPort/src/org/compiere/model/X_CM_AccessStage.java index c08c26f770..d52734ca35 100644 --- a/dbPort/src/org/compiere/model/X_CM_AccessStage.java +++ b/dbPort/src/org/compiere/model/X_CM_AccessStage.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_AccessStage * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_AccessStage extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_AccessStage (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=889 */ -public static final int Table_ID=889; +public static final int Table_ID=MTable.getTable_ID("CM_AccessStage"); /** TableName=CM_AccessStage */ public static final String Table_Name="CM_AccessStage"; -protected static KeyNamePair Model = new KeyNamePair(889,"CM_AccessStage"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_AccessStage"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setCM_AccessProfile_ID (int CM_AccessProfile_ID) { if (CM_AccessProfile_ID < 1) throw new IllegalArgumentException ("CM_AccessProfile_ID is mandatory."); -set_ValueNoCheck ("CM_AccessProfile_ID", new Integer(CM_AccessProfile_ID)); +set_ValueNoCheck ("CM_AccessProfile_ID", Integer.valueOf(CM_AccessProfile_ID)); } /** Get Web Access Profile. @return Web Access Profile */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setCM_CStage_ID (int CM_CStage_ID) { if (CM_CStage_ID < 1) throw new IllegalArgumentException ("CM_CStage_ID is mandatory."); -set_ValueNoCheck ("CM_CStage_ID", new Integer(CM_CStage_ID)); +set_ValueNoCheck ("CM_CStage_ID", Integer.valueOf(CM_CStage_ID)); } /** Get Web Container Stage. @return Web Container Stage contains the staging content like images, text etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_Ad.java b/dbPort/src/org/compiere/model/X_CM_Ad.java index bdf64f849a..2ed40b1e51 100644 --- a/dbPort/src/org/compiere/model/X_CM_Ad.java +++ b/dbPort/src/org/compiere/model/X_CM_Ad.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Ad * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Ad extends PO { /** Standard Constructor @@ -65,12 +65,12 @@ public X_CM_Ad (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=858 */ -public static final int Table_ID=858; +public static final int Table_ID=MTable.getTable_ID("CM_Ad"); /** TableName=CM_Ad */ public static final String Table_Name="CM_Ad"; -protected static KeyNamePair Model = new KeyNamePair(858,"CM_Ad"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Ad"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); @param ActualClick How many clicks have been counted */ public void setActualClick (int ActualClick) { -set_Value ("ActualClick", new Integer(ActualClick)); +set_Value ("ActualClick", Integer.valueOf(ActualClick)); } /** Get Actual Click Count. @return How many clicks have been counted */ @@ -115,7 +115,7 @@ return ii.intValue(); @param ActualImpression How many impressions have been counted */ public void setActualImpression (int ActualImpression) { -set_Value ("ActualImpression", new Integer(ActualImpression)); +set_Value ("ActualImpression", Integer.valueOf(ActualImpression)); } /** Get Actual Impression Count. @return How many impressions have been counted */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setCM_Ad_Cat_ID (int CM_Ad_Cat_ID) { if (CM_Ad_Cat_ID < 1) throw new IllegalArgumentException ("CM_Ad_Cat_ID is mandatory."); -set_ValueNoCheck ("CM_Ad_Cat_ID", new Integer(CM_Ad_Cat_ID)); +set_ValueNoCheck ("CM_Ad_Cat_ID", Integer.valueOf(CM_Ad_Cat_ID)); } /** Get Advertisement Category. @return Advertisement Category like Banner Homepage */ @@ -145,7 +145,7 @@ return ii.intValue(); public void setCM_Ad_ID (int CM_Ad_ID) { if (CM_Ad_ID < 1) throw new IllegalArgumentException ("CM_Ad_ID is mandatory."); -set_ValueNoCheck ("CM_Ad_ID", new Integer(CM_Ad_ID)); +set_ValueNoCheck ("CM_Ad_ID", Integer.valueOf(CM_Ad_ID)); } /** Get Advertisement. @return An Advertisement is something like a banner */ @@ -160,7 +160,7 @@ return ii.intValue(); public void setCM_Media_ID (int CM_Media_ID) { if (CM_Media_ID < 1) throw new IllegalArgumentException ("CM_Media_ID is mandatory."); -set_Value ("CM_Media_ID", new Integer(CM_Media_ID)); +set_Value ("CM_Media_ID", Integer.valueOf(CM_Media_ID)); } /** Get Media Item. @return Contains media content like images, flash movies etc. */ @@ -237,7 +237,7 @@ return (String)get_Value("Help"); @param IsAdFlag Do we need to specially mention this ad? */ public void setIsAdFlag (boolean IsAdFlag) { -set_Value ("IsAdFlag", new Boolean(IsAdFlag)); +set_Value ("IsAdFlag", Boolean.valueOf(IsAdFlag)); } /** Get Special AD Flag. @return Do we need to specially mention this ad? */ @@ -255,7 +255,7 @@ return false; @param IsLogged Do we need to log the banner impressions and clicks? (needs much performance) */ public void setIsLogged (boolean IsLogged) { -set_Value ("IsLogged", new Boolean(IsLogged)); +set_Value ("IsLogged", Boolean.valueOf(IsLogged)); } /** Get Logging. @return Do we need to log the banner impressions and clicks? (needs much performance) */ @@ -273,7 +273,7 @@ return false; @param MaxClick Maximum Click Count until banner is deactivated */ public void setMaxClick (int MaxClick) { -set_Value ("MaxClick", new Integer(MaxClick)); +set_Value ("MaxClick", Integer.valueOf(MaxClick)); } /** Get Max Click Count. @return Maximum Click Count until banner is deactivated */ @@ -287,7 +287,7 @@ return ii.intValue(); @param MaxImpression Maximum Impression Count until banner is deactivated */ public void setMaxImpression (int MaxImpression) { -set_Value ("MaxImpression", new Integer(MaxImpression)); +set_Value ("MaxImpression", Integer.valueOf(MaxImpression)); } /** Get Max Impression Count. @return Maximum Impression Count until banner is deactivated */ @@ -338,7 +338,7 @@ return (Timestamp)get_Value("StartDate"); @param StartImpression For rotation we need a start count */ public void setStartImpression (int StartImpression) { -set_Value ("StartImpression", new Integer(StartImpression)); +set_Value ("StartImpression", Integer.valueOf(StartImpression)); } /** Get Start Count Impression. @return For rotation we need a start count */ diff --git a/dbPort/src/org/compiere/model/X_CM_Ad_Cat.java b/dbPort/src/org/compiere/model/X_CM_Ad_Cat.java index 2e18f3c8f8..83d348caa6 100644 --- a/dbPort/src/org/compiere/model/X_CM_Ad_Cat.java +++ b/dbPort/src/org/compiere/model/X_CM_Ad_Cat.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Ad_Cat * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Ad_Cat extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_Ad_Cat (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=856 */ -public static final int Table_ID=856; +public static final int Table_ID=MTable.getTable_ID("CM_Ad_Cat"); /** TableName=CM_Ad_Cat */ public static final String Table_Name="CM_Ad_Cat"; -protected static KeyNamePair Model = new KeyNamePair(856,"CM_Ad_Cat"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Ad_Cat"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setCM_Ad_Cat_ID (int CM_Ad_Cat_ID) { if (CM_Ad_Cat_ID < 1) throw new IllegalArgumentException ("CM_Ad_Cat_ID is mandatory."); -set_ValueNoCheck ("CM_Ad_Cat_ID", new Integer(CM_Ad_Cat_ID)); +set_ValueNoCheck ("CM_Ad_Cat_ID", Integer.valueOf(CM_Ad_Cat_ID)); } /** Get Advertisement Category. @return Advertisement Category like Banner Homepage */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_Value ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_Value ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_BroadcastServer.java b/dbPort/src/org/compiere/model/X_CM_BroadcastServer.java index d53d8be43a..f67c478a6c 100644 --- a/dbPort/src/org/compiere/model/X_CM_BroadcastServer.java +++ b/dbPort/src/org/compiere/model/X_CM_BroadcastServer.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_BroadcastServer * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_BroadcastServer extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_BroadcastServer (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=893 */ -public static final int Table_ID=893; +public static final int Table_ID=MTable.getTable_ID("CM_BroadcastServer"); /** TableName=CM_BroadcastServer */ public static final String Table_Name="CM_BroadcastServer"; -protected static KeyNamePair Model = new KeyNamePair(893,"CM_BroadcastServer"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_BroadcastServer"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setCM_BroadcastServer_ID (int CM_BroadcastServer_ID) { if (CM_BroadcastServer_ID < 1) throw new IllegalArgumentException ("CM_BroadcastServer_ID is mandatory."); -set_ValueNoCheck ("CM_BroadcastServer_ID", new Integer(CM_BroadcastServer_ID)); +set_ValueNoCheck ("CM_BroadcastServer_ID", Integer.valueOf(CM_BroadcastServer_ID)); } /** Get Broadcast Server. @return Web Broadcast Server */ @@ -108,7 +108,7 @@ public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID <= 0) set_Value ("CM_WebProject_ID", null); else -set_Value ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_Value ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_CStage.java b/dbPort/src/org/compiere/model/X_CM_CStage.java index 96ea5cd301..faba780d0e 100644 --- a/dbPort/src/org/compiere/model/X_CM_CStage.java +++ b/dbPort/src/org/compiere/model/X_CM_CStage.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_CStage * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_CStage extends PO { /** Standard Constructor @@ -65,12 +65,12 @@ public X_CM_CStage (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=866 */ -public static final int Table_ID=866; +public static final int Table_ID=MTable.getTable_ID("CM_CStage"); /** TableName=CM_CStage */ public static final String Table_Name="CM_CStage"; -protected static KeyNamePair Model = new KeyNamePair(866,"CM_CStage"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_CStage"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -106,7 +106,7 @@ public void setCM_CStageLink_ID (int CM_CStageLink_ID) { if (CM_CStageLink_ID <= 0) set_Value ("CM_CStageLink_ID", null); else -set_Value ("CM_CStageLink_ID", new Integer(CM_CStageLink_ID)); +set_Value ("CM_CStageLink_ID", Integer.valueOf(CM_CStageLink_ID)); } /** Get Container Link. @return Stage Link to another Container in the Web Project */ @@ -121,7 +121,7 @@ return ii.intValue(); public void setCM_CStage_ID (int CM_CStage_ID) { if (CM_CStage_ID < 1) throw new IllegalArgumentException ("CM_CStage_ID is mandatory."); -set_ValueNoCheck ("CM_CStage_ID", new Integer(CM_CStage_ID)); +set_ValueNoCheck ("CM_CStage_ID", Integer.valueOf(CM_CStage_ID)); } /** Get Web Container Stage. @return Web Container Stage contains the staging content like images, text etc. */ @@ -137,7 +137,7 @@ public void setCM_Template_ID (int CM_Template_ID) { if (CM_Template_ID <= 0) set_Value ("CM_Template_ID", null); else -set_Value ("CM_Template_ID", new Integer(CM_Template_ID)); +set_Value ("CM_Template_ID", Integer.valueOf(CM_Template_ID)); } /** Get Template. @return Template defines how content is displayed */ @@ -152,7 +152,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -263,7 +263,7 @@ return (String)get_Value("Help"); @param IsIndexed Index the document for the internal search engine */ public void setIsIndexed (boolean IsIndexed) { -set_Value ("IsIndexed", new Boolean(IsIndexed)); +set_Value ("IsIndexed", Boolean.valueOf(IsIndexed)); } /** Get Indexed. @return Index the document for the internal search engine */ @@ -281,7 +281,7 @@ return false; @param IsModified The record is modified */ public void setIsModified (boolean IsModified) { -set_ValueNoCheck ("IsModified", new Boolean(IsModified)); +set_ValueNoCheck ("IsModified", Boolean.valueOf(IsModified)); } /** Get Modified. @return The record is modified */ @@ -299,7 +299,7 @@ return false; @param IsSecure Defines whether content needs to get encrypted */ public void setIsSecure (boolean IsSecure) { -set_Value ("IsSecure", new Boolean(IsSecure)); +set_Value ("IsSecure", Boolean.valueOf(IsSecure)); } /** Get Secure content. @return Defines whether content needs to get encrypted */ @@ -317,7 +317,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_ValueNoCheck ("IsSummary", new Boolean(IsSummary)); +set_ValueNoCheck ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -335,7 +335,7 @@ return false; @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -535,7 +535,7 @@ return (String)get_Value("Notice"); @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (int Priority) { -set_Value ("Priority", new Integer(Priority)); +set_Value ("Priority", Integer.valueOf(Priority)); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ @@ -549,7 +549,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_CM_CStageTTable.java b/dbPort/src/org/compiere/model/X_CM_CStageTTable.java index d2e6d90091..5bdb7e8cfc 100644 --- a/dbPort/src/org/compiere/model/X_CM_CStageTTable.java +++ b/dbPort/src/org/compiere/model/X_CM_CStageTTable.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_CStageTTable * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_CStageTTable extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_CStageTTable (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=881 */ -public static final int Table_ID=881; +public static final int Table_ID=MTable.getTable_ID("CM_CStageTTable"); /** TableName=CM_CStageTTable */ public static final String Table_Name="CM_CStageTTable"; -protected static KeyNamePair Model = new KeyNamePair(881,"CM_CStageTTable"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_CStageTTable"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setCM_CStageTTable_ID (int CM_CStageTTable_ID) { if (CM_CStageTTable_ID < 1) throw new IllegalArgumentException ("CM_CStageTTable_ID is mandatory."); -set_ValueNoCheck ("CM_CStageTTable_ID", new Integer(CM_CStageTTable_ID)); +set_ValueNoCheck ("CM_CStageTTable_ID", Integer.valueOf(CM_CStageTTable_ID)); } /** Get Stage T.Table. @return Containet Stage Template Table */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setCM_CStage_ID (int CM_CStage_ID) { if (CM_CStage_ID < 1) throw new IllegalArgumentException ("CM_CStage_ID is mandatory."); -set_ValueNoCheck ("CM_CStage_ID", new Integer(CM_CStage_ID)); +set_ValueNoCheck ("CM_CStage_ID", Integer.valueOf(CM_CStage_ID)); } /** Get Web Container Stage. @return Web Container Stage contains the staging content like images, text etc. */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setCM_TemplateTable_ID (int CM_TemplateTable_ID) { if (CM_TemplateTable_ID < 1) throw new IllegalArgumentException ("CM_TemplateTable_ID is mandatory."); -set_ValueNoCheck ("CM_TemplateTable_ID", new Integer(CM_TemplateTable_ID)); +set_ValueNoCheck ("CM_TemplateTable_ID", Integer.valueOf(CM_TemplateTable_ID)); } /** Get Template Table. @return CM Template Table Link */ @@ -197,7 +197,7 @@ public void setRecord_ID (int Record_ID) { if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null); else -set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); +set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_CM_CStage_Element.java b/dbPort/src/org/compiere/model/X_CM_CStage_Element.java index 04bec15373..53fd022dfe 100644 --- a/dbPort/src/org/compiere/model/X_CM_CStage_Element.java +++ b/dbPort/src/org/compiere/model/X_CM_CStage_Element.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_CStage_Element * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_CStage_Element extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_CStage_Element (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=867 */ -public static final int Table_ID=867; +public static final int Table_ID=MTable.getTable_ID("CM_CStage_Element"); /** TableName=CM_CStage_Element */ public static final String Table_Name="CM_CStage_Element"; -protected static KeyNamePair Model = new KeyNamePair(867,"CM_CStage_Element"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_CStage_Element"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setCM_CStage_Element_ID (int CM_CStage_Element_ID) { if (CM_CStage_Element_ID < 1) throw new IllegalArgumentException ("CM_CStage_Element_ID is mandatory."); -set_ValueNoCheck ("CM_CStage_Element_ID", new Integer(CM_CStage_Element_ID)); +set_ValueNoCheck ("CM_CStage_Element_ID", Integer.valueOf(CM_CStage_Element_ID)); } /** Get Container Stage Element. @return Container element i.e. Headline, Content, Footer etc. */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_CStage_ID (int CM_CStage_ID) { if (CM_CStage_ID < 1) throw new IllegalArgumentException ("CM_CStage_ID is mandatory."); -set_ValueNoCheck ("CM_CStage_ID", new Integer(CM_CStage_ID)); +set_ValueNoCheck ("CM_CStage_ID", Integer.valueOf(CM_CStage_ID)); } /** Get Web Container Stage. @return Web Container Stage contains the staging content like images, text etc. */ @@ -167,7 +167,7 @@ return (String)get_Value("Help"); @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ diff --git a/dbPort/src/org/compiere/model/X_CM_Chat.java b/dbPort/src/org/compiere/model/X_CM_Chat.java index 4e06bc7722..be6ae6c1d1 100644 --- a/dbPort/src/org/compiere/model/X_CM_Chat.java +++ b/dbPort/src/org/compiere/model/X_CM_Chat.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Chat * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Chat extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_CM_Chat (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=876 */ -public static final int Table_ID=876; +public static final int Table_ID=MTable.getTable_ID("CM_Chat"); /** TableName=CM_Chat */ public static final String Table_Name="CM_Chat"; -protected static KeyNamePair Model = new KeyNamePair(876,"CM_Chat"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Chat"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -110,7 +110,7 @@ public void setCM_ChatType_ID (int CM_ChatType_ID) { if (CM_ChatType_ID <= 0) set_Value ("CM_ChatType_ID", null); else -set_Value ("CM_ChatType_ID", new Integer(CM_ChatType_ID)); +set_Value ("CM_ChatType_ID", Integer.valueOf(CM_ChatType_ID)); } /** Get Chat Type. @return Type of discussion / chat */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setCM_Chat_ID (int CM_Chat_ID) { if (CM_Chat_ID < 1) throw new IllegalArgumentException ("CM_Chat_ID is mandatory."); -set_ValueNoCheck ("CM_Chat_ID", new Integer(CM_Chat_ID)); +set_ValueNoCheck ("CM_Chat_ID", Integer.valueOf(CM_Chat_ID)); } /** Get Chat. @return Chat or discussion thread */ @@ -223,7 +223,7 @@ return (String)get_Value("ModerationType"); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_CM_ChatEntry.java b/dbPort/src/org/compiere/model/X_CM_ChatEntry.java index 5b01b49906..6ad0d0826a 100644 --- a/dbPort/src/org/compiere/model/X_CM_ChatEntry.java +++ b/dbPort/src/org/compiere/model/X_CM_ChatEntry.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_ChatEntry * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_ChatEntry extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_CM_ChatEntry (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=877 */ -public static final int Table_ID=877; +public static final int Table_ID=MTable.getTable_ID("CM_ChatEntry"); /** TableName=CM_ChatEntry */ public static final String Table_Name="CM_ChatEntry"; -protected static KeyNamePair Model = new KeyNamePair(877,"CM_ChatEntry"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_ChatEntry"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -114,7 +114,7 @@ public void setCM_ChatEntryGrandParent_ID (int CM_ChatEntryGrandParent_ID) { if (CM_ChatEntryGrandParent_ID <= 0) set_Value ("CM_ChatEntryGrandParent_ID", null); else -set_Value ("CM_ChatEntryGrandParent_ID", new Integer(CM_ChatEntryGrandParent_ID)); +set_Value ("CM_ChatEntryGrandParent_ID", Integer.valueOf(CM_ChatEntryGrandParent_ID)); } /** Get Chat Entry Grandparent. @return Link to Grand Parent (root level) */ @@ -133,7 +133,7 @@ public void setCM_ChatEntryParent_ID (int CM_ChatEntryParent_ID) { if (CM_ChatEntryParent_ID <= 0) set_Value ("CM_ChatEntryParent_ID", null); else -set_Value ("CM_ChatEntryParent_ID", new Integer(CM_ChatEntryParent_ID)); +set_Value ("CM_ChatEntryParent_ID", Integer.valueOf(CM_ChatEntryParent_ID)); } /** Get Chat Entry Parent. @return Link to direct Parent */ @@ -148,7 +148,7 @@ return ii.intValue(); public void setCM_ChatEntry_ID (int CM_ChatEntry_ID) { if (CM_ChatEntry_ID < 1) throw new IllegalArgumentException ("CM_ChatEntry_ID is mandatory."); -set_ValueNoCheck ("CM_ChatEntry_ID", new Integer(CM_ChatEntry_ID)); +set_ValueNoCheck ("CM_ChatEntry_ID", Integer.valueOf(CM_ChatEntry_ID)); } /** Get Chat Entry. @return Individual Chat / Discussion Entry */ @@ -169,7 +169,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getCM_ChatEntry_ID())); public void setCM_Chat_ID (int CM_Chat_ID) { if (CM_Chat_ID < 1) throw new IllegalArgumentException ("CM_Chat_ID is mandatory."); -set_ValueNoCheck ("CM_Chat_ID", new Integer(CM_Chat_ID)); +set_ValueNoCheck ("CM_Chat_ID", Integer.valueOf(CM_Chat_ID)); } /** Get Chat. @return Chat or discussion thread */ diff --git a/dbPort/src/org/compiere/model/X_CM_ChatType.java b/dbPort/src/org/compiere/model/X_CM_ChatType.java index 63c76ac65c..66d0b0c307 100644 --- a/dbPort/src/org/compiere/model/X_CM_ChatType.java +++ b/dbPort/src/org/compiere/model/X_CM_ChatType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_ChatType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_ChatType extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_ChatType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=874 */ -public static final int Table_ID=874; +public static final int Table_ID=MTable.getTable_ID("CM_ChatType"); /** TableName=CM_ChatType */ public static final String Table_Name="CM_ChatType"; -protected static KeyNamePair Model = new KeyNamePair(874,"CM_ChatType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_ChatType"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_ChatType_ID (int CM_ChatType_ID) { if (CM_ChatType_ID < 1) throw new IllegalArgumentException ("CM_ChatType_ID is mandatory."); -set_ValueNoCheck ("CM_ChatType_ID", new Integer(CM_ChatType_ID)); +set_ValueNoCheck ("CM_ChatType_ID", Integer.valueOf(CM_ChatType_ID)); } /** Get Chat Type. @return Type of discussion / chat */ diff --git a/dbPort/src/org/compiere/model/X_CM_ChatTypeUpdate.java b/dbPort/src/org/compiere/model/X_CM_ChatTypeUpdate.java index 4353f5848f..2d9ea4689e 100644 --- a/dbPort/src/org/compiere/model/X_CM_ChatTypeUpdate.java +++ b/dbPort/src/org/compiere/model/X_CM_ChatTypeUpdate.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_ChatTypeUpdate * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_ChatTypeUpdate extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_ChatTypeUpdate (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=875 */ -public static final int Table_ID=875; +public static final int Table_ID=MTable.getTable_ID("CM_ChatTypeUpdate"); /** TableName=CM_ChatTypeUpdate */ public static final String Table_Name="CM_ChatTypeUpdate"; -protected static KeyNamePair Model = new KeyNamePair(875,"CM_ChatTypeUpdate"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_ChatTypeUpdate"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_ChatType_ID (int CM_ChatType_ID) { if (CM_ChatType_ID < 1) throw new IllegalArgumentException ("CM_ChatType_ID is mandatory."); -set_ValueNoCheck ("CM_ChatType_ID", new Integer(CM_ChatType_ID)); +set_ValueNoCheck ("CM_ChatType_ID", Integer.valueOf(CM_ChatType_ID)); } /** Get Chat Type. @return Type of discussion / chat */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ diff --git a/dbPort/src/org/compiere/model/X_CM_ChatUpdate.java b/dbPort/src/org/compiere/model/X_CM_ChatUpdate.java index e476fa6fe2..69d462ebc3 100644 --- a/dbPort/src/org/compiere/model/X_CM_ChatUpdate.java +++ b/dbPort/src/org/compiere/model/X_CM_ChatUpdate.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_ChatUpdate * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_ChatUpdate extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_ChatUpdate (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=878 */ -public static final int Table_ID=878; +public static final int Table_ID=MTable.getTable_ID("CM_ChatUpdate"); /** TableName=CM_ChatUpdate */ public static final String Table_Name="CM_ChatUpdate"; -protected static KeyNamePair Model = new KeyNamePair(878,"CM_ChatUpdate"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_ChatUpdate"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_Chat_ID (int CM_Chat_ID) { if (CM_Chat_ID < 1) throw new IllegalArgumentException ("CM_Chat_ID is mandatory."); -set_ValueNoCheck ("CM_Chat_ID", new Integer(CM_Chat_ID)); +set_ValueNoCheck ("CM_Chat_ID", Integer.valueOf(CM_Chat_ID)); } /** Get Chat. @return Chat or discussion thread */ @@ -121,7 +121,7 @@ return ii.intValue(); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ diff --git a/dbPort/src/org/compiere/model/X_CM_Container.java b/dbPort/src/org/compiere/model/X_CM_Container.java index c41772e45b..7996ea2ed5 100644 --- a/dbPort/src/org/compiere/model/X_CM_Container.java +++ b/dbPort/src/org/compiere/model/X_CM_Container.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Container * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Container extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_CM_Container (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=855 */ -public static final int Table_ID=855; +public static final int Table_ID=MTable.getTable_ID("CM_Container"); /** TableName=CM_Container */ public static final String Table_Name="CM_Container"; -protected static KeyNamePair Model = new KeyNamePair(855,"CM_Container"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Container"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -105,7 +105,7 @@ public void setCM_ContainerLink_ID (int CM_ContainerLink_ID) { if (CM_ContainerLink_ID <= 0) set_Value ("CM_ContainerLink_ID", null); else -set_Value ("CM_ContainerLink_ID", new Integer(CM_ContainerLink_ID)); +set_Value ("CM_ContainerLink_ID", Integer.valueOf(CM_ContainerLink_ID)); } /** Get Container Link. @return Link to another Container in the Web Project */ @@ -120,7 +120,7 @@ return ii.intValue(); public void setCM_Container_ID (int CM_Container_ID) { if (CM_Container_ID < 1) throw new IllegalArgumentException ("CM_Container_ID is mandatory."); -set_ValueNoCheck ("CM_Container_ID", new Integer(CM_Container_ID)); +set_ValueNoCheck ("CM_Container_ID", Integer.valueOf(CM_Container_ID)); } /** Get Web Container. @return Web Container contains content like images, text etc. */ @@ -135,7 +135,7 @@ return ii.intValue(); public void setCM_Template_ID (int CM_Template_ID) { if (CM_Template_ID < 1) throw new IllegalArgumentException ("CM_Template_ID is mandatory."); -set_ValueNoCheck ("CM_Template_ID", new Integer(CM_Template_ID)); +set_ValueNoCheck ("CM_Template_ID", Integer.valueOf(CM_Template_ID)); } /** Get Template. @return Template defines how content is displayed */ @@ -150,7 +150,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -261,7 +261,7 @@ return (String)get_Value("Help"); @param IsIndexed Index the document for the internal search engine */ public void setIsIndexed (boolean IsIndexed) { -set_Value ("IsIndexed", new Boolean(IsIndexed)); +set_Value ("IsIndexed", Boolean.valueOf(IsIndexed)); } /** Get Indexed. @return Index the document for the internal search engine */ @@ -279,7 +279,7 @@ return false; @param IsSecure Defines whether content needs to get encrypted */ public void setIsSecure (boolean IsSecure) { -set_Value ("IsSecure", new Boolean(IsSecure)); +set_Value ("IsSecure", Boolean.valueOf(IsSecure)); } /** Get Secure content. @return Defines whether content needs to get encrypted */ @@ -297,7 +297,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_ValueNoCheck ("IsSummary", new Boolean(IsSummary)); +set_ValueNoCheck ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -315,7 +315,7 @@ return false; @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -515,7 +515,7 @@ return (String)get_Value("Notice"); @param Priority Indicates if this request is of a high, medium or low priority. */ public void setPriority (int Priority) { -set_Value ("Priority", new Integer(Priority)); +set_Value ("Priority", Integer.valueOf(Priority)); } /** Get Priority. @return Indicates if this request is of a high, medium or low priority. */ diff --git a/dbPort/src/org/compiere/model/X_CM_ContainerTTable.java b/dbPort/src/org/compiere/model/X_CM_ContainerTTable.java index 8b1eb113d4..270309d72e 100644 --- a/dbPort/src/org/compiere/model/X_CM_ContainerTTable.java +++ b/dbPort/src/org/compiere/model/X_CM_ContainerTTable.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_ContainerTTable * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_ContainerTTable extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_ContainerTTable (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=880 */ -public static final int Table_ID=880; +public static final int Table_ID=MTable.getTable_ID("CM_ContainerTTable"); /** TableName=CM_ContainerTTable */ public static final String Table_Name="CM_ContainerTTable"; -protected static KeyNamePair Model = new KeyNamePair(880,"CM_ContainerTTable"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_ContainerTTable"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setCM_ContainerTTable_ID (int CM_ContainerTTable_ID) { if (CM_ContainerTTable_ID < 1) throw new IllegalArgumentException ("CM_ContainerTTable_ID is mandatory."); -set_ValueNoCheck ("CM_ContainerTTable_ID", new Integer(CM_ContainerTTable_ID)); +set_ValueNoCheck ("CM_ContainerTTable_ID", Integer.valueOf(CM_ContainerTTable_ID)); } /** Get Container T.Table. @return Container Template Table */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setCM_Container_ID (int CM_Container_ID) { if (CM_Container_ID < 1) throw new IllegalArgumentException ("CM_Container_ID is mandatory."); -set_ValueNoCheck ("CM_Container_ID", new Integer(CM_Container_ID)); +set_ValueNoCheck ("CM_Container_ID", Integer.valueOf(CM_Container_ID)); } /** Get Web Container. @return Web Container contains content like images, text etc. */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setCM_TemplateTable_ID (int CM_TemplateTable_ID) { if (CM_TemplateTable_ID < 1) throw new IllegalArgumentException ("CM_TemplateTable_ID is mandatory."); -set_ValueNoCheck ("CM_TemplateTable_ID", new Integer(CM_TemplateTable_ID)); +set_ValueNoCheck ("CM_TemplateTable_ID", Integer.valueOf(CM_TemplateTable_ID)); } /** Get Template Table. @return CM Template Table Link */ @@ -197,7 +197,7 @@ public void setRecord_ID (int Record_ID) { if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null); else -set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); +set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_CM_Container_Element.java b/dbPort/src/org/compiere/model/X_CM_Container_Element.java index 295eb4a89e..dfee0d0bbe 100644 --- a/dbPort/src/org/compiere/model/X_CM_Container_Element.java +++ b/dbPort/src/org/compiere/model/X_CM_Container_Element.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Container_Element * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Container_Element extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_Container_Element (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=860 */ -public static final int Table_ID=860; +public static final int Table_ID=MTable.getTable_ID("CM_Container_Element"); /** TableName=CM_Container_Element */ public static final String Table_Name="CM_Container_Element"; -protected static KeyNamePair Model = new KeyNamePair(860,"CM_Container_Element"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Container_Element"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setCM_Container_Element_ID (int CM_Container_Element_ID) { if (CM_Container_Element_ID < 1) throw new IllegalArgumentException ("CM_Container_Element_ID is mandatory."); -set_ValueNoCheck ("CM_Container_Element_ID", new Integer(CM_Container_Element_ID)); +set_ValueNoCheck ("CM_Container_Element_ID", Integer.valueOf(CM_Container_Element_ID)); } /** Get Container Element. @return Container element i.e. Headline, Content, Footer etc. */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_Container_ID (int CM_Container_ID) { if (CM_Container_ID < 1) throw new IllegalArgumentException ("CM_Container_ID is mandatory."); -set_ValueNoCheck ("CM_Container_ID", new Integer(CM_Container_ID)); +set_ValueNoCheck ("CM_Container_ID", Integer.valueOf(CM_Container_ID)); } /** Get Web Container. @return Web Container contains content like images, text etc. */ @@ -167,7 +167,7 @@ return (String)get_Value("Help"); @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ diff --git a/dbPort/src/org/compiere/model/X_CM_Container_URL.java b/dbPort/src/org/compiere/model/X_CM_Container_URL.java index 173b6841e5..aad02dc849 100644 --- a/dbPort/src/org/compiere/model/X_CM_Container_URL.java +++ b/dbPort/src/org/compiere/model/X_CM_Container_URL.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Container_URL * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Container_URL extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_CM_Container_URL (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=865 */ -public static final int Table_ID=865; +public static final int Table_ID=MTable.getTable_ID("CM_Container_URL"); /** TableName=CM_Container_URL */ public static final String Table_Name="CM_Container_URL"; -protected static KeyNamePair Model = new KeyNamePair(865,"CM_Container_URL"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Container_URL"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setCM_Container_ID (int CM_Container_ID) { if (CM_Container_ID < 1) throw new IllegalArgumentException ("CM_Container_ID is mandatory."); -set_Value ("CM_Container_ID", new Integer(CM_Container_ID)); +set_Value ("CM_Container_ID", Integer.valueOf(CM_Container_ID)); } /** Get Web Container. @return Web Container contains content like images, text etc. */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setCM_Container_URL_ID (int CM_Container_URL_ID) { if (CM_Container_URL_ID < 1) throw new IllegalArgumentException ("CM_Container_URL_ID is mandatory."); -set_ValueNoCheck ("CM_Container_URL_ID", new Integer(CM_Container_URL_ID)); +set_ValueNoCheck ("CM_Container_URL_ID", Integer.valueOf(CM_Container_URL_ID)); } /** Get Container URL. @return Contains info on used URLs */ diff --git a/dbPort/src/org/compiere/model/X_CM_Media.java b/dbPort/src/org/compiere/model/X_CM_Media.java index a7eaf5db79..ec1704dc97 100644 --- a/dbPort/src/org/compiere/model/X_CM_Media.java +++ b/dbPort/src/org/compiere/model/X_CM_Media.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Media * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Media extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_Media (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=857 */ -public static final int Table_ID=857; +public static final int Table_ID=MTable.getTable_ID("CM_Media"); /** TableName=CM_Media */ public static final String Table_Name="CM_Media"; -protected static KeyNamePair Model = new KeyNamePair(857,"CM_Media"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Media"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ public void setAD_Image_ID (int AD_Image_ID) { if (AD_Image_ID <= 0) set_Value ("AD_Image_ID", null); else -set_Value ("AD_Image_ID", new Integer(AD_Image_ID)); +set_Value ("AD_Image_ID", Integer.valueOf(AD_Image_ID)); } /** Get Image. @return Image or Icon */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setCM_Media_ID (int CM_Media_ID) { if (CM_Media_ID < 1) throw new IllegalArgumentException ("CM_Media_ID is mandatory."); -set_ValueNoCheck ("CM_Media_ID", new Integer(CM_Media_ID)); +set_ValueNoCheck ("CM_Media_ID", Integer.valueOf(CM_Media_ID)); } /** Get Media Item. @return Contains media content like images, flash movies etc. */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -201,7 +201,7 @@ return (String)get_Value("Help"); @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ diff --git a/dbPort/src/org/compiere/model/X_CM_MediaDeploy.java b/dbPort/src/org/compiere/model/X_CM_MediaDeploy.java index 6cac1ded33..519ff61f01 100644 --- a/dbPort/src/org/compiere/model/X_CM_MediaDeploy.java +++ b/dbPort/src/org/compiere/model/X_CM_MediaDeploy.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_MediaDeploy * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_MediaDeploy extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_MediaDeploy (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=892 */ -public static final int Table_ID=892; +public static final int Table_ID=MTable.getTable_ID("CM_MediaDeploy"); /** TableName=CM_MediaDeploy */ public static final String Table_Name="CM_MediaDeploy"; -protected static KeyNamePair Model = new KeyNamePair(892,"CM_MediaDeploy"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_MediaDeploy"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setCM_MediaDeploy_ID (int CM_MediaDeploy_ID) { if (CM_MediaDeploy_ID < 1) throw new IllegalArgumentException ("CM_MediaDeploy_ID is mandatory."); -set_ValueNoCheck ("CM_MediaDeploy_ID", new Integer(CM_MediaDeploy_ID)); +set_ValueNoCheck ("CM_MediaDeploy_ID", Integer.valueOf(CM_MediaDeploy_ID)); } /** Get Media Deploy. @return Media Deployment Log */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setCM_Media_ID (int CM_Media_ID) { if (CM_Media_ID < 1) throw new IllegalArgumentException ("CM_Media_ID is mandatory."); -set_ValueNoCheck ("CM_Media_ID", new Integer(CM_Media_ID)); +set_ValueNoCheck ("CM_Media_ID", Integer.valueOf(CM_Media_ID)); } /** Get Media Item. @return Contains media content like images, flash movies etc. */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setCM_Media_Server_ID (int CM_Media_Server_ID) { if (CM_Media_Server_ID < 1) throw new IllegalArgumentException ("CM_Media_Server_ID is mandatory."); -set_ValueNoCheck ("CM_Media_Server_ID", new Integer(CM_Media_Server_ID)); +set_ValueNoCheck ("CM_Media_Server_ID", Integer.valueOf(CM_Media_Server_ID)); } /** Get Media Server. @return Media Server list to which content should get transfered */ @@ -154,7 +154,7 @@ return (String)get_Value("Description"); @param IsDeployed Entity is deployed */ public void setIsDeployed (boolean IsDeployed) { -set_Value ("IsDeployed", new Boolean(IsDeployed)); +set_Value ("IsDeployed", Boolean.valueOf(IsDeployed)); } /** Get Deployed. @return Entity is deployed */ diff --git a/dbPort/src/org/compiere/model/X_CM_Media_Server.java b/dbPort/src/org/compiere/model/X_CM_Media_Server.java index a4eca8d9ac..a5e8f26de0 100644 --- a/dbPort/src/org/compiere/model/X_CM_Media_Server.java +++ b/dbPort/src/org/compiere/model/X_CM_Media_Server.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Media_Server * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Media_Server extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_Media_Server (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=859 */ -public static final int Table_ID=859; +public static final int Table_ID=MTable.getTable_ID("CM_Media_Server"); /** TableName=CM_Media_Server */ public static final String Table_Name="CM_Media_Server"; -protected static KeyNamePair Model = new KeyNamePair(859,"CM_Media_Server"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Media_Server"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setCM_Media_Server_ID (int CM_Media_Server_ID) { if (CM_Media_Server_ID < 1) throw new IllegalArgumentException ("CM_Media_Server_ID is mandatory."); -set_ValueNoCheck ("CM_Media_Server_ID", new Integer(CM_Media_Server_ID)); +set_ValueNoCheck ("CM_Media_Server_ID", Integer.valueOf(CM_Media_Server_ID)); } /** Get Media Server. @return Media Server list to which content should get transfered */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -190,7 +190,7 @@ return (String)get_Value("IP_Address"); @param IsPassive FTP passive transfer */ public void setIsPassive (boolean IsPassive) { -set_Value ("IsPassive", new Boolean(IsPassive)); +set_Value ("IsPassive", Boolean.valueOf(IsPassive)); } /** Get Transfer passive. @return FTP passive transfer */ @@ -246,7 +246,7 @@ public String getPassword() return (String)get_Value("Password"); } /** Set URL. -@param URL Full URL address - e.g. http://www.compiere.org */ +@param URL Full URL address - e.g. http://www.adempiere.org */ public void setURL (String URL) { if (URL != null && URL.length() > 120) @@ -257,7 +257,7 @@ URL = URL.substring(0,119); set_Value ("URL", URL); } /** Get URL. -@return Full URL address - e.g. http://www.compiere.org */ +@return Full URL address - e.g. http://www.adempiere.org */ public String getURL() { return (String)get_Value("URL"); diff --git a/dbPort/src/org/compiere/model/X_CM_NewsChannel.java b/dbPort/src/org/compiere/model/X_CM_NewsChannel.java index 85b93bdf78..098178c2fc 100644 --- a/dbPort/src/org/compiere/model/X_CM_NewsChannel.java +++ b/dbPort/src/org/compiere/model/X_CM_NewsChannel.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_NewsChannel * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_NewsChannel extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_NewsChannel (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=870 */ -public static final int Table_ID=870; +public static final int Table_ID=MTable.getTable_ID("CM_NewsChannel"); /** TableName=CM_NewsChannel */ public static final String Table_Name="CM_NewsChannel"; -protected static KeyNamePair Model = new KeyNamePair(870,"CM_NewsChannel"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_NewsChannel"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -113,7 +113,7 @@ return (String)get_Value("AD_Language"); public void setCM_NewsChannel_ID (int CM_NewsChannel_ID) { if (CM_NewsChannel_ID < 1) throw new IllegalArgumentException ("CM_NewsChannel_ID is mandatory."); -set_ValueNoCheck ("CM_NewsChannel_ID", new Integer(CM_NewsChannel_ID)); +set_ValueNoCheck ("CM_NewsChannel_ID", Integer.valueOf(CM_NewsChannel_ID)); } /** Get News Channel. @return News channel for rss feed */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_Value ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_Value ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_NewsItem.java b/dbPort/src/org/compiere/model/X_CM_NewsItem.java index ad299f5825..753baba3ad 100644 --- a/dbPort/src/org/compiere/model/X_CM_NewsItem.java +++ b/dbPort/src/org/compiere/model/X_CM_NewsItem.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_NewsItem * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_NewsItem extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_CM_NewsItem (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=871 */ -public static final int Table_ID=871; +public static final int Table_ID=MTable.getTable_ID("CM_NewsItem"); /** TableName=CM_NewsItem */ public static final String Table_Name="CM_NewsItem"; -protected static KeyNamePair Model = new KeyNamePair(871,"CM_NewsItem"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_NewsItem"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -108,7 +108,7 @@ return (String)get_Value("Author"); public void setCM_NewsChannel_ID (int CM_NewsChannel_ID) { if (CM_NewsChannel_ID < 1) throw new IllegalArgumentException ("CM_NewsChannel_ID is mandatory."); -set_Value ("CM_NewsChannel_ID", new Integer(CM_NewsChannel_ID)); +set_Value ("CM_NewsChannel_ID", Integer.valueOf(CM_NewsChannel_ID)); } /** Get News Channel. @return News channel for rss feed */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setCM_NewsItem_ID (int CM_NewsItem_ID) { if (CM_NewsItem_ID < 1) throw new IllegalArgumentException ("CM_NewsItem_ID is mandatory."); -set_ValueNoCheck ("CM_NewsItem_ID", new Integer(CM_NewsItem_ID)); +set_ValueNoCheck ("CM_NewsItem_ID", Integer.valueOf(CM_NewsItem_ID)); } /** Get News Item / Article. @return News item or article defines base content */ diff --git a/dbPort/src/org/compiere/model/X_CM_Template.java b/dbPort/src/org/compiere/model/X_CM_Template.java index 0ae86b4c2c..e9b1750a87 100644 --- a/dbPort/src/org/compiere/model/X_CM_Template.java +++ b/dbPort/src/org/compiere/model/X_CM_Template.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Template * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Template extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_CM_Template (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=854 */ -public static final int Table_ID=854; +public static final int Table_ID=MTable.getTable_ID("CM_Template"); /** TableName=CM_Template */ public static final String Table_Name="CM_Template"; -protected static KeyNamePair Model = new KeyNamePair(854,"CM_Template"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Template"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setCM_Template_ID (int CM_Template_ID) { if (CM_Template_ID < 1) throw new IllegalArgumentException ("CM_Template_ID is mandatory."); -set_ValueNoCheck ("CM_Template_ID", new Integer(CM_Template_ID)); +set_ValueNoCheck ("CM_Template_ID", Integer.valueOf(CM_Template_ID)); } /** Get Template. @return Template defines how content is displayed */ @@ -113,7 +113,7 @@ public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID <= 0) set_ValueNoCheck ("CM_WebProject_ID", null); else -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -178,7 +178,7 @@ return (String)get_Value("Help"); @param IsInclude Defines whether this content / template is included into another one */ public void setIsInclude (boolean IsInclude) { -set_Value ("IsInclude", new Boolean(IsInclude)); +set_Value ("IsInclude", Boolean.valueOf(IsInclude)); } /** Get Included. @return Defines whether this content / template is included into another one */ @@ -196,7 +196,7 @@ return false; @param IsNews Template or container uses news channels */ public void setIsNews (boolean IsNews) { -set_Value ("IsNews", new Boolean(IsNews)); +set_Value ("IsNews", Boolean.valueOf(IsNews)); } /** Get Uses News. @return Template or container uses news channels */ @@ -214,7 +214,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -232,7 +232,7 @@ return false; @param IsUseAd Whether or not this templates uses Ad's */ public void setIsUseAd (boolean IsUseAd) { -set_Value ("IsUseAd", new Boolean(IsUseAd)); +set_Value ("IsUseAd", Boolean.valueOf(IsUseAd)); } /** Get Use Ad. @return Whether or not this templates uses Ad's */ @@ -250,7 +250,7 @@ return false; @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -292,7 +292,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_CM_TemplateTable.java b/dbPort/src/org/compiere/model/X_CM_TemplateTable.java index 15f00d4584..067c10da1c 100644 --- a/dbPort/src/org/compiere/model/X_CM_TemplateTable.java +++ b/dbPort/src/org/compiere/model/X_CM_TemplateTable.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_TemplateTable * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_TemplateTable extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_TemplateTable (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=879 */ -public static final int Table_ID=879; +public static final int Table_ID=MTable.getTable_ID("CM_TemplateTable"); /** TableName=CM_TemplateTable */ public static final String Table_Name="CM_TemplateTable"; -protected static KeyNamePair Model = new KeyNamePair(879,"CM_TemplateTable"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_TemplateTable"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setCM_TemplateTable_ID (int CM_TemplateTable_ID) { if (CM_TemplateTable_ID < 1) throw new IllegalArgumentException ("CM_TemplateTable_ID is mandatory."); -set_ValueNoCheck ("CM_TemplateTable_ID", new Integer(CM_TemplateTable_ID)); +set_ValueNoCheck ("CM_TemplateTable_ID", Integer.valueOf(CM_TemplateTable_ID)); } /** Get Template Table. @return CM Template Table Link */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setCM_Template_ID (int CM_Template_ID) { if (CM_Template_ID < 1) throw new IllegalArgumentException ("CM_Template_ID is mandatory."); -set_ValueNoCheck ("CM_Template_ID", new Integer(CM_Template_ID)); +set_ValueNoCheck ("CM_Template_ID", Integer.valueOf(CM_Template_ID)); } /** Get Template. @return Template defines how content is displayed */ diff --git a/dbPort/src/org/compiere/model/X_CM_Template_Ad_Cat.java b/dbPort/src/org/compiere/model/X_CM_Template_Ad_Cat.java index 1dde96ae2b..772000b186 100644 --- a/dbPort/src/org/compiere/model/X_CM_Template_Ad_Cat.java +++ b/dbPort/src/org/compiere/model/X_CM_Template_Ad_Cat.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_Template_Ad_Cat * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_Template_Ad_Cat extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_Template_Ad_Cat (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=872 */ -public static final int Table_ID=872; +public static final int Table_ID=MTable.getTable_ID("CM_Template_Ad_Cat"); /** TableName=CM_Template_Ad_Cat */ public static final String Table_Name="CM_Template_Ad_Cat"; -protected static KeyNamePair Model = new KeyNamePair(872,"CM_Template_Ad_Cat"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_Template_Ad_Cat"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setCM_Ad_Cat_ID (int CM_Ad_Cat_ID) { if (CM_Ad_Cat_ID < 1) throw new IllegalArgumentException ("CM_Ad_Cat_ID is mandatory."); -set_Value ("CM_Ad_Cat_ID", new Integer(CM_Ad_Cat_ID)); +set_Value ("CM_Ad_Cat_ID", Integer.valueOf(CM_Ad_Cat_ID)); } /** Get Advertisement Category. @return Advertisement Category like Banner Homepage */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setCM_Template_ID (int CM_Template_ID) { if (CM_Template_ID < 1) throw new IllegalArgumentException ("CM_Template_ID is mandatory."); -set_Value ("CM_Template_ID", new Integer(CM_Template_ID)); +set_Value ("CM_Template_ID", Integer.valueOf(CM_Template_ID)); } /** Get Template. @return Template defines how content is displayed */ diff --git a/dbPort/src/org/compiere/model/X_CM_WebAccessLog.java b/dbPort/src/org/compiere/model/X_CM_WebAccessLog.java index 7731fc41cb..a1c2787cf9 100644 --- a/dbPort/src/org/compiere/model/X_CM_WebAccessLog.java +++ b/dbPort/src/org/compiere/model/X_CM_WebAccessLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_WebAccessLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_WebAccessLog extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_CM_WebAccessLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=894 */ -public static final int Table_ID=894; +public static final int Table_ID=MTable.getTable_ID("CM_WebAccessLog"); /** TableName=CM_WebAccessLog */ public static final String Table_Name="CM_WebAccessLog"; -protected static KeyNamePair Model = new KeyNamePair(894,"CM_WebAccessLog"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_WebAccessLog"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -128,7 +128,7 @@ public void setCM_BroadcastServer_ID (int CM_BroadcastServer_ID) { if (CM_BroadcastServer_ID <= 0) set_Value ("CM_BroadcastServer_ID", null); else -set_Value ("CM_BroadcastServer_ID", new Integer(CM_BroadcastServer_ID)); +set_Value ("CM_BroadcastServer_ID", Integer.valueOf(CM_BroadcastServer_ID)); } /** Get Broadcast Server. @return Web Broadcast Server */ @@ -144,7 +144,7 @@ public void setCM_Media_ID (int CM_Media_ID) { if (CM_Media_ID <= 0) set_Value ("CM_Media_ID", null); else -set_Value ("CM_Media_ID", new Integer(CM_Media_ID)); +set_Value ("CM_Media_ID", Integer.valueOf(CM_Media_ID)); } /** Get Media Item. @return Contains media content like images, flash movies etc. */ @@ -159,7 +159,7 @@ return ii.intValue(); public void setCM_WebAccessLog_ID (int CM_WebAccessLog_ID) { if (CM_WebAccessLog_ID < 1) throw new IllegalArgumentException ("CM_WebAccessLog_ID is mandatory."); -set_ValueNoCheck ("CM_WebAccessLog_ID", new Integer(CM_WebAccessLog_ID)); +set_ValueNoCheck ("CM_WebAccessLog_ID", Integer.valueOf(CM_WebAccessLog_ID)); } /** Get Web Access Log. @return Web Access Log Information */ @@ -175,7 +175,7 @@ public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID <= 0) set_Value ("CM_WebProject_ID", null); else -set_Value ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_Value ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -371,7 +371,7 @@ return (String)get_Value("RequestType"); @param StatusCode Status Code */ public void setStatusCode (int StatusCode) { -set_Value ("StatusCode", new Integer(StatusCode)); +set_Value ("StatusCode", Integer.valueOf(StatusCode)); } /** Get Status Code. @return Status Code */ diff --git a/dbPort/src/org/compiere/model/X_CM_WebProject.java b/dbPort/src/org/compiere/model/X_CM_WebProject.java index b7eb8970ad..a85a808068 100644 --- a/dbPort/src/org/compiere/model/X_CM_WebProject.java +++ b/dbPort/src/org/compiere/model/X_CM_WebProject.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_WebProject * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_WebProject extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_CM_WebProject (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=853 */ -public static final int Table_ID=853; +public static final int Table_ID=MTable.getTable_ID("CM_WebProject"); /** TableName=CM_WebProject */ public static final String Table_Name="CM_WebProject"; -protected static KeyNamePair Model = new KeyNamePair(853,"CM_WebProject"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_WebProject"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -101,7 +101,7 @@ public void setAD_TreeCMC_ID (int AD_TreeCMC_ID) { if (AD_TreeCMC_ID <= 0) set_ValueNoCheck ("AD_TreeCMC_ID", null); else -set_ValueNoCheck ("AD_TreeCMC_ID", new Integer(AD_TreeCMC_ID)); +set_ValueNoCheck ("AD_TreeCMC_ID", Integer.valueOf(AD_TreeCMC_ID)); } /** Get Container Tree. @return Container Tree */ @@ -120,7 +120,7 @@ public void setAD_TreeCMM_ID (int AD_TreeCMM_ID) { if (AD_TreeCMM_ID <= 0) set_ValueNoCheck ("AD_TreeCMM_ID", null); else -set_ValueNoCheck ("AD_TreeCMM_ID", new Integer(AD_TreeCMM_ID)); +set_ValueNoCheck ("AD_TreeCMM_ID", Integer.valueOf(AD_TreeCMM_ID)); } /** Get Media Tree. @return Media Tree */ @@ -139,7 +139,7 @@ public void setAD_TreeCMS_ID (int AD_TreeCMS_ID) { if (AD_TreeCMS_ID <= 0) set_ValueNoCheck ("AD_TreeCMS_ID", null); else -set_ValueNoCheck ("AD_TreeCMS_ID", new Integer(AD_TreeCMS_ID)); +set_ValueNoCheck ("AD_TreeCMS_ID", Integer.valueOf(AD_TreeCMS_ID)); } /** Get Stage Tree. @return Stage Tree */ @@ -158,7 +158,7 @@ public void setAD_TreeCMT_ID (int AD_TreeCMT_ID) { if (AD_TreeCMT_ID <= 0) set_ValueNoCheck ("AD_TreeCMT_ID", null); else -set_ValueNoCheck ("AD_TreeCMT_ID", new Integer(AD_TreeCMT_ID)); +set_ValueNoCheck ("AD_TreeCMT_ID", Integer.valueOf(AD_TreeCMT_ID)); } /** Get Template Tree. @return Template Tree */ @@ -173,7 +173,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_WebProject_Domain.java b/dbPort/src/org/compiere/model/X_CM_WebProject_Domain.java index 12e6fc8456..b835d9ff75 100644 --- a/dbPort/src/org/compiere/model/X_CM_WebProject_Domain.java +++ b/dbPort/src/org/compiere/model/X_CM_WebProject_Domain.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_WebProject_Domain * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_WebProject_Domain extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_CM_WebProject_Domain (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=873 */ -public static final int Table_ID=873; +public static final int Table_ID=MTable.getTable_ID("CM_WebProject_Domain"); /** TableName=CM_WebProject_Domain */ public static final String Table_Name="CM_WebProject_Domain"; -protected static KeyNamePair Model = new KeyNamePair(873,"CM_WebProject_Domain"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_WebProject_Domain"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ public void setCM_Container_ID (int CM_Container_ID) { if (CM_Container_ID <= 0) set_Value ("CM_Container_ID", null); else -set_Value ("CM_Container_ID", new Integer(CM_Container_ID)); +set_Value ("CM_Container_ID", Integer.valueOf(CM_Container_ID)); } /** Get Web Container. @return Web Container contains content like images, text etc. */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setCM_WebProject_Domain_ID (int CM_WebProject_Domain_ID) { if (CM_WebProject_Domain_ID < 1) throw new IllegalArgumentException ("CM_WebProject_Domain_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_Domain_ID", new Integer(CM_WebProject_Domain_ID)); +set_ValueNoCheck ("CM_WebProject_Domain_ID", Integer.valueOf(CM_WebProject_Domain_ID)); } /** Get WebProject Domain. @return Definition of Domainhandling */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID < 1) throw new IllegalArgumentException ("CM_WebProject_ID is mandatory."); -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ diff --git a/dbPort/src/org/compiere/model/X_CM_WikiToken.java b/dbPort/src/org/compiere/model/X_CM_WikiToken.java index d8e9aace60..86092e0e7d 100755 --- a/dbPort/src/org/compiere/model/X_CM_WikiToken.java +++ b/dbPort/src/org/compiere/model/X_CM_WikiToken.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for CM_WikiToken * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_CM_WikiToken extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_CM_WikiToken (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=905 */ -public static final int Table_ID=905; +public static final int Table_ID=MTable.getTable_ID("CM_WikiToken"); /** TableName=CM_WikiToken */ public static final String Table_Name="CM_WikiToken"; -protected static KeyNamePair Model = new KeyNamePair(905,"CM_WikiToken"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"CM_WikiToken"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -93,7 +93,7 @@ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_ValueNoCheck ("AD_Table_ID", null); else -set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); +set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setCM_WikiToken_ID (int CM_WikiToken_ID) { if (CM_WikiToken_ID < 1) throw new IllegalArgumentException ("CM_WikiToken_ID is mandatory."); -set_ValueNoCheck ("CM_WikiToken_ID", new Integer(CM_WikiToken_ID)); +set_ValueNoCheck ("CM_WikiToken_ID", Integer.valueOf(CM_WikiToken_ID)); } /** Get Wiki Token. @return Wiki Token */ diff --git a/dbPort/src/org/compiere/model/X_C_AcctProcessor.java b/dbPort/src/org/compiere/model/X_C_AcctProcessor.java index 5ba965f6d2..e2b190e29d 100644 --- a/dbPort/src/org/compiere/model/X_C_AcctProcessor.java +++ b/dbPort/src/org/compiere/model/X_C_AcctProcessor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AcctProcessor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AcctProcessor extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_AcctProcessor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=695 */ -public static final int Table_ID=695; +public static final int Table_ID=MTable.getTable_ID("C_AcctProcessor"); /** TableName=C_AcctProcessor */ public static final String Table_Name="C_AcctProcessor"; -protected static KeyNamePair Model = new KeyNamePair(695,"C_AcctProcessor"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AcctProcessor"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -96,7 +96,7 @@ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_AcctProcessor_ID (int C_AcctProcessor_ID) { if (C_AcctProcessor_ID < 1) throw new IllegalArgumentException ("C_AcctProcessor_ID is mandatory."); -set_ValueNoCheck ("C_AcctProcessor_ID", new Integer(C_AcctProcessor_ID)); +set_ValueNoCheck ("C_AcctProcessor_ID", Integer.valueOf(C_AcctProcessor_ID)); } /** Get Accounting Processor. @return Accounting Processor/Server Parameters */ @@ -127,7 +127,7 @@ public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID <= 0) set_Value ("C_AcctSchema_ID", null); else -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -182,7 +182,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ @@ -225,7 +225,7 @@ return (String)get_Value("FrequencyType"); @param KeepLogDays Number of days to keep the log entries */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @return Number of days to keep the log entries */ @@ -263,7 +263,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -285,7 +285,7 @@ public static final int SUPERVISOR_ID_AD_Reference_ID=286; public void setSupervisor_ID (int Supervisor_ID) { 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. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_C_AcctProcessorLog.java b/dbPort/src/org/compiere/model/X_C_AcctProcessorLog.java index b82b3f359c..185d0aa834 100644 --- a/dbPort/src/org/compiere/model/X_C_AcctProcessorLog.java +++ b/dbPort/src/org/compiere/model/X_C_AcctProcessorLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AcctProcessorLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AcctProcessorLog extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_AcctProcessorLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=694 */ -public static final int Table_ID=694; +public static final int Table_ID=MTable.getTable_ID("C_AcctProcessorLog"); /** TableName=C_AcctProcessorLog */ public static final String Table_Name="C_AcctProcessorLog"; -protected static KeyNamePair Model = new KeyNamePair(694,"C_AcctProcessorLog"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AcctProcessorLog"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -104,7 +104,7 @@ return (byte[])get_Value("BinaryData"); public void setC_AcctProcessorLog_ID (int C_AcctProcessorLog_ID) { if (C_AcctProcessorLog_ID < 1) throw new IllegalArgumentException ("C_AcctProcessorLog_ID is mandatory."); -set_ValueNoCheck ("C_AcctProcessorLog_ID", new Integer(C_AcctProcessorLog_ID)); +set_ValueNoCheck ("C_AcctProcessorLog_ID", Integer.valueOf(C_AcctProcessorLog_ID)); } /** Get Accounting Processor Log. @return Result of the execution of the Accounting Processor */ @@ -119,7 +119,7 @@ return ii.intValue(); public void setC_AcctProcessor_ID (int C_AcctProcessor_ID) { if (C_AcctProcessor_ID < 1) throw new IllegalArgumentException ("C_AcctProcessor_ID is mandatory."); -set_ValueNoCheck ("C_AcctProcessor_ID", new Integer(C_AcctProcessor_ID)); +set_ValueNoCheck ("C_AcctProcessor_ID", Integer.valueOf(C_AcctProcessor_ID)); } /** Get Accounting Processor. @return Accounting Processor/Server Parameters */ @@ -150,7 +150,7 @@ return (String)get_Value("Description"); @param IsError An Error occured in the execution */ public void setIsError (boolean IsError) { -set_Value ("IsError", new Boolean(IsError)); +set_Value ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @return An Error occured in the execution */ diff --git a/dbPort/src/org/compiere/model/X_C_AcctSchema.java b/dbPort/src/org/compiere/model/X_C_AcctSchema.java index 13ae27cb35..96b24358b3 100644 --- a/dbPort/src/org/compiere/model/X_C_AcctSchema.java +++ b/dbPort/src/org/compiere/model/X_C_AcctSchema.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AcctSchema * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AcctSchema extends PO { /** Standard Constructor @@ -71,12 +71,12 @@ public X_C_AcctSchema (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=265 */ -public static final int Table_ID=265; +public static final int Table_ID=MTable.getTable_ID("C_AcctSchema"); /** TableName=C_AcctSchema */ public static final String Table_Name="C_AcctSchema"; -protected static KeyNamePair Model = new KeyNamePair(265,"C_AcctSchema"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AcctSchema"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -112,7 +112,7 @@ public void setAD_OrgOnly_ID (int AD_OrgOnly_ID) { if (AD_OrgOnly_ID <= 0) set_Value ("AD_OrgOnly_ID", null); else -set_Value ("AD_OrgOnly_ID", new Integer(AD_OrgOnly_ID)); +set_Value ("AD_OrgOnly_ID", Integer.valueOf(AD_OrgOnly_ID)); } /** Get Only Organization. @return Create posting entries only for this organization */ @@ -126,7 +126,7 @@ return ii.intValue(); @param AutoPeriodControl If selected, the periods are automatically opened and closed */ public void setAutoPeriodControl (boolean AutoPeriodControl) { -set_Value ("AutoPeriodControl", new Boolean(AutoPeriodControl)); +set_Value ("AutoPeriodControl", Boolean.valueOf(AutoPeriodControl)); } /** Get Automatic Period Control. @return If selected, the periods are automatically opened and closed */ @@ -145,7 +145,7 @@ return false; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -160,7 +160,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -176,7 +176,7 @@ public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID <= 0) set_ValueNoCheck ("C_Period_ID", null); else -set_ValueNoCheck ("C_Period_ID", new Integer(C_Period_ID)); +set_ValueNoCheck ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -339,7 +339,7 @@ return (String)get_Value("GAAP"); @param HasAlias Ability to select (partial) account combinations by an Alias */ public void setHasAlias (boolean HasAlias) { -set_Value ("HasAlias", new Boolean(HasAlias)); +set_Value ("HasAlias", Boolean.valueOf(HasAlias)); } /** Get Use Account Alias. @return Ability to select (partial) account combinations by an Alias */ @@ -357,7 +357,7 @@ return false; @param HasCombination Combination of account elements are checked */ public void setHasCombination (boolean HasCombination) { -set_Value ("HasCombination", new Boolean(HasCombination)); +set_Value ("HasCombination", Boolean.valueOf(HasCombination)); } /** Get Use Account Combination Control. @return Combination of account elements are checked */ @@ -375,7 +375,7 @@ return false; @param IsAccrual Indicates if Accrual or Cash Based accounting will be used */ public void setIsAccrual (boolean IsAccrual) { -set_Value ("IsAccrual", new Boolean(IsAccrual)); +set_Value ("IsAccrual", Boolean.valueOf(IsAccrual)); } /** Get Accrual. @return Indicates if Accrual or Cash Based accounting will be used */ @@ -393,7 +393,7 @@ return false; @param IsAdjustCOGS Adjust Cost of Good Sold */ public void setIsAdjustCOGS (boolean IsAdjustCOGS) { -set_Value ("IsAdjustCOGS", new Boolean(IsAdjustCOGS)); +set_Value ("IsAdjustCOGS", Boolean.valueOf(IsAdjustCOGS)); } /** Get Adjust COGS. @return Adjust Cost of Good Sold */ @@ -411,7 +411,7 @@ return false; @param IsDiscountCorrectsTax Correct the tax for payment discount and charges */ public void setIsDiscountCorrectsTax (boolean IsDiscountCorrectsTax) { -set_Value ("IsDiscountCorrectsTax", new Boolean(IsDiscountCorrectsTax)); +set_Value ("IsDiscountCorrectsTax", Boolean.valueOf(IsDiscountCorrectsTax)); } /** Get Correct tax for Discounts/Charges. @return Correct the tax for payment discount and charges */ @@ -429,7 +429,7 @@ return false; @param IsExplicitCostAdjustment Post the cost adjustment explicitly */ public void setIsExplicitCostAdjustment (boolean IsExplicitCostAdjustment) { -set_Value ("IsExplicitCostAdjustment", new Boolean(IsExplicitCostAdjustment)); +set_Value ("IsExplicitCostAdjustment", Boolean.valueOf(IsExplicitCostAdjustment)); } /** Get Explicit Cost Adjustment. @return Post the cost adjustment explicitly */ @@ -447,7 +447,7 @@ return false; @param IsPostServices Differentiate between Services and Product Receivable/Payables */ public void setIsPostServices (boolean IsPostServices) { -set_Value ("IsPostServices", new Boolean(IsPostServices)); +set_Value ("IsPostServices", Boolean.valueOf(IsPostServices)); } /** Get Post Services Separately. @return Differentiate between Services and Product Receivable/Payables */ @@ -465,7 +465,7 @@ return false; @param IsTradeDiscountPosted Generate postings for trade discounts */ public void setIsTradeDiscountPosted (boolean IsTradeDiscountPosted) { -set_Value ("IsTradeDiscountPosted", new Boolean(IsTradeDiscountPosted)); +set_Value ("IsTradeDiscountPosted", Boolean.valueOf(IsTradeDiscountPosted)); } /** Get Post Trade Discount. @return Generate postings for trade discounts */ @@ -484,7 +484,7 @@ return false; public void setM_CostType_ID (int M_CostType_ID) { if (M_CostType_ID < 1) throw new IllegalArgumentException ("M_CostType_ID is mandatory."); -set_Value ("M_CostType_ID", new Integer(M_CostType_ID)); +set_Value ("M_CostType_ID", Integer.valueOf(M_CostType_ID)); } /** Get Cost Type. @return Type of Cost (e.g. Current, Plan, Future) */ @@ -522,7 +522,7 @@ return new KeyNamePair(get_ID(), getName()); @param Period_OpenFuture Number of days to be able to post to a future date (based on system date) */ public void setPeriod_OpenFuture (int Period_OpenFuture) { -set_Value ("Period_OpenFuture", new Integer(Period_OpenFuture)); +set_Value ("Period_OpenFuture", Integer.valueOf(Period_OpenFuture)); } /** Get Future Days. @return Number of days to be able to post to a future date (based on system date) */ @@ -536,7 +536,7 @@ return ii.intValue(); @param Period_OpenHistory Number of days to be able to post in the past (based on system date) */ public void setPeriod_OpenHistory (int Period_OpenHistory) { -set_Value ("Period_OpenHistory", new Integer(Period_OpenHistory)); +set_Value ("Period_OpenHistory", Integer.valueOf(Period_OpenHistory)); } /** Get History Days. @return Number of days to be able to post in the past (based on system date) */ @@ -550,7 +550,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_AcctSchema_Default.java b/dbPort/src/org/compiere/model/X_C_AcctSchema_Default.java index aec2e2b17b..870956d81a 100644 --- a/dbPort/src/org/compiere/model/X_C_AcctSchema_Default.java +++ b/dbPort/src/org/compiere/model/X_C_AcctSchema_Default.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AcctSchema_Default * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AcctSchema_Default extends PO { /** Standard Constructor @@ -113,12 +113,12 @@ public X_C_AcctSchema_Default (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=315 */ -public static final int Table_ID=315; +public static final int Table_ID=MTable.getTable_ID("C_AcctSchema_Default"); /** TableName=C_AcctSchema_Default */ public static final String Table_Name="C_AcctSchema_Default"; -protected static KeyNamePair Model = new KeyNamePair(315,"C_AcctSchema_Default"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AcctSchema_Default"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -149,7 +149,7 @@ return sb.toString(); @param B_Asset_Acct Bank Asset Account */ public void setB_Asset_Acct (int B_Asset_Acct) { -set_Value ("B_Asset_Acct", new Integer(B_Asset_Acct)); +set_Value ("B_Asset_Acct", Integer.valueOf(B_Asset_Acct)); } /** Get Bank Asset. @return Bank Asset Account */ @@ -163,7 +163,7 @@ return ii.intValue(); @param B_Expense_Acct Bank Expense Account */ public void setB_Expense_Acct (int B_Expense_Acct) { -set_Value ("B_Expense_Acct", new Integer(B_Expense_Acct)); +set_Value ("B_Expense_Acct", Integer.valueOf(B_Expense_Acct)); } /** Get Bank Expense. @return Bank Expense Account */ @@ -177,7 +177,7 @@ return ii.intValue(); @param B_InTransit_Acct Bank In Transit Account */ public void setB_InTransit_Acct (int B_InTransit_Acct) { -set_Value ("B_InTransit_Acct", new Integer(B_InTransit_Acct)); +set_Value ("B_InTransit_Acct", Integer.valueOf(B_InTransit_Acct)); } /** Get Bank In Transit. @return Bank In Transit Account */ @@ -191,7 +191,7 @@ return ii.intValue(); @param B_InterestExp_Acct Bank Interest Expense Account */ public void setB_InterestExp_Acct (int B_InterestExp_Acct) { -set_Value ("B_InterestExp_Acct", new Integer(B_InterestExp_Acct)); +set_Value ("B_InterestExp_Acct", Integer.valueOf(B_InterestExp_Acct)); } /** Get Bank Interest Expense. @return Bank Interest Expense Account */ @@ -205,7 +205,7 @@ return ii.intValue(); @param B_InterestRev_Acct Bank Interest Revenue Account */ public void setB_InterestRev_Acct (int B_InterestRev_Acct) { -set_Value ("B_InterestRev_Acct", new Integer(B_InterestRev_Acct)); +set_Value ("B_InterestRev_Acct", Integer.valueOf(B_InterestRev_Acct)); } /** Get Bank Interest Revenue. @return Bank Interest Revenue Account */ @@ -219,7 +219,7 @@ return ii.intValue(); @param B_PaymentSelect_Acct AP Payment Selection Clearing Account */ public void setB_PaymentSelect_Acct (int B_PaymentSelect_Acct) { -set_Value ("B_PaymentSelect_Acct", new Integer(B_PaymentSelect_Acct)); +set_Value ("B_PaymentSelect_Acct", Integer.valueOf(B_PaymentSelect_Acct)); } /** Get Payment Selection. @return AP Payment Selection Clearing Account */ @@ -233,7 +233,7 @@ return ii.intValue(); @param B_RevaluationGain_Acct Bank Revaluation Gain Account */ public void setB_RevaluationGain_Acct (int B_RevaluationGain_Acct) { -set_Value ("B_RevaluationGain_Acct", new Integer(B_RevaluationGain_Acct)); +set_Value ("B_RevaluationGain_Acct", Integer.valueOf(B_RevaluationGain_Acct)); } /** Get Bank Revaluation Gain. @return Bank Revaluation Gain Account */ @@ -247,7 +247,7 @@ return ii.intValue(); @param B_RevaluationLoss_Acct Bank Revaluation Loss Account */ public void setB_RevaluationLoss_Acct (int B_RevaluationLoss_Acct) { -set_Value ("B_RevaluationLoss_Acct", new Integer(B_RevaluationLoss_Acct)); +set_Value ("B_RevaluationLoss_Acct", Integer.valueOf(B_RevaluationLoss_Acct)); } /** Get Bank Revaluation Loss. @return Bank Revaluation Loss Account */ @@ -261,7 +261,7 @@ return ii.intValue(); @param B_SettlementGain_Acct Bank Settlement Gain Account */ public void setB_SettlementGain_Acct (int B_SettlementGain_Acct) { -set_Value ("B_SettlementGain_Acct", new Integer(B_SettlementGain_Acct)); +set_Value ("B_SettlementGain_Acct", Integer.valueOf(B_SettlementGain_Acct)); } /** Get Bank Settlement Gain. @return Bank Settlement Gain Account */ @@ -275,7 +275,7 @@ return ii.intValue(); @param B_SettlementLoss_Acct Bank Settlement Loss Account */ public void setB_SettlementLoss_Acct (int B_SettlementLoss_Acct) { -set_Value ("B_SettlementLoss_Acct", new Integer(B_SettlementLoss_Acct)); +set_Value ("B_SettlementLoss_Acct", Integer.valueOf(B_SettlementLoss_Acct)); } /** Get Bank Settlement Loss. @return Bank Settlement Loss Account */ @@ -289,7 +289,7 @@ return ii.intValue(); @param B_UnallocatedCash_Acct Unallocated Cash Clearing Account */ public void setB_UnallocatedCash_Acct (int B_UnallocatedCash_Acct) { -set_Value ("B_UnallocatedCash_Acct", new Integer(B_UnallocatedCash_Acct)); +set_Value ("B_UnallocatedCash_Acct", Integer.valueOf(B_UnallocatedCash_Acct)); } /** Get Unallocated Cash. @return Unallocated Cash Clearing Account */ @@ -303,7 +303,7 @@ return ii.intValue(); @param B_Unidentified_Acct Bank Unidentified Receipts Account */ public void setB_Unidentified_Acct (int B_Unidentified_Acct) { -set_Value ("B_Unidentified_Acct", new Integer(B_Unidentified_Acct)); +set_Value ("B_Unidentified_Acct", Integer.valueOf(B_Unidentified_Acct)); } /** Get Bank Unidentified Receipts. @return Bank Unidentified Receipts Account */ @@ -317,7 +317,7 @@ return ii.intValue(); @param CB_Asset_Acct Cash Book Asset Account */ public void setCB_Asset_Acct (int CB_Asset_Acct) { -set_Value ("CB_Asset_Acct", new Integer(CB_Asset_Acct)); +set_Value ("CB_Asset_Acct", Integer.valueOf(CB_Asset_Acct)); } /** Get Cash Book Asset. @return Cash Book Asset Account */ @@ -331,7 +331,7 @@ return ii.intValue(); @param CB_CashTransfer_Acct Cash Transfer Clearing Account */ public void setCB_CashTransfer_Acct (int CB_CashTransfer_Acct) { -set_Value ("CB_CashTransfer_Acct", new Integer(CB_CashTransfer_Acct)); +set_Value ("CB_CashTransfer_Acct", Integer.valueOf(CB_CashTransfer_Acct)); } /** Get Cash Transfer. @return Cash Transfer Clearing Account */ @@ -345,7 +345,7 @@ return ii.intValue(); @param CB_Differences_Acct Cash Book Differences Account */ public void setCB_Differences_Acct (int CB_Differences_Acct) { -set_Value ("CB_Differences_Acct", new Integer(CB_Differences_Acct)); +set_Value ("CB_Differences_Acct", Integer.valueOf(CB_Differences_Acct)); } /** Get Cash Book Differences. @return Cash Book Differences Account */ @@ -359,7 +359,7 @@ return ii.intValue(); @param CB_Expense_Acct Cash Book Expense Account */ public void setCB_Expense_Acct (int CB_Expense_Acct) { -set_Value ("CB_Expense_Acct", new Integer(CB_Expense_Acct)); +set_Value ("CB_Expense_Acct", Integer.valueOf(CB_Expense_Acct)); } /** Get Cash Book Expense. @return Cash Book Expense Account */ @@ -373,7 +373,7 @@ return ii.intValue(); @param CB_Receipt_Acct Cash Book Receipts Account */ public void setCB_Receipt_Acct (int CB_Receipt_Acct) { -set_Value ("CB_Receipt_Acct", new Integer(CB_Receipt_Acct)); +set_Value ("CB_Receipt_Acct", Integer.valueOf(CB_Receipt_Acct)); } /** Get Cash Book Receipt. @return Cash Book Receipts Account */ @@ -388,7 +388,7 @@ return ii.intValue(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -408,7 +408,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); @param C_Prepayment_Acct Account for customer prepayments */ public void setC_Prepayment_Acct (int C_Prepayment_Acct) { -set_Value ("C_Prepayment_Acct", new Integer(C_Prepayment_Acct)); +set_Value ("C_Prepayment_Acct", Integer.valueOf(C_Prepayment_Acct)); } /** Get Customer Prepayment. @return Account for customer prepayments */ @@ -422,7 +422,7 @@ return ii.intValue(); @param C_Receivable_Acct Account for Customer Receivables */ public void setC_Receivable_Acct (int C_Receivable_Acct) { -set_Value ("C_Receivable_Acct", new Integer(C_Receivable_Acct)); +set_Value ("C_Receivable_Acct", Integer.valueOf(C_Receivable_Acct)); } /** Get Customer Receivables. @return Account for Customer Receivables */ @@ -436,7 +436,7 @@ return ii.intValue(); @param C_Receivable_Services_Acct Customer Accounts Receivables Services Account */ public void setC_Receivable_Services_Acct (int C_Receivable_Services_Acct) { -set_Value ("C_Receivable_Services_Acct", new Integer(C_Receivable_Services_Acct)); +set_Value ("C_Receivable_Services_Acct", Integer.valueOf(C_Receivable_Services_Acct)); } /** Get Receivable Services. @return Customer Accounts Receivables Services Account */ @@ -450,7 +450,7 @@ return ii.intValue(); @param Ch_Expense_Acct Charge Expense Account */ public void setCh_Expense_Acct (int Ch_Expense_Acct) { -set_Value ("Ch_Expense_Acct", new Integer(Ch_Expense_Acct)); +set_Value ("Ch_Expense_Acct", Integer.valueOf(Ch_Expense_Acct)); } /** Get Charge Expense. @return Charge Expense Account */ @@ -464,7 +464,7 @@ return ii.intValue(); @param Ch_Revenue_Acct Charge Revenue Account */ public void setCh_Revenue_Acct (int Ch_Revenue_Acct) { -set_Value ("Ch_Revenue_Acct", new Integer(Ch_Revenue_Acct)); +set_Value ("Ch_Revenue_Acct", Integer.valueOf(Ch_Revenue_Acct)); } /** Get Charge Revenue. @return Charge Revenue Account */ @@ -478,7 +478,7 @@ return ii.intValue(); @param E_Expense_Acct Account for Employee Expenses */ public void setE_Expense_Acct (int E_Expense_Acct) { -set_Value ("E_Expense_Acct", new Integer(E_Expense_Acct)); +set_Value ("E_Expense_Acct", Integer.valueOf(E_Expense_Acct)); } /** Get Employee Expense. @return Account for Employee Expenses */ @@ -492,7 +492,7 @@ return ii.intValue(); @param E_Prepayment_Acct Account for Employee Expense Prepayments */ public void setE_Prepayment_Acct (int E_Prepayment_Acct) { -set_Value ("E_Prepayment_Acct", new Integer(E_Prepayment_Acct)); +set_Value ("E_Prepayment_Acct", Integer.valueOf(E_Prepayment_Acct)); } /** Get Employee Prepayment. @return Account for Employee Expense Prepayments */ @@ -506,7 +506,7 @@ return ii.intValue(); @param NotInvoicedReceipts_Acct Account for not-invoiced Material Receipts */ public void setNotInvoicedReceipts_Acct (int NotInvoicedReceipts_Acct) { -set_Value ("NotInvoicedReceipts_Acct", new Integer(NotInvoicedReceipts_Acct)); +set_Value ("NotInvoicedReceipts_Acct", Integer.valueOf(NotInvoicedReceipts_Acct)); } /** Get Not-invoiced Receipts. @return Account for not-invoiced Material Receipts */ @@ -520,7 +520,7 @@ return ii.intValue(); @param NotInvoicedReceivables_Acct Account for not invoiced Receivables */ public void setNotInvoicedReceivables_Acct (int NotInvoicedReceivables_Acct) { -set_Value ("NotInvoicedReceivables_Acct", new Integer(NotInvoicedReceivables_Acct)); +set_Value ("NotInvoicedReceivables_Acct", Integer.valueOf(NotInvoicedReceivables_Acct)); } /** Get Not-invoiced Receivables. @return Account for not invoiced Receivables */ @@ -534,7 +534,7 @@ return ii.intValue(); @param NotInvoicedRevenue_Acct Account for not invoiced Revenue */ public void setNotInvoicedRevenue_Acct (int NotInvoicedRevenue_Acct) { -set_Value ("NotInvoicedRevenue_Acct", new Integer(NotInvoicedRevenue_Acct)); +set_Value ("NotInvoicedRevenue_Acct", Integer.valueOf(NotInvoicedRevenue_Acct)); } /** Get Not-invoiced Revenue. @return Account for not invoiced Revenue */ @@ -548,7 +548,7 @@ return ii.intValue(); @param PJ_Asset_Acct Project Asset Account */ public void setPJ_Asset_Acct (int PJ_Asset_Acct) { -set_Value ("PJ_Asset_Acct", new Integer(PJ_Asset_Acct)); +set_Value ("PJ_Asset_Acct", Integer.valueOf(PJ_Asset_Acct)); } /** Get Project Asset. @return Project Asset Account */ @@ -562,7 +562,7 @@ return ii.intValue(); @param PJ_WIP_Acct Account for Work in Progress */ public void setPJ_WIP_Acct (int PJ_WIP_Acct) { -set_Value ("PJ_WIP_Acct", new Integer(PJ_WIP_Acct)); +set_Value ("PJ_WIP_Acct", Integer.valueOf(PJ_WIP_Acct)); } /** Get Work In Progress. @return Account for Work in Progress */ @@ -576,7 +576,7 @@ return ii.intValue(); @param P_Asset_Acct Account for Product Asset (Inventory) */ public void setP_Asset_Acct (int P_Asset_Acct) { -set_Value ("P_Asset_Acct", new Integer(P_Asset_Acct)); +set_Value ("P_Asset_Acct", Integer.valueOf(P_Asset_Acct)); } /** Get Product Asset. @return Account for Product Asset (Inventory) */ @@ -590,7 +590,7 @@ return ii.intValue(); @param P_COGS_Acct Account for Cost of Goods Sold */ public void setP_COGS_Acct (int P_COGS_Acct) { -set_Value ("P_COGS_Acct", new Integer(P_COGS_Acct)); +set_Value ("P_COGS_Acct", Integer.valueOf(P_COGS_Acct)); } /** Get Product COGS. @return Account for Cost of Goods Sold */ @@ -604,7 +604,7 @@ return ii.intValue(); @param P_CostAdjustment_Acct Product Cost Adjustment Account */ public void setP_CostAdjustment_Acct (int P_CostAdjustment_Acct) { -set_Value ("P_CostAdjustment_Acct", new Integer(P_CostAdjustment_Acct)); +set_Value ("P_CostAdjustment_Acct", Integer.valueOf(P_CostAdjustment_Acct)); } /** Get Cost Adjustment. @return Product Cost Adjustment Account */ @@ -618,7 +618,7 @@ return ii.intValue(); @param P_Expense_Acct Account for Product Expense */ public void setP_Expense_Acct (int P_Expense_Acct) { -set_Value ("P_Expense_Acct", new Integer(P_Expense_Acct)); +set_Value ("P_Expense_Acct", Integer.valueOf(P_Expense_Acct)); } /** Get Product Expense. @return Account for Product Expense */ @@ -632,7 +632,7 @@ return ii.intValue(); @param P_InventoryClearing_Acct Product Inventory Clearing Account */ public void setP_InventoryClearing_Acct (int P_InventoryClearing_Acct) { -set_Value ("P_InventoryClearing_Acct", new Integer(P_InventoryClearing_Acct)); +set_Value ("P_InventoryClearing_Acct", Integer.valueOf(P_InventoryClearing_Acct)); } /** Get Inventory Clearing. @return Product Inventory Clearing Account */ @@ -646,7 +646,7 @@ return ii.intValue(); @param P_InvoicePriceVariance_Acct Difference between Costs and Invoice Price (IPV) */ public void setP_InvoicePriceVariance_Acct (int P_InvoicePriceVariance_Acct) { -set_Value ("P_InvoicePriceVariance_Acct", new Integer(P_InvoicePriceVariance_Acct)); +set_Value ("P_InvoicePriceVariance_Acct", Integer.valueOf(P_InvoicePriceVariance_Acct)); } /** Get Invoice Price Variance. @return Difference between Costs and Invoice Price (IPV) */ @@ -660,7 +660,7 @@ return ii.intValue(); @param P_PurchasePriceVariance_Acct Difference between Standard Cost and Purchase Price (PPV) */ public void setP_PurchasePriceVariance_Acct (int P_PurchasePriceVariance_Acct) { -set_Value ("P_PurchasePriceVariance_Acct", new Integer(P_PurchasePriceVariance_Acct)); +set_Value ("P_PurchasePriceVariance_Acct", Integer.valueOf(P_PurchasePriceVariance_Acct)); } /** Get Purchase Price Variance. @return Difference between Standard Cost and Purchase Price (PPV) */ @@ -674,7 +674,7 @@ return ii.intValue(); @param P_Revenue_Acct Account for Product Revenue (Sales Account) */ public void setP_Revenue_Acct (int P_Revenue_Acct) { -set_Value ("P_Revenue_Acct", new Integer(P_Revenue_Acct)); +set_Value ("P_Revenue_Acct", Integer.valueOf(P_Revenue_Acct)); } /** Get Product Revenue. @return Account for Product Revenue (Sales Account) */ @@ -688,7 +688,7 @@ return ii.intValue(); @param P_TradeDiscountGrant_Acct Trade Discount Granted Account */ public void setP_TradeDiscountGrant_Acct (int P_TradeDiscountGrant_Acct) { -set_Value ("P_TradeDiscountGrant_Acct", new Integer(P_TradeDiscountGrant_Acct)); +set_Value ("P_TradeDiscountGrant_Acct", Integer.valueOf(P_TradeDiscountGrant_Acct)); } /** Get Trade Discount Granted. @return Trade Discount Granted Account */ @@ -702,7 +702,7 @@ return ii.intValue(); @param P_TradeDiscountRec_Acct Trade Discount Receivable Account */ public void setP_TradeDiscountRec_Acct (int P_TradeDiscountRec_Acct) { -set_Value ("P_TradeDiscountRec_Acct", new Integer(P_TradeDiscountRec_Acct)); +set_Value ("P_TradeDiscountRec_Acct", Integer.valueOf(P_TradeDiscountRec_Acct)); } /** Get Trade Discount Received. @return Trade Discount Receivable Account */ @@ -716,7 +716,7 @@ return ii.intValue(); @param PayDiscount_Exp_Acct Payment Discount Expense Account */ public void setPayDiscount_Exp_Acct (int PayDiscount_Exp_Acct) { -set_Value ("PayDiscount_Exp_Acct", new Integer(PayDiscount_Exp_Acct)); +set_Value ("PayDiscount_Exp_Acct", Integer.valueOf(PayDiscount_Exp_Acct)); } /** Get Payment Discount Expense. @return Payment Discount Expense Account */ @@ -730,7 +730,7 @@ return ii.intValue(); @param PayDiscount_Rev_Acct Payment Discount Revenue Account */ public void setPayDiscount_Rev_Acct (int PayDiscount_Rev_Acct) { -set_Value ("PayDiscount_Rev_Acct", new Integer(PayDiscount_Rev_Acct)); +set_Value ("PayDiscount_Rev_Acct", Integer.valueOf(PayDiscount_Rev_Acct)); } /** Get Payment Discount Revenue. @return Payment Discount Revenue Account */ @@ -744,7 +744,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -762,7 +762,7 @@ return false; @param RealizedGain_Acct Realized Gain Account */ public void setRealizedGain_Acct (int RealizedGain_Acct) { -set_Value ("RealizedGain_Acct", new Integer(RealizedGain_Acct)); +set_Value ("RealizedGain_Acct", Integer.valueOf(RealizedGain_Acct)); } /** Get Realized Gain Acct. @return Realized Gain Account */ @@ -776,7 +776,7 @@ return ii.intValue(); @param RealizedLoss_Acct Realized Loss Account */ public void setRealizedLoss_Acct (int RealizedLoss_Acct) { -set_Value ("RealizedLoss_Acct", new Integer(RealizedLoss_Acct)); +set_Value ("RealizedLoss_Acct", Integer.valueOf(RealizedLoss_Acct)); } /** Get Realized Loss Acct. @return Realized Loss Account */ @@ -790,7 +790,7 @@ return ii.intValue(); @param T_Credit_Acct Account for Tax you can reclaim */ public void setT_Credit_Acct (int T_Credit_Acct) { -set_Value ("T_Credit_Acct", new Integer(T_Credit_Acct)); +set_Value ("T_Credit_Acct", Integer.valueOf(T_Credit_Acct)); } /** Get Tax Credit. @return Account for Tax you can reclaim */ @@ -804,7 +804,7 @@ return ii.intValue(); @param T_Due_Acct Account for Tax you have to pay */ public void setT_Due_Acct (int T_Due_Acct) { -set_Value ("T_Due_Acct", new Integer(T_Due_Acct)); +set_Value ("T_Due_Acct", Integer.valueOf(T_Due_Acct)); } /** Get Tax Due. @return Account for Tax you have to pay */ @@ -818,7 +818,7 @@ return ii.intValue(); @param T_Expense_Acct Account for paid tax you cannot reclaim */ public void setT_Expense_Acct (int T_Expense_Acct) { -set_Value ("T_Expense_Acct", new Integer(T_Expense_Acct)); +set_Value ("T_Expense_Acct", Integer.valueOf(T_Expense_Acct)); } /** Get Tax Expense. @return Account for paid tax you cannot reclaim */ @@ -832,7 +832,7 @@ return ii.intValue(); @param T_Liability_Acct Account for Tax declaration liability */ public void setT_Liability_Acct (int T_Liability_Acct) { -set_Value ("T_Liability_Acct", new Integer(T_Liability_Acct)); +set_Value ("T_Liability_Acct", Integer.valueOf(T_Liability_Acct)); } /** Get Tax Liability. @return Account for Tax declaration liability */ @@ -846,7 +846,7 @@ return ii.intValue(); @param T_Receivables_Acct Account for Tax credit after tax declaration */ public void setT_Receivables_Acct (int T_Receivables_Acct) { -set_Value ("T_Receivables_Acct", new Integer(T_Receivables_Acct)); +set_Value ("T_Receivables_Acct", Integer.valueOf(T_Receivables_Acct)); } /** Get Tax Receivables. @return Account for Tax credit after tax declaration */ @@ -860,7 +860,7 @@ return ii.intValue(); @param UnEarnedRevenue_Acct Account for unearned revenue */ public void setUnEarnedRevenue_Acct (int UnEarnedRevenue_Acct) { -set_Value ("UnEarnedRevenue_Acct", new Integer(UnEarnedRevenue_Acct)); +set_Value ("UnEarnedRevenue_Acct", Integer.valueOf(UnEarnedRevenue_Acct)); } /** Get Unearned Revenue. @return Account for unearned revenue */ @@ -874,7 +874,7 @@ return ii.intValue(); @param UnrealizedGain_Acct Unrealized Gain Account for currency revaluation */ public void setUnrealizedGain_Acct (int UnrealizedGain_Acct) { -set_Value ("UnrealizedGain_Acct", new Integer(UnrealizedGain_Acct)); +set_Value ("UnrealizedGain_Acct", Integer.valueOf(UnrealizedGain_Acct)); } /** Get Unrealized Gain Acct. @return Unrealized Gain Account for currency revaluation */ @@ -888,7 +888,7 @@ return ii.intValue(); @param UnrealizedLoss_Acct Unrealized Loss Account for currency revaluation */ public void setUnrealizedLoss_Acct (int UnrealizedLoss_Acct) { -set_Value ("UnrealizedLoss_Acct", new Integer(UnrealizedLoss_Acct)); +set_Value ("UnrealizedLoss_Acct", Integer.valueOf(UnrealizedLoss_Acct)); } /** Get Unrealized Loss Acct. @return Unrealized Loss Account for currency revaluation */ @@ -902,7 +902,7 @@ return ii.intValue(); @param V_Liability_Acct Account for Vendor Liability */ public void setV_Liability_Acct (int V_Liability_Acct) { -set_Value ("V_Liability_Acct", new Integer(V_Liability_Acct)); +set_Value ("V_Liability_Acct", Integer.valueOf(V_Liability_Acct)); } /** Get Vendor Liability. @return Account for Vendor Liability */ @@ -916,7 +916,7 @@ return ii.intValue(); @param V_Liability_Services_Acct Account for Vender Service Liability */ public void setV_Liability_Services_Acct (int V_Liability_Services_Acct) { -set_Value ("V_Liability_Services_Acct", new Integer(V_Liability_Services_Acct)); +set_Value ("V_Liability_Services_Acct", Integer.valueOf(V_Liability_Services_Acct)); } /** Get Vendor Service Liability. @return Account for Vender Service Liability */ @@ -930,7 +930,7 @@ return ii.intValue(); @param V_Prepayment_Acct Account for Vendor Prepayments */ public void setV_Prepayment_Acct (int V_Prepayment_Acct) { -set_Value ("V_Prepayment_Acct", new Integer(V_Prepayment_Acct)); +set_Value ("V_Prepayment_Acct", Integer.valueOf(V_Prepayment_Acct)); } /** Get Vendor Prepayment. @return Account for Vendor Prepayments */ @@ -944,7 +944,7 @@ return ii.intValue(); @param W_Differences_Acct Warehouse Differences Account */ public void setW_Differences_Acct (int W_Differences_Acct) { -set_Value ("W_Differences_Acct", new Integer(W_Differences_Acct)); +set_Value ("W_Differences_Acct", Integer.valueOf(W_Differences_Acct)); } /** Get Warehouse Differences. @return Warehouse Differences Account */ @@ -958,7 +958,7 @@ return ii.intValue(); @param W_InvActualAdjust_Acct Account for Inventory value adjustments for Actual Costing */ public void setW_InvActualAdjust_Acct (int W_InvActualAdjust_Acct) { -set_Value ("W_InvActualAdjust_Acct", new Integer(W_InvActualAdjust_Acct)); +set_Value ("W_InvActualAdjust_Acct", Integer.valueOf(W_InvActualAdjust_Acct)); } /** Get Inventory Adjustment. @return Account for Inventory value adjustments for Actual Costing */ @@ -972,7 +972,7 @@ return ii.intValue(); @param W_Inventory_Acct Warehouse Inventory Asset Account - Currently not used */ public void setW_Inventory_Acct (int W_Inventory_Acct) { -set_Value ("W_Inventory_Acct", new Integer(W_Inventory_Acct)); +set_Value ("W_Inventory_Acct", Integer.valueOf(W_Inventory_Acct)); } /** Get (Not Used). @return Warehouse Inventory Asset Account - Currently not used */ @@ -986,7 +986,7 @@ return ii.intValue(); @param W_Revaluation_Acct Account for Inventory Revaluation */ public void setW_Revaluation_Acct (int W_Revaluation_Acct) { -set_Value ("W_Revaluation_Acct", new Integer(W_Revaluation_Acct)); +set_Value ("W_Revaluation_Acct", Integer.valueOf(W_Revaluation_Acct)); } /** Get Inventory Revaluation. @return Account for Inventory Revaluation */ @@ -1000,7 +1000,7 @@ return ii.intValue(); @param Withholding_Acct Account for Withholdings */ public void setWithholding_Acct (int Withholding_Acct) { -set_Value ("Withholding_Acct", new Integer(Withholding_Acct)); +set_Value ("Withholding_Acct", Integer.valueOf(Withholding_Acct)); } /** Get Withholding. @return Account for Withholdings */ @@ -1014,7 +1014,7 @@ return ii.intValue(); @param WriteOff_Acct Account for Receivables write-off */ public void setWriteOff_Acct (int WriteOff_Acct) { -set_Value ("WriteOff_Acct", new Integer(WriteOff_Acct)); +set_Value ("WriteOff_Acct", Integer.valueOf(WriteOff_Acct)); } /** Get Write-off. @return Account for Receivables write-off */ diff --git a/dbPort/src/org/compiere/model/X_C_AcctSchema_Element.java b/dbPort/src/org/compiere/model/X_C_AcctSchema_Element.java index d80e605edd..6c659fa2e0 100644 --- a/dbPort/src/org/compiere/model/X_C_AcctSchema_Element.java +++ b/dbPort/src/org/compiere/model/X_C_AcctSchema_Element.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AcctSchema_Element * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AcctSchema_Element extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_AcctSchema_Element (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=279 */ -public static final int Table_ID=279; +public static final int Table_ID=MTable.getTable_ID("C_AcctSchema_Element"); /** TableName=C_AcctSchema_Element */ public static final String Table_Name="C_AcctSchema_Element"; -protected static KeyNamePair Model = new KeyNamePair(279,"C_AcctSchema_Element"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AcctSchema_Element"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -99,7 +99,7 @@ public void setAD_Column_ID (int AD_Column_ID) { if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @return Column in the table */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setC_AcctSchema_Element_ID (int C_AcctSchema_Element_ID) { if (C_AcctSchema_Element_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_Element_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_Element_ID", new Integer(C_AcctSchema_Element_ID)); +set_ValueNoCheck ("C_AcctSchema_Element_ID", Integer.valueOf(C_AcctSchema_Element_ID)); } /** Get Acct.Schema Element. @return Acct.Schema Element */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -145,7 +145,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -161,7 +161,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -177,7 +177,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -193,7 +193,7 @@ public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID <= 0) set_Value ("C_ElementValue_ID", null); else -set_Value ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_Value ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -208,7 +208,7 @@ return ii.intValue(); public void setC_Element_ID (int C_Element_ID) { if (C_Element_ID < 1) throw new IllegalArgumentException ("C_Element_ID is mandatory."); -set_Value ("C_Element_ID", new Integer(C_Element_ID)); +set_Value ("C_Element_ID", Integer.valueOf(C_Element_ID)); } /** Get Element. @return Accounting Element */ @@ -224,7 +224,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -240,7 +240,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -256,7 +256,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -325,7 +325,7 @@ return (String)get_Value("ElementType"); @param IsBalanced Balanced */ public void setIsBalanced (boolean IsBalanced) { -set_Value ("IsBalanced", new Boolean(IsBalanced)); +set_Value ("IsBalanced", Boolean.valueOf(IsBalanced)); } /** Get Balanced. @return Balanced */ @@ -343,7 +343,7 @@ return false; @param IsMandatory Data entry is required in this column */ public void setIsMandatory (boolean IsMandatory) { -set_Value ("IsMandatory", new Boolean(IsMandatory)); +set_Value ("IsMandatory", Boolean.valueOf(IsMandatory)); } /** Get Mandatory. @return Data entry is required in this column */ @@ -363,7 +363,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -405,7 +405,7 @@ public static final int ORG_ID_AD_Reference_ID=130; public void setOrg_ID (int Org_ID) { if (Org_ID < 1) throw new IllegalArgumentException ("Org_ID is mandatory."); -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ @@ -420,7 +420,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_AcctSchema_GL.java b/dbPort/src/org/compiere/model/X_C_AcctSchema_GL.java index c1ad99e94b..76bcbe8964 100644 --- a/dbPort/src/org/compiere/model/X_C_AcctSchema_GL.java +++ b/dbPort/src/org/compiere/model/X_C_AcctSchema_GL.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AcctSchema_GL * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AcctSchema_GL extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_C_AcctSchema_GL (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=266 */ -public static final int Table_ID=266; +public static final int Table_ID=MTable.getTable_ID("C_AcctSchema_GL"); /** TableName=C_AcctSchema_GL */ public static final String Table_Name="C_AcctSchema_GL"; -protected static KeyNamePair Model = new KeyNamePair(266,"C_AcctSchema_GL"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AcctSchema_GL"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -99,7 +99,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -119,7 +119,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); @param CommitmentOffset_Acct Budgetary Commitment Offset Account */ public void setCommitmentOffset_Acct (int CommitmentOffset_Acct) { -set_Value ("CommitmentOffset_Acct", new Integer(CommitmentOffset_Acct)); +set_Value ("CommitmentOffset_Acct", Integer.valueOf(CommitmentOffset_Acct)); } /** Get Commitment Offset. @return Budgetary Commitment Offset Account */ @@ -133,7 +133,7 @@ return ii.intValue(); @param CurrencyBalancing_Acct Account used when a currency is out of balance */ public void setCurrencyBalancing_Acct (int CurrencyBalancing_Acct) { -set_Value ("CurrencyBalancing_Acct", new Integer(CurrencyBalancing_Acct)); +set_Value ("CurrencyBalancing_Acct", Integer.valueOf(CurrencyBalancing_Acct)); } /** Get Currency Balancing Acct. @return Account used when a currency is out of balance */ @@ -147,7 +147,7 @@ return ii.intValue(); @param IncomeSummary_Acct Income Summary Account */ public void setIncomeSummary_Acct (int IncomeSummary_Acct) { -set_Value ("IncomeSummary_Acct", new Integer(IncomeSummary_Acct)); +set_Value ("IncomeSummary_Acct", Integer.valueOf(IncomeSummary_Acct)); } /** Get Income Summary Acct. @return Income Summary Account */ @@ -161,7 +161,7 @@ return ii.intValue(); @param IntercompanyDueFrom_Acct Intercompany Due From / Receivables Account */ public void setIntercompanyDueFrom_Acct (int IntercompanyDueFrom_Acct) { -set_Value ("IntercompanyDueFrom_Acct", new Integer(IntercompanyDueFrom_Acct)); +set_Value ("IntercompanyDueFrom_Acct", Integer.valueOf(IntercompanyDueFrom_Acct)); } /** Get Intercompany Due From Acct. @return Intercompany Due From / Receivables Account */ @@ -175,7 +175,7 @@ return ii.intValue(); @param IntercompanyDueTo_Acct Intercompany Due To / Payable Account */ public void setIntercompanyDueTo_Acct (int IntercompanyDueTo_Acct) { -set_Value ("IntercompanyDueTo_Acct", new Integer(IntercompanyDueTo_Acct)); +set_Value ("IntercompanyDueTo_Acct", Integer.valueOf(IntercompanyDueTo_Acct)); } /** Get Intercompany Due To Acct. @return Intercompany Due To / Payable Account */ @@ -189,7 +189,7 @@ return ii.intValue(); @param PPVOffset_Acct Purchase Price Variance Offset Account */ public void setPPVOffset_Acct (int PPVOffset_Acct) { -set_Value ("PPVOffset_Acct", new Integer(PPVOffset_Acct)); +set_Value ("PPVOffset_Acct", Integer.valueOf(PPVOffset_Acct)); } /** Get PPV Offset. @return Purchase Price Variance Offset Account */ @@ -203,7 +203,7 @@ return ii.intValue(); @param RetainedEarning_Acct Retained Earning Acct */ public void setRetainedEarning_Acct (int RetainedEarning_Acct) { -set_Value ("RetainedEarning_Acct", new Integer(RetainedEarning_Acct)); +set_Value ("RetainedEarning_Acct", Integer.valueOf(RetainedEarning_Acct)); } /** Get Retained Earning Acct. @return Retained Earning Acct */ @@ -217,7 +217,7 @@ return ii.intValue(); @param SuspenseBalancing_Acct Suspense Balancing Acct */ public void setSuspenseBalancing_Acct (int SuspenseBalancing_Acct) { -set_Value ("SuspenseBalancing_Acct", new Integer(SuspenseBalancing_Acct)); +set_Value ("SuspenseBalancing_Acct", Integer.valueOf(SuspenseBalancing_Acct)); } /** Get Suspense Balancing Acct. @return Suspense Balancing Acct */ @@ -231,7 +231,7 @@ return ii.intValue(); @param SuspenseError_Acct Suspense Error Acct */ public void setSuspenseError_Acct (int SuspenseError_Acct) { -set_Value ("SuspenseError_Acct", new Integer(SuspenseError_Acct)); +set_Value ("SuspenseError_Acct", Integer.valueOf(SuspenseError_Acct)); } /** Get Suspense Error Acct. @return Suspense Error Acct */ @@ -245,7 +245,7 @@ return ii.intValue(); @param UseCurrencyBalancing Use Currency Balancing */ public void setUseCurrencyBalancing (boolean UseCurrencyBalancing) { -set_Value ("UseCurrencyBalancing", new Boolean(UseCurrencyBalancing)); +set_Value ("UseCurrencyBalancing", Boolean.valueOf(UseCurrencyBalancing)); } /** Get Use Currency Balancing. @return Use Currency Balancing */ @@ -263,7 +263,7 @@ return false; @param UseSuspenseBalancing Use Suspense Balancing */ public void setUseSuspenseBalancing (boolean UseSuspenseBalancing) { -set_Value ("UseSuspenseBalancing", new Boolean(UseSuspenseBalancing)); +set_Value ("UseSuspenseBalancing", Boolean.valueOf(UseSuspenseBalancing)); } /** Get Use Suspense Balancing. @return Use Suspense Balancing */ @@ -281,7 +281,7 @@ return false; @param UseSuspenseError Use Suspense Error */ public void setUseSuspenseError (boolean UseSuspenseError) { -set_Value ("UseSuspenseError", new Boolean(UseSuspenseError)); +set_Value ("UseSuspenseError", Boolean.valueOf(UseSuspenseError)); } /** Get Use Suspense Error. @return Use Suspense Error */ diff --git a/dbPort/src/org/compiere/model/X_C_Activity.java b/dbPort/src/org/compiere/model/X_C_Activity.java index 6e77bf7766..7687ad11e9 100644 --- a/dbPort/src/org/compiere/model/X_C_Activity.java +++ b/dbPort/src/org/compiere/model/X_C_Activity.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Activity * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Activity extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_Activity (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=316 */ -public static final int Table_ID=316; +public static final int Table_ID=MTable.getTable_ID("C_Activity"); /** TableName=C_Activity */ public static final String Table_Name="C_Activity"; -protected static KeyNamePair Model = new KeyNamePair(316,"C_Activity"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Activity"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID < 1) throw new IllegalArgumentException ("C_Activity_ID is mandatory."); -set_ValueNoCheck ("C_Activity_ID", new Integer(C_Activity_ID)); +set_ValueNoCheck ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -141,7 +141,7 @@ return (String)get_Value("Help"); @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ diff --git a/dbPort/src/org/compiere/model/X_C_AllocationHdr.java b/dbPort/src/org/compiere/model/X_C_AllocationHdr.java index 724f7016c1..2c53cb8c96 100644 --- a/dbPort/src/org/compiere/model/X_C_AllocationHdr.java +++ b/dbPort/src/org/compiere/model/X_C_AllocationHdr.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AllocationHdr * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AllocationHdr extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_AllocationHdr (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=735 */ -public static final int Table_ID=735; +public static final int Table_ID=MTable.getTable_ID("C_AllocationHdr"); /** TableName=C_AllocationHdr */ public static final String Table_Name="C_AllocationHdr"; -protected static KeyNamePair Model = new KeyNamePair(735,"C_AllocationHdr"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AllocationHdr"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -116,7 +116,7 @@ return bd; public void setC_AllocationHdr_ID (int C_AllocationHdr_ID) { if (C_AllocationHdr_ID < 1) throw new IllegalArgumentException ("C_AllocationHdr_ID is mandatory."); -set_ValueNoCheck ("C_AllocationHdr_ID", new Integer(C_AllocationHdr_ID)); +set_ValueNoCheck ("C_AllocationHdr_ID", Integer.valueOf(C_AllocationHdr_ID)); } /** Get Allocation. @return Payment allocation */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -310,7 +310,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -328,7 +328,7 @@ return false; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -346,7 +346,7 @@ return false; @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -364,7 +364,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -382,7 +382,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_AllocationLine.java b/dbPort/src/org/compiere/model/X_C_AllocationLine.java index bace0c2fe3..583e672641 100644 --- a/dbPort/src/org/compiere/model/X_C_AllocationLine.java +++ b/dbPort/src/org/compiere/model/X_C_AllocationLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_AllocationLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_AllocationLine extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_AllocationLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=390 */ -public static final int Table_ID=390; +public static final int Table_ID=MTable.getTable_ID("C_AllocationLine"); /** TableName=C_AllocationLine */ public static final String Table_Name="C_AllocationLine"; -protected static KeyNamePair Model = new KeyNamePair(390,"C_AllocationLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_AllocationLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -109,7 +109,7 @@ return bd; public void setC_AllocationHdr_ID (int C_AllocationHdr_ID) { if (C_AllocationHdr_ID < 1) throw new IllegalArgumentException ("C_AllocationHdr_ID is mandatory."); -set_ValueNoCheck ("C_AllocationHdr_ID", new Integer(C_AllocationHdr_ID)); +set_ValueNoCheck ("C_AllocationHdr_ID", Integer.valueOf(C_AllocationHdr_ID)); } /** Get Allocation. @return Payment allocation */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setC_AllocationLine_ID (int C_AllocationLine_ID) { if (C_AllocationLine_ID < 1) throw new IllegalArgumentException ("C_AllocationLine_ID is mandatory."); -set_ValueNoCheck ("C_AllocationLine_ID", new Integer(C_AllocationLine_ID)); +set_ValueNoCheck ("C_AllocationLine_ID", Integer.valueOf(C_AllocationLine_ID)); } /** Get Allocation Line. @return Allocation Line */ @@ -140,7 +140,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_ValueNoCheck ("C_BPartner_ID", null); else -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -156,7 +156,7 @@ public void setC_CashLine_ID (int C_CashLine_ID) { if (C_CashLine_ID <= 0) set_ValueNoCheck ("C_CashLine_ID", null); else -set_ValueNoCheck ("C_CashLine_ID", new Integer(C_CashLine_ID)); +set_ValueNoCheck ("C_CashLine_ID", Integer.valueOf(C_CashLine_ID)); } /** Get Cash Journal Line. @return Cash Journal Line */ @@ -172,7 +172,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -194,7 +194,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -210,7 +210,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_ValueNoCheck ("C_Payment_ID", null); else -set_ValueNoCheck ("C_Payment_ID", new Integer(C_Payment_ID)); +set_ValueNoCheck ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -251,7 +251,7 @@ return bd; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_ValueNoCheck ("IsManual", new Boolean(IsManual)); +set_ValueNoCheck ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_BankAccount.java b/dbPort/src/org/compiere/model/X_C_BP_BankAccount.java index ce7707dd60..40f15ea4a8 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_BankAccount.java +++ b/dbPort/src/org/compiere/model/X_C_BP_BankAccount.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_BankAccount * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_BankAccount extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_BP_BankAccount (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=298 */ -public static final int Table_ID=298; +public static final int Table_ID=MTable.getTable_ID("C_BP_BankAccount"); /** TableName=C_BP_BankAccount */ public static final String Table_Name="C_BP_BankAccount"; -protected static KeyNamePair Model = new KeyNamePair(298,"C_BP_BankAccount"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_BankAccount"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -336,7 +336,7 @@ return (String)get_Value("BankAccountType"); public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) { if (C_BP_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BP_BankAccount_ID is mandatory."); -set_ValueNoCheck ("C_BP_BankAccount_ID", new Integer(C_BP_BankAccount_ID)); +set_ValueNoCheck ("C_BP_BankAccount_ID", Integer.valueOf(C_BP_BankAccount_ID)); } /** Get Partner Bank Account. @return Bank Account of the Business Partner */ @@ -351,7 +351,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -367,7 +367,7 @@ public void setC_Bank_ID (int C_Bank_ID) { if (C_Bank_ID <= 0) set_Value ("C_Bank_ID", null); else -set_Value ("C_Bank_ID", new Integer(C_Bank_ID)); +set_Value ("C_Bank_ID", Integer.valueOf(C_Bank_ID)); } /** Get Bank. @return Bank */ @@ -387,7 +387,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Bank_ID())); @param CreditCardExpMM Expiry Month */ public void setCreditCardExpMM (int CreditCardExpMM) { -set_Value ("CreditCardExpMM", new Integer(CreditCardExpMM)); +set_Value ("CreditCardExpMM", Integer.valueOf(CreditCardExpMM)); } /** Get Exp. Month. @return Expiry Month */ @@ -401,7 +401,7 @@ return ii.intValue(); @param CreditCardExpYY Expiry Year */ public void setCreditCardExpYY (int CreditCardExpYY) { -set_Value ("CreditCardExpYY", new Integer(CreditCardExpYY)); +set_Value ("CreditCardExpYY", Integer.valueOf(CreditCardExpYY)); } /** Get Exp. Year. @return Expiry Year */ @@ -485,7 +485,7 @@ return (String)get_Value("CreditCardVV"); @param IsACH Automatic Clearing House */ public void setIsACH (boolean IsACH) { -set_Value ("IsACH", new Boolean(IsACH)); +set_Value ("IsACH", Boolean.valueOf(IsACH)); } /** Get ACH. @return Automatic Clearing House */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Customer_Acct.java b/dbPort/src/org/compiere/model/X_C_BP_Customer_Acct.java index 5f8ef44b16..c27142db85 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Customer_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Customer_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Customer_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Customer_Acct extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_BP_Customer_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=183 */ -public static final int Table_ID=183; +public static final int Table_ID=MTable.getTable_ID("C_BP_Customer_Acct"); /** TableName=C_BP_Customer_Acct */ public static final String Table_Name="C_BP_Customer_Acct"; -protected static KeyNamePair Model = new KeyNamePair(183,"C_BP_Customer_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Customer_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -123,7 +123,7 @@ return ii.intValue(); @param C_Prepayment_Acct Account for customer prepayments */ public void setC_Prepayment_Acct (int C_Prepayment_Acct) { -set_Value ("C_Prepayment_Acct", new Integer(C_Prepayment_Acct)); +set_Value ("C_Prepayment_Acct", Integer.valueOf(C_Prepayment_Acct)); } /** Get Customer Prepayment. @return Account for customer prepayments */ @@ -137,7 +137,7 @@ return ii.intValue(); @param C_Receivable_Acct Account for Customer Receivables */ public void setC_Receivable_Acct (int C_Receivable_Acct) { -set_Value ("C_Receivable_Acct", new Integer(C_Receivable_Acct)); +set_Value ("C_Receivable_Acct", Integer.valueOf(C_Receivable_Acct)); } /** Get Customer Receivables. @return Account for Customer Receivables */ @@ -151,7 +151,7 @@ return ii.intValue(); @param C_Receivable_Services_Acct Customer Accounts Receivables Services Account */ public void setC_Receivable_Services_Acct (int C_Receivable_Services_Acct) { -set_Value ("C_Receivable_Services_Acct", new Integer(C_Receivable_Services_Acct)); +set_Value ("C_Receivable_Services_Acct", Integer.valueOf(C_Receivable_Services_Acct)); } /** Get Receivable Services. @return Customer Accounts Receivables Services Account */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_EDI.java b/dbPort/src/org/compiere/model/X_C_BP_EDI.java index 1572cebb7a..80fd90b068 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_EDI.java +++ b/dbPort/src/org/compiere/model/X_C_BP_EDI.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_EDI * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_EDI extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_C_BP_EDI (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=366 */ -public static final int Table_ID=366; +public static final int Table_ID=MTable.getTable_ID("C_BP_EDI"); /** TableName=C_BP_EDI */ public static final String Table_Name="C_BP_EDI"; -protected static KeyNamePair Model = new KeyNamePair(366,"C_BP_EDI"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_EDI"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -107,7 +107,7 @@ public static final int AD_SEQUENCE_ID_AD_Reference_ID=128; public void setAD_Sequence_ID (int AD_Sequence_ID) { if (AD_Sequence_ID < 1) throw new IllegalArgumentException ("AD_Sequence_ID is mandatory."); -set_Value ("AD_Sequence_ID", new Integer(AD_Sequence_ID)); +set_Value ("AD_Sequence_ID", Integer.valueOf(AD_Sequence_ID)); } /** Get Sequence. @return Document Sequence */ @@ -122,7 +122,7 @@ return ii.intValue(); public void setC_BP_EDI_ID (int C_BP_EDI_ID) { if (C_BP_EDI_ID < 1) throw new IllegalArgumentException ("C_BP_EDI_ID is mandatory."); -set_ValueNoCheck ("C_BP_EDI_ID", new Integer(C_BP_EDI_ID)); +set_ValueNoCheck ("C_BP_EDI_ID", Integer.valueOf(C_BP_EDI_ID)); } /** Get EDI Definition. @return Electronic Data Interchange */ @@ -137,7 +137,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -319,7 +319,7 @@ return (String)get_Value("EMail_To"); @param IsAudited Activate Audit Trail of what numbers are generated */ public void setIsAudited (boolean IsAudited) { -set_Value ("IsAudited", new Boolean(IsAudited)); +set_Value ("IsAudited", Boolean.valueOf(IsAudited)); } /** Get Activate Audit. @return Activate Audit Trail of what numbers are generated */ @@ -337,7 +337,7 @@ return false; @param IsInfoSent Send informational messages and copies */ public void setIsInfoSent (boolean IsInfoSent) { -set_Value ("IsInfoSent", new Boolean(IsInfoSent)); +set_Value ("IsInfoSent", Boolean.valueOf(IsInfoSent)); } /** Get Send Info. @return Send informational messages and copies */ @@ -356,7 +356,7 @@ return false; public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -394,7 +394,7 @@ return new KeyNamePair(get_ID(), getName()); @param ReceiveInquiryReply Received Inquiry Reply */ public void setReceiveInquiryReply (boolean ReceiveInquiryReply) { -set_Value ("ReceiveInquiryReply", new Boolean(ReceiveInquiryReply)); +set_Value ("ReceiveInquiryReply", Boolean.valueOf(ReceiveInquiryReply)); } /** Get Received Inquiry Reply. @return Received Inquiry Reply */ @@ -412,7 +412,7 @@ return false; @param ReceiveOrderReply Receive Order Reply */ public void setReceiveOrderReply (boolean ReceiveOrderReply) { -set_Value ("ReceiveOrderReply", new Boolean(ReceiveOrderReply)); +set_Value ("ReceiveOrderReply", Boolean.valueOf(ReceiveOrderReply)); } /** Get Receive Order Reply. @return Receive Order Reply */ @@ -430,7 +430,7 @@ return false; @param SendInquiry Quantity Availability Inquiry */ public void setSendInquiry (boolean SendInquiry) { -set_Value ("SendInquiry", new Boolean(SendInquiry)); +set_Value ("SendInquiry", Boolean.valueOf(SendInquiry)); } /** Get Send Inquiry. @return Quantity Availability Inquiry */ @@ -448,7 +448,7 @@ return false; @param SendOrder Send Order */ public void setSendOrder (boolean SendOrder) { -set_Value ("SendOrder", new Boolean(SendOrder)); +set_Value ("SendOrder", Boolean.valueOf(SendOrder)); } /** Get Send Order. @return Send Order */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Employee_Acct.java b/dbPort/src/org/compiere/model/X_C_BP_Employee_Acct.java index 2adfd4b427..b14250af72 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Employee_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Employee_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Employee_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Employee_Acct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_BP_Employee_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=184 */ -public static final int Table_ID=184; +public static final int Table_ID=MTable.getTable_ID("C_BP_Employee_Acct"); /** TableName=C_BP_Employee_Acct */ public static final String Table_Name="C_BP_Employee_Acct"; -protected static KeyNamePair Model = new KeyNamePair(184,"C_BP_Employee_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Employee_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -122,7 +122,7 @@ return ii.intValue(); @param E_Expense_Acct Account for Employee Expenses */ public void setE_Expense_Acct (int E_Expense_Acct) { -set_Value ("E_Expense_Acct", new Integer(E_Expense_Acct)); +set_Value ("E_Expense_Acct", Integer.valueOf(E_Expense_Acct)); } /** Get Employee Expense. @return Account for Employee Expenses */ @@ -136,7 +136,7 @@ return ii.intValue(); @param E_Prepayment_Acct Account for Employee Expense Prepayments */ public void setE_Prepayment_Acct (int E_Prepayment_Acct) { -set_Value ("E_Prepayment_Acct", new Integer(E_Prepayment_Acct)); +set_Value ("E_Prepayment_Acct", Integer.valueOf(E_Prepayment_Acct)); } /** Get Employee Prepayment. @return Account for Employee Expense Prepayments */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Group.java b/dbPort/src/org/compiere/model/X_C_BP_Group.java index af375d0473..54d056f3ac 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Group.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Group.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Group * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Group extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_BP_Group (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=394 */ -public static final int Table_ID=394; +public static final int Table_ID=MTable.getTable_ID("C_BP_Group"); /** TableName=C_BP_Group */ public static final String Table_Name="C_BP_Group"; -protected static KeyNamePair Model = new KeyNamePair(394,"C_BP_Group"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Group"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_PrintColor_ID (int AD_PrintColor_ID) { if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null); else -set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); +set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID)); } /** Get Print Color. @return Color used for printing and display */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID < 1) throw new IllegalArgumentException ("C_BP_Group_ID is mandatory."); -set_ValueNoCheck ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_ValueNoCheck ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -126,7 +126,7 @@ public void setC_Dunning_ID (int C_Dunning_ID) { if (C_Dunning_ID <= 0) set_Value ("C_Dunning_ID", null); else -set_Value ("C_Dunning_ID", new Integer(C_Dunning_ID)); +set_Value ("C_Dunning_ID", Integer.valueOf(C_Dunning_ID)); } /** Get Dunning. @return Dunning Rules for overdue invoices */ @@ -171,7 +171,7 @@ return (String)get_Value("Description"); @param IsConfidentialInfo Can enter confidential information */ public void setIsConfidentialInfo (boolean IsConfidentialInfo) { -set_Value ("IsConfidentialInfo", new Boolean(IsConfidentialInfo)); +set_Value ("IsConfidentialInfo", Boolean.valueOf(IsConfidentialInfo)); } /** Get Confidential Info. @return Can enter confidential information */ @@ -189,7 +189,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -212,7 +212,7 @@ public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID <= 0) set_Value ("M_DiscountSchema_ID", null); else -set_Value ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_Value ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -228,7 +228,7 @@ public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID <= 0) set_Value ("M_PriceList_ID", null); else -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -271,7 +271,7 @@ public void setPO_DiscountSchema_ID (int PO_DiscountSchema_ID) { if (PO_DiscountSchema_ID <= 0) set_Value ("PO_DiscountSchema_ID", null); else -set_Value ("PO_DiscountSchema_ID", new Integer(PO_DiscountSchema_ID)); +set_Value ("PO_DiscountSchema_ID", Integer.valueOf(PO_DiscountSchema_ID)); } /** Get PO Discount Schema. @return Schema to calculate the purchase trade discount percentage */ @@ -290,7 +290,7 @@ public void setPO_PriceList_ID (int PO_PriceList_ID) { if (PO_PriceList_ID <= 0) set_Value ("PO_PriceList_ID", null); else -set_Value ("PO_PriceList_ID", new Integer(PO_PriceList_ID)); +set_Value ("PO_PriceList_ID", Integer.valueOf(PO_PriceList_ID)); } /** Get Purchase Pricelist. @return Price List used by this Business Partner */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Group_Acct.java b/dbPort/src/org/compiere/model/X_C_BP_Group_Acct.java index 2e4e0a7b2a..945c503a43 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Group_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Group_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Group_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Group_Acct extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_C_BP_Group_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=395 */ -public static final int Table_ID=395; +public static final int Table_ID=MTable.getTable_ID("C_BP_Group_Acct"); /** TableName=C_BP_Group_Acct */ public static final String Table_Name="C_BP_Group_Acct"; -protected static KeyNamePair Model = new KeyNamePair(395,"C_BP_Group_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Group_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -104,7 +104,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -119,7 +119,7 @@ return ii.intValue(); public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID < 1) throw new IllegalArgumentException ("C_BP_Group_ID is mandatory."); -set_ValueNoCheck ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_ValueNoCheck ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -139,7 +139,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_BP_Group_ID())); @param C_Prepayment_Acct Account for customer prepayments */ public void setC_Prepayment_Acct (int C_Prepayment_Acct) { -set_Value ("C_Prepayment_Acct", new Integer(C_Prepayment_Acct)); +set_Value ("C_Prepayment_Acct", Integer.valueOf(C_Prepayment_Acct)); } /** Get Customer Prepayment. @return Account for customer prepayments */ @@ -153,7 +153,7 @@ return ii.intValue(); @param C_Receivable_Acct Account for Customer Receivables */ public void setC_Receivable_Acct (int C_Receivable_Acct) { -set_Value ("C_Receivable_Acct", new Integer(C_Receivable_Acct)); +set_Value ("C_Receivable_Acct", Integer.valueOf(C_Receivable_Acct)); } /** Get Customer Receivables. @return Account for Customer Receivables */ @@ -167,7 +167,7 @@ return ii.intValue(); @param C_Receivable_Services_Acct Customer Accounts Receivables Services Account */ public void setC_Receivable_Services_Acct (int C_Receivable_Services_Acct) { -set_Value ("C_Receivable_Services_Acct", new Integer(C_Receivable_Services_Acct)); +set_Value ("C_Receivable_Services_Acct", Integer.valueOf(C_Receivable_Services_Acct)); } /** Get Receivable Services. @return Customer Accounts Receivables Services Account */ @@ -181,7 +181,7 @@ return ii.intValue(); @param NotInvoicedReceipts_Acct Account for not-invoiced Material Receipts */ public void setNotInvoicedReceipts_Acct (int NotInvoicedReceipts_Acct) { -set_Value ("NotInvoicedReceipts_Acct", new Integer(NotInvoicedReceipts_Acct)); +set_Value ("NotInvoicedReceipts_Acct", Integer.valueOf(NotInvoicedReceipts_Acct)); } /** Get Not-invoiced Receipts. @return Account for not-invoiced Material Receipts */ @@ -195,7 +195,7 @@ return ii.intValue(); @param NotInvoicedReceivables_Acct Account for not invoiced Receivables */ public void setNotInvoicedReceivables_Acct (int NotInvoicedReceivables_Acct) { -set_Value ("NotInvoicedReceivables_Acct", new Integer(NotInvoicedReceivables_Acct)); +set_Value ("NotInvoicedReceivables_Acct", Integer.valueOf(NotInvoicedReceivables_Acct)); } /** Get Not-invoiced Receivables. @return Account for not invoiced Receivables */ @@ -209,7 +209,7 @@ return ii.intValue(); @param NotInvoicedRevenue_Acct Account for not invoiced Revenue */ public void setNotInvoicedRevenue_Acct (int NotInvoicedRevenue_Acct) { -set_Value ("NotInvoicedRevenue_Acct", new Integer(NotInvoicedRevenue_Acct)); +set_Value ("NotInvoicedRevenue_Acct", Integer.valueOf(NotInvoicedRevenue_Acct)); } /** Get Not-invoiced Revenue. @return Account for not invoiced Revenue */ @@ -223,7 +223,7 @@ return ii.intValue(); @param PayDiscount_Exp_Acct Payment Discount Expense Account */ public void setPayDiscount_Exp_Acct (int PayDiscount_Exp_Acct) { -set_Value ("PayDiscount_Exp_Acct", new Integer(PayDiscount_Exp_Acct)); +set_Value ("PayDiscount_Exp_Acct", Integer.valueOf(PayDiscount_Exp_Acct)); } /** Get Payment Discount Expense. @return Payment Discount Expense Account */ @@ -237,7 +237,7 @@ return ii.intValue(); @param PayDiscount_Rev_Acct Payment Discount Revenue Account */ public void setPayDiscount_Rev_Acct (int PayDiscount_Rev_Acct) { -set_Value ("PayDiscount_Rev_Acct", new Integer(PayDiscount_Rev_Acct)); +set_Value ("PayDiscount_Rev_Acct", Integer.valueOf(PayDiscount_Rev_Acct)); } /** Get Payment Discount Revenue. @return Payment Discount Revenue Account */ @@ -251,7 +251,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -269,7 +269,7 @@ return false; @param UnEarnedRevenue_Acct Account for unearned revenue */ public void setUnEarnedRevenue_Acct (int UnEarnedRevenue_Acct) { -set_Value ("UnEarnedRevenue_Acct", new Integer(UnEarnedRevenue_Acct)); +set_Value ("UnEarnedRevenue_Acct", Integer.valueOf(UnEarnedRevenue_Acct)); } /** Get Unearned Revenue. @return Account for unearned revenue */ @@ -283,7 +283,7 @@ return ii.intValue(); @param V_Liability_Acct Account for Vendor Liability */ public void setV_Liability_Acct (int V_Liability_Acct) { -set_Value ("V_Liability_Acct", new Integer(V_Liability_Acct)); +set_Value ("V_Liability_Acct", Integer.valueOf(V_Liability_Acct)); } /** Get Vendor Liability. @return Account for Vendor Liability */ @@ -297,7 +297,7 @@ return ii.intValue(); @param V_Liability_Services_Acct Account for Vender Service Liability */ public void setV_Liability_Services_Acct (int V_Liability_Services_Acct) { -set_Value ("V_Liability_Services_Acct", new Integer(V_Liability_Services_Acct)); +set_Value ("V_Liability_Services_Acct", Integer.valueOf(V_Liability_Services_Acct)); } /** Get Vendor Service Liability. @return Account for Vender Service Liability */ @@ -311,7 +311,7 @@ return ii.intValue(); @param V_Prepayment_Acct Account for Vendor Prepayments */ public void setV_Prepayment_Acct (int V_Prepayment_Acct) { -set_Value ("V_Prepayment_Acct", new Integer(V_Prepayment_Acct)); +set_Value ("V_Prepayment_Acct", Integer.valueOf(V_Prepayment_Acct)); } /** Get Vendor Prepayment. @return Account for Vendor Prepayments */ @@ -325,7 +325,7 @@ return ii.intValue(); @param WriteOff_Acct Account for Receivables write-off */ public void setWriteOff_Acct (int WriteOff_Acct) { -set_Value ("WriteOff_Acct", new Integer(WriteOff_Acct)); +set_Value ("WriteOff_Acct", Integer.valueOf(WriteOff_Acct)); } /** Get Write-off. @return Account for Receivables write-off */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Relation.java b/dbPort/src/org/compiere/model/X_C_BP_Relation.java index 9587c16a3b..a80b686452 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Relation.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Relation.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Relation * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Relation extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_BP_Relation (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=678 */ -public static final int Table_ID=678; +public static final int Table_ID=MTable.getTable_ID("C_BP_Relation"); /** TableName=C_BP_Relation */ public static final String Table_Name="C_BP_Relation"; -protected static KeyNamePair Model = new KeyNamePair(678,"C_BP_Relation"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Relation"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setC_BP_Relation_ID (int C_BP_Relation_ID) { if (C_BP_Relation_ID < 1) throw new IllegalArgumentException ("C_BP_Relation_ID is mandatory."); -set_ValueNoCheck ("C_BP_Relation_ID", new Integer(C_BP_Relation_ID)); +set_ValueNoCheck ("C_BP_Relation_ID", Integer.valueOf(C_BP_Relation_ID)); } /** Get Partner Relation. @return Business Partner Relation */ @@ -116,7 +116,7 @@ public static final int C_BPARTNERRELATION_ID_AD_Reference_ID=138; public void setC_BPartnerRelation_ID (int C_BPartnerRelation_ID) { if (C_BPartnerRelation_ID < 1) throw new IllegalArgumentException ("C_BPartnerRelation_ID is mandatory."); -set_Value ("C_BPartnerRelation_ID", new Integer(C_BPartnerRelation_ID)); +set_Value ("C_BPartnerRelation_ID", Integer.valueOf(C_BPartnerRelation_ID)); } /** Get Related Partner. @return Related Business Partner */ @@ -134,7 +134,7 @@ public static final int C_BPARTNERRELATION_LOCATION_ID_AD_Reference_ID=159; public void setC_BPartnerRelation_Location_ID (int C_BPartnerRelation_Location_ID) { if (C_BPartnerRelation_Location_ID < 1) throw new IllegalArgumentException ("C_BPartnerRelation_Location_ID is mandatory."); -set_Value ("C_BPartnerRelation_Location_ID", new Integer(C_BPartnerRelation_Location_ID)); +set_Value ("C_BPartnerRelation_Location_ID", Integer.valueOf(C_BPartnerRelation_Location_ID)); } /** Get Related Partner Location. @return Location of the related Business Partner */ @@ -149,7 +149,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -165,7 +165,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -196,7 +196,7 @@ return (String)get_Value("Description"); @param IsBillTo Business Partner Invoice/Bill Address */ public void setIsBillTo (boolean IsBillTo) { -set_Value ("IsBillTo", new Boolean(IsBillTo)); +set_Value ("IsBillTo", Boolean.valueOf(IsBillTo)); } /** Get Invoice Address. @return Business Partner Invoice/Bill Address */ @@ -214,7 +214,7 @@ return false; @param IsPayFrom Business Partner pays from that address and we'll send dunning letters there */ public void setIsPayFrom (boolean IsPayFrom) { -set_Value ("IsPayFrom", new Boolean(IsPayFrom)); +set_Value ("IsPayFrom", Boolean.valueOf(IsPayFrom)); } /** Get Pay-From Address. @return Business Partner pays from that address and we'll send dunning letters there */ @@ -232,7 +232,7 @@ return false; @param IsRemitTo Business Partner payment address */ public void setIsRemitTo (boolean IsRemitTo) { -set_Value ("IsRemitTo", new Boolean(IsRemitTo)); +set_Value ("IsRemitTo", Boolean.valueOf(IsRemitTo)); } /** Get Remit-To Address. @return Business Partner payment address */ @@ -250,7 +250,7 @@ return false; @param IsShipTo Business Partner Shipment Address */ public void setIsShipTo (boolean IsShipTo) { -set_ValueNoCheck ("IsShipTo", new Boolean(IsShipTo)); +set_ValueNoCheck ("IsShipTo", Boolean.valueOf(IsShipTo)); } /** Get Ship Address. @return Business Partner Shipment Address */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Vendor_Acct.java b/dbPort/src/org/compiere/model/X_C_BP_Vendor_Acct.java index 1700e39098..b65b1a677b 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Vendor_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Vendor_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Vendor_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Vendor_Acct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_BP_Vendor_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=185 */ -public static final int Table_ID=185; +public static final int Table_ID=MTable.getTable_ID("C_BP_Vendor_Acct"); /** TableName=C_BP_Vendor_Acct */ public static final String Table_Name="C_BP_Vendor_Acct"; -protected static KeyNamePair Model = new KeyNamePair(185,"C_BP_Vendor_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Vendor_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -122,7 +122,7 @@ return ii.intValue(); @param V_Liability_Acct Account for Vendor Liability */ public void setV_Liability_Acct (int V_Liability_Acct) { -set_Value ("V_Liability_Acct", new Integer(V_Liability_Acct)); +set_Value ("V_Liability_Acct", Integer.valueOf(V_Liability_Acct)); } /** Get Vendor Liability. @return Account for Vendor Liability */ @@ -136,7 +136,7 @@ return ii.intValue(); @param V_Liability_Services_Acct Account for Vender Service Liability */ public void setV_Liability_Services_Acct (int V_Liability_Services_Acct) { -set_Value ("V_Liability_Services_Acct", new Integer(V_Liability_Services_Acct)); +set_Value ("V_Liability_Services_Acct", Integer.valueOf(V_Liability_Services_Acct)); } /** Get Vendor Service Liability. @return Account for Vender Service Liability */ @@ -150,7 +150,7 @@ return ii.intValue(); @param V_Prepayment_Acct Account for Vendor Prepayments */ public void setV_Prepayment_Acct (int V_Prepayment_Acct) { -set_Value ("V_Prepayment_Acct", new Integer(V_Prepayment_Acct)); +set_Value ("V_Prepayment_Acct", Integer.valueOf(V_Prepayment_Acct)); } /** Get Vendor Prepayment. @return Account for Vendor Prepayments */ diff --git a/dbPort/src/org/compiere/model/X_C_BP_Withholding.java b/dbPort/src/org/compiere/model/X_C_BP_Withholding.java index fd64af7c12..db00bdd462 100644 --- a/dbPort/src/org/compiere/model/X_C_BP_Withholding.java +++ b/dbPort/src/org/compiere/model/X_C_BP_Withholding.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BP_Withholding * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BP_Withholding extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_BP_Withholding (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=299 */ -public static final int Table_ID=299; +public static final int Table_ID=MTable.getTable_ID("C_BP_Withholding"); /** TableName=C_BP_Withholding */ public static final String Table_Name="C_BP_Withholding"; -protected static KeyNamePair Model = new KeyNamePair(299,"C_BP_Withholding"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BP_Withholding"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_Withholding_ID (int C_Withholding_ID) { if (C_Withholding_ID < 1) throw new IllegalArgumentException ("C_Withholding_ID is mandatory."); -set_ValueNoCheck ("C_Withholding_ID", new Integer(C_Withholding_ID)); +set_ValueNoCheck ("C_Withholding_ID", Integer.valueOf(C_Withholding_ID)); } /** Get Withholding. @return Withholding type defined */ @@ -139,7 +139,7 @@ return (String)get_Value("ExemptReason"); @param IsMandatoryWithholding Monies must be withheld */ public void setIsMandatoryWithholding (boolean IsMandatoryWithholding) { -set_Value ("IsMandatoryWithholding", new Boolean(IsMandatoryWithholding)); +set_Value ("IsMandatoryWithholding", Boolean.valueOf(IsMandatoryWithholding)); } /** Get Mandatory Withholding. @return Monies must be withheld */ @@ -157,7 +157,7 @@ return false; @param IsTemporaryExempt Temporarily do not withhold taxes */ public void setIsTemporaryExempt (boolean IsTemporaryExempt) { -set_Value ("IsTemporaryExempt", new Boolean(IsTemporaryExempt)); +set_Value ("IsTemporaryExempt", Boolean.valueOf(IsTemporaryExempt)); } /** Get Temporary exempt. @return Temporarily do not withhold taxes */ diff --git a/dbPort/src/org/compiere/model/X_C_BPartner.java b/dbPort/src/org/compiere/model/X_C_BPartner.java index 98701a364e..568982fc2c 100644 --- a/dbPort/src/org/compiere/model/X_C_BPartner.java +++ b/dbPort/src/org/compiere/model/X_C_BPartner.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BPartner * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BPartner extends PO { /** Standard Constructor @@ -66,12 +66,12 @@ public X_C_BPartner (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=291 */ -public static final int Table_ID=291; +public static final int Table_ID=MTable.getTable_ID("C_BPartner"); /** TableName=C_BPartner */ public static final String Table_Name="C_BPartner"; -protected static KeyNamePair Model = new KeyNamePair(291,"C_BPartner"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BPartner"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -169,7 +169,7 @@ public void setBPartner_Parent_ID (int BPartner_Parent_ID) { if (BPartner_Parent_ID <= 0) set_Value ("BPartner_Parent_ID", null); else -set_Value ("BPartner_Parent_ID", new Integer(BPartner_Parent_ID)); +set_Value ("BPartner_Parent_ID", Integer.valueOf(BPartner_Parent_ID)); } /** Get Partner Parent. @return Business Partner Parent */ @@ -184,7 +184,7 @@ return ii.intValue(); public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID < 1) throw new IllegalArgumentException ("C_BP_Group_ID is mandatory."); -set_Value ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_Value ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -199,7 +199,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -215,7 +215,7 @@ public void setC_Dunning_ID (int C_Dunning_ID) { if (C_Dunning_ID <= 0) set_Value ("C_Dunning_ID", null); else -set_Value ("C_Dunning_ID", new Integer(C_Dunning_ID)); +set_Value ("C_Dunning_ID", Integer.valueOf(C_Dunning_ID)); } /** Get Dunning. @return Dunning Rules for overdue invoices */ @@ -231,7 +231,7 @@ public void setC_Greeting_ID (int C_Greeting_ID) { if (C_Greeting_ID <= 0) set_Value ("C_Greeting_ID", null); else -set_Value ("C_Greeting_ID", new Integer(C_Greeting_ID)); +set_Value ("C_Greeting_ID", Integer.valueOf(C_Greeting_ID)); } /** Get Greeting. @return Greeting to print on correspondence */ @@ -247,7 +247,7 @@ public void setC_InvoiceSchedule_ID (int C_InvoiceSchedule_ID) { if (C_InvoiceSchedule_ID <= 0) set_Value ("C_InvoiceSchedule_ID", null); else -set_Value ("C_InvoiceSchedule_ID", new Integer(C_InvoiceSchedule_ID)); +set_Value ("C_InvoiceSchedule_ID", Integer.valueOf(C_InvoiceSchedule_ID)); } /** Get Invoice Schedule. @return Schedule for generating Invoices */ @@ -263,7 +263,7 @@ public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID <= 0) set_Value ("C_PaymentTerm_ID", null); else -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -373,7 +373,7 @@ return (String)get_Value("Description"); @param DocumentCopies Number of copies to be printed */ public void setDocumentCopies (int DocumentCopies) { -set_Value ("DocumentCopies", new Integer(DocumentCopies)); +set_Value ("DocumentCopies", Integer.valueOf(DocumentCopies)); } /** Get Document Copies. @return Number of copies to be printed */ @@ -478,7 +478,7 @@ public void setInvoice_PrintFormat_ID (int Invoice_PrintFormat_ID) { if (Invoice_PrintFormat_ID <= 0) set_Value ("Invoice_PrintFormat_ID", null); 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. @return Print Format for printing Invoices */ @@ -492,7 +492,7 @@ return ii.intValue(); @param IsCustomer Indicates if this Business Partner is a Customer */ public void setIsCustomer (boolean IsCustomer) { -set_Value ("IsCustomer", new Boolean(IsCustomer)); +set_Value ("IsCustomer", Boolean.valueOf(IsCustomer)); } /** Get Customer. @return Indicates if this Business Partner is a Customer */ @@ -510,7 +510,7 @@ return false; @param IsDiscountPrinted Print Discount on Invoice and Order */ public void setIsDiscountPrinted (boolean IsDiscountPrinted) { -set_Value ("IsDiscountPrinted", new Boolean(IsDiscountPrinted)); +set_Value ("IsDiscountPrinted", Boolean.valueOf(IsDiscountPrinted)); } /** Get Discount Printed. @return Print Discount on Invoice and Order */ @@ -528,7 +528,7 @@ return false; @param IsEmployee Indicates if this Business Partner is an employee */ public void setIsEmployee (boolean IsEmployee) { -set_Value ("IsEmployee", new Boolean(IsEmployee)); +set_Value ("IsEmployee", Boolean.valueOf(IsEmployee)); } /** Get Employee. @return Indicates if this Business Partner is an employee */ @@ -546,7 +546,7 @@ return false; @param IsOneTime One time transaction */ public void setIsOneTime (boolean IsOneTime) { -set_Value ("IsOneTime", new Boolean(IsOneTime)); +set_Value ("IsOneTime", Boolean.valueOf(IsOneTime)); } /** Get One time transaction. @return One time transaction */ @@ -564,7 +564,7 @@ return false; @param IsProspect Indicates this is a Prospect */ public void setIsProspect (boolean IsProspect) { -set_Value ("IsProspect", new Boolean(IsProspect)); +set_Value ("IsProspect", Boolean.valueOf(IsProspect)); } /** Get Prospect. @return Indicates this is a Prospect */ @@ -582,7 +582,7 @@ return false; @param IsSalesRep Indicates if the business partner is a sales representative or company agent */ public void setIsSalesRep (boolean IsSalesRep) { -set_Value ("IsSalesRep", new Boolean(IsSalesRep)); +set_Value ("IsSalesRep", Boolean.valueOf(IsSalesRep)); } /** Get Sales Representative. @return Indicates if the business partner is a sales representative or company agent */ @@ -600,7 +600,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -618,7 +618,7 @@ return false; @param IsTaxExempt Business partner is exempt from tax */ public void setIsTaxExempt (boolean IsTaxExempt) { -set_Value ("IsTaxExempt", new Boolean(IsTaxExempt)); +set_Value ("IsTaxExempt", Boolean.valueOf(IsTaxExempt)); } /** Get Tax exempt. @return Business partner is exempt from tax */ @@ -636,7 +636,7 @@ return false; @param IsVendor Indicates if this Business Partner is a Vendor */ public void setIsVendor (boolean IsVendor) { -set_Value ("IsVendor", new Boolean(IsVendor)); +set_Value ("IsVendor", Boolean.valueOf(IsVendor)); } /** Get Vendor. @return Indicates if this Business Partner is a Vendor */ @@ -659,7 +659,7 @@ public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID <= 0) set_Value ("M_DiscountSchema_ID", null); else -set_Value ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_Value ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -675,7 +675,7 @@ public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID <= 0) set_Value ("M_PriceList_ID", null); else -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -747,7 +747,7 @@ return (String)get_Value("Name2"); @param NumberEmployees Number of employees */ public void setNumberEmployees (int NumberEmployees) { -set_Value ("NumberEmployees", new Integer(NumberEmployees)); +set_Value ("NumberEmployees", Integer.valueOf(NumberEmployees)); } /** Get Employees. @return Number of employees */ @@ -783,7 +783,7 @@ public void setPO_DiscountSchema_ID (int PO_DiscountSchema_ID) { if (PO_DiscountSchema_ID <= 0) set_Value ("PO_DiscountSchema_ID", null); else -set_Value ("PO_DiscountSchema_ID", new Integer(PO_DiscountSchema_ID)); +set_Value ("PO_DiscountSchema_ID", Integer.valueOf(PO_DiscountSchema_ID)); } /** Get PO Discount Schema. @return Schema to calculate the purchase trade discount percentage */ @@ -802,7 +802,7 @@ public void setPO_PaymentTerm_ID (int PO_PaymentTerm_ID) { if (PO_PaymentTerm_ID <= 0) set_Value ("PO_PaymentTerm_ID", null); else -set_Value ("PO_PaymentTerm_ID", new Integer(PO_PaymentTerm_ID)); +set_Value ("PO_PaymentTerm_ID", Integer.valueOf(PO_PaymentTerm_ID)); } /** Get PO Payment Term. @return Payment rules for a purchase order */ @@ -821,7 +821,7 @@ public void setPO_PriceList_ID (int PO_PriceList_ID) { if (PO_PriceList_ID <= 0) set_Value ("PO_PriceList_ID", null); else -set_Value ("PO_PriceList_ID", new Integer(PO_PriceList_ID)); +set_Value ("PO_PriceList_ID", Integer.valueOf(PO_PriceList_ID)); } /** Get Purchase Pricelist. @return Price List used by this Business Partner */ @@ -1035,7 +1035,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -1049,7 +1049,7 @@ return ii.intValue(); @param SalesVolume Total Volume of Sales in Thousands of Currency */ public void setSalesVolume (int SalesVolume) { -set_Value ("SalesVolume", new Integer(SalesVolume)); +set_Value ("SalesVolume", Integer.valueOf(SalesVolume)); } /** Get Sales Volume in 1.000. @return Total Volume of Sales in Thousands of Currency */ @@ -1063,7 +1063,7 @@ return ii.intValue(); @param SendEMail Enable sending Document EMail */ public void setSendEMail (boolean SendEMail) { -set_Value ("SendEMail", new Boolean(SendEMail)); +set_Value ("SendEMail", Boolean.valueOf(SendEMail)); } /** Get Send EMail. @return Enable sending Document EMail */ @@ -1081,7 +1081,7 @@ return false; @param ShareOfCustomer Share of Customer's business as a percentage */ public void setShareOfCustomer (int ShareOfCustomer) { -set_Value ("ShareOfCustomer", new Integer(ShareOfCustomer)); +set_Value ("ShareOfCustomer", Integer.valueOf(ShareOfCustomer)); } /** Get Share. @return Share of Customer's business as a percentage */ @@ -1095,7 +1095,7 @@ return ii.intValue(); @param ShelfLifeMinPct Minimum Shelf Life in percent based on Product Instance Guarantee Date */ public void setShelfLifeMinPct (int ShelfLifeMinPct) { -set_Value ("ShelfLifeMinPct", new Integer(ShelfLifeMinPct)); +set_Value ("ShelfLifeMinPct", Integer.valueOf(ShelfLifeMinPct)); } /** Get Min Shelf Life %. @return Minimum Shelf Life in percent based on Product Instance Guarantee Date */ @@ -1137,7 +1137,7 @@ if (bd == null) return Env.ZERO; return bd; } /** Set URL. -@param URL Full URL address - e.g. http://www.compiere.org */ +@param URL Full URL address - e.g. http://www.adempiere.org */ public void setURL (String URL) { if (URL != null && URL.length() > 120) @@ -1148,7 +1148,7 @@ URL = URL.substring(0,119); set_Value ("URL", URL); } /** Get URL. -@return Full URL address - e.g. http://www.compiere.org */ +@return Full URL address - e.g. http://www.adempiere.org */ public String getURL() { return (String)get_Value("URL"); diff --git a/dbPort/src/org/compiere/model/X_C_BPartner_Location.java b/dbPort/src/org/compiere/model/X_C_BPartner_Location.java index bf7d90e6be..ccced9419d 100644 --- a/dbPort/src/org/compiere/model/X_C_BPartner_Location.java +++ b/dbPort/src/org/compiere/model/X_C_BPartner_Location.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BPartner_Location * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BPartner_Location extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_BPartner_Location (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=293 */ -public static final int Table_ID=293; +public static final int Table_ID=MTable.getTable_ID("C_BPartner_Location"); /** TableName=C_BPartner_Location */ public static final String Table_Name="C_BPartner_Location"; -protected static KeyNamePair Model = new KeyNamePair(293,"C_BPartner_Location"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BPartner_Location"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_ValueNoCheck ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -127,7 +127,7 @@ return ii.intValue(); public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID < 1) throw new IllegalArgumentException ("C_Location_ID is mandatory."); -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -143,7 +143,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -191,7 +191,7 @@ return (String)get_Value("ISDN"); @param IsBillTo Business Partner Invoice/Bill Address */ public void setIsBillTo (boolean IsBillTo) { -set_Value ("IsBillTo", new Boolean(IsBillTo)); +set_Value ("IsBillTo", Boolean.valueOf(IsBillTo)); } /** Get Invoice Address. @return Business Partner Invoice/Bill Address */ @@ -209,7 +209,7 @@ return false; @param IsPayFrom Business Partner pays from that address and we'll send dunning letters there */ public void setIsPayFrom (boolean IsPayFrom) { -set_Value ("IsPayFrom", new Boolean(IsPayFrom)); +set_Value ("IsPayFrom", Boolean.valueOf(IsPayFrom)); } /** Get Pay-From Address. @return Business Partner pays from that address and we'll send dunning letters there */ @@ -227,7 +227,7 @@ return false; @param IsRemitTo Business Partner payment address */ public void setIsRemitTo (boolean IsRemitTo) { -set_Value ("IsRemitTo", new Boolean(IsRemitTo)); +set_Value ("IsRemitTo", Boolean.valueOf(IsRemitTo)); } /** Get Remit-To Address. @return Business Partner payment address */ @@ -245,7 +245,7 @@ return false; @param IsShipTo Business Partner Shipment Address */ public void setIsShipTo (boolean IsShipTo) { -set_Value ("IsShipTo", new Boolean(IsShipTo)); +set_Value ("IsShipTo", Boolean.valueOf(IsShipTo)); } /** Get Ship Address. @return Business Partner Shipment Address */ diff --git a/dbPort/src/org/compiere/model/X_C_BPartner_Product.java b/dbPort/src/org/compiere/model/X_C_BPartner_Product.java index b7e7376913..231abf69c9 100644 --- a/dbPort/src/org/compiere/model/X_C_BPartner_Product.java +++ b/dbPort/src/org/compiere/model/X_C_BPartner_Product.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BPartner_Product * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BPartner_Product extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_BPartner_Product (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=632 */ -public static final int Table_ID=632; +public static final int Table_ID=MTable.getTable_ID("C_BPartner_Product"); /** TableName=C_BPartner_Product */ public static final String Table_Name="C_BPartner_Product"; -protected static KeyNamePair Model = new KeyNamePair(632,"C_BPartner_Product"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BPartner_Product"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -125,7 +125,7 @@ return (String)get_Value("Description"); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -170,7 +170,7 @@ return bd; @param ShelfLifeMinDays Minimum Shelf Life in days based on Product Instance Guarantee Date */ public void setShelfLifeMinDays (int ShelfLifeMinDays) { -set_Value ("ShelfLifeMinDays", new Integer(ShelfLifeMinDays)); +set_Value ("ShelfLifeMinDays", Integer.valueOf(ShelfLifeMinDays)); } /** Get Min Shelf Life Days. @return Minimum Shelf Life in days based on Product Instance Guarantee Date */ @@ -184,7 +184,7 @@ return ii.intValue(); @param ShelfLifeMinPct Minimum Shelf Life in percent based on Product Instance Guarantee Date */ public void setShelfLifeMinPct (int ShelfLifeMinPct) { -set_Value ("ShelfLifeMinPct", new Integer(ShelfLifeMinPct)); +set_Value ("ShelfLifeMinPct", Integer.valueOf(ShelfLifeMinPct)); } /** Get Min Shelf Life %. @return Minimum Shelf Life in percent based on Product Instance Guarantee Date */ diff --git a/dbPort/src/org/compiere/model/X_C_Bank.java b/dbPort/src/org/compiere/model/X_C_Bank.java index 87b393c206..e12b1bd6c0 100644 --- a/dbPort/src/org/compiere/model/X_C_Bank.java +++ b/dbPort/src/org/compiere/model/X_C_Bank.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Bank * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Bank extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_Bank (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=296 */ -public static final int Table_ID=296; +public static final int Table_ID=MTable.getTable_ID("C_Bank"); /** TableName=C_Bank */ public static final String Table_Name="C_Bank"; -protected static KeyNamePair Model = new KeyNamePair(296,"C_Bank"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Bank"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_Bank_ID (int C_Bank_ID) { if (C_Bank_ID < 1) throw new IllegalArgumentException ("C_Bank_ID is mandatory."); -set_ValueNoCheck ("C_Bank_ID", new Integer(C_Bank_ID)); +set_ValueNoCheck ("C_Bank_ID", Integer.valueOf(C_Bank_ID)); } /** Get Bank. @return Bank */ @@ -109,7 +109,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -140,7 +140,7 @@ return (String)get_Value("Description"); @param IsOwnBank Bank for this Organization */ public void setIsOwnBank (boolean IsOwnBank) { -set_Value ("IsOwnBank", new Boolean(IsOwnBank)); +set_Value ("IsOwnBank", Boolean.valueOf(IsOwnBank)); } /** Get Own Bank. @return Bank for this Organization */ diff --git a/dbPort/src/org/compiere/model/X_C_BankAccount.java b/dbPort/src/org/compiere/model/X_C_BankAccount.java index 77e257607f..70581eeea7 100644 --- a/dbPort/src/org/compiere/model/X_C_BankAccount.java +++ b/dbPort/src/org/compiere/model/X_C_BankAccount.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankAccount * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankAccount extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_BankAccount (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=297 */ -public static final int Table_ID=297; +public static final int Table_ID=MTable.getTable_ID("C_BankAccount"); /** TableName=C_BankAccount */ public static final String Table_Name="C_BankAccount"; -protected static KeyNamePair Model = new KeyNamePair(297,"C_BankAccount"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankAccount"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -159,7 +159,7 @@ return (String)get_Value("BankAccountType"); public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_ValueNoCheck ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_ValueNoCheck ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -174,7 +174,7 @@ return ii.intValue(); public void setC_Bank_ID (int C_Bank_ID) { if (C_Bank_ID < 1) throw new IllegalArgumentException ("C_Bank_ID is mandatory."); -set_ValueNoCheck ("C_Bank_ID", new Integer(C_Bank_ID)); +set_ValueNoCheck ("C_Bank_ID", Integer.valueOf(C_Bank_ID)); } /** Get Bank. @return Bank */ @@ -195,7 +195,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Bank_ID())); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -273,7 +273,7 @@ return (String)get_Value("IBAN"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_C_BankAccountDoc.java b/dbPort/src/org/compiere/model/X_C_BankAccountDoc.java index ed2799a487..af01ac5b60 100644 --- a/dbPort/src/org/compiere/model/X_C_BankAccountDoc.java +++ b/dbPort/src/org/compiere/model/X_C_BankAccountDoc.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankAccountDoc * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankAccountDoc extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_BankAccountDoc (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=455 */ -public static final int Table_ID=455; +public static final int Table_ID=MTable.getTable_ID("C_BankAccountDoc"); /** TableName=C_BankAccountDoc */ public static final String Table_Name="C_BankAccountDoc"; -protected static KeyNamePair Model = new KeyNamePair(455,"C_BankAccountDoc"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankAccountDoc"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_BankAccountDoc_ID (int C_BankAccountDoc_ID) { if (C_BankAccountDoc_ID < 1) throw new IllegalArgumentException ("C_BankAccountDoc_ID is mandatory."); -set_ValueNoCheck ("C_BankAccountDoc_ID", new Integer(C_BankAccountDoc_ID)); +set_ValueNoCheck ("C_BankAccountDoc_ID", Integer.valueOf(C_BankAccountDoc_ID)); } /** Get Bank Account Document. @return Checks, Transfers, etc. */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_ValueNoCheck ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_ValueNoCheck ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -128,7 +128,7 @@ public void setCheck_PrintFormat_ID (int Check_PrintFormat_ID) { if (Check_PrintFormat_ID <= 0) set_Value ("Check_PrintFormat_ID", null); else -set_Value ("Check_PrintFormat_ID", new Integer(Check_PrintFormat_ID)); +set_Value ("Check_PrintFormat_ID", Integer.valueOf(Check_PrintFormat_ID)); } /** Get Check Print Format. @return Print Format for printing Checks */ @@ -142,7 +142,7 @@ return ii.intValue(); @param CurrentNext The next number to be used */ public void setCurrentNext (int CurrentNext) { -set_Value ("CurrentNext", new Integer(CurrentNext)); +set_Value ("CurrentNext", Integer.valueOf(CurrentNext)); } /** Get Current Next. @return The next number to be used */ diff --git a/dbPort/src/org/compiere/model/X_C_BankAccount_Acct.java b/dbPort/src/org/compiere/model/X_C_BankAccount_Acct.java index de0f556f13..7ae3bcefac 100644 --- a/dbPort/src/org/compiere/model/X_C_BankAccount_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_BankAccount_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankAccount_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankAccount_Acct extends PO { /** Standard Constructor @@ -66,12 +66,12 @@ public X_C_BankAccount_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=391 */ -public static final int Table_ID=391; +public static final int Table_ID=MTable.getTable_ID("C_BankAccount_Acct"); /** TableName=C_BankAccount_Acct */ public static final String Table_Name="C_BankAccount_Acct"; -protected static KeyNamePair Model = new KeyNamePair(391,"C_BankAccount_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankAccount_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -102,7 +102,7 @@ return sb.toString(); @param B_Asset_Acct Bank Asset Account */ public void setB_Asset_Acct (int B_Asset_Acct) { -set_Value ("B_Asset_Acct", new Integer(B_Asset_Acct)); +set_Value ("B_Asset_Acct", Integer.valueOf(B_Asset_Acct)); } /** Get Bank Asset. @return Bank Asset Account */ @@ -116,7 +116,7 @@ return ii.intValue(); @param B_Expense_Acct Bank Expense Account */ public void setB_Expense_Acct (int B_Expense_Acct) { -set_Value ("B_Expense_Acct", new Integer(B_Expense_Acct)); +set_Value ("B_Expense_Acct", Integer.valueOf(B_Expense_Acct)); } /** Get Bank Expense. @return Bank Expense Account */ @@ -130,7 +130,7 @@ return ii.intValue(); @param B_InTransit_Acct Bank In Transit Account */ public void setB_InTransit_Acct (int B_InTransit_Acct) { -set_Value ("B_InTransit_Acct", new Integer(B_InTransit_Acct)); +set_Value ("B_InTransit_Acct", Integer.valueOf(B_InTransit_Acct)); } /** Get Bank In Transit. @return Bank In Transit Account */ @@ -144,7 +144,7 @@ return ii.intValue(); @param B_InterestExp_Acct Bank Interest Expense Account */ public void setB_InterestExp_Acct (int B_InterestExp_Acct) { -set_Value ("B_InterestExp_Acct", new Integer(B_InterestExp_Acct)); +set_Value ("B_InterestExp_Acct", Integer.valueOf(B_InterestExp_Acct)); } /** Get Bank Interest Expense. @return Bank Interest Expense Account */ @@ -158,7 +158,7 @@ return ii.intValue(); @param B_InterestRev_Acct Bank Interest Revenue Account */ public void setB_InterestRev_Acct (int B_InterestRev_Acct) { -set_Value ("B_InterestRev_Acct", new Integer(B_InterestRev_Acct)); +set_Value ("B_InterestRev_Acct", Integer.valueOf(B_InterestRev_Acct)); } /** Get Bank Interest Revenue. @return Bank Interest Revenue Account */ @@ -172,7 +172,7 @@ return ii.intValue(); @param B_PaymentSelect_Acct AP Payment Selection Clearing Account */ public void setB_PaymentSelect_Acct (int B_PaymentSelect_Acct) { -set_Value ("B_PaymentSelect_Acct", new Integer(B_PaymentSelect_Acct)); +set_Value ("B_PaymentSelect_Acct", Integer.valueOf(B_PaymentSelect_Acct)); } /** Get Payment Selection. @return AP Payment Selection Clearing Account */ @@ -186,7 +186,7 @@ return ii.intValue(); @param B_RevaluationGain_Acct Bank Revaluation Gain Account */ public void setB_RevaluationGain_Acct (int B_RevaluationGain_Acct) { -set_Value ("B_RevaluationGain_Acct", new Integer(B_RevaluationGain_Acct)); +set_Value ("B_RevaluationGain_Acct", Integer.valueOf(B_RevaluationGain_Acct)); } /** Get Bank Revaluation Gain. @return Bank Revaluation Gain Account */ @@ -200,7 +200,7 @@ return ii.intValue(); @param B_RevaluationLoss_Acct Bank Revaluation Loss Account */ public void setB_RevaluationLoss_Acct (int B_RevaluationLoss_Acct) { -set_Value ("B_RevaluationLoss_Acct", new Integer(B_RevaluationLoss_Acct)); +set_Value ("B_RevaluationLoss_Acct", Integer.valueOf(B_RevaluationLoss_Acct)); } /** Get Bank Revaluation Loss. @return Bank Revaluation Loss Account */ @@ -214,7 +214,7 @@ return ii.intValue(); @param B_SettlementGain_Acct Bank Settlement Gain Account */ public void setB_SettlementGain_Acct (int B_SettlementGain_Acct) { -set_Value ("B_SettlementGain_Acct", new Integer(B_SettlementGain_Acct)); +set_Value ("B_SettlementGain_Acct", Integer.valueOf(B_SettlementGain_Acct)); } /** Get Bank Settlement Gain. @return Bank Settlement Gain Account */ @@ -228,7 +228,7 @@ return ii.intValue(); @param B_SettlementLoss_Acct Bank Settlement Loss Account */ public void setB_SettlementLoss_Acct (int B_SettlementLoss_Acct) { -set_Value ("B_SettlementLoss_Acct", new Integer(B_SettlementLoss_Acct)); +set_Value ("B_SettlementLoss_Acct", Integer.valueOf(B_SettlementLoss_Acct)); } /** Get Bank Settlement Loss. @return Bank Settlement Loss Account */ @@ -242,7 +242,7 @@ return ii.intValue(); @param B_UnallocatedCash_Acct Unallocated Cash Clearing Account */ public void setB_UnallocatedCash_Acct (int B_UnallocatedCash_Acct) { -set_Value ("B_UnallocatedCash_Acct", new Integer(B_UnallocatedCash_Acct)); +set_Value ("B_UnallocatedCash_Acct", Integer.valueOf(B_UnallocatedCash_Acct)); } /** Get Unallocated Cash. @return Unallocated Cash Clearing Account */ @@ -256,7 +256,7 @@ return ii.intValue(); @param B_Unidentified_Acct Bank Unidentified Receipts Account */ public void setB_Unidentified_Acct (int B_Unidentified_Acct) { -set_Value ("B_Unidentified_Acct", new Integer(B_Unidentified_Acct)); +set_Value ("B_Unidentified_Acct", Integer.valueOf(B_Unidentified_Acct)); } /** Get Bank Unidentified Receipts. @return Bank Unidentified Receipts Account */ @@ -271,7 +271,7 @@ return ii.intValue(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -286,7 +286,7 @@ return ii.intValue(); public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_ValueNoCheck ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_ValueNoCheck ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ diff --git a/dbPort/src/org/compiere/model/X_C_BankStatement.java b/dbPort/src/org/compiere/model/X_C_BankStatement.java index 1737318335..036b51611c 100644 --- a/dbPort/src/org/compiere/model/X_C_BankStatement.java +++ b/dbPort/src/org/compiere/model/X_C_BankStatement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankStatement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankStatement extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_C_BankStatement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=392 */ -public static final int Table_ID=392; +public static final int Table_ID=MTable.getTable_ID("C_BankStatement"); /** TableName=C_BankStatement */ public static final String Table_Name="C_BankStatement"; -protected static KeyNamePair Model = new KeyNamePair(392,"C_BankStatement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankStatement"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -114,7 +114,7 @@ return bd; public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setC_BankStatement_ID (int C_BankStatement_ID) { if (C_BankStatement_ID < 1) throw new IllegalArgumentException ("C_BankStatement_ID is mandatory."); -set_ValueNoCheck ("C_BankStatement_ID", new Integer(C_BankStatement_ID)); +set_ValueNoCheck ("C_BankStatement_ID", Integer.valueOf(C_BankStatement_ID)); } /** Get Bank Statement. @return Bank Statement of account */ @@ -319,7 +319,7 @@ return bd; @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -337,7 +337,7 @@ return false; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -396,7 +396,7 @@ return new KeyNamePair(get_ID(), getName()); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -414,7 +414,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -432,7 +432,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_BankStatementLine.java b/dbPort/src/org/compiere/model/X_C_BankStatementLine.java index 80dc32e3bd..e57af9204b 100644 --- a/dbPort/src/org/compiere/model/X_C_BankStatementLine.java +++ b/dbPort/src/org/compiere/model/X_C_BankStatementLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankStatementLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankStatementLine extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_C_BankStatementLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=393 */ -public static final int Table_ID=393; +public static final int Table_ID=MTable.getTable_ID("C_BankStatementLine"); /** TableName=C_BankStatementLine */ public static final String Table_Name="C_BankStatementLine"; -protected static KeyNamePair Model = new KeyNamePair(393,"C_BankStatementLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankStatementLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -105,7 +105,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -120,7 +120,7 @@ return ii.intValue(); public void setC_BankStatementLine_ID (int C_BankStatementLine_ID) { if (C_BankStatementLine_ID < 1) throw new IllegalArgumentException ("C_BankStatementLine_ID is mandatory."); -set_ValueNoCheck ("C_BankStatementLine_ID", new Integer(C_BankStatementLine_ID)); +set_ValueNoCheck ("C_BankStatementLine_ID", Integer.valueOf(C_BankStatementLine_ID)); } /** Get Bank statement line. @return Line on a statement from this Bank */ @@ -135,7 +135,7 @@ return ii.intValue(); public void setC_BankStatement_ID (int C_BankStatement_ID) { if (C_BankStatement_ID < 1) throw new IllegalArgumentException ("C_BankStatement_ID is mandatory."); -set_ValueNoCheck ("C_BankStatement_ID", new Integer(C_BankStatement_ID)); +set_ValueNoCheck ("C_BankStatement_ID", Integer.valueOf(C_BankStatement_ID)); } /** Get Bank Statement. @return Bank Statement of account */ @@ -150,7 +150,7 @@ return ii.intValue(); public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID < 1) throw new IllegalArgumentException ("C_Charge_ID is mandatory."); -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -165,7 +165,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -181,7 +181,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -197,7 +197,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -462,7 +462,7 @@ return bd; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -480,7 +480,7 @@ return false; @param IsReversal This is a reversing transaction */ public void setIsReversal (boolean IsReversal) { -set_Value ("IsReversal", new Boolean(IsReversal)); +set_Value ("IsReversal", Boolean.valueOf(IsReversal)); } /** Get Reversal. @return This is a reversing transaction */ @@ -498,7 +498,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -552,7 +552,7 @@ return (String)get_Value("Memo"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_BankStatementLoader.java b/dbPort/src/org/compiere/model/X_C_BankStatementLoader.java index 052c7c03c2..2a36755da0 100644 --- a/dbPort/src/org/compiere/model/X_C_BankStatementLoader.java +++ b/dbPort/src/org/compiere/model/X_C_BankStatementLoader.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankStatementLoader * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankStatementLoader extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_BankStatementLoader (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=640 */ -public static final int Table_ID=640; +public static final int Table_ID=MTable.getTable_ID("C_BankStatementLoader"); /** TableName=C_BankStatementLoader */ public static final String Table_Name="C_BankStatementLoader"; -protected static KeyNamePair Model = new KeyNamePair(640,"C_BankStatementLoader"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankStatementLoader"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -126,7 +126,7 @@ return (String)get_Value("BranchID"); public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_ValueNoCheck ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_ValueNoCheck ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setC_BankStatementLoader_ID (int C_BankStatementLoader_ID) { if (C_BankStatementLoader_ID < 1) throw new IllegalArgumentException ("C_BankStatementLoader_ID is mandatory."); -set_ValueNoCheck ("C_BankStatementLoader_ID", new Integer(C_BankStatementLoader_ID)); +set_ValueNoCheck ("C_BankStatementLoader_ID", Integer.valueOf(C_BankStatementLoader_ID)); } /** Get Bank Statement Loader. @return Definition of Bank Statement Loader (SWIFT, OFX) */ @@ -252,7 +252,7 @@ return (String)get_Value("HostAddress"); @param HostPort Host Communication Port */ public void setHostPort (int HostPort) { -set_Value ("HostPort", new Integer(HostPort)); +set_Value ("HostPort", Integer.valueOf(HostPort)); } /** Get Host port. @return Host Communication Port */ @@ -375,7 +375,7 @@ return (String)get_Value("ProxyPassword"); @param ProxyPort Port of your proxy server */ public void setProxyPort (int ProxyPort) { -set_Value ("ProxyPort", new Integer(ProxyPort)); +set_Value ("ProxyPort", Integer.valueOf(ProxyPort)); } /** Get Proxy port. @return Port of your proxy server */ diff --git a/dbPort/src/org/compiere/model/X_C_BankStatementMatcher.java b/dbPort/src/org/compiere/model/X_C_BankStatementMatcher.java index 7dce36bac7..acc179c94f 100644 --- a/dbPort/src/org/compiere/model/X_C_BankStatementMatcher.java +++ b/dbPort/src/org/compiere/model/X_C_BankStatementMatcher.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_BankStatementMatcher * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_BankStatementMatcher extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_BankStatementMatcher (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=658 */ -public static final int Table_ID=658; +public static final int Table_ID=MTable.getTable_ID("C_BankStatementMatcher"); /** TableName=C_BankStatementMatcher */ public static final String Table_Name="C_BankStatementMatcher"; -protected static KeyNamePair Model = new KeyNamePair(658,"C_BankStatementMatcher"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_BankStatementMatcher"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_BankStatementMatcher_ID (int C_BankStatementMatcher_ID) { if (C_BankStatementMatcher_ID < 1) throw new IllegalArgumentException ("C_BankStatementMatcher_ID is mandatory."); -set_ValueNoCheck ("C_BankStatementMatcher_ID", new Integer(C_BankStatementMatcher_ID)); +set_ValueNoCheck ("C_BankStatementMatcher_ID", Integer.valueOf(C_BankStatementMatcher_ID)); } /** Get Bank Statement Matcher. @return Algorithm to match Bank Statement Info to Business Partners, Invoices and Payments */ @@ -167,7 +167,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_Calendar.java b/dbPort/src/org/compiere/model/X_C_Calendar.java index fa36d4c62d..26987b670b 100644 --- a/dbPort/src/org/compiere/model/X_C_Calendar.java +++ b/dbPort/src/org/compiere/model/X_C_Calendar.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Calendar * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Calendar extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_Calendar (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=139 */ -public static final int Table_ID=139; +public static final int Table_ID=MTable.getTable_ID("C_Calendar"); /** TableName=C_Calendar */ public static final String Table_Name="C_Calendar"; -protected static KeyNamePair Model = new KeyNamePair(139,"C_Calendar"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Calendar"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setC_Calendar_ID (int C_Calendar_ID) { if (C_Calendar_ID < 1) throw new IllegalArgumentException ("C_Calendar_ID is mandatory."); -set_ValueNoCheck ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_ValueNoCheck ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } /** Get Calendar. @return Accounting Calendar Name */ diff --git a/dbPort/src/org/compiere/model/X_C_Campaign.java b/dbPort/src/org/compiere/model/X_C_Campaign.java index ee90597b1d..5b8f98b032 100644 --- a/dbPort/src/org/compiere/model/X_C_Campaign.java +++ b/dbPort/src/org/compiere/model/X_C_Campaign.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Campaign * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Campaign extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_Campaign (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=274 */ -public static final int Table_ID=274; +public static final int Table_ID=MTable.getTable_ID("C_Campaign"); /** TableName=C_Campaign */ public static final String Table_Name="C_Campaign"; -protected static KeyNamePair Model = new KeyNamePair(274,"C_Campaign"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Campaign"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID < 1) throw new IllegalArgumentException ("C_Campaign_ID is mandatory."); -set_ValueNoCheck ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_ValueNoCheck ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -110,7 +110,7 @@ public void setC_Channel_ID (int C_Channel_ID) { if (C_Channel_ID <= 0) set_Value ("C_Channel_ID", null); else -set_Value ("C_Channel_ID", new Integer(C_Channel_ID)); +set_Value ("C_Channel_ID", Integer.valueOf(C_Channel_ID)); } /** Get Channel. @return Sales Channel */ @@ -168,7 +168,7 @@ return (Timestamp)get_Value("EndDate"); @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ diff --git a/dbPort/src/org/compiere/model/X_C_Cash.java b/dbPort/src/org/compiere/model/X_C_Cash.java index 943c5628cd..c1307c1b76 100644 --- a/dbPort/src/org/compiere/model/X_C_Cash.java +++ b/dbPort/src/org/compiere/model/X_C_Cash.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Cash * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Cash extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_Cash (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=407 */ -public static final int Table_ID=407; +public static final int Table_ID=MTable.getTable_ID("C_Cash"); /** TableName=C_Cash */ public static final String Table_Name="C_Cash"; -protected static KeyNamePair Model = new KeyNamePair(407,"C_Cash"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Cash"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -105,7 +105,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -136,7 +136,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -152,7 +152,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -167,7 +167,7 @@ return ii.intValue(); public void setC_CashBook_ID (int C_CashBook_ID) { if (C_CashBook_ID < 1) throw new IllegalArgumentException ("C_CashBook_ID is mandatory."); -set_ValueNoCheck ("C_CashBook_ID", new Integer(C_CashBook_ID)); +set_ValueNoCheck ("C_CashBook_ID", Integer.valueOf(C_CashBook_ID)); } /** Get Cash Book. @return Cash Book for recording petty cash transactions */ @@ -182,7 +182,7 @@ return ii.intValue(); public void setC_Cash_ID (int C_Cash_ID) { if (C_Cash_ID < 1) throw new IllegalArgumentException ("C_Cash_ID is mandatory."); -set_ValueNoCheck ("C_Cash_ID", new Integer(C_Cash_ID)); +set_ValueNoCheck ("C_Cash_ID", Integer.valueOf(C_Cash_ID)); } /** Get Cash Journal. @return Cash Journal */ @@ -198,7 +198,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -355,7 +355,7 @@ return bd; @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -397,7 +397,7 @@ return new KeyNamePair(get_ID(), getName()); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -415,7 +415,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -433,7 +433,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -483,7 +483,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -502,7 +502,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_CashBook.java b/dbPort/src/org/compiere/model/X_C_CashBook.java index b15cd674be..01e6787c05 100644 --- a/dbPort/src/org/compiere/model/X_C_CashBook.java +++ b/dbPort/src/org/compiere/model/X_C_CashBook.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CashBook * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CashBook extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_CashBook (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=408 */ -public static final int Table_ID=408; +public static final int Table_ID=MTable.getTable_ID("C_CashBook"); /** TableName=C_CashBook */ public static final String Table_Name="C_CashBook"; -protected static KeyNamePair Model = new KeyNamePair(408,"C_CashBook"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CashBook"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_CashBook_ID (int C_CashBook_ID) { if (C_CashBook_ID < 1) throw new IllegalArgumentException ("C_CashBook_ID is mandatory."); -set_ValueNoCheck ("C_CashBook_ID", new Integer(C_CashBook_ID)); +set_ValueNoCheck ("C_CashBook_ID", Integer.valueOf(C_CashBook_ID)); } /** Get Cash Book. @return Cash Book for recording petty cash transactions */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -139,7 +139,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_C_CashBook_Acct.java b/dbPort/src/org/compiere/model/X_C_CashBook_Acct.java index 43c583a59d..e6da412c6a 100644 --- a/dbPort/src/org/compiere/model/X_C_CashBook_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_CashBook_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CashBook_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CashBook_Acct extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_CashBook_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=409 */ -public static final int Table_ID=409; +public static final int Table_ID=MTable.getTable_ID("C_CashBook_Acct"); /** TableName=C_CashBook_Acct */ public static final String Table_Name="C_CashBook_Acct"; -protected static KeyNamePair Model = new KeyNamePair(409,"C_CashBook_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CashBook_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); @param CB_Asset_Acct Cash Book Asset Account */ public void setCB_Asset_Acct (int CB_Asset_Acct) { -set_Value ("CB_Asset_Acct", new Integer(CB_Asset_Acct)); +set_Value ("CB_Asset_Acct", Integer.valueOf(CB_Asset_Acct)); } /** Get Cash Book Asset. @return Cash Book Asset Account */ @@ -109,7 +109,7 @@ return ii.intValue(); @param CB_CashTransfer_Acct Cash Transfer Clearing Account */ public void setCB_CashTransfer_Acct (int CB_CashTransfer_Acct) { -set_Value ("CB_CashTransfer_Acct", new Integer(CB_CashTransfer_Acct)); +set_Value ("CB_CashTransfer_Acct", Integer.valueOf(CB_CashTransfer_Acct)); } /** Get Cash Transfer. @return Cash Transfer Clearing Account */ @@ -123,7 +123,7 @@ return ii.intValue(); @param CB_Differences_Acct Cash Book Differences Account */ public void setCB_Differences_Acct (int CB_Differences_Acct) { -set_Value ("CB_Differences_Acct", new Integer(CB_Differences_Acct)); +set_Value ("CB_Differences_Acct", Integer.valueOf(CB_Differences_Acct)); } /** Get Cash Book Differences. @return Cash Book Differences Account */ @@ -137,7 +137,7 @@ return ii.intValue(); @param CB_Expense_Acct Cash Book Expense Account */ public void setCB_Expense_Acct (int CB_Expense_Acct) { -set_Value ("CB_Expense_Acct", new Integer(CB_Expense_Acct)); +set_Value ("CB_Expense_Acct", Integer.valueOf(CB_Expense_Acct)); } /** Get Cash Book Expense. @return Cash Book Expense Account */ @@ -151,7 +151,7 @@ return ii.intValue(); @param CB_Receipt_Acct Cash Book Receipts Account */ public void setCB_Receipt_Acct (int CB_Receipt_Acct) { -set_Value ("CB_Receipt_Acct", new Integer(CB_Receipt_Acct)); +set_Value ("CB_Receipt_Acct", Integer.valueOf(CB_Receipt_Acct)); } /** Get Cash Book Receipt. @return Cash Book Receipts Account */ @@ -166,7 +166,7 @@ return ii.intValue(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -181,7 +181,7 @@ return ii.intValue(); public void setC_CashBook_ID (int C_CashBook_ID) { if (C_CashBook_ID < 1) throw new IllegalArgumentException ("C_CashBook_ID is mandatory."); -set_ValueNoCheck ("C_CashBook_ID", new Integer(C_CashBook_ID)); +set_ValueNoCheck ("C_CashBook_ID", Integer.valueOf(C_CashBook_ID)); } /** Get Cash Book. @return Cash Book for recording petty cash transactions */ diff --git a/dbPort/src/org/compiere/model/X_C_CashLine.java b/dbPort/src/org/compiere/model/X_C_CashLine.java index cbbc977253..d5ce7e76fa 100644 --- a/dbPort/src/org/compiere/model/X_C_CashLine.java +++ b/dbPort/src/org/compiere/model/X_C_CashLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CashLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CashLine extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_CashLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=410 */ -public static final int Table_ID=410; +public static final int Table_ID=MTable.getTable_ID("C_CashLine"); /** TableName=C_CashLine */ public static final String Table_Name="C_CashLine"; -protected static KeyNamePair Model = new KeyNamePair(410,"C_CashLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CashLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -111,7 +111,7 @@ public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID <= 0) set_Value ("C_BankAccount_ID", null); else -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setC_CashLine_ID (int C_CashLine_ID) { if (C_CashLine_ID < 1) throw new IllegalArgumentException ("C_CashLine_ID is mandatory."); -set_ValueNoCheck ("C_CashLine_ID", new Integer(C_CashLine_ID)); +set_ValueNoCheck ("C_CashLine_ID", Integer.valueOf(C_CashLine_ID)); } /** Get Cash Journal Line. @return Cash Journal Line */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setC_Cash_ID (int C_Cash_ID) { if (C_Cash_ID < 1) throw new IllegalArgumentException ("C_Cash_ID is mandatory."); -set_ValueNoCheck ("C_Cash_ID", new Integer(C_Cash_ID)); +set_ValueNoCheck ("C_Cash_ID", Integer.valueOf(C_Cash_ID)); } /** Get Cash Journal. @return Cash Journal */ @@ -163,7 +163,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -179,7 +179,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_ValueNoCheck ("C_Currency_ID", null); else -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -195,7 +195,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -275,7 +275,7 @@ return bd; @param IsGenerated This Line is generated */ public void setIsGenerated (boolean IsGenerated) { -set_ValueNoCheck ("IsGenerated", new Boolean(IsGenerated)); +set_ValueNoCheck ("IsGenerated", Boolean.valueOf(IsGenerated)); } /** Get Generated. @return This Line is generated */ @@ -293,7 +293,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -307,7 +307,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_Channel.java b/dbPort/src/org/compiere/model/X_C_Channel.java index 74110bd99c..f9ee19f462 100644 --- a/dbPort/src/org/compiere/model/X_C_Channel.java +++ b/dbPort/src/org/compiere/model/X_C_Channel.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Channel * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Channel extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_Channel (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=275 */ -public static final int Table_ID=275; +public static final int Table_ID=MTable.getTable_ID("C_Channel"); /** TableName=C_Channel */ public static final String Table_Name="C_Channel"; -protected static KeyNamePair Model = new KeyNamePair(275,"C_Channel"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Channel"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ public void setAD_PrintColor_ID (int AD_PrintColor_ID) { if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null); else -set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); +set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID)); } /** Get Print Color. @return Color used for printing and display */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_Channel_ID (int C_Channel_ID) { if (C_Channel_ID < 1) throw new IllegalArgumentException ("C_Channel_ID is mandatory."); -set_ValueNoCheck ("C_Channel_ID", new Integer(C_Channel_ID)); +set_ValueNoCheck ("C_Channel_ID", Integer.valueOf(C_Channel_ID)); } /** Get Channel. @return Sales Channel */ diff --git a/dbPort/src/org/compiere/model/X_C_Charge.java b/dbPort/src/org/compiere/model/X_C_Charge.java index 7bc8e8d5f5..a5b11caa1e 100644 --- a/dbPort/src/org/compiere/model/X_C_Charge.java +++ b/dbPort/src/org/compiere/model/X_C_Charge.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Charge * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Charge extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_Charge (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=313 */ -public static final int Table_ID=313; +public static final int Table_ID=MTable.getTable_ID("C_Charge"); /** TableName=C_Charge */ public static final String Table_Name="C_Charge"; -protected static KeyNamePair Model = new KeyNamePair(313,"C_Charge"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Charge"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID < 1) throw new IllegalArgumentException ("C_Charge_ID is mandatory."); -set_ValueNoCheck ("C_Charge_ID", new Integer(C_Charge_ID)); +set_ValueNoCheck ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -127,7 +127,7 @@ return ii.intValue(); public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_Value ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_Value ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -173,7 +173,7 @@ return (String)get_Value("Description"); @param IsSameCurrency Same Currency */ public void setIsSameCurrency (boolean IsSameCurrency) { -set_Value ("IsSameCurrency", new Boolean(IsSameCurrency)); +set_Value ("IsSameCurrency", Boolean.valueOf(IsSameCurrency)); } /** Get Same Currency. @return Same Currency */ @@ -191,7 +191,7 @@ return false; @param IsSameTax Use the same tax as the main transaction */ public void setIsSameTax (boolean IsSameTax) { -set_Value ("IsSameTax", new Boolean(IsSameTax)); +set_Value ("IsSameTax", Boolean.valueOf(IsSameTax)); } /** Get Same Tax. @return Use the same tax as the main transaction */ @@ -209,7 +209,7 @@ return false; @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ diff --git a/dbPort/src/org/compiere/model/X_C_Charge_Acct.java b/dbPort/src/org/compiere/model/X_C_Charge_Acct.java index 3e910c23f8..2da6b81a82 100644 --- a/dbPort/src/org/compiere/model/X_C_Charge_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_Charge_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Charge_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Charge_Acct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_Charge_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=396 */ -public static final int Table_ID=396; +public static final int Table_ID=MTable.getTable_ID("C_Charge_Acct"); /** TableName=C_Charge_Acct */ public static final String Table_Name="C_Charge_Acct"; -protected static KeyNamePair Model = new KeyNamePair(396,"C_Charge_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Charge_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID < 1) throw new IllegalArgumentException ("C_Charge_ID is mandatory."); -set_ValueNoCheck ("C_Charge_ID", new Integer(C_Charge_ID)); +set_ValueNoCheck ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -122,7 +122,7 @@ return ii.intValue(); @param Ch_Expense_Acct Charge Expense Account */ public void setCh_Expense_Acct (int Ch_Expense_Acct) { -set_Value ("Ch_Expense_Acct", new Integer(Ch_Expense_Acct)); +set_Value ("Ch_Expense_Acct", Integer.valueOf(Ch_Expense_Acct)); } /** Get Charge Expense. @return Charge Expense Account */ @@ -136,7 +136,7 @@ return ii.intValue(); @param Ch_Revenue_Acct Charge Revenue Account */ public void setCh_Revenue_Acct (int Ch_Revenue_Acct) { -set_Value ("Ch_Revenue_Acct", new Integer(Ch_Revenue_Acct)); +set_Value ("Ch_Revenue_Acct", Integer.valueOf(Ch_Revenue_Acct)); } /** Get Charge Revenue. @return Charge Revenue Account */ diff --git a/dbPort/src/org/compiere/model/X_C_City.java b/dbPort/src/org/compiere/model/X_C_City.java index a3227f1e5a..293bd1ae84 100644 --- a/dbPort/src/org/compiere/model/X_C_City.java +++ b/dbPort/src/org/compiere/model/X_C_City.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_City * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_City extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_City (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=186 */ -public static final int Table_ID=186; +public static final int Table_ID=MTable.getTable_ID("C_City"); /** TableName=C_City */ public static final String Table_Name="C_City"; -protected static KeyNamePair Model = new KeyNamePair(186,"C_City"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_City"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -108,7 +108,7 @@ return (String)get_Value("AreaCode"); public void setC_City_ID (int C_City_ID) { if (C_City_ID < 1) throw new IllegalArgumentException ("C_City_ID is mandatory."); -set_ValueNoCheck ("C_City_ID", new Integer(C_City_ID)); +set_ValueNoCheck ("C_City_ID", Integer.valueOf(C_City_ID)); } /** Get City. @return City */ @@ -124,7 +124,7 @@ public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID <= 0) set_ValueNoCheck ("C_Country_ID", null); else -set_ValueNoCheck ("C_Country_ID", new Integer(C_Country_ID)); +set_ValueNoCheck ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -143,7 +143,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ diff --git a/dbPort/src/org/compiere/model/X_C_Commission.java b/dbPort/src/org/compiere/model/X_C_Commission.java index 198cf0ee28..c71730b406 100644 --- a/dbPort/src/org/compiere/model/X_C_Commission.java +++ b/dbPort/src/org/compiere/model/X_C_Commission.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Commission * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Commission extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_Commission (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=429 */ -public static final int Table_ID=429; +public static final int Table_ID=MTable.getTable_ID("C_Commission"); /** TableName=C_Commission */ public static final String Table_Name="C_Commission"; -protected static KeyNamePair Model = new KeyNamePair(429,"C_Commission"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Commission"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -100,7 +100,7 @@ public static final int C_BPARTNER_ID_AD_Reference_ID=232; public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -115,7 +115,7 @@ return ii.intValue(); public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID < 1) throw new IllegalArgumentException ("C_Charge_ID is mandatory."); -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setC_Commission_ID (int C_Commission_ID) { if (C_Commission_ID < 1) throw new IllegalArgumentException ("C_Commission_ID is mandatory."); -set_ValueNoCheck ("C_Commission_ID", new Integer(C_Commission_ID)); +set_ValueNoCheck ("C_Commission_ID", Integer.valueOf(C_Commission_ID)); } /** Get Commission. @return Commission */ @@ -145,7 +145,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -265,7 +265,7 @@ return (String)get_Value("FrequencyType"); @param ListDetails List document details */ public void setListDetails (boolean ListDetails) { -set_Value ("ListDetails", new Boolean(ListDetails)); +set_Value ("ListDetails", Boolean.valueOf(ListDetails)); } /** Get List Details. @return List document details */ @@ -307,7 +307,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_CommissionAmt.java b/dbPort/src/org/compiere/model/X_C_CommissionAmt.java index aacf6b8aaf..69e22278fd 100644 --- a/dbPort/src/org/compiere/model/X_C_CommissionAmt.java +++ b/dbPort/src/org/compiere/model/X_C_CommissionAmt.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CommissionAmt * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CommissionAmt extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_CommissionAmt (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=430 */ -public static final int Table_ID=430; +public static final int Table_ID=MTable.getTable_ID("C_CommissionAmt"); /** TableName=C_CommissionAmt */ public static final String Table_Name="C_CommissionAmt"; -protected static KeyNamePair Model = new KeyNamePair(430,"C_CommissionAmt"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CommissionAmt"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -110,7 +110,7 @@ return bd; public void setC_CommissionAmt_ID (int C_CommissionAmt_ID) { if (C_CommissionAmt_ID < 1) throw new IllegalArgumentException ("C_CommissionAmt_ID is mandatory."); -set_ValueNoCheck ("C_CommissionAmt_ID", new Integer(C_CommissionAmt_ID)); +set_ValueNoCheck ("C_CommissionAmt_ID", Integer.valueOf(C_CommissionAmt_ID)); } /** Get Commission Amount. @return Generated Commission Amount */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setC_CommissionLine_ID (int C_CommissionLine_ID) { if (C_CommissionLine_ID < 1) throw new IllegalArgumentException ("C_CommissionLine_ID is mandatory."); -set_Value ("C_CommissionLine_ID", new Integer(C_CommissionLine_ID)); +set_Value ("C_CommissionLine_ID", Integer.valueOf(C_CommissionLine_ID)); } /** Get Commission Line. @return Commission Line */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setC_CommissionRun_ID (int C_CommissionRun_ID) { if (C_CommissionRun_ID < 1) throw new IllegalArgumentException ("C_CommissionRun_ID is mandatory."); -set_ValueNoCheck ("C_CommissionRun_ID", new Integer(C_CommissionRun_ID)); +set_ValueNoCheck ("C_CommissionRun_ID", Integer.valueOf(C_CommissionRun_ID)); } /** Get Commission Run. @return Commission Run or Process */ diff --git a/dbPort/src/org/compiere/model/X_C_CommissionDetail.java b/dbPort/src/org/compiere/model/X_C_CommissionDetail.java index 24fef56be7..767b2dbc45 100644 --- a/dbPort/src/org/compiere/model/X_C_CommissionDetail.java +++ b/dbPort/src/org/compiere/model/X_C_CommissionDetail.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CommissionDetail * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CommissionDetail extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_CommissionDetail (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=437 */ -public static final int Table_ID=437; +public static final int Table_ID=MTable.getTable_ID("C_CommissionDetail"); /** TableName=C_CommissionDetail */ public static final String Table_Name="C_CommissionDetail"; -protected static KeyNamePair Model = new KeyNamePair(437,"C_CommissionDetail"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CommissionDetail"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -125,7 +125,7 @@ return bd; public void setC_CommissionAmt_ID (int C_CommissionAmt_ID) { if (C_CommissionAmt_ID < 1) throw new IllegalArgumentException ("C_CommissionAmt_ID is mandatory."); -set_ValueNoCheck ("C_CommissionAmt_ID", new Integer(C_CommissionAmt_ID)); +set_ValueNoCheck ("C_CommissionAmt_ID", Integer.valueOf(C_CommissionAmt_ID)); } /** Get Commission Amount. @return Generated Commission Amount */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setC_CommissionDetail_ID (int C_CommissionDetail_ID) { if (C_CommissionDetail_ID < 1) throw new IllegalArgumentException ("C_CommissionDetail_ID is mandatory."); -set_ValueNoCheck ("C_CommissionDetail_ID", new Integer(C_CommissionDetail_ID)); +set_ValueNoCheck ("C_CommissionDetail_ID", Integer.valueOf(C_CommissionDetail_ID)); } /** Get Commission Detail. @return Supporting information for Commission Amounts */ @@ -155,7 +155,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -171,7 +171,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_ValueNoCheck ("C_InvoiceLine_ID", null); else -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -187,7 +187,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_ValueNoCheck ("C_OrderLine_ID", null); else -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ diff --git a/dbPort/src/org/compiere/model/X_C_CommissionLine.java b/dbPort/src/org/compiere/model/X_C_CommissionLine.java index 3aad27fea9..eea7b49dd3 100644 --- a/dbPort/src/org/compiere/model/X_C_CommissionLine.java +++ b/dbPort/src/org/compiere/model/X_C_CommissionLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CommissionLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CommissionLine extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_CommissionLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=431 */ -public static final int Table_ID=431; +public static final int Table_ID=MTable.getTable_ID("C_CommissionLine"); /** TableName=C_CommissionLine */ public static final String Table_Name="C_CommissionLine"; -protected static KeyNamePair Model = new KeyNamePair(431,"C_CommissionLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CommissionLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -129,7 +129,7 @@ public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID <= 0) set_Value ("C_BP_Group_ID", null); else -set_Value ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_Value ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -145,7 +145,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -160,7 +160,7 @@ return ii.intValue(); public void setC_CommissionLine_ID (int C_CommissionLine_ID) { if (C_CommissionLine_ID < 1) throw new IllegalArgumentException ("C_CommissionLine_ID is mandatory."); -set_ValueNoCheck ("C_CommissionLine_ID", new Integer(C_CommissionLine_ID)); +set_ValueNoCheck ("C_CommissionLine_ID", Integer.valueOf(C_CommissionLine_ID)); } /** Get Commission Line. @return Commission Line */ @@ -175,7 +175,7 @@ return ii.intValue(); public void setC_Commission_ID (int C_Commission_ID) { if (C_Commission_ID < 1) throw new IllegalArgumentException ("C_Commission_ID is mandatory."); -set_ValueNoCheck ("C_Commission_ID", new Integer(C_Commission_ID)); +set_ValueNoCheck ("C_Commission_ID", Integer.valueOf(C_Commission_ID)); } /** Get Commission. @return Commission */ @@ -197,7 +197,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -211,7 +211,7 @@ return ii.intValue(); @param CommissionOrders Commission only Orders or Invoices, where this Sales Rep is entered */ public void setCommissionOrders (boolean CommissionOrders) { -set_Value ("CommissionOrders", new Boolean(CommissionOrders)); +set_Value ("CommissionOrders", Boolean.valueOf(CommissionOrders)); } /** Get Commission only specified Orders. @return Commission only Orders or Invoices, where this Sales Rep is entered */ @@ -246,7 +246,7 @@ return (String)get_Value("Description"); @param IsPositiveOnly Do not generate negative commissions */ public void setIsPositiveOnly (boolean IsPositiveOnly) { -set_Value ("IsPositiveOnly", new Boolean(IsPositiveOnly)); +set_Value ("IsPositiveOnly", Boolean.valueOf(IsPositiveOnly)); } /** Get Positive only. @return Do not generate negative commissions */ @@ -264,7 +264,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -280,7 +280,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -296,7 +296,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -315,7 +315,7 @@ public void setOrg_ID (int Org_ID) { if (Org_ID <= 0) set_Value ("Org_ID", null); else -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ diff --git a/dbPort/src/org/compiere/model/X_C_CommissionRun.java b/dbPort/src/org/compiere/model/X_C_CommissionRun.java index 7f3fceba89..1f86488040 100644 --- a/dbPort/src/org/compiere/model/X_C_CommissionRun.java +++ b/dbPort/src/org/compiere/model/X_C_CommissionRun.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CommissionRun * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CommissionRun extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_CommissionRun (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=436 */ -public static final int Table_ID=436; +public static final int Table_ID=MTable.getTable_ID("C_CommissionRun"); /** TableName=C_CommissionRun */ public static final String Table_Name="C_CommissionRun"; -protected static KeyNamePair Model = new KeyNamePair(436,"C_CommissionRun"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CommissionRun"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_CommissionRun_ID (int C_CommissionRun_ID) { if (C_CommissionRun_ID < 1) throw new IllegalArgumentException ("C_CommissionRun_ID is mandatory."); -set_ValueNoCheck ("C_CommissionRun_ID", new Integer(C_CommissionRun_ID)); +set_ValueNoCheck ("C_CommissionRun_ID", Integer.valueOf(C_CommissionRun_ID)); } /** Get Commission Run. @return Commission Run or Process */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_Commission_ID (int C_Commission_ID) { if (C_Commission_ID < 1) throw new IllegalArgumentException ("C_Commission_ID is mandatory."); -set_ValueNoCheck ("C_Commission_ID", new Integer(C_Commission_ID)); +set_ValueNoCheck ("C_Commission_ID", Integer.valueOf(C_Commission_ID)); } /** Get Commission. @return Commission */ @@ -180,7 +180,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -198,7 +198,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_ConversionType.java b/dbPort/src/org/compiere/model/X_C_ConversionType.java index 5371f2e510..59e52deff8 100644 --- a/dbPort/src/org/compiere/model/X_C_ConversionType.java +++ b/dbPort/src/org/compiere/model/X_C_ConversionType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ConversionType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ConversionType extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_ConversionType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=637 */ -public static final int Table_ID=637; +public static final int Table_ID=MTable.getTable_ID("C_ConversionType"); /** TableName=C_ConversionType */ public static final String Table_Name="C_ConversionType"; -protected static KeyNamePair Model = new KeyNamePair(637,"C_ConversionType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ConversionType"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID < 1) throw new IllegalArgumentException ("C_ConversionType_ID is mandatory."); -set_ValueNoCheck ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_ValueNoCheck ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_C_Conversion_Rate.java b/dbPort/src/org/compiere/model/X_C_Conversion_Rate.java index 416d182173..940274a980 100644 --- a/dbPort/src/org/compiere/model/X_C_Conversion_Rate.java +++ b/dbPort/src/org/compiere/model/X_C_Conversion_Rate.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Conversion_Rate * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Conversion_Rate extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_Conversion_Rate (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=140 */ -public static final int Table_ID=140; +public static final int Table_ID=MTable.getTable_ID("C_Conversion_Rate"); /** TableName=C_Conversion_Rate */ public static final String Table_Name="C_Conversion_Rate"; -protected static KeyNamePair Model = new KeyNamePair(140,"C_Conversion_Rate"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Conversion_Rate"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID < 1) throw new IllegalArgumentException ("C_ConversionType_ID is mandatory."); -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_Conversion_Rate_ID (int C_Conversion_Rate_ID) { if (C_Conversion_Rate_ID < 1) throw new IllegalArgumentException ("C_Conversion_Rate_ID is mandatory."); -set_ValueNoCheck ("C_Conversion_Rate_ID", new Integer(C_Conversion_Rate_ID)); +set_ValueNoCheck ("C_Conversion_Rate_ID", Integer.valueOf(C_Conversion_Rate_ID)); } /** Get Conversion Rate. @return Rate used for converting currencies */ @@ -135,7 +135,7 @@ public static final int C_CURRENCY_ID_AD_Reference_ID=112; public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -152,7 +152,7 @@ public static final int C_CURRENCY_ID_TO_AD_Reference_ID=112; @param C_Currency_ID_To Target currency */ public void setC_Currency_ID_To (int C_Currency_ID_To) { -set_Value ("C_Currency_ID_To", new Integer(C_Currency_ID_To)); +set_Value ("C_Currency_ID_To", Integer.valueOf(C_Currency_ID_To)); } /** Get Currency To. @return Target currency */ diff --git a/dbPort/src/org/compiere/model/X_C_Country.java b/dbPort/src/org/compiere/model/X_C_Country.java index 105349d06a..14acf5f3a1 100644 --- a/dbPort/src/org/compiere/model/X_C_Country.java +++ b/dbPort/src/org/compiere/model/X_C_Country.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Country * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Country extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_Country (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=170 */ -public static final int Table_ID=170; +public static final int Table_ID=MTable.getTable_ID("C_Country"); /** TableName=C_Country */ public static final String Table_Name="C_Country"; -protected static KeyNamePair Model = new KeyNamePair(170,"C_Country"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Country"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -117,7 +117,7 @@ return (String)get_Value("AD_Language"); public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID < 1) throw new IllegalArgumentException ("C_Country_ID is mandatory."); -set_ValueNoCheck ("C_Country_ID", new Integer(C_Country_ID)); +set_ValueNoCheck ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -133,7 +133,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -308,7 +308,7 @@ return (String)get_Value("ExpressionPostal_Add"); @param HasPostal_Add Has Additional Postal Code */ public void setHasPostal_Add (boolean HasPostal_Add) { -set_Value ("HasPostal_Add", new Boolean(HasPostal_Add)); +set_Value ("HasPostal_Add", Boolean.valueOf(HasPostal_Add)); } /** Get Additional Postal code. @return Has Additional Postal Code */ @@ -326,7 +326,7 @@ return false; @param HasRegion Country contains Regions */ public void setHasRegion (boolean HasRegion) { -set_Value ("HasRegion", new Boolean(HasRegion)); +set_Value ("HasRegion", Boolean.valueOf(HasRegion)); } /** Get Country has Region. @return Country contains Regions */ @@ -344,7 +344,7 @@ return false; @param IsAddressLinesLocalReverse Print Local Address in reverse Order */ public void setIsAddressLinesLocalReverse (boolean IsAddressLinesLocalReverse) { -set_Value ("IsAddressLinesLocalReverse", new Boolean(IsAddressLinesLocalReverse)); +set_Value ("IsAddressLinesLocalReverse", Boolean.valueOf(IsAddressLinesLocalReverse)); } /** Get Reverse Local Address Lines. @return Print Local Address in reverse Order */ @@ -362,7 +362,7 @@ return false; @param IsAddressLinesReverse Print Address in reverse Order */ public void setIsAddressLinesReverse (boolean IsAddressLinesReverse) { -set_Value ("IsAddressLinesReverse", new Boolean(IsAddressLinesReverse)); +set_Value ("IsAddressLinesReverse", Boolean.valueOf(IsAddressLinesReverse)); } /** Get Reverse Address Lines. @return Print Address in reverse Order */ diff --git a/dbPort/src/org/compiere/model/X_C_Currency.java b/dbPort/src/org/compiere/model/X_C_Currency.java index a91fb0301e..895d0eddda 100644 --- a/dbPort/src/org/compiere/model/X_C_Currency.java +++ b/dbPort/src/org/compiere/model/X_C_Currency.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Currency * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Currency extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_Currency (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=141 */ -public static final int Table_ID=141; +public static final int Table_ID=MTable.getTable_ID("C_Currency"); /** TableName=C_Currency */ public static final String Table_Name="C_Currency"; -protected static KeyNamePair Model = new KeyNamePair(141,"C_Currency"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Currency"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -110,7 +110,7 @@ return ii.intValue(); @param CostingPrecision Rounding used costing calculations */ public void setCostingPrecision (int CostingPrecision) { -set_Value ("CostingPrecision", new Integer(CostingPrecision)); +set_Value ("CostingPrecision", Integer.valueOf(CostingPrecision)); } /** Get Costing Precision. @return Rounding used costing calculations */ @@ -209,7 +209,7 @@ return new KeyNamePair(get_ID(), getISO_Code()); @param IsEMUMember This currency is member if the European Monetary Union */ public void setIsEMUMember (boolean IsEMUMember) { -set_Value ("IsEMUMember", new Boolean(IsEMUMember)); +set_Value ("IsEMUMember", Boolean.valueOf(IsEMUMember)); } /** Get EMU Member. @return This currency is member if the European Monetary Union */ @@ -227,7 +227,7 @@ return false; @param IsEuro This currency is the Euro */ public void setIsEuro (boolean IsEuro) { -set_Value ("IsEuro", new Boolean(IsEuro)); +set_Value ("IsEuro", Boolean.valueOf(IsEuro)); } /** Get The Euro Currency. @return This currency is the Euro */ @@ -245,7 +245,7 @@ return false; @param StdPrecision Rule for rounding calculated amounts */ public void setStdPrecision (int StdPrecision) { -set_Value ("StdPrecision", new Integer(StdPrecision)); +set_Value ("StdPrecision", Integer.valueOf(StdPrecision)); } /** Get Standard Precision. @return Rule for rounding calculated amounts */ diff --git a/dbPort/src/org/compiere/model/X_C_Currency_Acct.java b/dbPort/src/org/compiere/model/X_C_Currency_Acct.java index f5d3961aad..b7af969141 100644 --- a/dbPort/src/org/compiere/model/X_C_Currency_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_Currency_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Currency_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Currency_Acct extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_Currency_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=638 */ -public static final int Table_ID=638; +public static final int Table_ID=MTable.getTable_ID("C_Currency_Acct"); /** TableName=C_Currency_Acct */ public static final String Table_Name="C_Currency_Acct"; -protected static KeyNamePair Model = new KeyNamePair(638,"C_Currency_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Currency_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -124,7 +124,7 @@ return ii.intValue(); @param RealizedGain_Acct Realized Gain Account */ public void setRealizedGain_Acct (int RealizedGain_Acct) { -set_Value ("RealizedGain_Acct", new Integer(RealizedGain_Acct)); +set_Value ("RealizedGain_Acct", Integer.valueOf(RealizedGain_Acct)); } /** Get Realized Gain Acct. @return Realized Gain Account */ @@ -138,7 +138,7 @@ return ii.intValue(); @param RealizedLoss_Acct Realized Loss Account */ public void setRealizedLoss_Acct (int RealizedLoss_Acct) { -set_Value ("RealizedLoss_Acct", new Integer(RealizedLoss_Acct)); +set_Value ("RealizedLoss_Acct", Integer.valueOf(RealizedLoss_Acct)); } /** Get Realized Loss Acct. @return Realized Loss Account */ @@ -152,7 +152,7 @@ return ii.intValue(); @param UnrealizedGain_Acct Unrealized Gain Account for currency revaluation */ public void setUnrealizedGain_Acct (int UnrealizedGain_Acct) { -set_Value ("UnrealizedGain_Acct", new Integer(UnrealizedGain_Acct)); +set_Value ("UnrealizedGain_Acct", Integer.valueOf(UnrealizedGain_Acct)); } /** Get Unrealized Gain Acct. @return Unrealized Gain Account for currency revaluation */ @@ -166,7 +166,7 @@ return ii.intValue(); @param UnrealizedLoss_Acct Unrealized Loss Account for currency revaluation */ public void setUnrealizedLoss_Acct (int UnrealizedLoss_Acct) { -set_Value ("UnrealizedLoss_Acct", new Integer(UnrealizedLoss_Acct)); +set_Value ("UnrealizedLoss_Acct", Integer.valueOf(UnrealizedLoss_Acct)); } /** Get Unrealized Loss Acct. @return Unrealized Loss Account for currency revaluation */ diff --git a/dbPort/src/org/compiere/model/X_C_Cycle.java b/dbPort/src/org/compiere/model/X_C_Cycle.java index 2f77d04d2d..db19465e9b 100644 --- a/dbPort/src/org/compiere/model/X_C_Cycle.java +++ b/dbPort/src/org/compiere/model/X_C_Cycle.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Cycle * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Cycle extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_Cycle (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=432 */ -public static final int Table_ID=432; +public static final int Table_ID=MTable.getTable_ID("C_Cycle"); /** TableName=C_Cycle */ public static final String Table_Name="C_Cycle"; -protected static KeyNamePair Model = new KeyNamePair(432,"C_Cycle"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Cycle"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_Cycle_ID (int C_Cycle_ID) { if (C_Cycle_ID < 1) throw new IllegalArgumentException ("C_Cycle_ID is mandatory."); -set_ValueNoCheck ("C_Cycle_ID", new Integer(C_Cycle_ID)); +set_ValueNoCheck ("C_Cycle_ID", Integer.valueOf(C_Cycle_ID)); } /** Get Project Cycle. @return Identifier for this Project Reporting Cycle */ diff --git a/dbPort/src/org/compiere/model/X_C_CyclePhase.java b/dbPort/src/org/compiere/model/X_C_CyclePhase.java index d783fa659e..6814c0f284 100644 --- a/dbPort/src/org/compiere/model/X_C_CyclePhase.java +++ b/dbPort/src/org/compiere/model/X_C_CyclePhase.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CyclePhase * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CyclePhase extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_CyclePhase (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=433 */ -public static final int Table_ID=433; +public static final int Table_ID=MTable.getTable_ID("C_CyclePhase"); /** TableName=C_CyclePhase */ public static final String Table_Name="C_CyclePhase"; -protected static KeyNamePair Model = new KeyNamePair(433,"C_CyclePhase"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CyclePhase"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setC_CycleStep_ID (int C_CycleStep_ID) { if (C_CycleStep_ID < 1) throw new IllegalArgumentException ("C_CycleStep_ID is mandatory."); -set_ValueNoCheck ("C_CycleStep_ID", new Integer(C_CycleStep_ID)); +set_ValueNoCheck ("C_CycleStep_ID", Integer.valueOf(C_CycleStep_ID)); } /** Get Cycle Step. @return The step for this Cycle */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setC_Phase_ID (int C_Phase_ID) { if (C_Phase_ID < 1) throw new IllegalArgumentException ("C_Phase_ID is mandatory."); -set_ValueNoCheck ("C_Phase_ID", new Integer(C_Phase_ID)); +set_ValueNoCheck ("C_Phase_ID", Integer.valueOf(C_Phase_ID)); } /** Get Standard Phase. @return Standard Phase of the Project Type */ diff --git a/dbPort/src/org/compiere/model/X_C_CycleStep.java b/dbPort/src/org/compiere/model/X_C_CycleStep.java index d769a0653a..4085f41c5c 100644 --- a/dbPort/src/org/compiere/model/X_C_CycleStep.java +++ b/dbPort/src/org/compiere/model/X_C_CycleStep.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_CycleStep * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_CycleStep extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_CycleStep (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=590 */ -public static final int Table_ID=590; +public static final int Table_ID=MTable.getTable_ID("C_CycleStep"); /** TableName=C_CycleStep */ public static final String Table_Name="C_CycleStep"; -protected static KeyNamePair Model = new KeyNamePair(590,"C_CycleStep"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_CycleStep"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_CycleStep_ID (int C_CycleStep_ID) { if (C_CycleStep_ID < 1) throw new IllegalArgumentException ("C_CycleStep_ID is mandatory."); -set_ValueNoCheck ("C_CycleStep_ID", new Integer(C_CycleStep_ID)); +set_ValueNoCheck ("C_CycleStep_ID", Integer.valueOf(C_CycleStep_ID)); } /** Get Cycle Step. @return The step for this Cycle */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_Cycle_ID (int C_Cycle_ID) { if (C_Cycle_ID < 1) throw new IllegalArgumentException ("C_Cycle_ID is mandatory."); -set_ValueNoCheck ("C_Cycle_ID", new Integer(C_Cycle_ID)); +set_ValueNoCheck ("C_Cycle_ID", Integer.valueOf(C_Cycle_ID)); } /** Get Project Cycle. @return Identifier for this Project Reporting Cycle */ @@ -163,7 +163,7 @@ return bd; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_DocType.java b/dbPort/src/org/compiere/model/X_C_DocType.java index d476270034..fb7656c255 100644 --- a/dbPort/src/org/compiere/model/X_C_DocType.java +++ b/dbPort/src/org/compiere/model/X_C_DocType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_DocType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_DocType extends PO { /** Standard Constructor @@ -69,12 +69,12 @@ public X_C_DocType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=217 */ -public static final int Table_ID=217; +public static final int Table_ID=MTable.getTable_ID("C_DocType"); /** TableName=C_DocType */ public static final String Table_Name="C_DocType"; -protected static KeyNamePair Model = new KeyNamePair(217,"C_DocType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_DocType"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -107,7 +107,7 @@ public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) { if (AD_PrintFormat_ID <= 0) set_Value ("AD_PrintFormat_ID", null); else -set_Value ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID)); +set_Value ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID)); } /** Get Print Format. @return Data Print Format */ @@ -126,7 +126,7 @@ public void setC_DocTypeDifference_ID (int C_DocTypeDifference_ID) { if (C_DocTypeDifference_ID <= 0) set_Value ("C_DocTypeDifference_ID", null); else -set_Value ("C_DocTypeDifference_ID", new Integer(C_DocTypeDifference_ID)); +set_Value ("C_DocTypeDifference_ID", Integer.valueOf(C_DocTypeDifference_ID)); } /** Get Difference Document. @return Document type for generating in dispute Shipments */ @@ -145,7 +145,7 @@ public void setC_DocTypeInvoice_ID (int C_DocTypeInvoice_ID) { if (C_DocTypeInvoice_ID <= 0) set_Value ("C_DocTypeInvoice_ID", null); else -set_Value ("C_DocTypeInvoice_ID", new Integer(C_DocTypeInvoice_ID)); +set_Value ("C_DocTypeInvoice_ID", Integer.valueOf(C_DocTypeInvoice_ID)); } /** Get Document Type for Invoice. @return Document type used for invoices generated from this sales document */ @@ -164,7 +164,7 @@ public void setC_DocTypeProforma_ID (int C_DocTypeProforma_ID) { if (C_DocTypeProforma_ID <= 0) set_Value ("C_DocTypeProforma_ID", null); else -set_Value ("C_DocTypeProforma_ID", new Integer(C_DocTypeProforma_ID)); +set_Value ("C_DocTypeProforma_ID", Integer.valueOf(C_DocTypeProforma_ID)); } /** Get Document Type for ProForma. @return Document type used for pro forma invoices generated from this sales document */ @@ -183,7 +183,7 @@ public void setC_DocTypeShipment_ID (int C_DocTypeShipment_ID) { if (C_DocTypeShipment_ID <= 0) set_Value ("C_DocTypeShipment_ID", null); else -set_Value ("C_DocTypeShipment_ID", new Integer(C_DocTypeShipment_ID)); +set_Value ("C_DocTypeShipment_ID", Integer.valueOf(C_DocTypeShipment_ID)); } /** Get Document Type for Shipment. @return Document type used for shipments generated from this sales document */ @@ -198,7 +198,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_ValueNoCheck ("C_DocType_ID", new Integer(C_DocType_ID)); +set_ValueNoCheck ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -303,7 +303,7 @@ public void setDocNoSequence_ID (int DocNoSequence_ID) { if (DocNoSequence_ID <= 0) set_Value ("DocNoSequence_ID", null); else -set_Value ("DocNoSequence_ID", new Integer(DocNoSequence_ID)); +set_Value ("DocNoSequence_ID", Integer.valueOf(DocNoSequence_ID)); } /** Get Document Sequence. @return Document sequence determines the numbering of documents */ @@ -355,7 +355,7 @@ return (String)get_Value("DocSubTypeSO"); @param DocumentCopies Number of copies to be printed */ public void setDocumentCopies (int DocumentCopies) { -set_Value ("DocumentCopies", new Integer(DocumentCopies)); +set_Value ("DocumentCopies", Integer.valueOf(DocumentCopies)); } /** Get Document Copies. @return Number of copies to be printed */ @@ -387,7 +387,7 @@ return (String)get_Value("DocumentNote"); public void setGL_Category_ID (int GL_Category_ID) { if (GL_Category_ID < 1) throw new IllegalArgumentException ("GL_Category_ID is mandatory."); -set_Value ("GL_Category_ID", new Integer(GL_Category_ID)); +set_Value ("GL_Category_ID", Integer.valueOf(GL_Category_ID)); } /** Get GL Category. @return General Ledger Category */ @@ -401,7 +401,7 @@ return ii.intValue(); @param HasCharges Charges can be added to the document */ public void setHasCharges (boolean HasCharges) { -set_Value ("HasCharges", new Boolean(HasCharges)); +set_Value ("HasCharges", Boolean.valueOf(HasCharges)); } /** Get Charges. @return Charges can be added to the document */ @@ -419,7 +419,7 @@ return false; @param HasProforma Indicates if Pro Forma Invoices can be generated from this document */ public void setHasProforma (boolean HasProforma) { -set_Value ("HasProforma", new Boolean(HasProforma)); +set_Value ("HasProforma", Boolean.valueOf(HasProforma)); } /** Get Pro forma Invoice. @return Indicates if Pro Forma Invoices can be generated from this document */ @@ -437,7 +437,7 @@ return false; @param IsCreateCounter Create Counter Document */ public void setIsCreateCounter (boolean IsCreateCounter) { -set_Value ("IsCreateCounter", new Boolean(IsCreateCounter)); +set_Value ("IsCreateCounter", Boolean.valueOf(IsCreateCounter)); } /** Get Create Counter Document. @return Create Counter Document */ @@ -455,7 +455,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -473,7 +473,7 @@ return false; @param IsDefaultCounterDoc The document type is the default counter document type */ public void setIsDefaultCounterDoc (boolean IsDefaultCounterDoc) { -set_Value ("IsDefaultCounterDoc", new Boolean(IsDefaultCounterDoc)); +set_Value ("IsDefaultCounterDoc", Boolean.valueOf(IsDefaultCounterDoc)); } /** Get Default Counter Document. @return The document type is the default counter document type */ @@ -491,7 +491,7 @@ return false; @param IsDocNoControlled The document has a document sequence */ public void setIsDocNoControlled (boolean IsDocNoControlled) { -set_Value ("IsDocNoControlled", new Boolean(IsDocNoControlled)); +set_Value ("IsDocNoControlled", Boolean.valueOf(IsDocNoControlled)); } /** Get Document is Number Controlled. @return The document has a document sequence */ @@ -509,7 +509,7 @@ return false; @param IsInTransit Movement is in transit */ public void setIsInTransit (boolean IsInTransit) { -set_Value ("IsInTransit", new Boolean(IsInTransit)); +set_Value ("IsInTransit", Boolean.valueOf(IsInTransit)); } /** Get In Transit. @return Movement is in transit */ @@ -527,7 +527,7 @@ return false; @param IsIndexed Index the document for the internal search engine */ public void setIsIndexed (boolean IsIndexed) { -set_Value ("IsIndexed", new Boolean(IsIndexed)); +set_Value ("IsIndexed", Boolean.valueOf(IsIndexed)); } /** Get Indexed. @return Index the document for the internal search engine */ @@ -545,7 +545,7 @@ return false; @param IsPickQAConfirm Require Pick or QA Confirmation before processing */ public void setIsPickQAConfirm (boolean IsPickQAConfirm) { -set_Value ("IsPickQAConfirm", new Boolean(IsPickQAConfirm)); +set_Value ("IsPickQAConfirm", Boolean.valueOf(IsPickQAConfirm)); } /** Get Pick/QA Confirmation. @return Require Pick or QA Confirmation before processing */ @@ -563,7 +563,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -581,7 +581,7 @@ return false; @param IsShipConfirm Require Ship or Receipt Confirmation before processing */ public void setIsShipConfirm (boolean IsShipConfirm) { -set_Value ("IsShipConfirm", new Boolean(IsShipConfirm)); +set_Value ("IsShipConfirm", Boolean.valueOf(IsShipConfirm)); } /** Get Ship/Receipt Confirmation. @return Require Ship or Receipt Confirmation before processing */ @@ -599,7 +599,7 @@ return false; @param IsSplitWhenDifference Split document when there is a difference */ public void setIsSplitWhenDifference (boolean IsSplitWhenDifference) { -set_Value ("IsSplitWhenDifference", new Boolean(IsSplitWhenDifference)); +set_Value ("IsSplitWhenDifference", Boolean.valueOf(IsSplitWhenDifference)); } /** Get Split when Difference. @return Split document when there is a difference */ diff --git a/dbPort/src/org/compiere/model/X_C_DocTypeCounter.java b/dbPort/src/org/compiere/model/X_C_DocTypeCounter.java index 61804e1aa6..f1fdffd240 100644 --- a/dbPort/src/org/compiere/model/X_C_DocTypeCounter.java +++ b/dbPort/src/org/compiere/model/X_C_DocTypeCounter.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_DocTypeCounter * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_DocTypeCounter extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_DocTypeCounter (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=718 */ -public static final int Table_ID=718; +public static final int Table_ID=MTable.getTable_ID("C_DocTypeCounter"); /** TableName=C_DocTypeCounter */ public static final String Table_Name="C_DocTypeCounter"; -protected static KeyNamePair Model = new KeyNamePair(718,"C_DocTypeCounter"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_DocTypeCounter"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_DocTypeCounter_ID (int C_DocTypeCounter_ID) { if (C_DocTypeCounter_ID < 1) throw new IllegalArgumentException ("C_DocTypeCounter_ID is mandatory."); -set_ValueNoCheck ("C_DocTypeCounter_ID", new Integer(C_DocTypeCounter_ID)); +set_ValueNoCheck ("C_DocTypeCounter_ID", Integer.valueOf(C_DocTypeCounter_ID)); } /** Get Counter Document. @return Counter Document Relationship */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -128,7 +128,7 @@ public static final int COUNTER_C_DOCTYPE_ID_AD_Reference_ID=170; public void setCounter_C_DocType_ID (int Counter_C_DocType_ID) { if (Counter_C_DocType_ID < 1) throw new IllegalArgumentException ("Counter_C_DocType_ID is mandatory."); -set_Value ("Counter_C_DocType_ID", new Integer(Counter_C_DocType_ID)); +set_Value ("Counter_C_DocType_ID", Integer.valueOf(Counter_C_DocType_ID)); } /** Get Counter Document Type. @return Generated Counter Document Type (To) */ @@ -209,7 +209,7 @@ return (String)get_Value("DocAction"); @param IsCreateCounter Create Counter Document */ public void setIsCreateCounter (boolean IsCreateCounter) { -set_Value ("IsCreateCounter", new Boolean(IsCreateCounter)); +set_Value ("IsCreateCounter", Boolean.valueOf(IsCreateCounter)); } /** Get Create Counter Document. @return Create Counter Document */ @@ -227,7 +227,7 @@ return false; @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -269,7 +269,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_Dunning.java b/dbPort/src/org/compiere/model/X_C_Dunning.java index ae9066da45..d6b1e7e099 100644 --- a/dbPort/src/org/compiere/model/X_C_Dunning.java +++ b/dbPort/src/org/compiere/model/X_C_Dunning.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Dunning * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Dunning extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_Dunning (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=301 */ -public static final int Table_ID=301; +public static final int Table_ID=MTable.getTable_ID("C_Dunning"); /** TableName=C_Dunning */ public static final String Table_Name="C_Dunning"; -protected static KeyNamePair Model = new KeyNamePair(301,"C_Dunning"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Dunning"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Dunning_ID (int C_Dunning_ID) { if (C_Dunning_ID < 1) throw new IllegalArgumentException ("C_Dunning_ID is mandatory."); -set_ValueNoCheck ("C_Dunning_ID", new Integer(C_Dunning_ID)); +set_ValueNoCheck ("C_Dunning_ID", Integer.valueOf(C_Dunning_ID)); } /** Get Dunning. @return Dunning Rules for overdue invoices */ @@ -108,7 +108,7 @@ return ii.intValue(); @param CreateLevelsSequentially Create Dunning Letter by level sequentially */ public void setCreateLevelsSequentially (boolean CreateLevelsSequentially) { -set_Value ("CreateLevelsSequentially", new Boolean(CreateLevelsSequentially)); +set_Value ("CreateLevelsSequentially", Boolean.valueOf(CreateLevelsSequentially)); } /** Get Create levels sequentially. @return Create Dunning Letter by level sequentially */ @@ -143,7 +143,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -185,7 +185,7 @@ return new KeyNamePair(get_ID(), getName()); @param SendDunningLetter Indicates if dunning letters will be sent */ public void setSendDunningLetter (boolean SendDunningLetter) { -set_Value ("SendDunningLetter", new Boolean(SendDunningLetter)); +set_Value ("SendDunningLetter", Boolean.valueOf(SendDunningLetter)); } /** Get Send dunning letters. @return Indicates if dunning letters will be sent */ diff --git a/dbPort/src/org/compiere/model/X_C_DunningLevel.java b/dbPort/src/org/compiere/model/X_C_DunningLevel.java index e360683278..faff803938 100644 --- a/dbPort/src/org/compiere/model/X_C_DunningLevel.java +++ b/dbPort/src/org/compiere/model/X_C_DunningLevel.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_DunningLevel * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_DunningLevel extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_DunningLevel (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=331 */ -public static final int Table_ID=331; +public static final int Table_ID=MTable.getTable_ID("C_DunningLevel"); /** TableName=C_DunningLevel */ public static final String Table_Name="C_DunningLevel"; -protected static KeyNamePair Model = new KeyNamePair(331,"C_DunningLevel"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_DunningLevel"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setC_DunningLevel_ID (int C_DunningLevel_ID) { if (C_DunningLevel_ID < 1) throw new IllegalArgumentException ("C_DunningLevel_ID is mandatory."); -set_ValueNoCheck ("C_DunningLevel_ID", new Integer(C_DunningLevel_ID)); +set_ValueNoCheck ("C_DunningLevel_ID", Integer.valueOf(C_DunningLevel_ID)); } /** Get Dunning Level. @return Dunning Level */ @@ -116,7 +116,7 @@ return ii.intValue(); public void setC_Dunning_ID (int C_Dunning_ID) { if (C_Dunning_ID < 1) throw new IllegalArgumentException ("C_Dunning_ID is mandatory."); -set_ValueNoCheck ("C_Dunning_ID", new Integer(C_Dunning_ID)); +set_ValueNoCheck ("C_Dunning_ID", Integer.valueOf(C_Dunning_ID)); } /** Get Dunning. @return Dunning Rules for overdue invoices */ @@ -132,7 +132,7 @@ public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID <= 0) set_Value ("C_PaymentTerm_ID", null); else -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -146,7 +146,7 @@ return ii.intValue(); @param ChargeFee Indicates if fees will be charged for overdue invoices */ public void setChargeFee (boolean ChargeFee) { -set_Value ("ChargeFee", new Boolean(ChargeFee)); +set_Value ("ChargeFee", Boolean.valueOf(ChargeFee)); } /** Get Charge fee. @return Indicates if fees will be charged for overdue invoices */ @@ -164,7 +164,7 @@ return false; @param ChargeInterest Indicates if interest will be charged on overdue invoices */ public void setChargeInterest (boolean ChargeInterest) { -set_Value ("ChargeInterest", new Boolean(ChargeInterest)); +set_Value ("ChargeInterest", Boolean.valueOf(ChargeInterest)); } /** Get Charge Interest. @return Indicates if interest will be charged on overdue invoices */ @@ -197,7 +197,7 @@ return bd; @param DaysBetweenDunning Days between sending dunning notices */ public void setDaysBetweenDunning (int DaysBetweenDunning) { -set_Value ("DaysBetweenDunning", new Integer(DaysBetweenDunning)); +set_Value ("DaysBetweenDunning", Integer.valueOf(DaysBetweenDunning)); } /** Get Days between dunning. @return Days between sending dunning notices */ @@ -233,7 +233,7 @@ public void setDunning_PrintFormat_ID (int Dunning_PrintFormat_ID) { if (Dunning_PrintFormat_ID <= 0) set_Value ("Dunning_PrintFormat_ID", null); else -set_Value ("Dunning_PrintFormat_ID", new Integer(Dunning_PrintFormat_ID)); +set_Value ("Dunning_PrintFormat_ID", Integer.valueOf(Dunning_PrintFormat_ID)); } /** Get Dunning Print Format. @return Print Format for printing Dunning Letters */ @@ -275,7 +275,7 @@ return bd; @param IsSetCreditStop Set the business partner to credit stop */ public void setIsSetCreditStop (boolean IsSetCreditStop) { -set_Value ("IsSetCreditStop", new Boolean(IsSetCreditStop)); +set_Value ("IsSetCreditStop", Boolean.valueOf(IsSetCreditStop)); } /** Get Credit Stop. @return Set the business partner to credit stop */ @@ -293,7 +293,7 @@ return false; @param IsSetPaymentTerm Set the payment term of the Business Partner */ public void setIsSetPaymentTerm (boolean IsSetPaymentTerm) { -set_Value ("IsSetPaymentTerm", new Boolean(IsSetPaymentTerm)); +set_Value ("IsSetPaymentTerm", Boolean.valueOf(IsSetPaymentTerm)); } /** Get Set Payment Term. @return Set the payment term of the Business Partner */ @@ -311,7 +311,7 @@ return false; @param IsShowAllDue Show/print all due invoices */ public void setIsShowAllDue (boolean IsShowAllDue) { -set_Value ("IsShowAllDue", new Boolean(IsShowAllDue)); +set_Value ("IsShowAllDue", Boolean.valueOf(IsShowAllDue)); } /** Get Show All Due. @return Show/print all due invoices */ @@ -329,7 +329,7 @@ return false; @param IsShowNotDue Show/print all invoices which are not due (yet). */ public void setIsShowNotDue (boolean IsShowNotDue) { -set_Value ("IsShowNotDue", new Boolean(IsShowNotDue)); +set_Value ("IsShowNotDue", Boolean.valueOf(IsShowNotDue)); } /** Get Show Not Due. @return Show/print all invoices which are not due (yet). */ diff --git a/dbPort/src/org/compiere/model/X_C_DunningRun.java b/dbPort/src/org/compiere/model/X_C_DunningRun.java index ce914309d3..f76cb303aa 100644 --- a/dbPort/src/org/compiere/model/X_C_DunningRun.java +++ b/dbPort/src/org/compiere/model/X_C_DunningRun.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_DunningRun * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_DunningRun extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_DunningRun (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=526 */ -public static final int Table_ID=526; +public static final int Table_ID=MTable.getTable_ID("C_DunningRun"); /** TableName=C_DunningRun */ public static final String Table_Name="C_DunningRun"; -protected static KeyNamePair Model = new KeyNamePair(526,"C_DunningRun"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_DunningRun"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_DunningLevel_ID (int C_DunningLevel_ID) { if (C_DunningLevel_ID < 1) throw new IllegalArgumentException ("C_DunningLevel_ID is mandatory."); -set_ValueNoCheck ("C_DunningLevel_ID", new Integer(C_DunningLevel_ID)); +set_ValueNoCheck ("C_DunningLevel_ID", Integer.valueOf(C_DunningLevel_ID)); } /** Get Dunning Level. @return Dunning Level */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_DunningRun_ID (int C_DunningRun_ID) { if (C_DunningRun_ID < 1) throw new IllegalArgumentException ("C_DunningRun_ID is mandatory."); -set_ValueNoCheck ("C_DunningRun_ID", new Integer(C_DunningRun_ID)); +set_ValueNoCheck ("C_DunningRun_ID", Integer.valueOf(C_DunningRun_ID)); } /** Get Dunning Run. @return Dunning Run */ @@ -158,7 +158,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getDunningDate())); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -176,7 +176,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_DunningRunEntry.java b/dbPort/src/org/compiere/model/X_C_DunningRunEntry.java index b4e3ceec54..3efd8453c7 100644 --- a/dbPort/src/org/compiere/model/X_C_DunningRunEntry.java +++ b/dbPort/src/org/compiere/model/X_C_DunningRunEntry.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_DunningRunEntry * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_DunningRunEntry extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_DunningRunEntry (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=527 */ -public static final int Table_ID=527; +public static final int Table_ID=MTable.getTable_ID("C_DunningRunEntry"); /** TableName=C_DunningRunEntry */ public static final String Table_Name="C_DunningRunEntry"; -protected static KeyNamePair Model = new KeyNamePair(527,"C_DunningRunEntry"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_DunningRunEntry"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -129,7 +129,7 @@ return bd; public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -144,7 +144,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -159,7 +159,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -174,7 +174,7 @@ return ii.intValue(); public void setC_DunningRunEntry_ID (int C_DunningRunEntry_ID) { if (C_DunningRunEntry_ID < 1) throw new IllegalArgumentException ("C_DunningRunEntry_ID is mandatory."); -set_ValueNoCheck ("C_DunningRunEntry_ID", new Integer(C_DunningRunEntry_ID)); +set_ValueNoCheck ("C_DunningRunEntry_ID", Integer.valueOf(C_DunningRunEntry_ID)); } /** Get Dunning Run Entry. @return Dunning Run Entry */ @@ -189,7 +189,7 @@ return ii.intValue(); public void setC_DunningRun_ID (int C_DunningRun_ID) { if (C_DunningRun_ID < 1) throw new IllegalArgumentException ("C_DunningRun_ID is mandatory."); -set_ValueNoCheck ("C_DunningRun_ID", new Integer(C_DunningRun_ID)); +set_ValueNoCheck ("C_DunningRun_ID", Integer.valueOf(C_DunningRun_ID)); } /** Get Dunning Run. @return Dunning Run */ @@ -226,7 +226,7 @@ return (String)get_Value("Note"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -263,7 +263,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_C_DunningRunLine.java b/dbPort/src/org/compiere/model/X_C_DunningRunLine.java index 73a5cebda7..3f3bbce822 100644 --- a/dbPort/src/org/compiere/model/X_C_DunningRunLine.java +++ b/dbPort/src/org/compiere/model/X_C_DunningRunLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_DunningRunLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_DunningRunLine extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_DunningRunLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=524 */ -public static final int Table_ID=524; +public static final int Table_ID=MTable.getTable_ID("C_DunningRunLine"); /** TableName=C_DunningRunLine */ public static final String Table_Name="C_DunningRunLine"; -protected static KeyNamePair Model = new KeyNamePair(524,"C_DunningRunLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_DunningRunLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -116,7 +116,7 @@ return bd; public void setC_DunningRunEntry_ID (int C_DunningRunEntry_ID) { if (C_DunningRunEntry_ID < 1) throw new IllegalArgumentException ("C_DunningRunEntry_ID is mandatory."); -set_ValueNoCheck ("C_DunningRunEntry_ID", new Integer(C_DunningRunEntry_ID)); +set_ValueNoCheck ("C_DunningRunEntry_ID", Integer.valueOf(C_DunningRunEntry_ID)); } /** Get Dunning Run Entry. @return Dunning Run Entry */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setC_DunningRunLine_ID (int C_DunningRunLine_ID) { if (C_DunningRunLine_ID < 1) throw new IllegalArgumentException ("C_DunningRunLine_ID is mandatory."); -set_ValueNoCheck ("C_DunningRunLine_ID", new Integer(C_DunningRunLine_ID)); +set_ValueNoCheck ("C_DunningRunLine_ID", Integer.valueOf(C_DunningRunLine_ID)); } /** Get Dunning Run Line. @return Dunning Run Line */ @@ -147,7 +147,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -169,7 +169,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -198,7 +198,7 @@ return bd; @param DaysDue Number of days due (negative: due in number of days) */ public void setDaysDue (int DaysDue) { -set_Value ("DaysDue", new Integer(DaysDue)); +set_Value ("DaysDue", Integer.valueOf(DaysDue)); } /** Get Days due. @return Number of days due (negative: due in number of days) */ @@ -242,7 +242,7 @@ return bd; @param IsInDispute Document is in dispute */ public void setIsInDispute (boolean IsInDispute) { -set_Value ("IsInDispute", new Boolean(IsInDispute)); +set_Value ("IsInDispute", Boolean.valueOf(IsInDispute)); } /** Get In Dispute. @return Document is in dispute */ @@ -275,7 +275,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -293,7 +293,7 @@ return false; @param TimesDunned Number of times dunned previously */ public void setTimesDunned (int TimesDunned) { -set_Value ("TimesDunned", new Integer(TimesDunned)); +set_Value ("TimesDunned", Integer.valueOf(TimesDunned)); } /** Get Times Dunned. @return Number of times dunned previously */ diff --git a/dbPort/src/org/compiere/model/X_C_Element.java b/dbPort/src/org/compiere/model/X_C_Element.java index 778cf8b13d..4864575657 100644 --- a/dbPort/src/org/compiere/model/X_C_Element.java +++ b/dbPort/src/org/compiere/model/X_C_Element.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Element * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Element extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_Element (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=142 */ -public static final int Table_ID=142; +public static final int Table_ID=MTable.getTable_ID("C_Element"); /** TableName=C_Element */ public static final String Table_Name="C_Element"; -protected static KeyNamePair Model = new KeyNamePair(142,"C_Element"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Element"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_Tree_ID (int AD_Tree_ID) { if (AD_Tree_ID < 1) throw new IllegalArgumentException ("AD_Tree_ID is mandatory."); -set_ValueNoCheck ("AD_Tree_ID", new Integer(AD_Tree_ID)); +set_ValueNoCheck ("AD_Tree_ID", Integer.valueOf(AD_Tree_ID)); } /** Get Tree. @return Identifies a Tree */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_Element_ID (int C_Element_ID) { if (C_Element_ID < 1) throw new IllegalArgumentException ("C_Element_ID is mandatory."); -set_ValueNoCheck ("C_Element_ID", new Integer(C_Element_ID)); +set_ValueNoCheck ("C_Element_ID", Integer.valueOf(C_Element_ID)); } /** Get Element. @return Accounting Element */ @@ -168,7 +168,7 @@ return (String)get_Value("ElementType"); @param IsBalancing All transactions within an element value must balance (e.g. cost centers) */ public void setIsBalancing (boolean IsBalancing) { -set_Value ("IsBalancing", new Boolean(IsBalancing)); +set_Value ("IsBalancing", Boolean.valueOf(IsBalancing)); } /** Get Balancing. @return All transactions within an element value must balance (e.g. cost centers) */ @@ -186,7 +186,7 @@ return false; @param IsNaturalAccount The primary natural account */ public void setIsNaturalAccount (boolean IsNaturalAccount) { -set_Value ("IsNaturalAccount", new Boolean(IsNaturalAccount)); +set_Value ("IsNaturalAccount", Boolean.valueOf(IsNaturalAccount)); } /** Get Natural Account. @return The primary natural account */ diff --git a/dbPort/src/org/compiere/model/X_C_ElementValue.java b/dbPort/src/org/compiere/model/X_C_ElementValue.java index 0101e28ef3..e86a0a281c 100644 --- a/dbPort/src/org/compiere/model/X_C_ElementValue.java +++ b/dbPort/src/org/compiere/model/X_C_ElementValue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ElementValue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ElementValue extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_C_ElementValue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=188 */ -public static final int Table_ID=188; +public static final int Table_ID=MTable.getTable_ID("C_ElementValue"); /** TableName=C_ElementValue */ public static final String Table_Name="C_ElementValue"; -protected static KeyNamePair Model = new KeyNamePair(188,"C_ElementValue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ElementValue"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -165,7 +165,7 @@ public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID <= 0) set_Value ("C_BankAccount_ID", null); else -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -181,7 +181,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -196,7 +196,7 @@ return ii.intValue(); public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID < 1) throw new IllegalArgumentException ("C_ElementValue_ID is mandatory."); -set_ValueNoCheck ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_ValueNoCheck ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -211,7 +211,7 @@ return ii.intValue(); public void setC_Element_ID (int C_Element_ID) { if (C_Element_ID < 1) throw new IllegalArgumentException ("C_Element_ID is mandatory."); -set_ValueNoCheck ("C_Element_ID", new Integer(C_Element_ID)); +set_ValueNoCheck ("C_Element_ID", Integer.valueOf(C_Element_ID)); } /** Get Element. @return Accounting Element */ @@ -242,7 +242,7 @@ return (String)get_Value("Description"); @param IsBankAccount Indicates if this is the Bank Account */ public void setIsBankAccount (boolean IsBankAccount) { -set_Value ("IsBankAccount", new Boolean(IsBankAccount)); +set_Value ("IsBankAccount", Boolean.valueOf(IsBankAccount)); } /** Get Bank Account. @return Indicates if this is the Bank Account */ @@ -260,7 +260,7 @@ return false; @param IsDocControlled Control account - If an account is controlled by a document, you cannot post manually to it */ public void setIsDocControlled (boolean IsDocControlled) { -set_Value ("IsDocControlled", new Boolean(IsDocControlled)); +set_Value ("IsDocControlled", Boolean.valueOf(IsDocControlled)); } /** Get Document Controlled. @return Control account - If an account is controlled by a document, you cannot post manually to it */ @@ -278,7 +278,7 @@ return false; @param IsForeignCurrency Balances in foreign currency accounts are held in the nominated currency */ public void setIsForeignCurrency (boolean IsForeignCurrency) { -set_Value ("IsForeignCurrency", new Boolean(IsForeignCurrency)); +set_Value ("IsForeignCurrency", Boolean.valueOf(IsForeignCurrency)); } /** Get Foreign Currency Account. @return Balances in foreign currency accounts are held in the nominated currency */ @@ -296,7 +296,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -332,7 +332,7 @@ return (String)get_Value("Name"); @param PostActual Actual Values can be posted */ public void setPostActual (boolean PostActual) { -set_Value ("PostActual", new Boolean(PostActual)); +set_Value ("PostActual", Boolean.valueOf(PostActual)); } /** Get Post Actual. @return Actual Values can be posted */ @@ -350,7 +350,7 @@ return false; @param PostBudget Budget values can be posted */ public void setPostBudget (boolean PostBudget) { -set_Value ("PostBudget", new Boolean(PostBudget)); +set_Value ("PostBudget", Boolean.valueOf(PostBudget)); } /** Get Post Budget. @return Budget values can be posted */ @@ -368,7 +368,7 @@ return false; @param PostEncumbrance Post commitments to this account */ public void setPostEncumbrance (boolean PostEncumbrance) { -set_Value ("PostEncumbrance", new Boolean(PostEncumbrance)); +set_Value ("PostEncumbrance", Boolean.valueOf(PostEncumbrance)); } /** Get Post Encumbrance. @return Post commitments to this account */ @@ -386,7 +386,7 @@ return false; @param PostStatistical Post statistical quantities to this account? */ public void setPostStatistical (boolean PostStatistical) { -set_Value ("PostStatistical", new Boolean(PostStatistical)); +set_Value ("PostStatistical", Boolean.valueOf(PostStatistical)); } /** Get Post Statistical. @return Post statistical quantities to this account? */ diff --git a/dbPort/src/org/compiere/model/X_C_Greeting.java b/dbPort/src/org/compiere/model/X_C_Greeting.java index d89d9653f3..96ead08113 100644 --- a/dbPort/src/org/compiere/model/X_C_Greeting.java +++ b/dbPort/src/org/compiere/model/X_C_Greeting.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Greeting * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Greeting extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_Greeting (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=346 */ -public static final int Table_ID=346; +public static final int Table_ID=MTable.getTable_ID("C_Greeting"); /** TableName=C_Greeting */ public static final String Table_Name="C_Greeting"; -protected static KeyNamePair Model = new KeyNamePair(346,"C_Greeting"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Greeting"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_Greeting_ID (int C_Greeting_ID) { if (C_Greeting_ID < 1) throw new IllegalArgumentException ("C_Greeting_ID is mandatory."); -set_ValueNoCheck ("C_Greeting_ID", new Integer(C_Greeting_ID)); +set_ValueNoCheck ("C_Greeting_ID", Integer.valueOf(C_Greeting_ID)); } /** Get Greeting. @return Greeting to print on correspondence */ @@ -142,7 +142,7 @@ return (String)get_Value("Greeting"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -160,7 +160,7 @@ return false; @param IsFirstNameOnly Print only the first name in greetings */ public void setIsFirstNameOnly (boolean IsFirstNameOnly) { -set_Value ("IsFirstNameOnly", new Boolean(IsFirstNameOnly)); +set_Value ("IsFirstNameOnly", Boolean.valueOf(IsFirstNameOnly)); } /** Get First name only. @return Print only the first name in greetings */ diff --git a/dbPort/src/org/compiere/model/X_C_InterOrg_Acct.java b/dbPort/src/org/compiere/model/X_C_InterOrg_Acct.java index 48ad276f6b..d59647640f 100644 --- a/dbPort/src/org/compiere/model/X_C_InterOrg_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_InterOrg_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InterOrg_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InterOrg_Acct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_InterOrg_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=397 */ -public static final int Table_ID=397; +public static final int Table_ID=MTable.getTable_ID("C_InterOrg_Acct"); /** TableName=C_InterOrg_Acct */ public static final String Table_Name="C_InterOrg_Acct"; -protected static KeyNamePair Model = new KeyNamePair(397,"C_InterOrg_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InterOrg_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public static final int AD_ORGTO_ID_AD_Reference_ID=130; public void setAD_OrgTo_ID (int AD_OrgTo_ID) { if (AD_OrgTo_ID < 1) throw new IllegalArgumentException ("AD_OrgTo_ID is mandatory."); -set_ValueNoCheck ("AD_OrgTo_ID", new Integer(AD_OrgTo_ID)); +set_ValueNoCheck ("AD_OrgTo_ID", Integer.valueOf(AD_OrgTo_ID)); } /** Get Inter-Organization. @return Organization valid for intercompany documents */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -125,7 +125,7 @@ return ii.intValue(); @param IntercompanyDueFrom_Acct Intercompany Due From / Receivables Account */ public void setIntercompanyDueFrom_Acct (int IntercompanyDueFrom_Acct) { -set_Value ("IntercompanyDueFrom_Acct", new Integer(IntercompanyDueFrom_Acct)); +set_Value ("IntercompanyDueFrom_Acct", Integer.valueOf(IntercompanyDueFrom_Acct)); } /** Get Intercompany Due From Acct. @return Intercompany Due From / Receivables Account */ @@ -139,7 +139,7 @@ return ii.intValue(); @param IntercompanyDueTo_Acct Intercompany Due To / Payable Account */ public void setIntercompanyDueTo_Acct (int IntercompanyDueTo_Acct) { -set_Value ("IntercompanyDueTo_Acct", new Integer(IntercompanyDueTo_Acct)); +set_Value ("IntercompanyDueTo_Acct", Integer.valueOf(IntercompanyDueTo_Acct)); } /** Get Intercompany Due To Acct. @return Intercompany Due To / Payable Account */ diff --git a/dbPort/src/org/compiere/model/X_C_Invoice.java b/dbPort/src/org/compiere/model/X_C_Invoice.java index 807978b183..38d5d50cb5 100644 --- a/dbPort/src/org/compiere/model/X_C_Invoice.java +++ b/dbPort/src/org/compiere/model/X_C_Invoice.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Invoice * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Invoice extends PO { /** Standard Constructor @@ -81,12 +81,12 @@ public X_C_Invoice (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=318 */ -public static final int Table_ID=318; +public static final int Table_ID=MTable.getTable_ID("C_Invoice"); /** TableName=C_Invoice */ public static final String Table_Name="C_Invoice"; -protected static KeyNamePair Model = new KeyNamePair(318,"C_Invoice"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Invoice"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -122,7 +122,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -138,7 +138,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -154,7 +154,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -169,7 +169,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -184,7 +184,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -200,7 +200,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -216,7 +216,7 @@ public void setC_CashLine_ID (int C_CashLine_ID) { if (C_CashLine_ID <= 0) set_Value ("C_CashLine_ID", null); else -set_Value ("C_CashLine_ID", new Integer(C_CashLine_ID)); +set_Value ("C_CashLine_ID", Integer.valueOf(C_CashLine_ID)); } /** Get Cash Journal Line. @return Cash Journal Line */ @@ -235,7 +235,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -251,7 +251,7 @@ public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID <= 0) set_Value ("C_ConversionType_ID", null); else -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -266,7 +266,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -284,7 +284,7 @@ public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) { if (C_DocTypeTarget_ID < 1) throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); -set_Value ("C_DocTypeTarget_ID", new Integer(C_DocTypeTarget_ID)); +set_Value ("C_DocTypeTarget_ID", Integer.valueOf(C_DocTypeTarget_ID)); } /** Get Target Document Type. @return Target document type for conversing documents */ @@ -299,7 +299,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_ValueNoCheck ("C_DocType_ID", new Integer(C_DocType_ID)); +set_ValueNoCheck ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -314,7 +314,7 @@ return ii.intValue(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -330,7 +330,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -345,7 +345,7 @@ return ii.intValue(); public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID < 1) throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -361,7 +361,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -377,7 +377,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -690,7 +690,7 @@ return (String)get_Value("InvoiceCollectionType"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_ValueNoCheck ("IsApproved", new Boolean(IsApproved)); +set_ValueNoCheck ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -708,7 +708,7 @@ return false; @param IsDiscountPrinted Print Discount on Invoice and Order */ public void setIsDiscountPrinted (boolean IsDiscountPrinted) { -set_Value ("IsDiscountPrinted", new Boolean(IsDiscountPrinted)); +set_Value ("IsDiscountPrinted", Boolean.valueOf(IsDiscountPrinted)); } /** Get Discount Printed. @return Print Discount on Invoice and Order */ @@ -726,7 +726,7 @@ return false; @param IsInDispute Document is in dispute */ public void setIsInDispute (boolean IsInDispute) { -set_Value ("IsInDispute", new Boolean(IsInDispute)); +set_Value ("IsInDispute", Boolean.valueOf(IsInDispute)); } /** Get In Dispute. @return Document is in dispute */ @@ -744,7 +744,7 @@ return false; @param IsPaid The document is paid */ public void setIsPaid (boolean IsPaid) { -set_Value ("IsPaid", new Boolean(IsPaid)); +set_Value ("IsPaid", Boolean.valueOf(IsPaid)); } /** Get Paid. @return The document is paid */ @@ -762,7 +762,7 @@ return false; @param IsPayScheduleValid Is the Payment Schedule is valid */ public void setIsPayScheduleValid (boolean IsPayScheduleValid) { -set_ValueNoCheck ("IsPayScheduleValid", new Boolean(IsPayScheduleValid)); +set_ValueNoCheck ("IsPayScheduleValid", Boolean.valueOf(IsPayScheduleValid)); } /** Get Pay Schedule valid. @return Is the Payment Schedule is valid */ @@ -780,7 +780,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_ValueNoCheck ("IsPrinted", new Boolean(IsPrinted)); +set_ValueNoCheck ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -798,7 +798,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_ValueNoCheck ("IsSOTrx", new Boolean(IsSOTrx)); +set_ValueNoCheck ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -816,7 +816,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -834,7 +834,7 @@ return false; @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ @@ -852,7 +852,7 @@ return false; @param IsTransferred Transferred to General Ledger (i.e. accounted) */ public void setIsTransferred (boolean IsTransferred) { -set_ValueNoCheck ("IsTransferred", new Boolean(IsTransferred)); +set_ValueNoCheck ("IsTransferred", Boolean.valueOf(IsTransferred)); } /** Get Transferred. @return Transferred to General Ledger (i.e. accounted) */ @@ -871,7 +871,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -937,7 +937,7 @@ return (String)get_Value("PaymentRule"); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -955,7 +955,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -973,7 +973,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -993,7 +993,7 @@ public void setRef_Invoice_ID (int Ref_Invoice_ID) { if (Ref_Invoice_ID <= 0) set_Value ("Ref_Invoice_ID", null); else -set_Value ("Ref_Invoice_ID", new Integer(Ref_Invoice_ID)); +set_Value ("Ref_Invoice_ID", Integer.valueOf(Ref_Invoice_ID)); } /** Get Referenced Invoice. @return Referenced Invoice */ @@ -1012,7 +1012,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -1026,7 +1026,7 @@ return ii.intValue(); @param SendEMail Enable sending Document EMail */ public void setSendEMail (boolean SendEMail) { -set_Value ("SendEMail", new Boolean(SendEMail)); +set_Value ("SendEMail", Boolean.valueOf(SendEMail)); } /** Get Send EMail. @return Enable sending Document EMail */ @@ -1064,7 +1064,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -1083,7 +1083,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_InvoiceBatch.java b/dbPort/src/org/compiere/model/X_C_InvoiceBatch.java index 5f380b4004..71e26e8d95 100644 --- a/dbPort/src/org/compiere/model/X_C_InvoiceBatch.java +++ b/dbPort/src/org/compiere/model/X_C_InvoiceBatch.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InvoiceBatch * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InvoiceBatch extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_InvoiceBatch (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=767 */ -public static final int Table_ID=767; +public static final int Table_ID=MTable.getTable_ID("C_InvoiceBatch"); /** TableName=C_InvoiceBatch */ public static final String Table_Name="C_InvoiceBatch"; -protected static KeyNamePair Model = new KeyNamePair(767,"C_InvoiceBatch"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InvoiceBatch"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -99,7 +99,7 @@ public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID <= 0) set_Value ("C_ConversionType_ID", null); else -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setC_InvoiceBatch_ID (int C_InvoiceBatch_ID) { if (C_InvoiceBatch_ID < 1) throw new IllegalArgumentException ("C_InvoiceBatch_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceBatch_ID", new Integer(C_InvoiceBatch_ID)); +set_ValueNoCheck ("C_InvoiceBatch_ID", Integer.valueOf(C_InvoiceBatch_ID)); } /** Get Invoice Batch. @return Expense Invoice Batch Header */ @@ -227,7 +227,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -245,7 +245,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -263,7 +263,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -285,7 +285,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_C_InvoiceBatchLine.java b/dbPort/src/org/compiere/model/X_C_InvoiceBatchLine.java index 11265abc5e..dd3655a853 100644 --- a/dbPort/src/org/compiere/model/X_C_InvoiceBatchLine.java +++ b/dbPort/src/org/compiere/model/X_C_InvoiceBatchLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InvoiceBatchLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InvoiceBatchLine extends PO { /** Standard Constructor @@ -72,12 +72,12 @@ public X_C_InvoiceBatchLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=768 */ -public static final int Table_ID=768; +public static final int Table_ID=MTable.getTable_ID("C_InvoiceBatchLine"); /** TableName=C_InvoiceBatchLine */ public static final String Table_Name="C_InvoiceBatchLine"; -protected static KeyNamePair Model = new KeyNamePair(768,"C_InvoiceBatchLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InvoiceBatchLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -113,7 +113,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -129,7 +129,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -145,7 +145,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -160,7 +160,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -175,7 +175,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -190,7 +190,7 @@ return ii.intValue(); public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID < 1) throw new IllegalArgumentException ("C_Charge_ID is mandatory."); -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -205,7 +205,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -220,7 +220,7 @@ return ii.intValue(); public void setC_InvoiceBatchLine_ID (int C_InvoiceBatchLine_ID) { if (C_InvoiceBatchLine_ID < 1) throw new IllegalArgumentException ("C_InvoiceBatchLine_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceBatchLine_ID", new Integer(C_InvoiceBatchLine_ID)); +set_ValueNoCheck ("C_InvoiceBatchLine_ID", Integer.valueOf(C_InvoiceBatchLine_ID)); } /** Get Invoice Batch Line. @return Expense Invoice Batch Line */ @@ -235,7 +235,7 @@ return ii.intValue(); public void setC_InvoiceBatch_ID (int C_InvoiceBatch_ID) { if (C_InvoiceBatch_ID < 1) throw new IllegalArgumentException ("C_InvoiceBatch_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceBatch_ID", new Integer(C_InvoiceBatch_ID)); +set_ValueNoCheck ("C_InvoiceBatch_ID", Integer.valueOf(C_InvoiceBatch_ID)); } /** Get Invoice Batch. @return Expense Invoice Batch Header */ @@ -251,7 +251,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_ValueNoCheck ("C_InvoiceLine_ID", null); else -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -267,7 +267,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -283,7 +283,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -298,7 +298,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_Value ("C_Tax_ID", new Integer(C_Tax_ID)); +set_Value ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -373,7 +373,7 @@ return (String)get_Value("DocumentNo"); @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ @@ -391,7 +391,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -456,7 +456,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -509,7 +509,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -528,7 +528,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_InvoiceLine.java b/dbPort/src/org/compiere/model/X_C_InvoiceLine.java index 8f67c6fc6a..629b90f7cf 100644 --- a/dbPort/src/org/compiere/model/X_C_InvoiceLine.java +++ b/dbPort/src/org/compiere/model/X_C_InvoiceLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InvoiceLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InvoiceLine extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_C_InvoiceLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=333 */ -public static final int Table_ID=333; +public static final int Table_ID=MTable.getTable_ID("C_InvoiceLine"); /** TableName=C_InvoiceLine */ public static final String Table_Name="C_InvoiceLine"; -protected static KeyNamePair Model = new KeyNamePair(333,"C_InvoiceLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InvoiceLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -108,7 +108,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -124,7 +124,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -140,7 +140,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -156,7 +156,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -172,7 +172,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -187,7 +187,7 @@ return ii.intValue(); public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID < 1) throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -202,7 +202,7 @@ return ii.intValue(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -224,7 +224,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_ValueNoCheck ("C_OrderLine_ID", null); else -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -240,7 +240,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_ValueNoCheck ("C_ProjectPhase_ID", null); else -set_ValueNoCheck ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_ValueNoCheck ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -256,7 +256,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_ValueNoCheck ("C_ProjectTask_ID", null); else -set_ValueNoCheck ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_ValueNoCheck ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -272,7 +272,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -287,7 +287,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_Value ("C_Tax_ID", new Integer(C_Tax_ID)); +set_Value ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -303,7 +303,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_ValueNoCheck ("C_UOM_ID", null); else -set_ValueNoCheck ("C_UOM_ID", new Integer(C_UOM_ID)); +set_ValueNoCheck ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -334,7 +334,7 @@ return (String)get_Value("Description"); @param IsDescription if true, the line is just description and no transaction */ public void setIsDescription (boolean IsDescription) { -set_Value ("IsDescription", new Boolean(IsDescription)); +set_Value ("IsDescription", Boolean.valueOf(IsDescription)); } /** Get Description Only. @return if true, the line is just description and no transaction */ @@ -352,7 +352,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -370,7 +370,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -414,7 +414,7 @@ return bd; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -430,7 +430,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_ValueNoCheck ("M_InOutLine_ID", null); else -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -446,7 +446,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -520,7 +520,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -596,7 +596,7 @@ public void setRef_InvoiceLine_ID (int Ref_InvoiceLine_ID) { if (Ref_InvoiceLine_ID <= 0) set_Value ("Ref_InvoiceLine_ID", null); else -set_Value ("Ref_InvoiceLine_ID", new Integer(Ref_InvoiceLine_ID)); +set_Value ("Ref_InvoiceLine_ID", Integer.valueOf(Ref_InvoiceLine_ID)); } /** Get Referenced Invoice Line. @return Referenced Invoice Line */ @@ -612,7 +612,7 @@ public void setS_ResourceAssignment_ID (int S_ResourceAssignment_ID) { if (S_ResourceAssignment_ID <= 0) set_ValueNoCheck ("S_ResourceAssignment_ID", null); else -set_ValueNoCheck ("S_ResourceAssignment_ID", new Integer(S_ResourceAssignment_ID)); +set_ValueNoCheck ("S_ResourceAssignment_ID", Integer.valueOf(S_ResourceAssignment_ID)); } /** Get Resource Assignment. @return Resource Assignment */ @@ -645,7 +645,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -664,7 +664,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_InvoicePaySchedule.java b/dbPort/src/org/compiere/model/X_C_InvoicePaySchedule.java index 5e4c19cfbd..36cdf8720d 100644 --- a/dbPort/src/org/compiere/model/X_C_InvoicePaySchedule.java +++ b/dbPort/src/org/compiere/model/X_C_InvoicePaySchedule.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InvoicePaySchedule * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InvoicePaySchedule extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_InvoicePaySchedule (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=551 */ -public static final int Table_ID=551; +public static final int Table_ID=MTable.getTable_ID("C_InvoicePaySchedule"); /** TableName=C_InvoicePaySchedule */ public static final String Table_Name="C_InvoicePaySchedule"; -protected static KeyNamePair Model = new KeyNamePair(551,"C_InvoicePaySchedule"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InvoicePaySchedule"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) { if (C_InvoicePaySchedule_ID < 1) throw new IllegalArgumentException ("C_InvoicePaySchedule_ID is mandatory."); -set_ValueNoCheck ("C_InvoicePaySchedule_ID", new Integer(C_InvoicePaySchedule_ID)); +set_ValueNoCheck ("C_InvoicePaySchedule_ID", Integer.valueOf(C_InvoicePaySchedule_ID)); } /** Get Invoice Payment Schedule. @return Invoice Payment Schedule */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -128,7 +128,7 @@ public void setC_PaySchedule_ID (int C_PaySchedule_ID) { if (C_PaySchedule_ID <= 0) set_ValueNoCheck ("C_PaySchedule_ID", null); else -set_ValueNoCheck ("C_PaySchedule_ID", new Integer(C_PaySchedule_ID)); +set_ValueNoCheck ("C_PaySchedule_ID", Integer.valueOf(C_PaySchedule_ID)); } /** Get Payment Schedule. @return Payment Schedule Template */ @@ -204,7 +204,7 @@ return (Timestamp)get_Value("DueDate"); @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -222,7 +222,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -240,7 +240,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_InvoiceSchedule.java b/dbPort/src/org/compiere/model/X_C_InvoiceSchedule.java index 2fc300ca98..598213f834 100644 --- a/dbPort/src/org/compiere/model/X_C_InvoiceSchedule.java +++ b/dbPort/src/org/compiere/model/X_C_InvoiceSchedule.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InvoiceSchedule * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InvoiceSchedule extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_InvoiceSchedule (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=257 */ -public static final int Table_ID=257; +public static final int Table_ID=MTable.getTable_ID("C_InvoiceSchedule"); /** TableName=C_InvoiceSchedule */ public static final String Table_Name="C_InvoiceSchedule"; -protected static KeyNamePair Model = new KeyNamePair(257,"C_InvoiceSchedule"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InvoiceSchedule"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -112,7 +112,7 @@ return bd; public void setC_InvoiceSchedule_ID (int C_InvoiceSchedule_ID) { if (C_InvoiceSchedule_ID < 1) throw new IllegalArgumentException ("C_InvoiceSchedule_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceSchedule_ID", new Integer(C_InvoiceSchedule_ID)); +set_ValueNoCheck ("C_InvoiceSchedule_ID", Integer.valueOf(C_InvoiceSchedule_ID)); } /** Get Invoice Schedule. @return Schedule for generating Invoices */ @@ -143,7 +143,7 @@ return (String)get_Value("Description"); @param EvenInvoiceWeek Send invoices on even weeks */ public void setEvenInvoiceWeek (boolean EvenInvoiceWeek) { -set_Value ("EvenInvoiceWeek", new Boolean(EvenInvoiceWeek)); +set_Value ("EvenInvoiceWeek", Boolean.valueOf(EvenInvoiceWeek)); } /** Get Invoice on even weeks. @return Send invoices on even weeks */ @@ -161,7 +161,7 @@ return false; @param InvoiceDay Day of Invoice Generation */ public void setInvoiceDay (int InvoiceDay) { -set_Value ("InvoiceDay", new Integer(InvoiceDay)); +set_Value ("InvoiceDay", Integer.valueOf(InvoiceDay)); } /** Get Invoice Day. @return Day of Invoice Generation */ @@ -175,7 +175,7 @@ return ii.intValue(); @param InvoiceDayCutoff Last day for including shipments */ public void setInvoiceDayCutoff (int InvoiceDayCutoff) { -set_Value ("InvoiceDayCutoff", new Integer(InvoiceDayCutoff)); +set_Value ("InvoiceDayCutoff", Integer.valueOf(InvoiceDayCutoff)); } /** Get Invoice day cut-off. @return Last day for including shipments */ @@ -293,7 +293,7 @@ return (String)get_Value("InvoiceWeekDayCutoff"); @param IsAmount Send invoices only if the amount exceeds the limit */ public void setIsAmount (boolean IsAmount) { -set_Value ("IsAmount", new Boolean(IsAmount)); +set_Value ("IsAmount", Boolean.valueOf(IsAmount)); } /** Get Amount Limit. @return Send invoices only if the amount exceeds the limit */ @@ -311,7 +311,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_C_InvoiceTax.java b/dbPort/src/org/compiere/model/X_C_InvoiceTax.java index 91c1cc5134..d8848e7778 100644 --- a/dbPort/src/org/compiere/model/X_C_InvoiceTax.java +++ b/dbPort/src/org/compiere/model/X_C_InvoiceTax.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_InvoiceTax * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_InvoiceTax extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_InvoiceTax (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=334 */ -public static final int Table_ID=334; +public static final int Table_ID=MTable.getTable_ID("C_InvoiceTax"); /** TableName=C_InvoiceTax */ public static final String Table_Name="C_InvoiceTax"; -protected static KeyNamePair Model = new KeyNamePair(334,"C_InvoiceTax"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_InvoiceTax"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -124,7 +124,7 @@ return ii.intValue(); @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ @@ -142,7 +142,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_Job.java b/dbPort/src/org/compiere/model/X_C_Job.java index 79d1ab56e4..ff8296007b 100644 --- a/dbPort/src/org/compiere/model/X_C_Job.java +++ b/dbPort/src/org/compiere/model/X_C_Job.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Job * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Job extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_Job (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=789 */ -public static final int Table_ID=789; +public static final int Table_ID=MTable.getTable_ID("C_Job"); /** TableName=C_Job */ public static final String Table_Name="C_Job"; -protected static KeyNamePair Model = new KeyNamePair(789,"C_Job"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Job"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_JobCategory_ID (int C_JobCategory_ID) { if (C_JobCategory_ID < 1) throw new IllegalArgumentException ("C_JobCategory_ID is mandatory."); -set_Value ("C_JobCategory_ID", new Integer(C_JobCategory_ID)); +set_Value ("C_JobCategory_ID", Integer.valueOf(C_JobCategory_ID)); } /** Get Position Category. @return Job Position Category */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_Job_ID (int C_Job_ID) { if (C_Job_ID < 1) throw new IllegalArgumentException ("C_Job_ID is mandatory."); -set_ValueNoCheck ("C_Job_ID", new Integer(C_Job_ID)); +set_ValueNoCheck ("C_Job_ID", Integer.valueOf(C_Job_ID)); } /** Get Position. @return Job Position */ @@ -156,7 +156,7 @@ return (String)get_Value("Help"); @param IsEmployee Indicates if this Business Partner is an employee */ public void setIsEmployee (boolean IsEmployee) { -set_Value ("IsEmployee", new Boolean(IsEmployee)); +set_Value ("IsEmployee", Boolean.valueOf(IsEmployee)); } /** Get Employee. @return Indicates if this Business Partner is an employee */ diff --git a/dbPort/src/org/compiere/model/X_C_JobAssignment.java b/dbPort/src/org/compiere/model/X_C_JobAssignment.java index 32d8f39702..b1550b8e3a 100644 --- a/dbPort/src/org/compiere/model/X_C_JobAssignment.java +++ b/dbPort/src/org/compiere/model/X_C_JobAssignment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_JobAssignment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_JobAssignment extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_JobAssignment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=791 */ -public static final int Table_ID=791; +public static final int Table_ID=MTable.getTable_ID("C_JobAssignment"); /** TableName=C_JobAssignment */ public static final String Table_Name="C_JobAssignment"; -protected static KeyNamePair Model = new KeyNamePair(791,"C_JobAssignment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_JobAssignment"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_JobAssignment_ID (int C_JobAssignment_ID) { if (C_JobAssignment_ID < 1) throw new IllegalArgumentException ("C_JobAssignment_ID is mandatory."); -set_ValueNoCheck ("C_JobAssignment_ID", new Integer(C_JobAssignment_ID)); +set_ValueNoCheck ("C_JobAssignment_ID", Integer.valueOf(C_JobAssignment_ID)); } /** Get Position Assignment. @return Assignemt of Employee (User) to Job Position */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setC_Job_ID (int C_Job_ID) { if (C_Job_ID < 1) throw new IllegalArgumentException ("C_Job_ID is mandatory."); -set_ValueNoCheck ("C_Job_ID", new Integer(C_Job_ID)); +set_ValueNoCheck ("C_Job_ID", Integer.valueOf(C_Job_ID)); } /** Get Position. @return Job Position */ diff --git a/dbPort/src/org/compiere/model/X_C_JobCategory.java b/dbPort/src/org/compiere/model/X_C_JobCategory.java index 9a370940e5..93ad8a5422 100644 --- a/dbPort/src/org/compiere/model/X_C_JobCategory.java +++ b/dbPort/src/org/compiere/model/X_C_JobCategory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_JobCategory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_JobCategory extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_JobCategory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=790 */ -public static final int Table_ID=790; +public static final int Table_ID=MTable.getTable_ID("C_JobCategory"); /** TableName=C_JobCategory */ public static final String Table_Name="C_JobCategory"; -protected static KeyNamePair Model = new KeyNamePair(790,"C_JobCategory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_JobCategory"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setC_JobCategory_ID (int C_JobCategory_ID) { if (C_JobCategory_ID < 1) throw new IllegalArgumentException ("C_JobCategory_ID is mandatory."); -set_ValueNoCheck ("C_JobCategory_ID", new Integer(C_JobCategory_ID)); +set_ValueNoCheck ("C_JobCategory_ID", Integer.valueOf(C_JobCategory_ID)); } /** Get Position Category. @return Job Position Category */ diff --git a/dbPort/src/org/compiere/model/X_C_JobRemuneration.java b/dbPort/src/org/compiere/model/X_C_JobRemuneration.java index e5d1c0aec6..22bc0bd515 100644 --- a/dbPort/src/org/compiere/model/X_C_JobRemuneration.java +++ b/dbPort/src/org/compiere/model/X_C_JobRemuneration.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_JobRemuneration * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_JobRemuneration extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_JobRemuneration (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=793 */ -public static final int Table_ID=793; +public static final int Table_ID=MTable.getTable_ID("C_JobRemuneration"); /** TableName=C_JobRemuneration */ public static final String Table_Name="C_JobRemuneration"; -protected static KeyNamePair Model = new KeyNamePair(793,"C_JobRemuneration"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_JobRemuneration"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_JobRemuneration_ID (int C_JobRemuneration_ID) { if (C_JobRemuneration_ID < 1) throw new IllegalArgumentException ("C_JobRemuneration_ID is mandatory."); -set_ValueNoCheck ("C_JobRemuneration_ID", new Integer(C_JobRemuneration_ID)); +set_ValueNoCheck ("C_JobRemuneration_ID", Integer.valueOf(C_JobRemuneration_ID)); } /** Get Position Remuneration. @return Remuneration for the Position */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_Job_ID (int C_Job_ID) { if (C_Job_ID < 1) throw new IllegalArgumentException ("C_Job_ID is mandatory."); -set_ValueNoCheck ("C_Job_ID", new Integer(C_Job_ID)); +set_ValueNoCheck ("C_Job_ID", Integer.valueOf(C_Job_ID)); } /** Get Position. @return Job Position */ @@ -129,7 +129,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Job_ID())); public void setC_Remuneration_ID (int C_Remuneration_ID) { if (C_Remuneration_ID < 1) throw new IllegalArgumentException ("C_Remuneration_ID is mandatory."); -set_ValueNoCheck ("C_Remuneration_ID", new Integer(C_Remuneration_ID)); +set_ValueNoCheck ("C_Remuneration_ID", Integer.valueOf(C_Remuneration_ID)); } /** Get Remuneration. @return Wage or Salary */ diff --git a/dbPort/src/org/compiere/model/X_C_LandedCost.java b/dbPort/src/org/compiere/model/X_C_LandedCost.java index 19067162e8..41dcd60ce3 100644 --- a/dbPort/src/org/compiere/model/X_C_LandedCost.java +++ b/dbPort/src/org/compiere/model/X_C_LandedCost.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_LandedCost * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_LandedCost extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_LandedCost (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=759 */ -public static final int Table_ID=759; +public static final int Table_ID=MTable.getTable_ID("C_LandedCost"); /** TableName=C_LandedCost */ public static final String Table_Name="C_LandedCost"; -protected static KeyNamePair Model = new KeyNamePair(759,"C_LandedCost"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_LandedCost"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID < 1) throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_InvoiceLine_ID())); public void setC_LandedCost_ID (int C_LandedCost_ID) { if (C_LandedCost_ID < 1) throw new IllegalArgumentException ("C_LandedCost_ID is mandatory."); -set_ValueNoCheck ("C_LandedCost_ID", new Integer(C_LandedCost_ID)); +set_ValueNoCheck ("C_LandedCost_ID", Integer.valueOf(C_LandedCost_ID)); } /** Get Landed Cost. @return Landed cost to be allocated to material receipts */ @@ -179,7 +179,7 @@ return (String)get_Value("LandedCostDistribution"); public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID < 1) throw new IllegalArgumentException ("M_CostElement_ID is mandatory."); -set_Value ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_Value ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ @@ -195,7 +195,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_Value ("M_InOutLine_ID", null); else -set_Value ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_Value ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -211,7 +211,7 @@ public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID <= 0) set_Value ("M_InOut_ID", null); else -set_Value ("M_InOut_ID", new Integer(M_InOut_ID)); +set_Value ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -227,7 +227,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -241,7 +241,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_LandedCostAllocation.java b/dbPort/src/org/compiere/model/X_C_LandedCostAllocation.java index 54ce5f4ec4..7e9fff193f 100644 --- a/dbPort/src/org/compiere/model/X_C_LandedCostAllocation.java +++ b/dbPort/src/org/compiere/model/X_C_LandedCostAllocation.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_LandedCostAllocation * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_LandedCostAllocation extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_LandedCostAllocation (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=760 */ -public static final int Table_ID=760; +public static final int Table_ID=MTable.getTable_ID("C_LandedCostAllocation"); /** TableName=C_LandedCostAllocation */ public static final String Table_Name="C_LandedCostAllocation"; -protected static KeyNamePair Model = new KeyNamePair(760,"C_LandedCostAllocation"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_LandedCostAllocation"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -126,7 +126,7 @@ return bd; public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID < 1) throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -147,7 +147,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_InvoiceLine_ID())); public void setC_LandedCostAllocation_ID (int C_LandedCostAllocation_ID) { if (C_LandedCostAllocation_ID < 1) throw new IllegalArgumentException ("C_LandedCostAllocation_ID is mandatory."); -set_ValueNoCheck ("C_LandedCostAllocation_ID", new Integer(C_LandedCostAllocation_ID)); +set_ValueNoCheck ("C_LandedCostAllocation_ID", Integer.valueOf(C_LandedCostAllocation_ID)); } /** Get Landed Cost Allocation. @return Allocation for Land Costs */ @@ -163,7 +163,7 @@ public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID <= 0) set_ValueNoCheck ("M_AttributeSetInstance_ID", null); else -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -178,7 +178,7 @@ return ii.intValue(); public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID < 1) throw new IllegalArgumentException ("M_CostElement_ID is mandatory."); -set_Value ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_Value ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ @@ -193,7 +193,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_C_Location.java b/dbPort/src/org/compiere/model/X_C_Location.java index 81565d5510..f9c0ad6451 100644 --- a/dbPort/src/org/compiere/model/X_C_Location.java +++ b/dbPort/src/org/compiere/model/X_C_Location.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Location * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Location extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_Location (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=162 */ -public static final int Table_ID=162; +public static final int Table_ID=MTable.getTable_ID("C_Location"); /** TableName=C_Location */ public static final String Table_Name="C_Location"; -protected static KeyNamePair Model = new KeyNamePair(162,"C_Location"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Location"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -160,7 +160,7 @@ public void setC_City_ID (int C_City_ID) { if (C_City_ID <= 0) set_Value ("C_City_ID", null); else -set_Value ("C_City_ID", new Integer(C_City_ID)); +set_Value ("C_City_ID", Integer.valueOf(C_City_ID)); } /** Get City. @return City */ @@ -175,7 +175,7 @@ return ii.intValue(); public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID < 1) throw new IllegalArgumentException ("C_Country_ID is mandatory."); -set_Value ("C_Country_ID", new Integer(C_Country_ID)); +set_Value ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -190,7 +190,7 @@ return ii.intValue(); public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID < 1) throw new IllegalArgumentException ("C_Location_ID is mandatory."); -set_ValueNoCheck ("C_Location_ID", new Integer(C_Location_ID)); +set_ValueNoCheck ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -206,7 +206,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ diff --git a/dbPort/src/org/compiere/model/X_C_NonBusinessDay.java b/dbPort/src/org/compiere/model/X_C_NonBusinessDay.java index 9045469f1d..e2a4b30379 100644 --- a/dbPort/src/org/compiere/model/X_C_NonBusinessDay.java +++ b/dbPort/src/org/compiere/model/X_C_NonBusinessDay.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_NonBusinessDay * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_NonBusinessDay extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_NonBusinessDay (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=163 */ -public static final int Table_ID=163; +public static final int Table_ID=MTable.getTable_ID("C_NonBusinessDay"); /** TableName=C_NonBusinessDay */ public static final String Table_Name="C_NonBusinessDay"; -protected static KeyNamePair Model = new KeyNamePair(163,"C_NonBusinessDay"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_NonBusinessDay"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_Calendar_ID (int C_Calendar_ID) { if (C_Calendar_ID < 1) throw new IllegalArgumentException ("C_Calendar_ID is mandatory."); -set_ValueNoCheck ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_ValueNoCheck ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } /** Get Calendar. @return Accounting Calendar Name */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_NonBusinessDay_ID (int C_NonBusinessDay_ID) { if (C_NonBusinessDay_ID < 1) throw new IllegalArgumentException ("C_NonBusinessDay_ID is mandatory."); -set_ValueNoCheck ("C_NonBusinessDay_ID", new Integer(C_NonBusinessDay_ID)); +set_ValueNoCheck ("C_NonBusinessDay_ID", Integer.valueOf(C_NonBusinessDay_ID)); } /** Get Non Business Day. @return Day on which business is not transacted */ diff --git a/dbPort/src/org/compiere/model/X_C_Order.java b/dbPort/src/org/compiere/model/X_C_Order.java index ede897f229..e12f41d3cb 100644 --- a/dbPort/src/org/compiere/model/X_C_Order.java +++ b/dbPort/src/org/compiere/model/X_C_Order.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Order * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Order extends PO { /** Standard Constructor @@ -92,12 +92,12 @@ public X_C_Order (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=259 */ -public static final int Table_ID=259; +public static final int Table_ID=MTable.getTable_ID("C_Order"); /** TableName=C_Order */ public static final String Table_Name="C_Order"; -protected static KeyNamePair Model = new KeyNamePair(259,"C_Order"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Order"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -133,7 +133,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -149,7 +149,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -168,7 +168,7 @@ public void setBill_BPartner_ID (int Bill_BPartner_ID) { if (Bill_BPartner_ID <= 0) set_Value ("Bill_BPartner_ID", null); else -set_Value ("Bill_BPartner_ID", new Integer(Bill_BPartner_ID)); +set_Value ("Bill_BPartner_ID", Integer.valueOf(Bill_BPartner_ID)); } /** Get Invoice Partner. @return Business Partner to be invoiced */ @@ -187,7 +187,7 @@ public void setBill_Location_ID (int Bill_Location_ID) { if (Bill_Location_ID <= 0) set_Value ("Bill_Location_ID", null); else -set_Value ("Bill_Location_ID", new Integer(Bill_Location_ID)); +set_Value ("Bill_Location_ID", Integer.valueOf(Bill_Location_ID)); } /** Get Invoice Location. @return Business Partner Location for invoicing */ @@ -206,7 +206,7 @@ public void setBill_User_ID (int Bill_User_ID) { if (Bill_User_ID <= 0) set_Value ("Bill_User_ID", null); else -set_Value ("Bill_User_ID", new Integer(Bill_User_ID)); +set_Value ("Bill_User_ID", Integer.valueOf(Bill_User_ID)); } /** Get Invoice Contact. @return Business Partner Contact for invoicing */ @@ -222,7 +222,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -237,7 +237,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -252,7 +252,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -268,7 +268,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -284,7 +284,7 @@ public void setC_CashLine_ID (int C_CashLine_ID) { if (C_CashLine_ID <= 0) set_Value ("C_CashLine_ID", null); else -set_Value ("C_CashLine_ID", new Integer(C_CashLine_ID)); +set_Value ("C_CashLine_ID", Integer.valueOf(C_CashLine_ID)); } /** Get Cash Journal Line. @return Cash Journal Line */ @@ -303,7 +303,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -319,7 +319,7 @@ public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID <= 0) set_Value ("C_ConversionType_ID", null); else -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -334,7 +334,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -352,7 +352,7 @@ public static final int C_DOCTYPETARGET_ID_AD_Reference_ID=170; public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID) { if (C_DocTypeTarget_ID < 1) throw new IllegalArgumentException ("C_DocTypeTarget_ID is mandatory."); -set_Value ("C_DocTypeTarget_ID", new Integer(C_DocTypeTarget_ID)); +set_Value ("C_DocTypeTarget_ID", Integer.valueOf(C_DocTypeTarget_ID)); } /** Get Target Document Type. @return Target document type for conversing documents */ @@ -370,7 +370,7 @@ public static final int C_DOCTYPE_ID_AD_Reference_ID=170; public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_ValueNoCheck ("C_DocType_ID", new Integer(C_DocType_ID)); +set_ValueNoCheck ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -385,7 +385,7 @@ return ii.intValue(); public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID < 1) throw new IllegalArgumentException ("C_Order_ID is mandatory."); -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -400,7 +400,7 @@ return ii.intValue(); public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID < 1) throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -416,7 +416,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -432,7 +432,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -823,7 +823,7 @@ return (String)get_Value("InvoiceRule"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_ValueNoCheck ("IsApproved", new Boolean(IsApproved)); +set_ValueNoCheck ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -841,7 +841,7 @@ return false; @param IsCreditApproved Credit has been approved */ public void setIsCreditApproved (boolean IsCreditApproved) { -set_ValueNoCheck ("IsCreditApproved", new Boolean(IsCreditApproved)); +set_ValueNoCheck ("IsCreditApproved", Boolean.valueOf(IsCreditApproved)); } /** Get Credit Approved. @return Credit has been approved */ @@ -859,7 +859,7 @@ return false; @param IsDelivered Delivered */ public void setIsDelivered (boolean IsDelivered) { -set_ValueNoCheck ("IsDelivered", new Boolean(IsDelivered)); +set_ValueNoCheck ("IsDelivered", Boolean.valueOf(IsDelivered)); } /** Get Delivered. @return Delivered */ @@ -877,7 +877,7 @@ return false; @param IsDiscountPrinted Print Discount on Invoice and Order */ public void setIsDiscountPrinted (boolean IsDiscountPrinted) { -set_Value ("IsDiscountPrinted", new Boolean(IsDiscountPrinted)); +set_Value ("IsDiscountPrinted", Boolean.valueOf(IsDiscountPrinted)); } /** Get Discount Printed. @return Print Discount on Invoice and Order */ @@ -895,7 +895,7 @@ return false; @param IsDropShip Drop Shipments are sent from the Vendor directly to the Customer */ public void setIsDropShip (boolean IsDropShip) { -set_ValueNoCheck ("IsDropShip", new Boolean(IsDropShip)); +set_ValueNoCheck ("IsDropShip", Boolean.valueOf(IsDropShip)); } /** Get Drop Shipment. @return Drop Shipments are sent from the Vendor directly to the Customer */ @@ -913,7 +913,7 @@ return false; @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { -set_ValueNoCheck ("IsInvoiced", new Boolean(IsInvoiced)); +set_ValueNoCheck ("IsInvoiced", Boolean.valueOf(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ @@ -931,7 +931,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_ValueNoCheck ("IsPrinted", new Boolean(IsPrinted)); +set_ValueNoCheck ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -949,7 +949,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -967,7 +967,7 @@ return false; @param IsSelected Selected */ public void setIsSelected (boolean IsSelected) { -set_Value ("IsSelected", new Boolean(IsSelected)); +set_Value ("IsSelected", Boolean.valueOf(IsSelected)); } /** Get Selected. @return Selected */ @@ -985,7 +985,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -1003,7 +1003,7 @@ return false; @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ @@ -1021,7 +1021,7 @@ return false; @param IsTransferred Transferred to General Ledger (i.e. accounted) */ public void setIsTransferred (boolean IsTransferred) { -set_ValueNoCheck ("IsTransferred", new Boolean(IsTransferred)); +set_ValueNoCheck ("IsTransferred", Boolean.valueOf(IsTransferred)); } /** Get Transferred. @return Transferred to General Ledger (i.e. accounted) */ @@ -1040,7 +1040,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -1056,7 +1056,7 @@ public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID <= 0) set_Value ("M_Shipper_ID", null); else -set_Value ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_Value ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ @@ -1071,7 +1071,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -1104,7 +1104,7 @@ public void setPay_BPartner_ID (int Pay_BPartner_ID) { if (Pay_BPartner_ID <= 0) set_Value ("Pay_BPartner_ID", null); else -set_Value ("Pay_BPartner_ID", new Integer(Pay_BPartner_ID)); +set_Value ("Pay_BPartner_ID", Integer.valueOf(Pay_BPartner_ID)); } /** Get Payment BPartner. @return Business Partner responsible for the payment */ @@ -1120,7 +1120,7 @@ public void setPay_Location_ID (int Pay_Location_ID) { if (Pay_Location_ID <= 0) set_Value ("Pay_Location_ID", null); else -set_Value ("Pay_Location_ID", new Integer(Pay_Location_ID)); +set_Value ("Pay_Location_ID", Integer.valueOf(Pay_Location_ID)); } /** Get Payment Location. @return Location of the Business Partner responsible for the payment */ @@ -1169,7 +1169,7 @@ return (String)get_Value("PaymentRule"); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -1220,7 +1220,7 @@ return (String)get_Value("PriorityRule"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -1238,7 +1238,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -1261,7 +1261,7 @@ public void setRef_Order_ID (int Ref_Order_ID) { if (Ref_Order_ID <= 0) set_Value ("Ref_Order_ID", null); else -set_Value ("Ref_Order_ID", new Integer(Ref_Order_ID)); +set_Value ("Ref_Order_ID", Integer.valueOf(Ref_Order_ID)); } /** Get Referenced Order. @return Reference to corresponding Sales/Purchase Order */ @@ -1279,7 +1279,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -1293,7 +1293,7 @@ return ii.intValue(); @param SendEMail Enable sending Document EMail */ public void setSendEMail (boolean SendEMail) { -set_Value ("SendEMail", new Boolean(SendEMail)); +set_Value ("SendEMail", Boolean.valueOf(SendEMail)); } /** Get Send EMail. @return Enable sending Document EMail */ @@ -1331,7 +1331,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -1350,7 +1350,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_OrderLine.java b/dbPort/src/org/compiere/model/X_C_OrderLine.java index f885d7ab0e..dc2ea76c26 100644 --- a/dbPort/src/org/compiere/model/X_C_OrderLine.java +++ b/dbPort/src/org/compiere/model/X_C_OrderLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_OrderLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_OrderLine extends PO { /** Standard Constructor @@ -76,12 +76,12 @@ public X_C_OrderLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=260 */ -public static final int Table_ID=260; +public static final int Table_ID=MTable.getTable_ID("C_OrderLine"); /** TableName=C_OrderLine */ public static final String Table_Name="C_OrderLine"; -protected static KeyNamePair Model = new KeyNamePair(260,"C_OrderLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_OrderLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -117,7 +117,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -133,7 +133,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -149,7 +149,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_ValueNoCheck ("C_BPartner_ID", null); else -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -164,7 +164,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -180,7 +180,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -196,7 +196,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -211,7 +211,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -226,7 +226,7 @@ return ii.intValue(); public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID < 1) throw new IllegalArgumentException ("C_OrderLine_ID is mandatory."); -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -241,7 +241,7 @@ return ii.intValue(); public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID < 1) throw new IllegalArgumentException ("C_Order_ID is mandatory."); -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -263,7 +263,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_ValueNoCheck ("C_ProjectPhase_ID", null); else -set_ValueNoCheck ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_ValueNoCheck ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -279,7 +279,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_ValueNoCheck ("C_ProjectTask_ID", null); else -set_ValueNoCheck ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_ValueNoCheck ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -295,7 +295,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -310,7 +310,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_Value ("C_Tax_ID", new Integer(C_Tax_ID)); +set_Value ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -325,7 +325,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_ValueNoCheck ("C_UOM_ID", new Integer(C_UOM_ID)); +set_ValueNoCheck ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -434,7 +434,7 @@ return bd; @param IsDescription if true, the line is just description and no transaction */ public void setIsDescription (boolean IsDescription) { -set_Value ("IsDescription", new Boolean(IsDescription)); +set_Value ("IsDescription", Boolean.valueOf(IsDescription)); } /** Get Description Only. @return if true, the line is just description and no transaction */ @@ -452,7 +452,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -482,7 +482,7 @@ return bd; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -498,7 +498,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -514,7 +514,7 @@ public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID <= 0) set_Value ("M_Shipper_ID", null); else -set_Value ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_Value ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ @@ -532,7 +532,7 @@ public static final int M_WAREHOUSE_ID_AD_Reference_ID=197; public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -620,7 +620,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -759,7 +759,7 @@ public void setRef_OrderLine_ID (int Ref_OrderLine_ID) { if (Ref_OrderLine_ID <= 0) set_Value ("Ref_OrderLine_ID", null); else -set_Value ("Ref_OrderLine_ID", new Integer(Ref_OrderLine_ID)); +set_Value ("Ref_OrderLine_ID", Integer.valueOf(Ref_OrderLine_ID)); } /** Get Referenced Order Line. @return Reference to corresponding Sales/Purchase Order */ @@ -775,7 +775,7 @@ public void setS_ResourceAssignment_ID (int S_ResourceAssignment_ID) { if (S_ResourceAssignment_ID <= 0) set_Value ("S_ResourceAssignment_ID", null); else -set_Value ("S_ResourceAssignment_ID", new Integer(S_ResourceAssignment_ID)); +set_Value ("S_ResourceAssignment_ID", Integer.valueOf(S_ResourceAssignment_ID)); } /** Get Resource Assignment. @return Resource Assignment */ @@ -794,7 +794,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -813,7 +813,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_OrderTax.java b/dbPort/src/org/compiere/model/X_C_OrderTax.java index 555bbfd64d..a5135f8a52 100644 --- a/dbPort/src/org/compiere/model/X_C_OrderTax.java +++ b/dbPort/src/org/compiere/model/X_C_OrderTax.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_OrderTax * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_OrderTax extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_OrderTax (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=314 */ -public static final int Table_ID=314; +public static final int Table_ID=MTable.getTable_ID("C_OrderTax"); /** TableName=C_OrderTax */ public static final String Table_Name="C_OrderTax"; -protected static KeyNamePair Model = new KeyNamePair(314,"C_OrderTax"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_OrderTax"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID < 1) throw new IllegalArgumentException ("C_Order_ID is mandatory."); -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -124,7 +124,7 @@ return ii.intValue(); @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ @@ -142,7 +142,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_OrgAssignment.java b/dbPort/src/org/compiere/model/X_C_OrgAssignment.java index da733c0177..b7295152aa 100644 --- a/dbPort/src/org/compiere/model/X_C_OrgAssignment.java +++ b/dbPort/src/org/compiere/model/X_C_OrgAssignment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_OrgAssignment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_OrgAssignment extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_OrgAssignment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=585 */ -public static final int Table_ID=585; +public static final int Table_ID=MTable.getTable_ID("C_OrgAssignment"); /** TableName=C_OrgAssignment */ public static final String Table_Name="C_OrgAssignment"; -protected static KeyNamePair Model = new KeyNamePair(585,"C_OrgAssignment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_OrgAssignment"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_OrgAssignment_ID (int C_OrgAssignment_ID) { if (C_OrgAssignment_ID < 1) throw new IllegalArgumentException ("C_OrgAssignment_ID is mandatory."); -set_ValueNoCheck ("C_OrgAssignment_ID", new Integer(C_OrgAssignment_ID)); +set_ValueNoCheck ("C_OrgAssignment_ID", Integer.valueOf(C_OrgAssignment_ID)); } /** Get Org Assignment. @return Assigment to (transaction) Organization */ diff --git a/dbPort/src/org/compiere/model/X_C_POS.java b/dbPort/src/org/compiere/model/X_C_POS.java index 07cc0e8b66..00cab9610b 100644 --- a/dbPort/src/org/compiere/model/X_C_POS.java +++ b/dbPort/src/org/compiere/model/X_C_POS.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_POS * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_POS extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_POS (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=748 */ -public static final int Table_ID=748; +public static final int Table_ID=MTable.getTable_ID("C_POS"); /** TableName=C_POS */ public static final String Table_Name="C_POS"; -protected static KeyNamePair Model = new KeyNamePair(748,"C_POS"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_POS"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -100,7 +100,7 @@ public void setC_BPartnerCashTrx_ID (int C_BPartnerCashTrx_ID) { if (C_BPartnerCashTrx_ID <= 0) set_Value ("C_BPartnerCashTrx_ID", null); 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. @return Business Partner used for creating new Business Partners on the fly */ @@ -115,7 +115,7 @@ return ii.intValue(); public void setC_CashBook_ID (int C_CashBook_ID) { if (C_CashBook_ID < 1) throw new IllegalArgumentException ("C_CashBook_ID is mandatory."); -set_Value ("C_CashBook_ID", new Integer(C_CashBook_ID)); +set_Value ("C_CashBook_ID", Integer.valueOf(C_CashBook_ID)); } /** Get Cash Book. @return Cash Book for recording petty cash transactions */ @@ -131,7 +131,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -147,7 +147,7 @@ public void setC_POSKeyLayout_ID (int C_POSKeyLayout_ID) { if (C_POSKeyLayout_ID <= 0) set_Value ("C_POSKeyLayout_ID", null); else -set_Value ("C_POSKeyLayout_ID", new Integer(C_POSKeyLayout_ID)); +set_Value ("C_POSKeyLayout_ID", Integer.valueOf(C_POSKeyLayout_ID)); } /** Get POS Key Layout. @return POS Function Key Layout */ @@ -162,7 +162,7 @@ return ii.intValue(); public void setC_POS_ID (int C_POS_ID) { if (C_POS_ID < 1) throw new IllegalArgumentException ("C_POS_ID is mandatory."); -set_ValueNoCheck ("C_POS_ID", new Integer(C_POS_ID)); +set_ValueNoCheck ("C_POS_ID", Integer.valueOf(C_POS_ID)); } /** Get POS Terminal. @return Point of Sales Terminal */ @@ -210,7 +210,7 @@ return (String)get_Value("Help"); @param IsModifyPrice Allow modifying the price */ public void setIsModifyPrice (boolean IsModifyPrice) { -set_Value ("IsModifyPrice", new Boolean(IsModifyPrice)); +set_Value ("IsModifyPrice", Boolean.valueOf(IsModifyPrice)); } /** Get Modify Price. @return Allow modifying the price */ @@ -229,7 +229,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -244,7 +244,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -303,7 +303,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_C_POSKey.java b/dbPort/src/org/compiere/model/X_C_POSKey.java index 47383bd30c..7b34120eae 100644 --- a/dbPort/src/org/compiere/model/X_C_POSKey.java +++ b/dbPort/src/org/compiere/model/X_C_POSKey.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_POSKey * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_POSKey extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_POSKey (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=750 */ -public static final int Table_ID=750; +public static final int Table_ID=MTable.getTable_ID("C_POSKey"); /** TableName=C_POSKey */ public static final String Table_Name="C_POSKey"; -protected static KeyNamePair Model = new KeyNamePair(750,"C_POSKey"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_POSKey"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -96,7 +96,7 @@ public void setAD_PrintColor_ID (int AD_PrintColor_ID) { if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null); else -set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); +set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID)); } /** Get Print Color. @return Color used for printing and display */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_POSKeyLayout_ID (int C_POSKeyLayout_ID) { if (C_POSKeyLayout_ID < 1) throw new IllegalArgumentException ("C_POSKeyLayout_ID is mandatory."); -set_ValueNoCheck ("C_POSKeyLayout_ID", new Integer(C_POSKeyLayout_ID)); +set_ValueNoCheck ("C_POSKeyLayout_ID", Integer.valueOf(C_POSKeyLayout_ID)); } /** Get POS Key Layout. @return POS Function Key Layout */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setC_POSKey_ID (int C_POSKey_ID) { if (C_POSKey_ID < 1) throw new IllegalArgumentException ("C_POSKey_ID is mandatory."); -set_ValueNoCheck ("C_POSKey_ID", new Integer(C_POSKey_ID)); +set_ValueNoCheck ("C_POSKey_ID", Integer.valueOf(C_POSKey_ID)); } /** Get POS Key. @return POS Function Key */ @@ -158,7 +158,7 @@ return (String)get_Value("Description"); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -212,7 +212,7 @@ return bd; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_POSKeyLayout.java b/dbPort/src/org/compiere/model/X_C_POSKeyLayout.java index a4a158faf9..a11f0c7983 100644 --- a/dbPort/src/org/compiere/model/X_C_POSKeyLayout.java +++ b/dbPort/src/org/compiere/model/X_C_POSKeyLayout.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_POSKeyLayout * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_POSKeyLayout extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_POSKeyLayout (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=749 */ -public static final int Table_ID=749; +public static final int Table_ID=MTable.getTable_ID("C_POSKeyLayout"); /** TableName=C_POSKeyLayout */ public static final String Table_Name="C_POSKeyLayout"; -protected static KeyNamePair Model = new KeyNamePair(749,"C_POSKeyLayout"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_POSKeyLayout"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setC_POSKeyLayout_ID (int C_POSKeyLayout_ID) { if (C_POSKeyLayout_ID < 1) throw new IllegalArgumentException ("C_POSKeyLayout_ID is mandatory."); -set_ValueNoCheck ("C_POSKeyLayout_ID", new Integer(C_POSKeyLayout_ID)); +set_ValueNoCheck ("C_POSKeyLayout_ID", Integer.valueOf(C_POSKeyLayout_ID)); } /** Get POS Key Layout. @return POS Function Key Layout */ diff --git a/dbPort/src/org/compiere/model/X_C_PaySchedule.java b/dbPort/src/org/compiere/model/X_C_PaySchedule.java index 4df8e8f819..2aae69d284 100644 --- a/dbPort/src/org/compiere/model/X_C_PaySchedule.java +++ b/dbPort/src/org/compiere/model/X_C_PaySchedule.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaySchedule * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaySchedule extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_PaySchedule (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=548 */ -public static final int Table_ID=548; +public static final int Table_ID=MTable.getTable_ID("C_PaySchedule"); /** TableName=C_PaySchedule */ public static final String Table_Name="C_PaySchedule"; -protected static KeyNamePair Model = new KeyNamePair(548,"C_PaySchedule"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaySchedule"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_PaySchedule_ID (int C_PaySchedule_ID) { if (C_PaySchedule_ID < 1) throw new IllegalArgumentException ("C_PaySchedule_ID is mandatory."); -set_ValueNoCheck ("C_PaySchedule_ID", new Integer(C_PaySchedule_ID)); +set_ValueNoCheck ("C_PaySchedule_ID", Integer.valueOf(C_PaySchedule_ID)); } /** Get Payment Schedule. @return Payment Schedule Template */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID < 1) throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); -set_ValueNoCheck ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_ValueNoCheck ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -147,7 +147,7 @@ return bd; @param DiscountDays Number of days from invoice date to be eligible for discount */ public void setDiscountDays (int DiscountDays) { -set_Value ("DiscountDays", new Integer(DiscountDays)); +set_Value ("DiscountDays", Integer.valueOf(DiscountDays)); } /** Get Discount Days. @return Number of days from invoice date to be eligible for discount */ @@ -161,7 +161,7 @@ return ii.intValue(); @param GraceDays Days after due date to send first dunning letter */ public void setGraceDays (int GraceDays) { -set_Value ("GraceDays", new Integer(GraceDays)); +set_Value ("GraceDays", Integer.valueOf(GraceDays)); } /** Get Grace Days. @return Days after due date to send first dunning letter */ @@ -175,7 +175,7 @@ return ii.intValue(); @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -229,7 +229,7 @@ return (String)get_Value("NetDay"); @param NetDays Net Days in which payment is due */ public void setNetDays (int NetDays) { -set_Value ("NetDays", new Integer(NetDays)); +set_Value ("NetDays", Integer.valueOf(NetDays)); } /** Get Net Days. @return Net Days in which payment is due */ diff --git a/dbPort/src/org/compiere/model/X_C_PaySelection.java b/dbPort/src/org/compiere/model/X_C_PaySelection.java index 9ac1baec0f..a8e4642f0a 100644 --- a/dbPort/src/org/compiere/model/X_C_PaySelection.java +++ b/dbPort/src/org/compiere/model/X_C_PaySelection.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaySelection * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaySelection extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_PaySelection (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=426 */ -public static final int Table_ID=426; +public static final int Table_ID=MTable.getTable_ID("C_PaySelection"); /** TableName=C_PaySelection */ public static final String Table_Name="C_PaySelection"; -protected static KeyNamePair Model = new KeyNamePair(426,"C_PaySelection"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaySelection"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setC_PaySelection_ID (int C_PaySelection_ID) { if (C_PaySelection_ID < 1) throw new IllegalArgumentException ("C_PaySelection_ID is mandatory."); -set_ValueNoCheck ("C_PaySelection_ID", new Integer(C_PaySelection_ID)); +set_ValueNoCheck ("C_PaySelection_ID", Integer.valueOf(C_PaySelection_ID)); } /** Get Payment Selection. @return Payment Selection */ @@ -160,7 +160,7 @@ return (String)get_Value("Description"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -215,7 +215,7 @@ return (Timestamp)get_Value("PayDate"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -233,7 +233,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_PaySelectionCheck.java b/dbPort/src/org/compiere/model/X_C_PaySelectionCheck.java index 63ccdaac91..b9beb4410c 100644 --- a/dbPort/src/org/compiere/model/X_C_PaySelectionCheck.java +++ b/dbPort/src/org/compiere/model/X_C_PaySelectionCheck.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaySelectionCheck * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaySelectionCheck extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_C_PaySelectionCheck (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=525 */ -public static final int Table_ID=525; +public static final int Table_ID=MTable.getTable_ID("C_PaySelectionCheck"); /** TableName=C_PaySelectionCheck */ public static final String Table_Name="C_PaySelectionCheck"; -protected static KeyNamePair Model = new KeyNamePair(525,"C_PaySelectionCheck"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaySelectionCheck"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -100,7 +100,7 @@ public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) { if (C_BP_BankAccount_ID <= 0) set_Value ("C_BP_BankAccount_ID", null); else -set_Value ("C_BP_BankAccount_ID", new Integer(C_BP_BankAccount_ID)); +set_Value ("C_BP_BankAccount_ID", Integer.valueOf(C_BP_BankAccount_ID)); } /** Get Partner Bank Account. @return Bank Account of the Business Partner */ @@ -115,7 +115,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setC_PaySelectionCheck_ID (int C_PaySelectionCheck_ID) { if (C_PaySelectionCheck_ID < 1) throw new IllegalArgumentException ("C_PaySelectionCheck_ID is mandatory."); -set_ValueNoCheck ("C_PaySelectionCheck_ID", new Integer(C_PaySelectionCheck_ID)); +set_ValueNoCheck ("C_PaySelectionCheck_ID", Integer.valueOf(C_PaySelectionCheck_ID)); } /** Get Pay Selection Check. @return Payment Selection Check */ @@ -145,7 +145,7 @@ return ii.intValue(); public void setC_PaySelection_ID (int C_PaySelection_ID) { if (C_PaySelection_ID < 1) throw new IllegalArgumentException ("C_PaySelection_ID is mandatory."); -set_ValueNoCheck ("C_PaySelection_ID", new Integer(C_PaySelection_ID)); +set_ValueNoCheck ("C_PaySelection_ID", Integer.valueOf(C_PaySelection_ID)); } /** Get Payment Selection. @return Payment Selection */ @@ -161,7 +161,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -207,7 +207,7 @@ return (String)get_Value("DocumentNo"); @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -225,7 +225,7 @@ return false; @param IsReceipt This is a sales transaction (receipt) */ public void setIsReceipt (boolean IsReceipt) { -set_Value ("IsReceipt", new Boolean(IsReceipt)); +set_Value ("IsReceipt", Boolean.valueOf(IsReceipt)); } /** Get Receipt. @return This is a sales transaction (receipt) */ @@ -293,7 +293,7 @@ return (String)get_Value("PaymentRule"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -311,7 +311,7 @@ return false; @param Qty Quantity */ public void setQty (int Qty) { -set_Value ("Qty", new Integer(Qty)); +set_Value ("Qty", Integer.valueOf(Qty)); } /** Get Quantity. @return Quantity */ diff --git a/dbPort/src/org/compiere/model/X_C_PaySelectionLine.java b/dbPort/src/org/compiere/model/X_C_PaySelectionLine.java index 56bb001e7a..9eab59b056 100644 --- a/dbPort/src/org/compiere/model/X_C_PaySelectionLine.java +++ b/dbPort/src/org/compiere/model/X_C_PaySelectionLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaySelectionLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaySelectionLine extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_PaySelectionLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=427 */ -public static final int Table_ID=427; +public static final int Table_ID=MTable.getTable_ID("C_PaySelectionLine"); /** TableName=C_PaySelectionLine */ public static final String Table_Name="C_PaySelectionLine"; -protected static KeyNamePair Model = new KeyNamePair(427,"C_PaySelectionLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaySelectionLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -117,7 +117,7 @@ public void setC_PaySelectionCheck_ID (int C_PaySelectionCheck_ID) { if (C_PaySelectionCheck_ID <= 0) set_Value ("C_PaySelectionCheck_ID", null); else -set_Value ("C_PaySelectionCheck_ID", new Integer(C_PaySelectionCheck_ID)); +set_Value ("C_PaySelectionCheck_ID", Integer.valueOf(C_PaySelectionCheck_ID)); } /** Get Pay Selection Check. @return Payment Selection Check */ @@ -132,7 +132,7 @@ return ii.intValue(); public void setC_PaySelectionLine_ID (int C_PaySelectionLine_ID) { if (C_PaySelectionLine_ID < 1) throw new IllegalArgumentException ("C_PaySelectionLine_ID is mandatory."); -set_ValueNoCheck ("C_PaySelectionLine_ID", new Integer(C_PaySelectionLine_ID)); +set_ValueNoCheck ("C_PaySelectionLine_ID", Integer.valueOf(C_PaySelectionLine_ID)); } /** Get Payment Selection Line. @return Payment Selection Line */ @@ -153,7 +153,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_PaySelectionLine_ID())); public void setC_PaySelection_ID (int C_PaySelection_ID) { if (C_PaySelection_ID < 1) throw new IllegalArgumentException ("C_PaySelection_ID is mandatory."); -set_ValueNoCheck ("C_PaySelection_ID", new Integer(C_PaySelection_ID)); +set_ValueNoCheck ("C_PaySelection_ID", Integer.valueOf(C_PaySelection_ID)); } /** Get Payment Selection. @return Payment Selection */ @@ -214,7 +214,7 @@ return bd; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -232,7 +232,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -250,7 +250,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -329,7 +329,7 @@ return (String)get_Value("PaymentRule"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_Payment.java b/dbPort/src/org/compiere/model/X_C_Payment.java index 2c5a6bed37..9298b80aa1 100644 --- a/dbPort/src/org/compiere/model/X_C_Payment.java +++ b/dbPort/src/org/compiere/model/X_C_Payment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Payment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Payment extends PO { /** Standard Constructor @@ -76,12 +76,12 @@ public X_C_Payment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=335 */ -public static final int Table_ID=335; +public static final int Table_ID=MTable.getTable_ID("C_Payment"); /** TableName=C_Payment */ public static final String Table_Name="C_Payment"; -protected static KeyNamePair Model = new KeyNamePair(335,"C_Payment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Payment"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -117,7 +117,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -303,7 +303,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -319,7 +319,7 @@ public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID) { if (C_BP_BankAccount_ID <= 0) set_Value ("C_BP_BankAccount_ID", null); else -set_Value ("C_BP_BankAccount_ID", new Integer(C_BP_BankAccount_ID)); +set_Value ("C_BP_BankAccount_ID", Integer.valueOf(C_BP_BankAccount_ID)); } /** Get Partner Bank Account. @return Bank Account of the Business Partner */ @@ -334,7 +334,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -349,7 +349,7 @@ return ii.intValue(); public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -365,7 +365,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -381,7 +381,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -397,7 +397,7 @@ public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID <= 0) set_Value ("C_ConversionType_ID", null); else -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -412,7 +412,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -427,7 +427,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -443,7 +443,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -459,7 +459,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -475,7 +475,7 @@ public void setC_PaymentBatch_ID (int C_PaymentBatch_ID) { if (C_PaymentBatch_ID <= 0) set_Value ("C_PaymentBatch_ID", null); else -set_Value ("C_PaymentBatch_ID", new Integer(C_PaymentBatch_ID)); +set_Value ("C_PaymentBatch_ID", Integer.valueOf(C_PaymentBatch_ID)); } /** Get Payment Batch. @return Payment batch for EFT */ @@ -490,7 +490,7 @@ return ii.intValue(); public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID < 1) throw new IllegalArgumentException ("C_Payment_ID is mandatory."); -set_ValueNoCheck ("C_Payment_ID", new Integer(C_Payment_ID)); +set_ValueNoCheck ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -506,7 +506,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -551,7 +551,7 @@ return (String)get_Value("CheckNo"); @param CreditCardExpMM Expiry Month */ public void setCreditCardExpMM (int CreditCardExpMM) { -set_Value ("CreditCardExpMM", new Integer(CreditCardExpMM)); +set_Value ("CreditCardExpMM", Integer.valueOf(CreditCardExpMM)); } /** Get Exp. Month. @return Expiry Month */ @@ -565,7 +565,7 @@ return ii.intValue(); @param CreditCardExpYY Expiry Year */ public void setCreditCardExpYY (int CreditCardExpYY) { -set_Value ("CreditCardExpYY", new Integer(CreditCardExpYY)); +set_Value ("CreditCardExpYY", Integer.valueOf(CreditCardExpYY)); } /** Get Exp. Year. @return Expiry Year */ @@ -828,7 +828,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsAllocated Indicates if the payment has been allocated */ public void setIsAllocated (boolean IsAllocated) { -set_Value ("IsAllocated", new Boolean(IsAllocated)); +set_Value ("IsAllocated", Boolean.valueOf(IsAllocated)); } /** Get Allocated. @return Indicates if the payment has been allocated */ @@ -846,7 +846,7 @@ return false; @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_ValueNoCheck ("IsApproved", new Boolean(IsApproved)); +set_ValueNoCheck ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -864,7 +864,7 @@ return false; @param IsDelayedCapture Charge after Shipment */ public void setIsDelayedCapture (boolean IsDelayedCapture) { -set_Value ("IsDelayedCapture", new Boolean(IsDelayedCapture)); +set_Value ("IsDelayedCapture", Boolean.valueOf(IsDelayedCapture)); } /** Get Delayed Capture. @return Charge after Shipment */ @@ -882,7 +882,7 @@ return false; @param IsOnline Can be accessed online */ public void setIsOnline (boolean IsOnline) { -set_Value ("IsOnline", new Boolean(IsOnline)); +set_Value ("IsOnline", Boolean.valueOf(IsOnline)); } /** Get Online Access. @return Can be accessed online */ @@ -900,7 +900,7 @@ return false; @param IsOverUnderPayment Over-Payment (unallocated) or Under-Payment (partial payment) */ public void setIsOverUnderPayment (boolean IsOverUnderPayment) { -set_Value ("IsOverUnderPayment", new Boolean(IsOverUnderPayment)); +set_Value ("IsOverUnderPayment", Boolean.valueOf(IsOverUnderPayment)); } /** Get Over/Under Payment. @return Over-Payment (unallocated) or Under-Payment (partial payment) */ @@ -918,7 +918,7 @@ return false; @param IsPrepayment The Payment/Receipt is a Prepayment */ public void setIsPrepayment (boolean IsPrepayment) { -set_Value ("IsPrepayment", new Boolean(IsPrepayment)); +set_Value ("IsPrepayment", Boolean.valueOf(IsPrepayment)); } /** Get Prepayment. @return The Payment/Receipt is a Prepayment */ @@ -936,7 +936,7 @@ return false; @param IsReceipt This is a sales transaction (receipt) */ public void setIsReceipt (boolean IsReceipt) { -set_Value ("IsReceipt", new Boolean(IsReceipt)); +set_Value ("IsReceipt", Boolean.valueOf(IsReceipt)); } /** Get Receipt. @return This is a sales transaction (receipt) */ @@ -954,7 +954,7 @@ return false; @param IsReconciled Payment is reconciled with bank statement */ public void setIsReconciled (boolean IsReconciled) { -set_Value ("IsReconciled", new Boolean(IsReconciled)); +set_Value ("IsReconciled", Boolean.valueOf(IsReconciled)); } /** Get Reconciled. @return Payment is reconciled with bank statement */ @@ -972,7 +972,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -1087,7 +1087,7 @@ return bd; @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -1105,7 +1105,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -1123,7 +1123,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -1231,7 +1231,7 @@ return (String)get_Value("R_AvsZip"); @param R_CVV2Match Credit Card Verification Code Match */ public void setR_CVV2Match (boolean R_CVV2Match) { -set_ValueNoCheck ("R_CVV2Match", new Boolean(R_CVV2Match)); +set_ValueNoCheck ("R_CVV2Match", Boolean.valueOf(R_CVV2Match)); } /** Get CVV Match. @return Credit Card Verification Code Match */ @@ -1339,7 +1339,7 @@ public void setRef_Payment_ID (int Ref_Payment_ID) { if (Ref_Payment_ID <= 0) set_ValueNoCheck ("Ref_Payment_ID", null); else -set_ValueNoCheck ("Ref_Payment_ID", new Integer(Ref_Payment_ID)); +set_ValueNoCheck ("Ref_Payment_ID", Integer.valueOf(Ref_Payment_ID)); } /** Get Referenced Payment. @return Referenced Payment */ @@ -1472,7 +1472,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -1491,7 +1491,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_C_PaymentAllocate.java b/dbPort/src/org/compiere/model/X_C_PaymentAllocate.java index 514379fd3d..2e44a7995b 100644 --- a/dbPort/src/org/compiere/model/X_C_PaymentAllocate.java +++ b/dbPort/src/org/compiere/model/X_C_PaymentAllocate.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaymentAllocate * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaymentAllocate extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_PaymentAllocate (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=812 */ -public static final int Table_ID=812; +public static final int Table_ID=MTable.getTable_ID("C_PaymentAllocate"); /** TableName=C_PaymentAllocate */ public static final String Table_Name="C_PaymentAllocate"; -protected static KeyNamePair Model = new KeyNamePair(812,"C_PaymentAllocate"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaymentAllocate"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -112,7 +112,7 @@ public void setC_AllocationLine_ID (int C_AllocationLine_ID) { if (C_AllocationLine_ID <= 0) set_Value ("C_AllocationLine_ID", null); else -set_Value ("C_AllocationLine_ID", new Integer(C_AllocationLine_ID)); +set_Value ("C_AllocationLine_ID", Integer.valueOf(C_AllocationLine_ID)); } /** Get Allocation Line. @return Allocation Line */ @@ -127,7 +127,7 @@ return ii.intValue(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -148,7 +148,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); public void setC_PaymentAllocate_ID (int C_PaymentAllocate_ID) { if (C_PaymentAllocate_ID < 1) throw new IllegalArgumentException ("C_PaymentAllocate_ID is mandatory."); -set_ValueNoCheck ("C_PaymentAllocate_ID", new Integer(C_PaymentAllocate_ID)); +set_ValueNoCheck ("C_PaymentAllocate_ID", Integer.valueOf(C_PaymentAllocate_ID)); } /** Get Allocate Payment. @return Allocate Payment to Invoices */ @@ -163,7 +163,7 @@ return ii.intValue(); public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID < 1) throw new IllegalArgumentException ("C_Payment_ID is mandatory."); -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ diff --git a/dbPort/src/org/compiere/model/X_C_PaymentBatch.java b/dbPort/src/org/compiere/model/X_C_PaymentBatch.java index f027677776..cb50410aa3 100644 --- a/dbPort/src/org/compiere/model/X_C_PaymentBatch.java +++ b/dbPort/src/org/compiere/model/X_C_PaymentBatch.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaymentBatch * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaymentBatch extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_PaymentBatch (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=411 */ -public static final int Table_ID=411; +public static final int Table_ID=MTable.getTable_ID("C_PaymentBatch"); /** TableName=C_PaymentBatch */ public static final String Table_Name="C_PaymentBatch"; -protected static KeyNamePair Model = new KeyNamePair(411,"C_PaymentBatch"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaymentBatch"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_PaymentBatch_ID (int C_PaymentBatch_ID) { if (C_PaymentBatch_ID < 1) throw new IllegalArgumentException ("C_PaymentBatch_ID is mandatory."); -set_ValueNoCheck ("C_PaymentBatch_ID", new Integer(C_PaymentBatch_ID)); +set_ValueNoCheck ("C_PaymentBatch_ID", Integer.valueOf(C_PaymentBatch_ID)); } /** Get Payment Batch. @return Payment batch for EFT */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID) { if (C_PaymentProcessor_ID < 1) throw new IllegalArgumentException ("C_PaymentProcessor_ID is mandatory."); -set_Value ("C_PaymentProcessor_ID", new Integer(C_PaymentProcessor_ID)); +set_Value ("C_PaymentProcessor_ID", Integer.valueOf(C_PaymentProcessor_ID)); } /** Get Payment Processor. @return Payment processor for electronic payments */ @@ -164,7 +164,7 @@ return (String)get_Value("Name"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -182,7 +182,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_PaymentProcessor.java b/dbPort/src/org/compiere/model/X_C_PaymentProcessor.java index 14d2cf3e40..c851e5a410 100644 --- a/dbPort/src/org/compiere/model/X_C_PaymentProcessor.java +++ b/dbPort/src/org/compiere/model/X_C_PaymentProcessor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaymentProcessor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaymentProcessor extends PO { /** Standard Constructor @@ -72,12 +72,12 @@ public X_C_PaymentProcessor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=398 */ -public static final int Table_ID=398; +public static final int Table_ID=MTable.getTable_ID("C_PaymentProcessor"); /** TableName=C_PaymentProcessor */ public static final String Table_Name="C_PaymentProcessor"; -protected static KeyNamePair Model = new KeyNamePair(398,"C_PaymentProcessor"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaymentProcessor"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -113,7 +113,7 @@ public void setAD_Sequence_ID (int AD_Sequence_ID) { if (AD_Sequence_ID <= 0) set_Value ("AD_Sequence_ID", null); else -set_Value ("AD_Sequence_ID", new Integer(AD_Sequence_ID)); +set_Value ("AD_Sequence_ID", Integer.valueOf(AD_Sequence_ID)); } /** Get Sequence. @return Document Sequence */ @@ -127,7 +127,7 @@ return ii.intValue(); @param AcceptAMEX Accept American Express Card */ public void setAcceptAMEX (boolean AcceptAMEX) { -set_Value ("AcceptAMEX", new Boolean(AcceptAMEX)); +set_Value ("AcceptAMEX", Boolean.valueOf(AcceptAMEX)); } /** Get Accept AMEX. @return Accept American Express Card */ @@ -145,7 +145,7 @@ return false; @param AcceptATM Accept Bank ATM Card */ public void setAcceptATM (boolean AcceptATM) { -set_Value ("AcceptATM", new Boolean(AcceptATM)); +set_Value ("AcceptATM", Boolean.valueOf(AcceptATM)); } /** Get Accept ATM. @return Accept Bank ATM Card */ @@ -163,7 +163,7 @@ return false; @param AcceptCheck Accept ECheck (Electronic Checks) */ public void setAcceptCheck (boolean AcceptCheck) { -set_Value ("AcceptCheck", new Boolean(AcceptCheck)); +set_Value ("AcceptCheck", Boolean.valueOf(AcceptCheck)); } /** Get Accept Electronic Check. @return Accept ECheck (Electronic Checks) */ @@ -181,7 +181,7 @@ return false; @param AcceptCorporate Accept Corporate Purchase Cards */ public void setAcceptCorporate (boolean AcceptCorporate) { -set_Value ("AcceptCorporate", new Boolean(AcceptCorporate)); +set_Value ("AcceptCorporate", Boolean.valueOf(AcceptCorporate)); } /** Get Accept Corporate. @return Accept Corporate Purchase Cards */ @@ -199,7 +199,7 @@ return false; @param AcceptDiners Accept Diner's Club */ public void setAcceptDiners (boolean AcceptDiners) { -set_Value ("AcceptDiners", new Boolean(AcceptDiners)); +set_Value ("AcceptDiners", Boolean.valueOf(AcceptDiners)); } /** Get Accept Diners. @return Accept Diner's Club */ @@ -217,7 +217,7 @@ return false; @param AcceptDirectDebit Accept Direct Debits (vendor initiated) */ public void setAcceptDirectDebit (boolean AcceptDirectDebit) { -set_Value ("AcceptDirectDebit", new Boolean(AcceptDirectDebit)); +set_Value ("AcceptDirectDebit", Boolean.valueOf(AcceptDirectDebit)); } /** Get Accept Direct Debit. @return Accept Direct Debits (vendor initiated) */ @@ -235,7 +235,7 @@ return false; @param AcceptDirectDeposit Accept Direct Deposit (payee initiated) */ public void setAcceptDirectDeposit (boolean AcceptDirectDeposit) { -set_Value ("AcceptDirectDeposit", new Boolean(AcceptDirectDeposit)); +set_Value ("AcceptDirectDeposit", Boolean.valueOf(AcceptDirectDeposit)); } /** Get Accept Direct Deposit. @return Accept Direct Deposit (payee initiated) */ @@ -253,7 +253,7 @@ return false; @param AcceptDiscover Accept Discover Card */ public void setAcceptDiscover (boolean AcceptDiscover) { -set_Value ("AcceptDiscover", new Boolean(AcceptDiscover)); +set_Value ("AcceptDiscover", Boolean.valueOf(AcceptDiscover)); } /** Get Accept Discover. @return Accept Discover Card */ @@ -271,7 +271,7 @@ return false; @param AcceptMC Accept Master Card */ public void setAcceptMC (boolean AcceptMC) { -set_Value ("AcceptMC", new Boolean(AcceptMC)); +set_Value ("AcceptMC", Boolean.valueOf(AcceptMC)); } /** Get Accept MasterCard. @return Accept Master Card */ @@ -289,7 +289,7 @@ return false; @param AcceptVisa Accept Visa Cards */ public void setAcceptVisa (boolean AcceptVisa) { -set_Value ("AcceptVisa", new Boolean(AcceptVisa)); +set_Value ("AcceptVisa", Boolean.valueOf(AcceptVisa)); } /** Get Accept Visa. @return Accept Visa Cards */ @@ -308,7 +308,7 @@ return false; public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID < 1) throw new IllegalArgumentException ("C_BankAccount_ID is mandatory."); -set_ValueNoCheck ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_ValueNoCheck ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -324,7 +324,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -339,7 +339,7 @@ return ii.intValue(); public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID) { if (C_PaymentProcessor_ID < 1) throw new IllegalArgumentException ("C_PaymentProcessor_ID is mandatory."); -set_ValueNoCheck ("C_PaymentProcessor_ID", new Integer(C_PaymentProcessor_ID)); +set_ValueNoCheck ("C_PaymentProcessor_ID", Integer.valueOf(C_PaymentProcessor_ID)); } /** Get Payment Processor. @return Payment processor for electronic payments */ @@ -418,7 +418,7 @@ return (String)get_Value("HostAddress"); @param HostPort Host Communication Port */ public void setHostPort (int HostPort) { -set_Value ("HostPort", new Integer(HostPort)); +set_Value ("HostPort", Integer.valueOf(HostPort)); } /** Get Host port. @return Host Communication Port */ @@ -573,7 +573,7 @@ return (String)get_ValueE("ProxyPassword"); @param ProxyPort Port of your proxy server */ public void setProxyPort (int ProxyPort) { -set_Value ("ProxyPort", new Integer(ProxyPort)); +set_Value ("ProxyPort", Integer.valueOf(ProxyPort)); } /** Get Proxy port. @return Port of your proxy server */ @@ -587,7 +587,7 @@ return ii.intValue(); @param RequireVV Require 3/4 digit Credit Verification Code */ public void setRequireVV (boolean RequireVV) { -set_Value ("RequireVV", new Boolean(RequireVV)); +set_Value ("RequireVV", Boolean.valueOf(RequireVV)); } /** Get Require CreditCard Verification Code. @return Require 3/4 digit Credit Verification Code */ diff --git a/dbPort/src/org/compiere/model/X_C_PaymentTerm.java b/dbPort/src/org/compiere/model/X_C_PaymentTerm.java index 184f5f1426..c05f260838 100644 --- a/dbPort/src/org/compiere/model/X_C_PaymentTerm.java +++ b/dbPort/src/org/compiere/model/X_C_PaymentTerm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PaymentTerm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PaymentTerm extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_PaymentTerm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=113 */ -public static final int Table_ID=113; +public static final int Table_ID=MTable.getTable_ID("C_PaymentTerm"); /** TableName=C_PaymentTerm */ public static final String Table_Name="C_PaymentTerm"; -protected static KeyNamePair Model = new KeyNamePair(113,"C_PaymentTerm"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PaymentTerm"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -100,7 +100,7 @@ return sb.toString(); @param AfterDelivery Due after delivery rather than after invoicing */ public void setAfterDelivery (boolean AfterDelivery) { -set_Value ("AfterDelivery", new Boolean(AfterDelivery)); +set_Value ("AfterDelivery", Boolean.valueOf(AfterDelivery)); } /** Get After Delivery. @return Due after delivery rather than after invoicing */ @@ -119,7 +119,7 @@ return false; public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID < 1) throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); -set_ValueNoCheck ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_ValueNoCheck ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -180,7 +180,7 @@ return bd; @param DiscountDays Number of days from invoice date to be eligible for discount */ public void setDiscountDays (int DiscountDays) { -set_Value ("DiscountDays", new Integer(DiscountDays)); +set_Value ("DiscountDays", Integer.valueOf(DiscountDays)); } /** Get Discount Days. @return Number of days from invoice date to be eligible for discount */ @@ -194,7 +194,7 @@ return ii.intValue(); @param DiscountDays2 Number of days from invoice date to be eligible for discount */ public void setDiscountDays2 (int DiscountDays2) { -set_Value ("DiscountDays2", new Integer(DiscountDays2)); +set_Value ("DiscountDays2", Integer.valueOf(DiscountDays2)); } /** Get Discount Days 2. @return Number of days from invoice date to be eligible for discount */ @@ -225,7 +225,7 @@ return (String)get_Value("DocumentNote"); @param FixMonthCutoff Last day to include for next due date */ public void setFixMonthCutoff (int FixMonthCutoff) { -set_Value ("FixMonthCutoff", new Integer(FixMonthCutoff)); +set_Value ("FixMonthCutoff", Integer.valueOf(FixMonthCutoff)); } /** Get Fix month cutoff. @return Last day to include for next due date */ @@ -239,7 +239,7 @@ return ii.intValue(); @param FixMonthDay Day of the month of the due date */ public void setFixMonthDay (int FixMonthDay) { -set_Value ("FixMonthDay", new Integer(FixMonthDay)); +set_Value ("FixMonthDay", Integer.valueOf(FixMonthDay)); } /** Get Fix month day. @return Day of the month of the due date */ @@ -253,7 +253,7 @@ return ii.intValue(); @param FixMonthOffset Number of months (0=same, 1=following) */ public void setFixMonthOffset (int FixMonthOffset) { -set_Value ("FixMonthOffset", new Integer(FixMonthOffset)); +set_Value ("FixMonthOffset", Integer.valueOf(FixMonthOffset)); } /** Get Fix month offset. @return Number of months (0=same, 1=following) */ @@ -267,7 +267,7 @@ return ii.intValue(); @param GraceDays Days after due date to send first dunning letter */ public void setGraceDays (int GraceDays) { -set_Value ("GraceDays", new Integer(GraceDays)); +set_Value ("GraceDays", Integer.valueOf(GraceDays)); } /** Get Grace Days. @return Days after due date to send first dunning letter */ @@ -281,7 +281,7 @@ return ii.intValue(); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -299,7 +299,7 @@ return false; @param IsDueFixed Payment is due on a fixed date */ public void setIsDueFixed (boolean IsDueFixed) { -set_Value ("IsDueFixed", new Boolean(IsDueFixed)); +set_Value ("IsDueFixed", Boolean.valueOf(IsDueFixed)); } /** Get Fixed due date. @return Payment is due on a fixed date */ @@ -317,7 +317,7 @@ return false; @param IsNextBusinessDay Payment due on the next business day */ public void setIsNextBusinessDay (boolean IsNextBusinessDay) { -set_Value ("IsNextBusinessDay", new Boolean(IsNextBusinessDay)); +set_Value ("IsNextBusinessDay", Boolean.valueOf(IsNextBusinessDay)); } /** Get Next Business Day. @return Payment due on the next business day */ @@ -335,7 +335,7 @@ return false; @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -413,7 +413,7 @@ return (String)get_Value("NetDay"); @param NetDays Net Days in which payment is due */ public void setNetDays (int NetDays) { -set_Value ("NetDays", new Integer(NetDays)); +set_Value ("NetDays", Integer.valueOf(NetDays)); } /** Get Net Days. @return Net Days in which payment is due */ @@ -427,7 +427,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_Period.java b/dbPort/src/org/compiere/model/X_C_Period.java index 38840fcd11..d92974ecf6 100644 --- a/dbPort/src/org/compiere/model/X_C_Period.java +++ b/dbPort/src/org/compiere/model/X_C_Period.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Period * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Period extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_Period (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=145 */ -public static final int Table_ID=145; +public static final int Table_ID=MTable.getTable_ID("C_Period"); /** TableName=C_Period */ public static final String Table_Name="C_Period"; -protected static KeyNamePair Model = new KeyNamePair(145,"C_Period"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Period"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID < 1) throw new IllegalArgumentException ("C_Period_ID is mandatory."); -set_ValueNoCheck ("C_Period_ID", new Integer(C_Period_ID)); +set_ValueNoCheck ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setC_Year_ID (int C_Year_ID) { if (C_Year_ID < 1) throw new IllegalArgumentException ("C_Year_ID is mandatory."); -set_ValueNoCheck ("C_Year_ID", new Integer(C_Year_ID)); +set_ValueNoCheck ("C_Year_ID", Integer.valueOf(C_Year_ID)); } /** Get Year. @return Calendar Year */ @@ -160,7 +160,7 @@ return new KeyNamePair(get_ID(), getName()); @param PeriodNo Unique Period Number */ public void setPeriodNo (int PeriodNo) { -set_Value ("PeriodNo", new Integer(PeriodNo)); +set_Value ("PeriodNo", Integer.valueOf(PeriodNo)); } /** Get Period No. @return Unique Period Number */ @@ -201,7 +201,7 @@ return (String)get_Value("PeriodType"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_PeriodControl.java b/dbPort/src/org/compiere/model/X_C_PeriodControl.java index 9f15704894..d94fae2a83 100644 --- a/dbPort/src/org/compiere/model/X_C_PeriodControl.java +++ b/dbPort/src/org/compiere/model/X_C_PeriodControl.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_PeriodControl * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_PeriodControl extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_PeriodControl (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=229 */ -public static final int Table_ID=229; +public static final int Table_ID=MTable.getTable_ID("C_PeriodControl"); /** TableName=C_PeriodControl */ public static final String Table_Name="C_PeriodControl"; -protected static KeyNamePair Model = new KeyNamePair(229,"C_PeriodControl"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_PeriodControl"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_PeriodControl_ID (int C_PeriodControl_ID) { if (C_PeriodControl_ID < 1) throw new IllegalArgumentException ("C_PeriodControl_ID is mandatory."); -set_ValueNoCheck ("C_PeriodControl_ID", new Integer(C_PeriodControl_ID)); +set_ValueNoCheck ("C_PeriodControl_ID", Integer.valueOf(C_PeriodControl_ID)); } /** Get Period Control. @return Period Control */ @@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_PeriodControl_ID())); public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID < 1) throw new IllegalArgumentException ("C_Period_ID is mandatory."); -set_ValueNoCheck ("C_Period_ID", new Integer(C_Period_ID)); +set_ValueNoCheck ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -258,7 +258,7 @@ return (String)get_Value("PeriodStatus"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_Phase.java b/dbPort/src/org/compiere/model/X_C_Phase.java index b2d3bd40cb..39dce0865a 100644 --- a/dbPort/src/org/compiere/model/X_C_Phase.java +++ b/dbPort/src/org/compiere/model/X_C_Phase.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Phase * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Phase extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_Phase (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=577 */ -public static final int Table_ID=577; +public static final int Table_ID=MTable.getTable_ID("C_Phase"); /** TableName=C_Phase */ public static final String Table_Name="C_Phase"; -protected static KeyNamePair Model = new KeyNamePair(577,"C_Phase"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Phase"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Phase_ID (int C_Phase_ID) { if (C_Phase_ID < 1) throw new IllegalArgumentException ("C_Phase_ID is mandatory."); -set_ValueNoCheck ("C_Phase_ID", new Integer(C_Phase_ID)); +set_ValueNoCheck ("C_Phase_ID", Integer.valueOf(C_Phase_ID)); } /** Get Standard Phase. @return Standard Phase of the Project Type */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_ProjectType_ID (int C_ProjectType_ID) { if (C_ProjectType_ID < 1) throw new IllegalArgumentException ("C_ProjectType_ID is mandatory."); -set_ValueNoCheck ("C_ProjectType_ID", new Integer(C_ProjectType_ID)); +set_ValueNoCheck ("C_ProjectType_ID", Integer.valueOf(C_ProjectType_ID)); } /** Get Project Type. @return Type of the project */ @@ -159,7 +159,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -198,7 +198,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_Project.java b/dbPort/src/org/compiere/model/X_C_Project.java index ceb2521d7a..f8599fc88f 100644 --- a/dbPort/src/org/compiere/model/X_C_Project.java +++ b/dbPort/src/org/compiere/model/X_C_Project.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Project * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Project extends PO { /** Standard Constructor @@ -70,12 +70,12 @@ public X_C_Project (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=203 */ -public static final int Table_ID=203; +public static final int Table_ID=MTable.getTable_ID("C_Project"); /** TableName=C_Project */ public static final String Table_Name="C_Project"; -protected static KeyNamePair Model = new KeyNamePair(203,"C_Project"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Project"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -108,7 +108,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -127,7 +127,7 @@ public void setC_BPartnerSR_ID (int C_BPartnerSR_ID) { if (C_BPartnerSR_ID <= 0) set_Value ("C_BPartnerSR_ID", null); else -set_Value ("C_BPartnerSR_ID", new Integer(C_BPartnerSR_ID)); +set_Value ("C_BPartnerSR_ID", Integer.valueOf(C_BPartnerSR_ID)); } /** Get BPartner (Agent). @return Business Partner (Agent or Sales Rep) */ @@ -143,7 +143,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -159,7 +159,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -175,7 +175,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -190,7 +190,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -206,7 +206,7 @@ public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID <= 0) set_Value ("C_PaymentTerm_ID", null); else -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -222,7 +222,7 @@ public void setC_Phase_ID (int C_Phase_ID) { if (C_Phase_ID <= 0) set_Value ("C_Phase_ID", null); else -set_Value ("C_Phase_ID", new Integer(C_Phase_ID)); +set_Value ("C_Phase_ID", Integer.valueOf(C_Phase_ID)); } /** Get Standard Phase. @return Standard Phase of the Project Type */ @@ -254,7 +254,7 @@ return (String)get_Value("C_ProjectType_ID"); public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID < 1) throw new IllegalArgumentException ("C_Project_ID is mandatory."); -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -403,7 +403,7 @@ return bd; @param IsCommitCeiling The commitment amount/quantity is the chargeable ceiling */ public void setIsCommitCeiling (boolean IsCommitCeiling) { -set_Value ("IsCommitCeiling", new Boolean(IsCommitCeiling)); +set_Value ("IsCommitCeiling", Boolean.valueOf(IsCommitCeiling)); } /** Get Commitment is Ceiling. @return The commitment amount/quantity is the chargeable ceiling */ @@ -421,7 +421,7 @@ return false; @param IsCommitment Is this document a (legal) commitment? */ public void setIsCommitment (boolean IsCommitment) { -set_Value ("IsCommitment", new Boolean(IsCommitment)); +set_Value ("IsCommitment", Boolean.valueOf(IsCommitment)); } /** Get Commitment. @return Is this document a (legal) commitment? */ @@ -439,7 +439,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -459,7 +459,7 @@ public void setM_PriceList_Version_ID (int M_PriceList_Version_ID) { if (M_PriceList_Version_ID <= 0) set_Value ("M_PriceList_Version_ID", null); else -set_Value ("M_PriceList_Version_ID", new Integer(M_PriceList_Version_ID)); +set_Value ("M_PriceList_Version_ID", Integer.valueOf(M_PriceList_Version_ID)); } /** Get Price List Version. @return Identifies a unique instance of a Price List */ @@ -475,7 +475,7 @@ public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID <= 0) set_Value ("M_Warehouse_ID", null); else -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -586,7 +586,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -604,7 +604,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -734,7 +734,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_C_ProjectIssue.java b/dbPort/src/org/compiere/model/X_C_ProjectIssue.java index 8cfbbdb71c..05ec0b527c 100644 --- a/dbPort/src/org/compiere/model/X_C_ProjectIssue.java +++ b/dbPort/src/org/compiere/model/X_C_ProjectIssue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ProjectIssue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ProjectIssue extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_C_ProjectIssue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=623 */ -public static final int Table_ID=623; +public static final int Table_ID=MTable.getTable_ID("C_ProjectIssue"); /** TableName=C_ProjectIssue */ public static final String Table_Name="C_ProjectIssue"; -protected static KeyNamePair Model = new KeyNamePair(623,"C_ProjectIssue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ProjectIssue"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ return sb.toString(); public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) { if (C_ProjectIssue_ID < 1) throw new IllegalArgumentException ("C_ProjectIssue_ID is mandatory."); -set_ValueNoCheck ("C_ProjectIssue_ID", new Integer(C_ProjectIssue_ID)); +set_ValueNoCheck ("C_ProjectIssue_ID", Integer.valueOf(C_ProjectIssue_ID)); } /** Get Project Issue. @return Project Issues (Material, Labor) */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID < 1) throw new IllegalArgumentException ("C_Project_ID is mandatory."); -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -151,7 +151,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -166,7 +166,7 @@ return ii.intValue(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -182,7 +182,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_Value ("M_InOutLine_ID", null); else -set_Value ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_Value ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -197,7 +197,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -212,7 +212,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -254,7 +254,7 @@ return bd; @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -272,7 +272,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -290,7 +290,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -310,7 +310,7 @@ public void setS_TimeExpenseLine_ID (int S_TimeExpenseLine_ID) { if (S_TimeExpenseLine_ID <= 0) set_Value ("S_TimeExpenseLine_ID", null); else -set_Value ("S_TimeExpenseLine_ID", new Integer(S_TimeExpenseLine_ID)); +set_Value ("S_TimeExpenseLine_ID", Integer.valueOf(S_TimeExpenseLine_ID)); } /** Get Expense Line. @return Time and Expense Report Line */ diff --git a/dbPort/src/org/compiere/model/X_C_ProjectIssueMA.java b/dbPort/src/org/compiere/model/X_C_ProjectIssueMA.java index 5d75bb623d..a845633bc8 100644 --- a/dbPort/src/org/compiere/model/X_C_ProjectIssueMA.java +++ b/dbPort/src/org/compiere/model/X_C_ProjectIssueMA.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ProjectIssueMA * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ProjectIssueMA extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_ProjectIssueMA (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=761 */ -public static final int Table_ID=761; +public static final int Table_ID=MTable.getTable_ID("C_ProjectIssueMA"); /** TableName=C_ProjectIssueMA */ public static final String Table_Name="C_ProjectIssueMA"; -protected static KeyNamePair Model = new KeyNamePair(761,"C_ProjectIssueMA"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ProjectIssueMA"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) { if (C_ProjectIssue_ID < 1) throw new IllegalArgumentException ("C_ProjectIssue_ID is mandatory."); -set_ValueNoCheck ("C_ProjectIssue_ID", new Integer(C_ProjectIssue_ID)); +set_ValueNoCheck ("C_ProjectIssue_ID", Integer.valueOf(C_ProjectIssue_ID)); } /** Get Project Issue. @return Project Issues (Material, Labor) */ @@ -113,7 +113,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_ProjectIssue_ID())); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ diff --git a/dbPort/src/org/compiere/model/X_C_ProjectLine.java b/dbPort/src/org/compiere/model/X_C_ProjectLine.java index e7f00dae78..a929463ba6 100644 --- a/dbPort/src/org/compiere/model/X_C_ProjectLine.java +++ b/dbPort/src/org/compiere/model/X_C_ProjectLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ProjectLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ProjectLine extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_C_ProjectLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=434 */ -public static final int Table_ID=434; +public static final int Table_ID=MTable.getTable_ID("C_ProjectLine"); /** TableName=C_ProjectLine */ public static final String Table_Name="C_ProjectLine"; -protected static KeyNamePair Model = new KeyNamePair(434,"C_ProjectLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ProjectLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -104,7 +104,7 @@ public void setC_OrderPO_ID (int C_OrderPO_ID) { if (C_OrderPO_ID <= 0) set_ValueNoCheck ("C_OrderPO_ID", null); else -set_ValueNoCheck ("C_OrderPO_ID", new Integer(C_OrderPO_ID)); +set_ValueNoCheck ("C_OrderPO_ID", Integer.valueOf(C_OrderPO_ID)); } /** Get Purchase Order. @return Purchase Order */ @@ -120,7 +120,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -136,7 +136,7 @@ public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) { if (C_ProjectIssue_ID <= 0) set_ValueNoCheck ("C_ProjectIssue_ID", null); else -set_ValueNoCheck ("C_ProjectIssue_ID", new Integer(C_ProjectIssue_ID)); +set_ValueNoCheck ("C_ProjectIssue_ID", Integer.valueOf(C_ProjectIssue_ID)); } /** Get Project Issue. @return Project Issues (Material, Labor) */ @@ -151,7 +151,7 @@ return ii.intValue(); public void setC_ProjectLine_ID (int C_ProjectLine_ID) { if (C_ProjectLine_ID < 1) throw new IllegalArgumentException ("C_ProjectLine_ID is mandatory."); -set_ValueNoCheck ("C_ProjectLine_ID", new Integer(C_ProjectLine_ID)); +set_ValueNoCheck ("C_ProjectLine_ID", Integer.valueOf(C_ProjectLine_ID)); } /** Get Project Line. @return Task or step in a project */ @@ -167,7 +167,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_Value ("C_ProjectPhase_ID", null); else -set_Value ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_Value ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -183,7 +183,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_Value ("C_ProjectTask_ID", null); else -set_Value ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_Value ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -198,7 +198,7 @@ return ii.intValue(); public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID < 1) throw new IllegalArgumentException ("C_Project_ID is mandatory."); -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -304,7 +304,7 @@ return bd; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -322,7 +322,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -344,7 +344,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -360,7 +360,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -434,7 +434,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_ProjectPhase.java b/dbPort/src/org/compiere/model/X_C_ProjectPhase.java index 06cdb7dcec..37d62882e9 100644 --- a/dbPort/src/org/compiere/model/X_C_ProjectPhase.java +++ b/dbPort/src/org/compiere/model/X_C_ProjectPhase.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ProjectPhase * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ProjectPhase extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_ProjectPhase (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=576 */ -public static final int Table_ID=576; +public static final int Table_ID=MTable.getTable_ID("C_ProjectPhase"); /** TableName=C_ProjectPhase */ public static final String Table_Name="C_ProjectPhase"; -protected static KeyNamePair Model = new KeyNamePair(576,"C_ProjectPhase"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ProjectPhase"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -115,7 +115,7 @@ public void setC_Phase_ID (int C_Phase_ID) { if (C_Phase_ID <= 0) set_ValueNoCheck ("C_Phase_ID", null); else -set_ValueNoCheck ("C_Phase_ID", new Integer(C_Phase_ID)); +set_ValueNoCheck ("C_Phase_ID", Integer.valueOf(C_Phase_ID)); } /** Get Standard Phase. @return Standard Phase of the Project Type */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID < 1) throw new IllegalArgumentException ("C_ProjectPhase_ID is mandatory."); -set_ValueNoCheck ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_ValueNoCheck ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -145,7 +145,7 @@ return ii.intValue(); public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID < 1) throw new IllegalArgumentException ("C_Project_ID is mandatory."); -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -237,7 +237,7 @@ return (String)get_Value("Help"); @param IsCommitCeiling The commitment amount/quantity is the chargeable ceiling */ public void setIsCommitCeiling (boolean IsCommitCeiling) { -set_Value ("IsCommitCeiling", new Boolean(IsCommitCeiling)); +set_Value ("IsCommitCeiling", Boolean.valueOf(IsCommitCeiling)); } /** Get Commitment is Ceiling. @return The commitment amount/quantity is the chargeable ceiling */ @@ -255,7 +255,7 @@ return false; @param IsComplete It is complete */ public void setIsComplete (boolean IsComplete) { -set_Value ("IsComplete", new Boolean(IsComplete)); +set_Value ("IsComplete", Boolean.valueOf(IsComplete)); } /** Get Complete. @return It is complete */ @@ -275,7 +275,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -384,7 +384,7 @@ return bd; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_ProjectTask.java b/dbPort/src/org/compiere/model/X_C_ProjectTask.java index fb7cc012f6..3fc797a645 100644 --- a/dbPort/src/org/compiere/model/X_C_ProjectTask.java +++ b/dbPort/src/org/compiere/model/X_C_ProjectTask.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ProjectTask * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ProjectTask extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_ProjectTask (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=584 */ -public static final int Table_ID=584; +public static final int Table_ID=MTable.getTable_ID("C_ProjectTask"); /** TableName=C_ProjectTask */ public static final String Table_Name="C_ProjectTask"; -protected static KeyNamePair Model = new KeyNamePair(584,"C_ProjectTask"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ProjectTask"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID < 1) throw new IllegalArgumentException ("C_ProjectPhase_ID is mandatory."); -set_ValueNoCheck ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_ValueNoCheck ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID < 1) throw new IllegalArgumentException ("C_ProjectTask_ID is mandatory."); -set_ValueNoCheck ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_ValueNoCheck ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -127,7 +127,7 @@ public void setC_Task_ID (int C_Task_ID) { if (C_Task_ID <= 0) set_ValueNoCheck ("C_Task_ID", null); else -set_ValueNoCheck ("C_Task_ID", new Integer(C_Task_ID)); +set_ValueNoCheck ("C_Task_ID", Integer.valueOf(C_Task_ID)); } /** Get Standard Task. @return Standard Project Type Task */ @@ -192,7 +192,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -287,7 +287,7 @@ return bd; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_ProjectType.java b/dbPort/src/org/compiere/model/X_C_ProjectType.java index eddda32c8f..4d51a77dfe 100644 --- a/dbPort/src/org/compiere/model/X_C_ProjectType.java +++ b/dbPort/src/org/compiere/model/X_C_ProjectType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ProjectType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ProjectType extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_ProjectType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=575 */ -public static final int Table_ID=575; +public static final int Table_ID=MTable.getTable_ID("C_ProjectType"); /** TableName=C_ProjectType */ public static final String Table_Name="C_ProjectType"; -protected static KeyNamePair Model = new KeyNamePair(575,"C_ProjectType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ProjectType"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_ProjectType_ID (int C_ProjectType_ID) { if (C_ProjectType_ID < 1) throw new IllegalArgumentException ("C_ProjectType_ID is mandatory."); -set_ValueNoCheck ("C_ProjectType_ID", new Integer(C_ProjectType_ID)); +set_ValueNoCheck ("C_ProjectType_ID", Integer.valueOf(C_ProjectType_ID)); } /** Get Project Type. @return Type of the project */ diff --git a/dbPort/src/org/compiere/model/X_C_Project_Acct.java b/dbPort/src/org/compiere/model/X_C_Project_Acct.java index 1211b5f70b..56ef564a3b 100644 --- a/dbPort/src/org/compiere/model/X_C_Project_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_Project_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Project_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Project_Acct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_Project_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=204 */ -public static final int Table_ID=204; +public static final int Table_ID=MTable.getTable_ID("C_Project_Acct"); /** TableName=C_Project_Acct */ public static final String Table_Name="C_Project_Acct"; -protected static KeyNamePair Model = new KeyNamePair(204,"C_Project_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Project_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID < 1) throw new IllegalArgumentException ("C_Project_ID is mandatory."); -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -122,7 +122,7 @@ return ii.intValue(); @param PJ_Asset_Acct Project Asset Account */ public void setPJ_Asset_Acct (int PJ_Asset_Acct) { -set_Value ("PJ_Asset_Acct", new Integer(PJ_Asset_Acct)); +set_Value ("PJ_Asset_Acct", Integer.valueOf(PJ_Asset_Acct)); } /** Get Project Asset. @return Project Asset Account */ @@ -136,7 +136,7 @@ return ii.intValue(); @param PJ_WIP_Acct Account for Work in Progress */ public void setPJ_WIP_Acct (int PJ_WIP_Acct) { -set_Value ("PJ_WIP_Acct", new Integer(PJ_WIP_Acct)); +set_Value ("PJ_WIP_Acct", Integer.valueOf(PJ_WIP_Acct)); } /** Get Work In Progress. @return Account for Work in Progress */ diff --git a/dbPort/src/org/compiere/model/X_C_Recurring.java b/dbPort/src/org/compiere/model/X_C_Recurring.java index 324d1676dd..03e57fbdc6 100644 --- a/dbPort/src/org/compiere/model/X_C_Recurring.java +++ b/dbPort/src/org/compiere/model/X_C_Recurring.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Recurring * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Recurring extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_Recurring (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=574 */ -public static final int Table_ID=574; +public static final int Table_ID=MTable.getTable_ID("C_Recurring"); /** TableName=C_Recurring */ public static final String Table_Name="C_Recurring"; -protected static KeyNamePair Model = new KeyNamePair(574,"C_Recurring"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Recurring"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -113,7 +113,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -129,7 +129,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -145,7 +145,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -160,7 +160,7 @@ return ii.intValue(); public void setC_Recurring_ID (int C_Recurring_ID) { if (C_Recurring_ID < 1) throw new IllegalArgumentException ("C_Recurring_ID is mandatory."); -set_ValueNoCheck ("C_Recurring_ID", new Integer(C_Recurring_ID)); +set_ValueNoCheck ("C_Recurring_ID", Integer.valueOf(C_Recurring_ID)); } /** Get Recurring. @return Recurring Document */ @@ -216,7 +216,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ @@ -263,7 +263,7 @@ public void setGL_JournalBatch_ID (int GL_JournalBatch_ID) { if (GL_JournalBatch_ID <= 0) set_Value ("GL_JournalBatch_ID", null); else -set_Value ("GL_JournalBatch_ID", new Integer(GL_JournalBatch_ID)); +set_Value ("GL_JournalBatch_ID", Integer.valueOf(GL_JournalBatch_ID)); } /** Get Journal Batch. @return General Ledger Journal Batch */ @@ -318,7 +318,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -367,7 +367,7 @@ return (String)get_Value("RecurringType"); @param RunsMax Number of recurring runs */ public void setRunsMax (int RunsMax) { -set_Value ("RunsMax", new Integer(RunsMax)); +set_Value ("RunsMax", Integer.valueOf(RunsMax)); } /** Get Maximum Runs. @return Number of recurring runs */ @@ -381,7 +381,7 @@ return ii.intValue(); @param RunsRemaining Number of recurring runs remaining */ public void setRunsRemaining (int RunsRemaining) { -set_ValueNoCheck ("RunsRemaining", new Integer(RunsRemaining)); +set_ValueNoCheck ("RunsRemaining", Integer.valueOf(RunsRemaining)); } /** Get Remaining Runs. @return Number of recurring runs remaining */ diff --git a/dbPort/src/org/compiere/model/X_C_Recurring_Run.java b/dbPort/src/org/compiere/model/X_C_Recurring_Run.java index 4b834cd1b6..b4077d0b27 100644 --- a/dbPort/src/org/compiere/model/X_C_Recurring_Run.java +++ b/dbPort/src/org/compiere/model/X_C_Recurring_Run.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Recurring_Run * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Recurring_Run extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_Recurring_Run (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=573 */ -public static final int Table_ID=573; +public static final int Table_ID=MTable.getTable_ID("C_Recurring_Run"); /** TableName=C_Recurring_Run */ public static final String Table_Name="C_Recurring_Run"; -protected static KeyNamePair Model = new KeyNamePair(573,"C_Recurring_Run"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Recurring_Run"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -108,7 +108,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -124,7 +124,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_ValueNoCheck ("C_Payment_ID", null); else -set_ValueNoCheck ("C_Payment_ID", new Integer(C_Payment_ID)); +set_ValueNoCheck ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -140,7 +140,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_ValueNoCheck ("C_Project_ID", null); else -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -155,7 +155,7 @@ return ii.intValue(); public void setC_Recurring_ID (int C_Recurring_ID) { if (C_Recurring_ID < 1) throw new IllegalArgumentException ("C_Recurring_ID is mandatory."); -set_ValueNoCheck ("C_Recurring_ID", new Integer(C_Recurring_ID)); +set_ValueNoCheck ("C_Recurring_ID", Integer.valueOf(C_Recurring_ID)); } /** Get Recurring. @return Recurring Document */ @@ -170,7 +170,7 @@ return ii.intValue(); public void setC_Recurring_Run_ID (int C_Recurring_Run_ID) { if (C_Recurring_Run_ID < 1) throw new IllegalArgumentException ("C_Recurring_Run_ID is mandatory."); -set_ValueNoCheck ("C_Recurring_Run_ID", new Integer(C_Recurring_Run_ID)); +set_ValueNoCheck ("C_Recurring_Run_ID", Integer.valueOf(C_Recurring_Run_ID)); } /** Get Recurring Run. @return Recurring Document Run */ @@ -198,7 +198,7 @@ public void setGL_JournalBatch_ID (int GL_JournalBatch_ID) { if (GL_JournalBatch_ID <= 0) set_ValueNoCheck ("GL_JournalBatch_ID", null); else -set_ValueNoCheck ("GL_JournalBatch_ID", new Integer(GL_JournalBatch_ID)); +set_ValueNoCheck ("GL_JournalBatch_ID", Integer.valueOf(GL_JournalBatch_ID)); } /** Get Journal Batch. @return General Ledger Journal Batch */ diff --git a/dbPort/src/org/compiere/model/X_C_Region.java b/dbPort/src/org/compiere/model/X_C_Region.java index d32419ac64..c7d29bc190 100644 --- a/dbPort/src/org/compiere/model/X_C_Region.java +++ b/dbPort/src/org/compiere/model/X_C_Region.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Region * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Region extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_Region (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=164 */ -public static final int Table_ID=164; +public static final int Table_ID=MTable.getTable_ID("C_Region"); /** TableName=C_Region */ public static final String Table_Name="C_Region"; -protected static KeyNamePair Model = new KeyNamePair(164,"C_Region"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Region"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID < 1) throw new IllegalArgumentException ("C_Country_ID is mandatory."); -set_ValueNoCheck ("C_Country_ID", new Integer(C_Country_ID)); +set_ValueNoCheck ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID < 1) throw new IllegalArgumentException ("C_Region_ID is mandatory."); -set_ValueNoCheck ("C_Region_ID", new Integer(C_Region_ID)); +set_ValueNoCheck ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -138,7 +138,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_C_Remuneration.java b/dbPort/src/org/compiere/model/X_C_Remuneration.java index dc48ec9d5a..013adff203 100644 --- a/dbPort/src/org/compiere/model/X_C_Remuneration.java +++ b/dbPort/src/org/compiere/model/X_C_Remuneration.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Remuneration * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Remuneration extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_Remuneration (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=792 */ -public static final int Table_ID=792; +public static final int Table_ID=MTable.getTable_ID("C_Remuneration"); /** TableName=C_Remuneration */ public static final String Table_Name="C_Remuneration"; -protected static KeyNamePair Model = new KeyNamePair(792,"C_Remuneration"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Remuneration"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_Remuneration_ID (int C_Remuneration_ID) { if (C_Remuneration_ID < 1) throw new IllegalArgumentException ("C_Remuneration_ID is mandatory."); -set_ValueNoCheck ("C_Remuneration_ID", new Integer(C_Remuneration_ID)); +set_ValueNoCheck ("C_Remuneration_ID", Integer.valueOf(C_Remuneration_ID)); } /** Get Remuneration. @return Wage or Salary */ @@ -264,7 +264,7 @@ return (String)get_Value("RemunerationType"); @param StandardHours Standard Work Hours based on Remuneration Type */ public void setStandardHours (int StandardHours) { -set_Value ("StandardHours", new Integer(StandardHours)); +set_Value ("StandardHours", Integer.valueOf(StandardHours)); } /** Get Standard Hours. @return Standard Work Hours based on Remuneration Type */ diff --git a/dbPort/src/org/compiere/model/X_C_RevenueRecognition.java b/dbPort/src/org/compiere/model/X_C_RevenueRecognition.java index f40540860b..75b93ead7b 100644 --- a/dbPort/src/org/compiere/model/X_C_RevenueRecognition.java +++ b/dbPort/src/org/compiere/model/X_C_RevenueRecognition.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RevenueRecognition * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RevenueRecognition extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_RevenueRecognition (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=336 */ -public static final int Table_ID=336; +public static final int Table_ID=MTable.getTable_ID("C_RevenueRecognition"); /** TableName=C_RevenueRecognition */ public static final String Table_Name="C_RevenueRecognition"; -protected static KeyNamePair Model = new KeyNamePair(336,"C_RevenueRecognition"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RevenueRecognition"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_RevenueRecognition_ID (int C_RevenueRecognition_ID) { if (C_RevenueRecognition_ID < 1) throw new IllegalArgumentException ("C_RevenueRecognition_ID is mandatory."); -set_ValueNoCheck ("C_RevenueRecognition_ID", new Integer(C_RevenueRecognition_ID)); +set_ValueNoCheck ("C_RevenueRecognition_ID", Integer.valueOf(C_RevenueRecognition_ID)); } /** Get Revenue Recognition. @return Method for recording revenue */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); @param IsTimeBased Time based Revenue Recognition rather than Service Level based */ public void setIsTimeBased (boolean IsTimeBased) { -set_Value ("IsTimeBased", new Boolean(IsTimeBased)); +set_Value ("IsTimeBased", Boolean.valueOf(IsTimeBased)); } /** Get Time based. @return Time based Revenue Recognition rather than Service Level based */ @@ -166,7 +166,7 @@ return new KeyNamePair(get_ID(), getName()); @param NoMonths Number of Months */ public void setNoMonths (int NoMonths) { -set_Value ("NoMonths", new Integer(NoMonths)); +set_Value ("NoMonths", Integer.valueOf(NoMonths)); } /** Get Number of Months. @return Number of Months */ diff --git a/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Plan.java b/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Plan.java index 5225490f40..19386909cd 100644 --- a/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Plan.java +++ b/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Plan.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RevenueRecognition_Plan * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RevenueRecognition_Plan extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_RevenueRecognition_Plan (Properties ctx, ResultSet rs, String trxName super (ctx, rs, trxName); } /** AD_Table_ID=443 */ -public static final int Table_ID=443; +public static final int Table_ID=MTable.getTable_ID("C_RevenueRecognition_Plan"); /** TableName=C_RevenueRecognition_Plan */ public static final String Table_Name="C_RevenueRecognition_Plan"; -protected static KeyNamePair Model = new KeyNamePair(443,"C_RevenueRecognition_Plan"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RevenueRecognition_Plan"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID < 1) throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -143,7 +143,7 @@ return ii.intValue(); public void setC_RevenueRecognition_ID (int C_RevenueRecognition_ID) { if (C_RevenueRecognition_ID < 1) throw new IllegalArgumentException ("C_RevenueRecognition_ID is mandatory."); -set_ValueNoCheck ("C_RevenueRecognition_ID", new Integer(C_RevenueRecognition_ID)); +set_ValueNoCheck ("C_RevenueRecognition_ID", Integer.valueOf(C_RevenueRecognition_ID)); } /** Get Revenue Recognition. @return Method for recording revenue */ @@ -164,7 +164,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_RevenueRecognition_ID())); public void setC_RevenueRecognition_Plan_ID (int C_RevenueRecognition_Plan_ID) { if (C_RevenueRecognition_Plan_ID < 1) throw new IllegalArgumentException ("C_RevenueRecognition_Plan_ID is mandatory."); -set_ValueNoCheck ("C_RevenueRecognition_Plan_ID", new Integer(C_RevenueRecognition_Plan_ID)); +set_ValueNoCheck ("C_RevenueRecognition_Plan_ID", Integer.valueOf(C_RevenueRecognition_Plan_ID)); } /** Get Revenue Recognition Plan. @return Plan for recognizing or recording revenue */ @@ -178,7 +178,7 @@ return ii.intValue(); @param P_Revenue_Acct Account for Product Revenue (Sales Account) */ public void setP_Revenue_Acct (int P_Revenue_Acct) { -set_ValueNoCheck ("P_Revenue_Acct", new Integer(P_Revenue_Acct)); +set_ValueNoCheck ("P_Revenue_Acct", Integer.valueOf(P_Revenue_Acct)); } /** Get Product Revenue. @return Account for Product Revenue (Sales Account) */ @@ -222,7 +222,7 @@ return bd; @param UnEarnedRevenue_Acct Account for unearned revenue */ public void setUnEarnedRevenue_Acct (int UnEarnedRevenue_Acct) { -set_ValueNoCheck ("UnEarnedRevenue_Acct", new Integer(UnEarnedRevenue_Acct)); +set_ValueNoCheck ("UnEarnedRevenue_Acct", Integer.valueOf(UnEarnedRevenue_Acct)); } /** Get Unearned Revenue. @return Account for unearned revenue */ diff --git a/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Run.java b/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Run.java index 5db34ce9e9..3ace8a441b 100644 --- a/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Run.java +++ b/dbPort/src/org/compiere/model/X_C_RevenueRecognition_Run.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RevenueRecognition_Run * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RevenueRecognition_Run extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_RevenueRecognition_Run (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=444 */ -public static final int Table_ID=444; +public static final int Table_ID=MTable.getTable_ID("C_RevenueRecognition_Run"); /** TableName=C_RevenueRecognition_Run */ public static final String Table_Name="C_RevenueRecognition_Run"; -protected static KeyNamePair Model = new KeyNamePair(444,"C_RevenueRecognition_Run"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RevenueRecognition_Run"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_RevenueRecognition_Plan_ID (int C_RevenueRecognition_Plan_ID) { if (C_RevenueRecognition_Plan_ID < 1) throw new IllegalArgumentException ("C_RevenueRecognition_Plan_ID is mandatory."); -set_ValueNoCheck ("C_RevenueRecognition_Plan_ID", new Integer(C_RevenueRecognition_Plan_ID)); +set_ValueNoCheck ("C_RevenueRecognition_Plan_ID", Integer.valueOf(C_RevenueRecognition_Plan_ID)); } /** Get Revenue Recognition Plan. @return Plan for recognizing or recording revenue */ @@ -114,7 +114,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_RevenueRecognition_Plan_ID( public void setC_RevenueRecognition_Run_ID (int C_RevenueRecognition_Run_ID) { if (C_RevenueRecognition_Run_ID < 1) throw new IllegalArgumentException ("C_RevenueRecognition_Run_ID is mandatory."); -set_ValueNoCheck ("C_RevenueRecognition_Run_ID", new Integer(C_RevenueRecognition_Run_ID)); +set_ValueNoCheck ("C_RevenueRecognition_Run_ID", Integer.valueOf(C_RevenueRecognition_Run_ID)); } /** Get Revenue Recognition Run. @return Revenue Recognition Run or Process */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setGL_Journal_ID (int GL_Journal_ID) { if (GL_Journal_ID < 1) throw new IllegalArgumentException ("GL_Journal_ID is mandatory."); -set_ValueNoCheck ("GL_Journal_ID", new Integer(GL_Journal_ID)); +set_ValueNoCheck ("GL_Journal_ID", Integer.valueOf(GL_Journal_ID)); } /** Get Journal. @return General Ledger Journal */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQ.java b/dbPort/src/org/compiere/model/X_C_RfQ.java index 0cf1f3fbd2..49263058e3 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQ.java +++ b/dbPort/src/org/compiere/model/X_C_RfQ.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQ * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQ extends PO { /** Standard Constructor @@ -66,12 +66,12 @@ public X_C_RfQ (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=677 */ -public static final int Table_ID=677; +public static final int Table_ID=MTable.getTable_ID("C_RfQ"); /** TableName=C_RfQ */ public static final String Table_Name="C_RfQ"; -protected static KeyNamePair Model = new KeyNamePair(677,"C_RfQ"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQ"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -104,7 +104,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -120,7 +120,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -136,7 +136,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -151,7 +151,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -167,7 +167,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -182,7 +182,7 @@ return ii.intValue(); public void setC_RfQ_ID (int C_RfQ_ID) { if (C_RfQ_ID < 1) throw new IllegalArgumentException ("C_RfQ_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_ID", new Integer(C_RfQ_ID)); +set_ValueNoCheck ("C_RfQ_ID", Integer.valueOf(C_RfQ_ID)); } /** Get RfQ. @return Request for Quotation */ @@ -197,7 +197,7 @@ return ii.intValue(); public void setC_RfQ_Topic_ID (int C_RfQ_Topic_ID) { if (C_RfQ_Topic_ID < 1) throw new IllegalArgumentException ("C_RfQ_Topic_ID is mandatory."); -set_Value ("C_RfQ_Topic_ID", new Integer(C_RfQ_Topic_ID)); +set_Value ("C_RfQ_Topic_ID", Integer.valueOf(C_RfQ_Topic_ID)); } /** Get RfQ Topic. @return Topic for Request for Quotations */ @@ -299,7 +299,7 @@ return (Timestamp)get_Value("DateWorkStart"); @param DeliveryDays Number of Days (planned) until Delivery */ public void setDeliveryDays (int DeliveryDays) { -set_Value ("DeliveryDays", new Integer(DeliveryDays)); +set_Value ("DeliveryDays", Integer.valueOf(DeliveryDays)); } /** Get Delivery Days. @return Number of Days (planned) until Delivery */ @@ -371,7 +371,7 @@ return (String)get_Value("Help"); @param IsInvitedVendorsOnly Only invited vendors can respond to an RfQ */ public void setIsInvitedVendorsOnly (boolean IsInvitedVendorsOnly) { -set_Value ("IsInvitedVendorsOnly", new Boolean(IsInvitedVendorsOnly)); +set_Value ("IsInvitedVendorsOnly", Boolean.valueOf(IsInvitedVendorsOnly)); } /** Get Invited Vendors Only. @return Only invited vendors can respond to an RfQ */ @@ -389,7 +389,7 @@ return false; @param IsQuoteAllQty Suppliers are requested to provide responses for all quantities */ public void setIsQuoteAllQty (boolean IsQuoteAllQty) { -set_Value ("IsQuoteAllQty", new Boolean(IsQuoteAllQty)); +set_Value ("IsQuoteAllQty", Boolean.valueOf(IsQuoteAllQty)); } /** Get Quote All Quantities. @return Suppliers are requested to provide responses for all quantities */ @@ -407,7 +407,7 @@ return false; @param IsQuoteTotalAmt The respnse can have just the total amount for the RfQ */ public void setIsQuoteTotalAmt (boolean IsQuoteTotalAmt) { -set_Value ("IsQuoteTotalAmt", new Boolean(IsQuoteTotalAmt)); +set_Value ("IsQuoteTotalAmt", Boolean.valueOf(IsQuoteTotalAmt)); } /** Get Quote Total Amt. @return The respnse can have just the total amount for the RfQ */ @@ -425,7 +425,7 @@ return false; @param IsRfQResponseAccepted Are Resonses to the Request for Quotation accepted */ public void setIsRfQResponseAccepted (boolean IsRfQResponseAccepted) { -set_Value ("IsRfQResponseAccepted", new Boolean(IsRfQResponseAccepted)); +set_Value ("IsRfQResponseAccepted", Boolean.valueOf(IsRfQResponseAccepted)); } /** Get Responses Accepted. @return Are Resonses to the Request for Quotation accepted */ @@ -443,7 +443,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -493,7 +493,7 @@ return (String)get_Value("Name"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -511,7 +511,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -596,7 +596,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQLine.java b/dbPort/src/org/compiere/model/X_C_RfQLine.java index e1dc199a61..a577d4294e 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQLine.java +++ b/dbPort/src/org/compiere/model/X_C_RfQLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQLine extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_RfQLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=676 */ -public static final int Table_ID=676; +public static final int Table_ID=MTable.getTable_ID("C_RfQLine"); /** TableName=C_RfQLine */ public static final String Table_Name="C_RfQLine"; -protected static KeyNamePair Model = new KeyNamePair(676,"C_RfQLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_RfQLine_ID (int C_RfQLine_ID) { if (C_RfQLine_ID < 1) throw new IllegalArgumentException ("C_RfQLine_ID is mandatory."); -set_ValueNoCheck ("C_RfQLine_ID", new Integer(C_RfQLine_ID)); +set_ValueNoCheck ("C_RfQLine_ID", Integer.valueOf(C_RfQLine_ID)); } /** Get RfQ Line. @return Request for Quotation Line */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_RfQ_ID (int C_RfQ_ID) { if (C_RfQ_ID < 1) throw new IllegalArgumentException ("C_RfQ_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_ID", new Integer(C_RfQ_ID)); +set_ValueNoCheck ("C_RfQ_ID", Integer.valueOf(C_RfQ_ID)); } /** Get RfQ. @return Request for Quotation */ @@ -152,7 +152,7 @@ return (Timestamp)get_Value("DateWorkStart"); @param DeliveryDays Number of Days (planned) until Delivery */ public void setDeliveryDays (int DeliveryDays) { -set_Value ("DeliveryDays", new Integer(DeliveryDays)); +set_Value ("DeliveryDays", Integer.valueOf(DeliveryDays)); } /** Get Delivery Days. @return Number of Days (planned) until Delivery */ @@ -200,7 +200,7 @@ return (String)get_Value("Help"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -215,7 +215,7 @@ return ii.intValue(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -231,7 +231,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQLineQty.java b/dbPort/src/org/compiere/model/X_C_RfQLineQty.java index ed9a54d0e3..99477ad08c 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQLineQty.java +++ b/dbPort/src/org/compiere/model/X_C_RfQLineQty.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQLineQty * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQLineQty extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_RfQLineQty (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=675 */ -public static final int Table_ID=675; +public static final int Table_ID=MTable.getTable_ID("C_RfQLineQty"); /** TableName=C_RfQLineQty */ public static final String Table_Name="C_RfQLineQty"; -protected static KeyNamePair Model = new KeyNamePair(675,"C_RfQLineQty"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQLineQty"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -126,7 +126,7 @@ return bd; public void setC_RfQLineQty_ID (int C_RfQLineQty_ID) { if (C_RfQLineQty_ID < 1) throw new IllegalArgumentException ("C_RfQLineQty_ID is mandatory."); -set_ValueNoCheck ("C_RfQLineQty_ID", new Integer(C_RfQLineQty_ID)); +set_ValueNoCheck ("C_RfQLineQty_ID", Integer.valueOf(C_RfQLineQty_ID)); } /** Get RfQ Line Quantity. @return Request for Quotation Line Quantity */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setC_RfQLine_ID (int C_RfQLine_ID) { if (C_RfQLine_ID < 1) throw new IllegalArgumentException ("C_RfQLine_ID is mandatory."); -set_ValueNoCheck ("C_RfQLine_ID", new Integer(C_RfQLine_ID)); +set_ValueNoCheck ("C_RfQLine_ID", Integer.valueOf(C_RfQLine_ID)); } /** Get RfQ Line. @return Request for Quotation Line */ @@ -156,7 +156,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -176,7 +176,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_UOM_ID())); @param IsOfferQty This quantity is used in the Offer to the Customer */ public void setIsOfferQty (boolean IsOfferQty) { -set_Value ("IsOfferQty", new Boolean(IsOfferQty)); +set_Value ("IsOfferQty", Boolean.valueOf(IsOfferQty)); } /** Get Offer Quantity. @return This quantity is used in the Offer to the Customer */ @@ -194,7 +194,7 @@ return false; @param IsPurchaseQty This quantity is used in the Purchase Order to the Supplier */ public void setIsPurchaseQty (boolean IsPurchaseQty) { -set_Value ("IsPurchaseQty", new Boolean(IsPurchaseQty)); +set_Value ("IsPurchaseQty", Boolean.valueOf(IsPurchaseQty)); } /** Get Purchase Quantity. @return This quantity is used in the Purchase Order to the Supplier */ @@ -212,7 +212,7 @@ return false; @param IsRfQQty The quantity is used when generating RfQ Responses */ public void setIsRfQQty (boolean IsRfQQty) { -set_Value ("IsRfQQty", new Boolean(IsRfQQty)); +set_Value ("IsRfQQty", Boolean.valueOf(IsRfQQty)); } /** Get RfQ Quantity. @return The quantity is used when generating RfQ Responses */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQResponse.java b/dbPort/src/org/compiere/model/X_C_RfQResponse.java index ae78a8e2a5..462cd79272 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQResponse.java +++ b/dbPort/src/org/compiere/model/X_C_RfQResponse.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQResponse * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQResponse extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_C_RfQResponse (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=674 */ -public static final int Table_ID=674; +public static final int Table_ID=MTable.getTable_ID("C_RfQResponse"); /** TableName=C_RfQResponse */ public static final String Table_Name="C_RfQResponse"; -protected static KeyNamePair Model = new KeyNamePair(674,"C_RfQResponse"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQResponse"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -101,7 +101,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_ValueNoCheck ("AD_User_ID", null); else -set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); +set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -116,7 +116,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -146,7 +146,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -162,7 +162,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -177,7 +177,7 @@ return ii.intValue(); public void setC_RfQResponse_ID (int C_RfQResponse_ID) { if (C_RfQResponse_ID < 1) throw new IllegalArgumentException ("C_RfQResponse_ID is mandatory."); -set_ValueNoCheck ("C_RfQResponse_ID", new Integer(C_RfQResponse_ID)); +set_ValueNoCheck ("C_RfQResponse_ID", Integer.valueOf(C_RfQResponse_ID)); } /** Get RfQ Response. @return Request for Quotation Response from a potential Vendor */ @@ -192,7 +192,7 @@ return ii.intValue(); public void setC_RfQ_ID (int C_RfQ_ID) { if (C_RfQ_ID < 1) throw new IllegalArgumentException ("C_RfQ_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_ID", new Integer(C_RfQ_ID)); +set_ValueNoCheck ("C_RfQ_ID", Integer.valueOf(C_RfQ_ID)); } /** Get RfQ. @return Request for Quotation */ @@ -271,7 +271,7 @@ return (Timestamp)get_Value("DateWorkStart"); @param DeliveryDays Number of Days (planned) until Delivery */ public void setDeliveryDays (int DeliveryDays) { -set_Value ("DeliveryDays", new Integer(DeliveryDays)); +set_Value ("DeliveryDays", Integer.valueOf(DeliveryDays)); } /** Get Delivery Days. @return Number of Days (planned) until Delivery */ @@ -319,7 +319,7 @@ return (String)get_Value("Help"); @param IsComplete It is complete */ public void setIsComplete (boolean IsComplete) { -set_Value ("IsComplete", new Boolean(IsComplete)); +set_Value ("IsComplete", Boolean.valueOf(IsComplete)); } /** Get Complete. @return It is complete */ @@ -337,7 +337,7 @@ return false; @param IsSelectedWinner The resonse is the selected winner */ public void setIsSelectedWinner (boolean IsSelectedWinner) { -set_Value ("IsSelectedWinner", new Boolean(IsSelectedWinner)); +set_Value ("IsSelectedWinner", Boolean.valueOf(IsSelectedWinner)); } /** Get Selected Winner. @return The resonse is the selected winner */ @@ -355,7 +355,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -412,7 +412,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -430,7 +430,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -448,7 +448,7 @@ return false; @param Ranking Relative Rank Number */ public void setRanking (int Ranking) { -set_Value ("Ranking", new Integer(Ranking)); +set_Value ("Ranking", Integer.valueOf(Ranking)); } /** Get Ranking. @return Relative Rank Number */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQResponseLine.java b/dbPort/src/org/compiere/model/X_C_RfQResponseLine.java index db7a4d464d..5f8749e7b1 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQResponseLine.java +++ b/dbPort/src/org/compiere/model/X_C_RfQResponseLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQResponseLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQResponseLine extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_RfQResponseLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=673 */ -public static final int Table_ID=673; +public static final int Table_ID=MTable.getTable_ID("C_RfQResponseLine"); /** TableName=C_RfQResponseLine */ public static final String Table_Name="C_RfQResponseLine"; -protected static KeyNamePair Model = new KeyNamePair(673,"C_RfQResponseLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQResponseLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_RfQLine_ID (int C_RfQLine_ID) { if (C_RfQLine_ID < 1) throw new IllegalArgumentException ("C_RfQLine_ID is mandatory."); -set_ValueNoCheck ("C_RfQLine_ID", new Integer(C_RfQLine_ID)); +set_ValueNoCheck ("C_RfQLine_ID", Integer.valueOf(C_RfQLine_ID)); } /** Get RfQ Line. @return Request for Quotation Line */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_RfQResponseLine_ID (int C_RfQResponseLine_ID) { if (C_RfQResponseLine_ID < 1) throw new IllegalArgumentException ("C_RfQResponseLine_ID is mandatory."); -set_ValueNoCheck ("C_RfQResponseLine_ID", new Integer(C_RfQResponseLine_ID)); +set_ValueNoCheck ("C_RfQResponseLine_ID", Integer.valueOf(C_RfQResponseLine_ID)); } /** Get RfQ Response Line. @return Request for Quotation Response Line */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setC_RfQResponse_ID (int C_RfQResponse_ID) { if (C_RfQResponse_ID < 1) throw new IllegalArgumentException ("C_RfQResponse_ID is mandatory."); -set_ValueNoCheck ("C_RfQResponse_ID", new Integer(C_RfQResponse_ID)); +set_ValueNoCheck ("C_RfQResponse_ID", Integer.valueOf(C_RfQResponse_ID)); } /** Get RfQ Response. @return Request for Quotation Response from a potential Vendor */ @@ -162,7 +162,7 @@ return (Timestamp)get_Value("DateWorkStart"); @param DeliveryDays Number of Days (planned) until Delivery */ public void setDeliveryDays (int DeliveryDays) { -set_Value ("DeliveryDays", new Integer(DeliveryDays)); +set_Value ("DeliveryDays", Integer.valueOf(DeliveryDays)); } /** Get Delivery Days. @return Number of Days (planned) until Delivery */ @@ -210,7 +210,7 @@ return (String)get_Value("Help"); @param IsSelectedWinner The resonse is the selected winner */ public void setIsSelectedWinner (boolean IsSelectedWinner) { -set_Value ("IsSelectedWinner", new Boolean(IsSelectedWinner)); +set_Value ("IsSelectedWinner", Boolean.valueOf(IsSelectedWinner)); } /** Get Selected Winner. @return The resonse is the selected winner */ @@ -228,7 +228,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQResponseLineQty.java b/dbPort/src/org/compiere/model/X_C_RfQResponseLineQty.java index 71208069e6..fe76b6713f 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQResponseLineQty.java +++ b/dbPort/src/org/compiere/model/X_C_RfQResponseLineQty.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQResponseLineQty * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQResponseLineQty extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_RfQResponseLineQty (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=672 */ -public static final int Table_ID=672; +public static final int Table_ID=MTable.getTable_ID("C_RfQResponseLineQty"); /** TableName=C_RfQResponseLineQty */ public static final String Table_Name="C_RfQResponseLineQty"; -protected static KeyNamePair Model = new KeyNamePair(672,"C_RfQResponseLineQty"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQResponseLineQty"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_RfQLineQty_ID (int C_RfQLineQty_ID) { if (C_RfQLineQty_ID < 1) throw new IllegalArgumentException ("C_RfQLineQty_ID is mandatory."); -set_ValueNoCheck ("C_RfQLineQty_ID", new Integer(C_RfQLineQty_ID)); +set_ValueNoCheck ("C_RfQLineQty_ID", Integer.valueOf(C_RfQLineQty_ID)); } /** Get RfQ Line Quantity. @return Request for Quotation Line Quantity */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_RfQResponseLineQty_ID (int C_RfQResponseLineQty_ID) { if (C_RfQResponseLineQty_ID < 1) throw new IllegalArgumentException ("C_RfQResponseLineQty_ID is mandatory."); -set_ValueNoCheck ("C_RfQResponseLineQty_ID", new Integer(C_RfQResponseLineQty_ID)); +set_ValueNoCheck ("C_RfQResponseLineQty_ID", Integer.valueOf(C_RfQResponseLineQty_ID)); } /** Get RfQ Response Line Qty. @return Request for Quotation Response Line Quantity */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setC_RfQResponseLine_ID (int C_RfQResponseLine_ID) { if (C_RfQResponseLine_ID < 1) throw new IllegalArgumentException ("C_RfQResponseLine_ID is mandatory."); -set_ValueNoCheck ("C_RfQResponseLine_ID", new Integer(C_RfQResponseLine_ID)); +set_ValueNoCheck ("C_RfQResponseLine_ID", Integer.valueOf(C_RfQResponseLine_ID)); } /** Get RfQ Response Line. @return Request for Quotation Response Line */ @@ -172,7 +172,7 @@ return bd; @param Ranking Relative Rank Number */ public void setRanking (int Ranking) { -set_Value ("Ranking", new Integer(Ranking)); +set_Value ("Ranking", Integer.valueOf(Ranking)); } /** Get Ranking. @return Relative Rank Number */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQ_Topic.java b/dbPort/src/org/compiere/model/X_C_RfQ_Topic.java index d9b75ca873..0f6993b42a 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQ_Topic.java +++ b/dbPort/src/org/compiere/model/X_C_RfQ_Topic.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQ_Topic * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQ_Topic extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_RfQ_Topic (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=671 */ -public static final int Table_ID=671; +public static final int Table_ID=MTable.getTable_ID("C_RfQ_Topic"); /** TableName=C_RfQ_Topic */ public static final String Table_Name="C_RfQ_Topic"; -protected static KeyNamePair Model = new KeyNamePair(671,"C_RfQ_Topic"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQ_Topic"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) { if (AD_PrintFormat_ID <= 0) set_Value ("AD_PrintFormat_ID", null); else -set_Value ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID)); +set_Value ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID)); } /** Get Print Format. @return Data Print Format */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_RfQ_Topic_ID (int C_RfQ_Topic_ID) { if (C_RfQ_Topic_ID < 1) throw new IllegalArgumentException ("C_RfQ_Topic_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_Topic_ID", new Integer(C_RfQ_Topic_ID)); +set_ValueNoCheck ("C_RfQ_Topic_ID", Integer.valueOf(C_RfQ_Topic_ID)); } /** Get RfQ Topic. @return Topic for Request for Quotations */ @@ -139,7 +139,7 @@ return (String)get_Value("Description"); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java b/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java index 3ee3f8cd27..ed970b0266 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java +++ b/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQ_TopicSubscriber * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQ_TopicSubscriber extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_RfQ_TopicSubscriber (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=670 */ -public static final int Table_ID=670; +public static final int Table_ID=MTable.getTable_ID("C_RfQ_TopicSubscriber"); /** TableName=C_RfQ_TopicSubscriber */ public static final String Table_Name="C_RfQ_TopicSubscriber"; -protected static KeyNamePair Model = new KeyNamePair(670,"C_RfQ_TopicSubscriber"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQ_TopicSubscriber"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setC_RfQ_TopicSubscriber_ID (int C_RfQ_TopicSubscriber_ID) { if (C_RfQ_TopicSubscriber_ID < 1) throw new IllegalArgumentException ("C_RfQ_TopicSubscriber_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_TopicSubscriber_ID", new Integer(C_RfQ_TopicSubscriber_ID)); +set_ValueNoCheck ("C_RfQ_TopicSubscriber_ID", Integer.valueOf(C_RfQ_TopicSubscriber_ID)); } /** Get RfQ Subscriber. @return Request for Quotation Topic Subscriber */ @@ -154,7 +154,7 @@ return ii.intValue(); public void setC_RfQ_Topic_ID (int C_RfQ_Topic_ID) { if (C_RfQ_Topic_ID < 1) throw new IllegalArgumentException ("C_RfQ_Topic_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_Topic_ID", new Integer(C_RfQ_Topic_ID)); +set_ValueNoCheck ("C_RfQ_Topic_ID", Integer.valueOf(C_RfQ_Topic_ID)); } /** Get RfQ Topic. @return Topic for Request for Quotations */ diff --git a/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java b/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java index 819fa719c8..41ddd41ac6 100644 --- a/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java +++ b/dbPort/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_RfQ_TopicSubscriberOnly * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_RfQ_TopicSubscriberOnly extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_RfQ_TopicSubscriberOnly (Properties ctx, ResultSet rs, String trxName super (ctx, rs, trxName); } /** AD_Table_ID=747 */ -public static final int Table_ID=747; +public static final int Table_ID=MTable.getTable_ID("C_RfQ_TopicSubscriberOnly"); /** TableName=C_RfQ_TopicSubscriberOnly */ public static final String Table_Name="C_RfQ_TopicSubscriberOnly"; -protected static KeyNamePair Model = new KeyNamePair(747,"C_RfQ_TopicSubscriberOnly"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_RfQ_TopicSubscriberOnly"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setC_RfQ_TopicSubscriberOnly_ID (int C_RfQ_TopicSubscriberOnly_ID) { if (C_RfQ_TopicSubscriberOnly_ID < 1) throw new IllegalArgumentException ("C_RfQ_TopicSubscriberOnly_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_TopicSubscriberOnly_ID", new Integer(C_RfQ_TopicSubscriberOnly_ID)); +set_ValueNoCheck ("C_RfQ_TopicSubscriberOnly_ID", Integer.valueOf(C_RfQ_TopicSubscriberOnly_ID)); } /** Get RfQ Topic Subscriber Restriction. @return Include Subscriber only for certain products or product categories */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setC_RfQ_TopicSubscriber_ID (int C_RfQ_TopicSubscriber_ID) { if (C_RfQ_TopicSubscriber_ID < 1) throw new IllegalArgumentException ("C_RfQ_TopicSubscriber_ID is mandatory."); -set_ValueNoCheck ("C_RfQ_TopicSubscriber_ID", new Integer(C_RfQ_TopicSubscriber_ID)); +set_ValueNoCheck ("C_RfQ_TopicSubscriber_ID", Integer.valueOf(C_RfQ_TopicSubscriber_ID)); } /** Get RfQ Subscriber. @return Request for Quotation Topic Subscriber */ @@ -139,7 +139,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -161,7 +161,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_C_SalesRegion.java b/dbPort/src/org/compiere/model/X_C_SalesRegion.java index 825a8afcce..426d4edabc 100644 --- a/dbPort/src/org/compiere/model/X_C_SalesRegion.java +++ b/dbPort/src/org/compiere/model/X_C_SalesRegion.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_SalesRegion * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_SalesRegion extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_SalesRegion (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=230 */ -public static final int Table_ID=230; +public static final int Table_ID=MTable.getTable_ID("C_SalesRegion"); /** TableName=C_SalesRegion */ public static final String Table_Name="C_SalesRegion"; -protected static KeyNamePair Model = new KeyNamePair(230,"C_SalesRegion"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_SalesRegion"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID < 1) throw new IllegalArgumentException ("C_SalesRegion_ID is mandatory."); -set_ValueNoCheck ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_ValueNoCheck ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -125,7 +125,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -143,7 +143,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -190,7 +190,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_C_ServiceLevel.java b/dbPort/src/org/compiere/model/X_C_ServiceLevel.java index 7fcb1d171d..db48a63a67 100644 --- a/dbPort/src/org/compiere/model/X_C_ServiceLevel.java +++ b/dbPort/src/org/compiere/model/X_C_ServiceLevel.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ServiceLevel * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ServiceLevel extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_ServiceLevel (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=337 */ -public static final int Table_ID=337; +public static final int Table_ID=MTable.getTable_ID("C_ServiceLevel"); /** TableName=C_ServiceLevel */ public static final String Table_Name="C_ServiceLevel"; -protected static KeyNamePair Model = new KeyNamePair(337,"C_ServiceLevel"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ServiceLevel"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_RevenueRecognition_Plan_ID (int C_RevenueRecognition_Plan_ID) { if (C_RevenueRecognition_Plan_ID < 1) throw new IllegalArgumentException ("C_RevenueRecognition_Plan_ID is mandatory."); -set_ValueNoCheck ("C_RevenueRecognition_Plan_ID", new Integer(C_RevenueRecognition_Plan_ID)); +set_ValueNoCheck ("C_RevenueRecognition_Plan_ID", Integer.valueOf(C_RevenueRecognition_Plan_ID)); } /** Get Revenue Recognition Plan. @return Plan for recognizing or recording revenue */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_ServiceLevel_ID (int C_ServiceLevel_ID) { if (C_ServiceLevel_ID < 1) throw new IllegalArgumentException ("C_ServiceLevel_ID is mandatory."); -set_ValueNoCheck ("C_ServiceLevel_ID", new Integer(C_ServiceLevel_ID)); +set_ValueNoCheck ("C_ServiceLevel_ID", Integer.valueOf(C_ServiceLevel_ID)); } /** Get Service Level. @return Product Revenue Recognition Service Level */ @@ -147,7 +147,7 @@ return new KeyNamePair(get_ID(), getDescription()); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -161,7 +161,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -179,7 +179,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_ServiceLevelLine.java b/dbPort/src/org/compiere/model/X_C_ServiceLevelLine.java index 17ec50db71..3ddb834f11 100644 --- a/dbPort/src/org/compiere/model/X_C_ServiceLevelLine.java +++ b/dbPort/src/org/compiere/model/X_C_ServiceLevelLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ServiceLevelLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ServiceLevelLine extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_ServiceLevelLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=338 */ -public static final int Table_ID=338; +public static final int Table_ID=MTable.getTable_ID("C_ServiceLevelLine"); /** TableName=C_ServiceLevelLine */ public static final String Table_Name="C_ServiceLevelLine"; -protected static KeyNamePair Model = new KeyNamePair(338,"C_ServiceLevelLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ServiceLevelLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_ServiceLevelLine_ID (int C_ServiceLevelLine_ID) { if (C_ServiceLevelLine_ID < 1) throw new IllegalArgumentException ("C_ServiceLevelLine_ID is mandatory."); -set_ValueNoCheck ("C_ServiceLevelLine_ID", new Integer(C_ServiceLevelLine_ID)); +set_ValueNoCheck ("C_ServiceLevelLine_ID", Integer.valueOf(C_ServiceLevelLine_ID)); } /** Get Service Level Line. @return Product Revenue Recognition Service Level Line */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_ServiceLevel_ID (int C_ServiceLevel_ID) { if (C_ServiceLevel_ID < 1) throw new IllegalArgumentException ("C_ServiceLevel_ID is mandatory."); -set_ValueNoCheck ("C_ServiceLevel_ID", new Integer(C_ServiceLevel_ID)); +set_ValueNoCheck ("C_ServiceLevel_ID", Integer.valueOf(C_ServiceLevel_ID)); } /** Get Service Level. @return Product Revenue Recognition Service Level */ @@ -139,7 +139,7 @@ return (String)get_Value("Description"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_C_SubAcct.java b/dbPort/src/org/compiere/model/X_C_SubAcct.java index cb5ef86375..99f4cd5ca0 100644 --- a/dbPort/src/org/compiere/model/X_C_SubAcct.java +++ b/dbPort/src/org/compiere/model/X_C_SubAcct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_SubAcct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_SubAcct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_SubAcct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=825 */ -public static final int Table_ID=825; +public static final int Table_ID=MTable.getTable_ID("C_SubAcct"); /** TableName=C_SubAcct */ public static final String Table_Name="C_SubAcct"; -protected static KeyNamePair Model = new KeyNamePair(825,"C_SubAcct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_SubAcct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID < 1) throw new IllegalArgumentException ("C_ElementValue_ID is mandatory."); -set_ValueNoCheck ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_ValueNoCheck ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -108,7 +108,7 @@ return ii.intValue(); public void setC_SubAcct_ID (int C_SubAcct_ID) { if (C_SubAcct_ID < 1) throw new IllegalArgumentException ("C_SubAcct_ID is mandatory."); -set_ValueNoCheck ("C_SubAcct_ID", new Integer(C_SubAcct_ID)); +set_ValueNoCheck ("C_SubAcct_ID", Integer.valueOf(C_SubAcct_ID)); } /** Get Sub Account. @return Sub account for Element Value */ diff --git a/dbPort/src/org/compiere/model/X_C_Subscription.java b/dbPort/src/org/compiere/model/X_C_Subscription.java index f3a6b8b8d1..1f7e96d883 100644 --- a/dbPort/src/org/compiere/model/X_C_Subscription.java +++ b/dbPort/src/org/compiere/model/X_C_Subscription.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Subscription * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Subscription extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_C_Subscription (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=669 */ -public static final int Table_ID=669; +public static final int Table_ID=MTable.getTable_ID("C_Subscription"); /** TableName=C_Subscription */ public static final String Table_Name="C_Subscription"; -protected static KeyNamePair Model = new KeyNamePair(669,"C_Subscription"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Subscription"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -113,7 +113,7 @@ return ii.intValue(); public void setC_SubscriptionType_ID (int C_SubscriptionType_ID) { if (C_SubscriptionType_ID < 1) throw new IllegalArgumentException ("C_SubscriptionType_ID is mandatory."); -set_Value ("C_SubscriptionType_ID", new Integer(C_SubscriptionType_ID)); +set_Value ("C_SubscriptionType_ID", Integer.valueOf(C_SubscriptionType_ID)); } /** Get Subscription Type. @return Type of subscription */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setC_Subscription_ID (int C_Subscription_ID) { if (C_Subscription_ID < 1) throw new IllegalArgumentException ("C_Subscription_ID is mandatory."); -set_ValueNoCheck ("C_Subscription_ID", new Integer(C_Subscription_ID)); +set_ValueNoCheck ("C_Subscription_ID", Integer.valueOf(C_Subscription_ID)); } /** Get Subscription. @return Subscription of a Business Partner of a Product to renew */ @@ -142,7 +142,7 @@ return ii.intValue(); @param IsDue Subscription Renewal is Due */ public void setIsDue (boolean IsDue) { -set_Value ("IsDue", new Boolean(IsDue)); +set_Value ("IsDue", Boolean.valueOf(IsDue)); } /** Get Due. @return Subscription Renewal is Due */ @@ -161,7 +161,7 @@ return false; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_C_SubscriptionType.java b/dbPort/src/org/compiere/model/X_C_SubscriptionType.java index 94309df72d..1b6201a5c5 100644 --- a/dbPort/src/org/compiere/model/X_C_SubscriptionType.java +++ b/dbPort/src/org/compiere/model/X_C_SubscriptionType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_SubscriptionType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_SubscriptionType extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_SubscriptionType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=668 */ -public static final int Table_ID=668; +public static final int Table_ID=MTable.getTable_ID("C_SubscriptionType"); /** TableName=C_SubscriptionType */ public static final String Table_Name="C_SubscriptionType"; -protected static KeyNamePair Model = new KeyNamePair(668,"C_SubscriptionType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_SubscriptionType"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_SubscriptionType_ID (int C_SubscriptionType_ID) { if (C_SubscriptionType_ID < 1) throw new IllegalArgumentException ("C_SubscriptionType_ID is mandatory."); -set_ValueNoCheck ("C_SubscriptionType_ID", new Integer(C_SubscriptionType_ID)); +set_ValueNoCheck ("C_SubscriptionType_ID", Integer.valueOf(C_SubscriptionType_ID)); } /** Get Subscription Type. @return Type of subscription */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ diff --git a/dbPort/src/org/compiere/model/X_C_Subscription_Delivery.java b/dbPort/src/org/compiere/model/X_C_Subscription_Delivery.java index e3302c2e40..019927b057 100644 --- a/dbPort/src/org/compiere/model/X_C_Subscription_Delivery.java +++ b/dbPort/src/org/compiere/model/X_C_Subscription_Delivery.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Subscription_Delivery * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Subscription_Delivery extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_C_Subscription_Delivery (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=667 */ -public static final int Table_ID=667; +public static final int Table_ID=MTable.getTable_ID("C_Subscription_Delivery"); /** TableName=C_Subscription_Delivery */ public static final String Table_Name="C_Subscription_Delivery"; -protected static KeyNamePair Model = new KeyNamePair(667,"C_Subscription_Delivery"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Subscription_Delivery"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setC_Subscription_Delivery_ID (int C_Subscription_Delivery_ID) { if (C_Subscription_Delivery_ID < 1) throw new IllegalArgumentException ("C_Subscription_Delivery_ID is mandatory."); -set_ValueNoCheck ("C_Subscription_Delivery_ID", new Integer(C_Subscription_Delivery_ID)); +set_ValueNoCheck ("C_Subscription_Delivery_ID", Integer.valueOf(C_Subscription_Delivery_ID)); } /** Get Subscription Delivery. @return Optional Delivery Record for a Subscription */ @@ -112,7 +112,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Subscription_Delivery_ID()) public void setC_Subscription_ID (int C_Subscription_ID) { if (C_Subscription_ID < 1) throw new IllegalArgumentException ("C_Subscription_ID is mandatory."); -set_ValueNoCheck ("C_Subscription_ID", new Integer(C_Subscription_ID)); +set_ValueNoCheck ("C_Subscription_ID", Integer.valueOf(C_Subscription_ID)); } /** Get Subscription. @return Subscription of a Business Partner of a Product to renew */ diff --git a/dbPort/src/org/compiere/model/X_C_Task.java b/dbPort/src/org/compiere/model/X_C_Task.java index 78be245c8c..0a2c4dc481 100644 --- a/dbPort/src/org/compiere/model/X_C_Task.java +++ b/dbPort/src/org/compiere/model/X_C_Task.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Task * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Task extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_Task (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=583 */ -public static final int Table_ID=583; +public static final int Table_ID=MTable.getTable_ID("C_Task"); /** TableName=C_Task */ public static final String Table_Name="C_Task"; -protected static KeyNamePair Model = new KeyNamePair(583,"C_Task"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Task"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Phase_ID (int C_Phase_ID) { if (C_Phase_ID < 1) throw new IllegalArgumentException ("C_Phase_ID is mandatory."); -set_ValueNoCheck ("C_Phase_ID", new Integer(C_Phase_ID)); +set_ValueNoCheck ("C_Phase_ID", Integer.valueOf(C_Phase_ID)); } /** Get Standard Phase. @return Standard Phase of the Project Type */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_Task_ID (int C_Task_ID) { if (C_Task_ID < 1) throw new IllegalArgumentException ("C_Task_ID is mandatory."); -set_ValueNoCheck ("C_Task_ID", new Integer(C_Task_ID)); +set_ValueNoCheck ("C_Task_ID", Integer.valueOf(C_Task_ID)); } /** Get Standard Task. @return Standard Project Type Task */ @@ -159,7 +159,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -198,7 +198,7 @@ return new KeyNamePair(get_ID(), getName()); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_C_Tax.java b/dbPort/src/org/compiere/model/X_C_Tax.java index 385cc6b283..0e410df7f2 100644 --- a/dbPort/src/org/compiere/model/X_C_Tax.java +++ b/dbPort/src/org/compiere/model/X_C_Tax.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Tax * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Tax extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_C_Tax (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=261 */ -public static final int Table_ID=261; +public static final int Table_ID=MTable.getTable_ID("C_Tax"); /** TableName=C_Tax */ public static final String Table_Name="C_Tax"; -protected static KeyNamePair Model = new KeyNamePair(261,"C_Tax"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Tax"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -105,7 +105,7 @@ public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID <= 0) set_Value ("C_Country_ID", null); else -set_Value ("C_Country_ID", new Integer(C_Country_ID)); +set_Value ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -124,7 +124,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_Value ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_Value ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -154,7 +154,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -185,7 +185,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -203,7 +203,7 @@ return false; @param IsDocumentLevel Tax is calculated on document level (rather than line by line) */ public void setIsDocumentLevel (boolean IsDocumentLevel) { -set_Value ("IsDocumentLevel", new Boolean(IsDocumentLevel)); +set_Value ("IsDocumentLevel", Boolean.valueOf(IsDocumentLevel)); } /** Get Document Level. @return Tax is calculated on document level (rather than line by line) */ @@ -221,7 +221,7 @@ return false; @param IsSalesTax This is a sales tax (i.e. not a value added tax) */ public void setIsSalesTax (boolean IsSalesTax) { -set_Value ("IsSalesTax", new Boolean(IsSalesTax)); +set_Value ("IsSalesTax", Boolean.valueOf(IsSalesTax)); } /** Get Sales Tax. @return This is a sales tax (i.e. not a value added tax) */ @@ -239,7 +239,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -257,7 +257,7 @@ return false; @param IsTaxExempt Business partner is exempt from tax */ public void setIsTaxExempt (boolean IsTaxExempt) { -set_Value ("IsTaxExempt", new Boolean(IsTaxExempt)); +set_Value ("IsTaxExempt", Boolean.valueOf(IsTaxExempt)); } /** Get Tax exempt. @return Business partner is exempt from tax */ @@ -304,7 +304,7 @@ public void setParent_Tax_ID (int Parent_Tax_ID) { if (Parent_Tax_ID <= 0) set_Value ("Parent_Tax_ID", null); else -set_Value ("Parent_Tax_ID", new Integer(Parent_Tax_ID)); +set_Value ("Parent_Tax_ID", Integer.valueOf(Parent_Tax_ID)); } /** Get Parent Tax. @return Parent Tax indicates a tax that is made up of multiple taxes */ @@ -333,7 +333,7 @@ return bd; @param RequiresTaxCertificate This tax rate requires the Business Partner to be tax exempt */ public void setRequiresTaxCertificate (boolean RequiresTaxCertificate) { -set_Value ("RequiresTaxCertificate", new Boolean(RequiresTaxCertificate)); +set_Value ("RequiresTaxCertificate", Boolean.valueOf(RequiresTaxCertificate)); } /** Get Requires Tax Certificate. @return This tax rate requires the Business Partner to be tax exempt */ @@ -402,7 +402,7 @@ public void setTo_Country_ID (int To_Country_ID) { if (To_Country_ID <= 0) set_Value ("To_Country_ID", null); else -set_Value ("To_Country_ID", new Integer(To_Country_ID)); +set_Value ("To_Country_ID", Integer.valueOf(To_Country_ID)); } /** Get To. @return Receiving Country */ @@ -421,7 +421,7 @@ public void setTo_Region_ID (int To_Region_ID) { if (To_Region_ID <= 0) set_Value ("To_Region_ID", null); else -set_Value ("To_Region_ID", new Integer(To_Region_ID)); +set_Value ("To_Region_ID", Integer.valueOf(To_Region_ID)); } /** Get To. @return Receiving Region */ diff --git a/dbPort/src/org/compiere/model/X_C_TaxCategory.java b/dbPort/src/org/compiere/model/X_C_TaxCategory.java index bd8d6c9f39..e6cc177442 100644 --- a/dbPort/src/org/compiere/model/X_C_TaxCategory.java +++ b/dbPort/src/org/compiere/model/X_C_TaxCategory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_TaxCategory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_TaxCategory extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_TaxCategory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=252 */ -public static final int Table_ID=252; +public static final int Table_ID=MTable.getTable_ID("C_TaxCategory"); /** TableName=C_TaxCategory */ public static final String Table_Name="C_TaxCategory"; -protected static KeyNamePair Model = new KeyNamePair(252,"C_TaxCategory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_TaxCategory"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_ValueNoCheck ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_ValueNoCheck ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -140,7 +140,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_C_TaxDeclaration.java b/dbPort/src/org/compiere/model/X_C_TaxDeclaration.java index f11bf7de25..ec52b2c6d9 100644 --- a/dbPort/src/org/compiere/model/X_C_TaxDeclaration.java +++ b/dbPort/src/org/compiere/model/X_C_TaxDeclaration.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_TaxDeclaration * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_TaxDeclaration extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_TaxDeclaration (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=818 */ -public static final int Table_ID=818; +public static final int Table_ID=MTable.getTable_ID("C_TaxDeclaration"); /** TableName=C_TaxDeclaration */ public static final String Table_Name="C_TaxDeclaration"; -protected static KeyNamePair Model = new KeyNamePair(818,"C_TaxDeclaration"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_TaxDeclaration"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_TaxDeclaration_ID (int C_TaxDeclaration_ID) { if (C_TaxDeclaration_ID < 1) throw new IllegalArgumentException ("C_TaxDeclaration_ID is mandatory."); -set_ValueNoCheck ("C_TaxDeclaration_ID", new Integer(C_TaxDeclaration_ID)); +set_ValueNoCheck ("C_TaxDeclaration_ID", Integer.valueOf(C_TaxDeclaration_ID)); } /** Get Tax Declaration. @return Define the declaration to the tax authorities */ @@ -189,7 +189,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -207,7 +207,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_C_TaxDeclarationAcct.java b/dbPort/src/org/compiere/model/X_C_TaxDeclarationAcct.java index 40f425bd00..23de8649bb 100644 --- a/dbPort/src/org/compiere/model/X_C_TaxDeclarationAcct.java +++ b/dbPort/src/org/compiere/model/X_C_TaxDeclarationAcct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_TaxDeclarationAcct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_TaxDeclarationAcct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_TaxDeclarationAcct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=820 */ -public static final int Table_ID=820; +public static final int Table_ID=MTable.getTable_ID("C_TaxDeclarationAcct"); /** TableName=C_TaxDeclarationAcct */ public static final String Table_Name="C_TaxDeclarationAcct"; -protected static KeyNamePair Model = new KeyNamePair(820,"C_TaxDeclarationAcct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_TaxDeclarationAcct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -166,7 +166,7 @@ return bd; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -209,7 +209,7 @@ return ii.intValue(); public void setC_TaxDeclarationAcct_ID (int C_TaxDeclarationAcct_ID) { if (C_TaxDeclarationAcct_ID < 1) throw new IllegalArgumentException ("C_TaxDeclarationAcct_ID is mandatory."); -set_ValueNoCheck ("C_TaxDeclarationAcct_ID", new Integer(C_TaxDeclarationAcct_ID)); +set_ValueNoCheck ("C_TaxDeclarationAcct_ID", Integer.valueOf(C_TaxDeclarationAcct_ID)); } /** Get Tax Declaration Accounting. @return Tax Accounting Reconciliation */ @@ -224,7 +224,7 @@ return ii.intValue(); public void setC_TaxDeclaration_ID (int C_TaxDeclaration_ID) { if (C_TaxDeclaration_ID < 1) throw new IllegalArgumentException ("C_TaxDeclaration_ID is mandatory."); -set_ValueNoCheck ("C_TaxDeclaration_ID", new Integer(C_TaxDeclaration_ID)); +set_ValueNoCheck ("C_TaxDeclaration_ID", Integer.valueOf(C_TaxDeclaration_ID)); } /** Get Tax Declaration. @return Define the declaration to the tax authorities */ @@ -282,7 +282,7 @@ return (String)get_Value("Description"); public void setFact_Acct_ID (int Fact_Acct_ID) { if (Fact_Acct_ID < 1) throw new IllegalArgumentException ("Fact_Acct_ID is mandatory."); -set_ValueNoCheck ("Fact_Acct_ID", new Integer(Fact_Acct_ID)); +set_ValueNoCheck ("Fact_Acct_ID", Integer.valueOf(Fact_Acct_ID)); } /** Get Accounting Fact. @return Accounting Fact */ @@ -296,7 +296,7 @@ return ii.intValue(); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ diff --git a/dbPort/src/org/compiere/model/X_C_TaxDeclarationLine.java b/dbPort/src/org/compiere/model/X_C_TaxDeclarationLine.java index 9926f84a3b..defd970a8a 100644 --- a/dbPort/src/org/compiere/model/X_C_TaxDeclarationLine.java +++ b/dbPort/src/org/compiere/model/X_C_TaxDeclarationLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_TaxDeclarationLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_TaxDeclarationLine extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_C_TaxDeclarationLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=819 */ -public static final int Table_ID=819; +public static final int Table_ID=MTable.getTable_ID("C_TaxDeclarationLine"); /** TableName=C_TaxDeclarationLine */ public static final String Table_Name="C_TaxDeclarationLine"; -protected static KeyNamePair Model = new KeyNamePair(819,"C_TaxDeclarationLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_TaxDeclarationLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -100,7 +100,7 @@ public void setC_AllocationLine_ID (int C_AllocationLine_ID) { if (C_AllocationLine_ID <= 0) set_ValueNoCheck ("C_AllocationLine_ID", null); else -set_ValueNoCheck ("C_AllocationLine_ID", new Integer(C_AllocationLine_ID)); +set_ValueNoCheck ("C_AllocationLine_ID", Integer.valueOf(C_AllocationLine_ID)); } /** Get Allocation Line. @return Allocation Line */ @@ -115,7 +115,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -146,7 +146,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_ValueNoCheck ("C_InvoiceLine_ID", null); else -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -162,7 +162,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -177,7 +177,7 @@ return ii.intValue(); public void setC_TaxDeclarationLine_ID (int C_TaxDeclarationLine_ID) { if (C_TaxDeclarationLine_ID < 1) throw new IllegalArgumentException ("C_TaxDeclarationLine_ID is mandatory."); -set_ValueNoCheck ("C_TaxDeclarationLine_ID", new Integer(C_TaxDeclarationLine_ID)); +set_ValueNoCheck ("C_TaxDeclarationLine_ID", Integer.valueOf(C_TaxDeclarationLine_ID)); } /** Get Tax Declaration Line. @return Tax Declaration Document Information */ @@ -192,7 +192,7 @@ return ii.intValue(); public void setC_TaxDeclaration_ID (int C_TaxDeclaration_ID) { if (C_TaxDeclaration_ID < 1) throw new IllegalArgumentException ("C_TaxDeclaration_ID is mandatory."); -set_ValueNoCheck ("C_TaxDeclaration_ID", new Integer(C_TaxDeclaration_ID)); +set_ValueNoCheck ("C_TaxDeclaration_ID", Integer.valueOf(C_TaxDeclaration_ID)); } /** Get Tax Declaration. @return Define the declaration to the tax authorities */ @@ -207,7 +207,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -251,7 +251,7 @@ return (String)get_Value("Description"); @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_ValueNoCheck ("IsManual", new Boolean(IsManual)); +set_ValueNoCheck ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -269,7 +269,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ diff --git a/dbPort/src/org/compiere/model/X_C_TaxPostal.java b/dbPort/src/org/compiere/model/X_C_TaxPostal.java index da9a68351c..f0be2e6302 100644 --- a/dbPort/src/org/compiere/model/X_C_TaxPostal.java +++ b/dbPort/src/org/compiere/model/X_C_TaxPostal.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_TaxPostal * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_TaxPostal extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_TaxPostal (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=701 */ -public static final int Table_ID=701; +public static final int Table_ID=MTable.getTable_ID("C_TaxPostal"); /** TableName=C_TaxPostal */ public static final String Table_Name="C_TaxPostal"; -protected static KeyNamePair Model = new KeyNamePair(701,"C_TaxPostal"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_TaxPostal"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_TaxPostal_ID (int C_TaxPostal_ID) { if (C_TaxPostal_ID < 1) throw new IllegalArgumentException ("C_TaxPostal_ID is mandatory."); -set_ValueNoCheck ("C_TaxPostal_ID", new Integer(C_TaxPostal_ID)); +set_ValueNoCheck ("C_TaxPostal_ID", Integer.valueOf(C_TaxPostal_ID)); } /** Get Tax ZIP. @return Tax Postal/ZIP */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ diff --git a/dbPort/src/org/compiere/model/X_C_Tax_Acct.java b/dbPort/src/org/compiere/model/X_C_Tax_Acct.java index 8d575993bb..5089f5797c 100644 --- a/dbPort/src/org/compiere/model/X_C_Tax_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_Tax_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Tax_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Tax_Acct extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_C_Tax_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=399 */ -public static final int Table_ID=399; +public static final int Table_ID=MTable.getTable_ID("C_Tax_Acct"); /** TableName=C_Tax_Acct */ public static final String Table_Name="C_Tax_Acct"; -protected static KeyNamePair Model = new KeyNamePair(399,"C_Tax_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Tax_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID < 1) throw new IllegalArgumentException ("C_Tax_ID is mandatory."); -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -125,7 +125,7 @@ return ii.intValue(); @param T_Credit_Acct Account for Tax you can reclaim */ public void setT_Credit_Acct (int T_Credit_Acct) { -set_Value ("T_Credit_Acct", new Integer(T_Credit_Acct)); +set_Value ("T_Credit_Acct", Integer.valueOf(T_Credit_Acct)); } /** Get Tax Credit. @return Account for Tax you can reclaim */ @@ -139,7 +139,7 @@ return ii.intValue(); @param T_Due_Acct Account for Tax you have to pay */ public void setT_Due_Acct (int T_Due_Acct) { -set_Value ("T_Due_Acct", new Integer(T_Due_Acct)); +set_Value ("T_Due_Acct", Integer.valueOf(T_Due_Acct)); } /** Get Tax Due. @return Account for Tax you have to pay */ @@ -153,7 +153,7 @@ return ii.intValue(); @param T_Expense_Acct Account for paid tax you cannot reclaim */ public void setT_Expense_Acct (int T_Expense_Acct) { -set_Value ("T_Expense_Acct", new Integer(T_Expense_Acct)); +set_Value ("T_Expense_Acct", Integer.valueOf(T_Expense_Acct)); } /** Get Tax Expense. @return Account for paid tax you cannot reclaim */ @@ -167,7 +167,7 @@ return ii.intValue(); @param T_Liability_Acct Account for Tax declaration liability */ public void setT_Liability_Acct (int T_Liability_Acct) { -set_Value ("T_Liability_Acct", new Integer(T_Liability_Acct)); +set_Value ("T_Liability_Acct", Integer.valueOf(T_Liability_Acct)); } /** Get Tax Liability. @return Account for Tax declaration liability */ @@ -181,7 +181,7 @@ return ii.intValue(); @param T_Receivables_Acct Account for Tax credit after tax declaration */ public void setT_Receivables_Acct (int T_Receivables_Acct) { -set_Value ("T_Receivables_Acct", new Integer(T_Receivables_Acct)); +set_Value ("T_Receivables_Acct", Integer.valueOf(T_Receivables_Acct)); } /** Get Tax Receivables. @return Account for Tax credit after tax declaration */ diff --git a/dbPort/src/org/compiere/model/X_C_UOM.java b/dbPort/src/org/compiere/model/X_C_UOM.java index aec446c2d3..c29bf27e1c 100644 --- a/dbPort/src/org/compiere/model/X_C_UOM.java +++ b/dbPort/src/org/compiere/model/X_C_UOM.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_UOM * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_UOM extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_C_UOM (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=146 */ -public static final int Table_ID=146; +public static final int Table_ID=MTable.getTable_ID("C_UOM"); /** TableName=C_UOM */ public static final String Table_Name="C_UOM"; -protected static KeyNamePair Model = new KeyNamePair(146,"C_UOM"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_UOM"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_ValueNoCheck ("C_UOM_ID", new Integer(C_UOM_ID)); +set_ValueNoCheck ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -109,7 +109,7 @@ return ii.intValue(); @param CostingPrecision Rounding used costing calculations */ public void setCostingPrecision (int CostingPrecision) { -set_Value ("CostingPrecision", new Integer(CostingPrecision)); +set_Value ("CostingPrecision", Integer.valueOf(CostingPrecision)); } /** Get Costing Precision. @return Rounding used costing calculations */ @@ -140,7 +140,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -182,7 +182,7 @@ return new KeyNamePair(get_ID(), getName()); @param StdPrecision Rule for rounding calculated amounts */ public void setStdPrecision (int StdPrecision) { -set_Value ("StdPrecision", new Integer(StdPrecision)); +set_Value ("StdPrecision", Integer.valueOf(StdPrecision)); } /** Get Standard Precision. @return Rule for rounding calculated amounts */ diff --git a/dbPort/src/org/compiere/model/X_C_UOM_Conversion.java b/dbPort/src/org/compiere/model/X_C_UOM_Conversion.java index 3ce6dac0b2..b5b25b6751 100644 --- a/dbPort/src/org/compiere/model/X_C_UOM_Conversion.java +++ b/dbPort/src/org/compiere/model/X_C_UOM_Conversion.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_UOM_Conversion * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_UOM_Conversion extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_C_UOM_Conversion (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=175 */ -public static final int Table_ID=175; +public static final int Table_ID=MTable.getTable_ID("C_UOM_Conversion"); /** TableName=C_UOM_Conversion */ public static final String Table_Name="C_UOM_Conversion"; -protected static KeyNamePair Model = new KeyNamePair(175,"C_UOM_Conversion"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_UOM_Conversion"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_UOM_Conversion_ID (int C_UOM_Conversion_ID) { if (C_UOM_Conversion_ID < 1) throw new IllegalArgumentException ("C_UOM_Conversion_ID is mandatory."); -set_ValueNoCheck ("C_UOM_Conversion_ID", new Integer(C_UOM_Conversion_ID)); +set_ValueNoCheck ("C_UOM_Conversion_ID", Integer.valueOf(C_UOM_Conversion_ID)); } /** Get UOM Conversion. @return Unit of Measure Conversion */ @@ -118,7 +118,7 @@ public static final int C_UOM_ID_AD_Reference_ID=114; public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -136,7 +136,7 @@ public static final int C_UOM_TO_ID_AD_Reference_ID=114; public void setC_UOM_To_ID (int C_UOM_To_ID) { if (C_UOM_To_ID < 1) throw new IllegalArgumentException ("C_UOM_To_ID is mandatory."); -set_Value ("C_UOM_To_ID", new Integer(C_UOM_To_ID)); +set_Value ("C_UOM_To_ID", Integer.valueOf(C_UOM_To_ID)); } /** Get UoM To. @return Target or destination Unit of Measure */ @@ -167,7 +167,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_C_UserRemuneration.java b/dbPort/src/org/compiere/model/X_C_UserRemuneration.java index bcc15ebe58..4f3073b95f 100644 --- a/dbPort/src/org/compiere/model/X_C_UserRemuneration.java +++ b/dbPort/src/org/compiere/model/X_C_UserRemuneration.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_UserRemuneration * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_UserRemuneration extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_UserRemuneration (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=794 */ -public static final int Table_ID=794; +public static final int Table_ID=MTable.getTable_ID("C_UserRemuneration"); /** TableName=C_UserRemuneration */ public static final String Table_Name="C_UserRemuneration"; -protected static KeyNamePair Model = new KeyNamePair(794,"C_UserRemuneration"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_UserRemuneration"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -118,7 +118,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); public void setC_Remuneration_ID (int C_Remuneration_ID) { if (C_Remuneration_ID < 1) throw new IllegalArgumentException ("C_Remuneration_ID is mandatory."); -set_ValueNoCheck ("C_Remuneration_ID", new Integer(C_Remuneration_ID)); +set_ValueNoCheck ("C_Remuneration_ID", Integer.valueOf(C_Remuneration_ID)); } /** Get Remuneration. @return Wage or Salary */ @@ -133,7 +133,7 @@ return ii.intValue(); public void setC_UserRemuneration_ID (int C_UserRemuneration_ID) { if (C_UserRemuneration_ID < 1) throw new IllegalArgumentException ("C_UserRemuneration_ID is mandatory."); -set_ValueNoCheck ("C_UserRemuneration_ID", new Integer(C_UserRemuneration_ID)); +set_ValueNoCheck ("C_UserRemuneration_ID", Integer.valueOf(C_UserRemuneration_ID)); } /** Get Employee Remuneration. @return Employee Wage or Salary Overwrite */ diff --git a/dbPort/src/org/compiere/model/X_C_ValidCombination.java b/dbPort/src/org/compiere/model/X_C_ValidCombination.java index 3d7b2acac2..fb56374966 100644 --- a/dbPort/src/org/compiere/model/X_C_ValidCombination.java +++ b/dbPort/src/org/compiere/model/X_C_ValidCombination.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_ValidCombination * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_ValidCombination extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_C_ValidCombination (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=176 */ -public static final int Table_ID=176; +public static final int Table_ID=MTable.getTable_ID("C_ValidCombination"); /** TableName=C_ValidCombination */ public static final String Table_Name="C_ValidCombination"; -protected static KeyNamePair Model = new KeyNamePair(176,"C_ValidCombination"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_ValidCombination"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -97,7 +97,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_ValueNoCheck ("AD_OrgTrx_ID", null); else -set_ValueNoCheck ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_ValueNoCheck ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -115,7 +115,7 @@ public static final int ACCOUNT_ID_AD_Reference_ID=362; public void setAccount_ID (int Account_ID) { if (Account_ID < 1) throw new IllegalArgumentException ("Account_ID is mandatory."); -set_ValueNoCheck ("Account_ID", new Integer(Account_ID)); +set_ValueNoCheck ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -147,7 +147,7 @@ return (String)get_Value("Alias"); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -166,7 +166,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_ValueNoCheck ("C_Activity_ID", null); else -set_ValueNoCheck ("C_Activity_ID", new Integer(C_Activity_ID)); +set_ValueNoCheck ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -185,7 +185,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_ValueNoCheck ("C_BPartner_ID", null); else -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -204,7 +204,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_ValueNoCheck ("C_Campaign_ID", null); else -set_ValueNoCheck ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_ValueNoCheck ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -223,7 +223,7 @@ public void setC_LocFrom_ID (int C_LocFrom_ID) { if (C_LocFrom_ID <= 0) set_ValueNoCheck ("C_LocFrom_ID", null); else -set_ValueNoCheck ("C_LocFrom_ID", new Integer(C_LocFrom_ID)); +set_ValueNoCheck ("C_LocFrom_ID", Integer.valueOf(C_LocFrom_ID)); } /** Get Location From. @return Location that inventory was moved from */ @@ -242,7 +242,7 @@ public void setC_LocTo_ID (int C_LocTo_ID) { if (C_LocTo_ID <= 0) set_ValueNoCheck ("C_LocTo_ID", null); else -set_ValueNoCheck ("C_LocTo_ID", new Integer(C_LocTo_ID)); +set_ValueNoCheck ("C_LocTo_ID", Integer.valueOf(C_LocTo_ID)); } /** Get Location To. @return Location that inventory was moved to */ @@ -261,7 +261,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_ValueNoCheck ("C_Project_ID", null); else -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -280,7 +280,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_ValueNoCheck ("C_SalesRegion_ID", null); else -set_ValueNoCheck ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_ValueNoCheck ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -296,7 +296,7 @@ public void setC_SubAcct_ID (int C_SubAcct_ID) { if (C_SubAcct_ID <= 0) set_ValueNoCheck ("C_SubAcct_ID", null); else -set_ValueNoCheck ("C_SubAcct_ID", new Integer(C_SubAcct_ID)); +set_ValueNoCheck ("C_SubAcct_ID", Integer.valueOf(C_SubAcct_ID)); } /** Get Sub Account. @return Sub account for Element Value */ @@ -311,7 +311,7 @@ return ii.intValue(); public void setC_ValidCombination_ID (int C_ValidCombination_ID) { if (C_ValidCombination_ID < 1) throw new IllegalArgumentException ("C_ValidCombination_ID is mandatory."); -set_ValueNoCheck ("C_ValidCombination_ID", new Integer(C_ValidCombination_ID)); +set_ValueNoCheck ("C_ValidCombination_ID", Integer.valueOf(C_ValidCombination_ID)); } /** Get Combination. @return Valid Account Combination */ @@ -365,7 +365,7 @@ return (String)get_Value("Description"); @param IsFullyQualified This account is fully qualified */ public void setIsFullyQualified (boolean IsFullyQualified) { -set_ValueNoCheck ("IsFullyQualified", new Boolean(IsFullyQualified)); +set_ValueNoCheck ("IsFullyQualified", Boolean.valueOf(IsFullyQualified)); } /** Get Fully Qualified. @return This account is fully qualified */ @@ -388,7 +388,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_ValueNoCheck ("M_Product_ID", null); else -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -407,7 +407,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_ValueNoCheck ("User1_ID", null); else -set_ValueNoCheck ("User1_ID", new Integer(User1_ID)); +set_ValueNoCheck ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -426,7 +426,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_ValueNoCheck ("User2_ID", null); else -set_ValueNoCheck ("User2_ID", new Integer(User2_ID)); +set_ValueNoCheck ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ @@ -442,7 +442,7 @@ public void setUserElement1_ID (int UserElement1_ID) { if (UserElement1_ID <= 0) set_Value ("UserElement1_ID", null); else -set_Value ("UserElement1_ID", new Integer(UserElement1_ID)); +set_Value ("UserElement1_ID", Integer.valueOf(UserElement1_ID)); } /** Get User Element 1. @return User defined accounting Element */ @@ -458,7 +458,7 @@ public void setUserElement2_ID (int UserElement2_ID) { if (UserElement2_ID <= 0) set_Value ("UserElement2_ID", null); else -set_Value ("UserElement2_ID", new Integer(UserElement2_ID)); +set_Value ("UserElement2_ID", Integer.valueOf(UserElement2_ID)); } /** Get User Element 2. @return User defined accounting Element */ diff --git a/dbPort/src/org/compiere/model/X_C_Withholding.java b/dbPort/src/org/compiere/model/X_C_Withholding.java index 9f4c3aca37..abe7b202f3 100644 --- a/dbPort/src/org/compiere/model/X_C_Withholding.java +++ b/dbPort/src/org/compiere/model/X_C_Withholding.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Withholding * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Withholding extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_C_Withholding (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=304 */ -public static final int Table_ID=304; +public static final int Table_ID=MTable.getTable_ID("C_Withholding"); /** TableName=C_Withholding */ public static final String Table_Name="C_Withholding"; -protected static KeyNamePair Model = new KeyNamePair(304,"C_Withholding"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Withholding"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ public static final int BENEFICIARY_AD_Reference_ID=138; @param Beneficiary Business Partner to whom payment is made */ public void setBeneficiary (int Beneficiary) { -set_Value ("Beneficiary", new Integer(Beneficiary)); +set_Value ("Beneficiary", Integer.valueOf(Beneficiary)); } /** Get Beneficiary. @return Business Partner to whom payment is made */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID < 1) throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setC_Withholding_ID (int C_Withholding_ID) { if (C_Withholding_ID < 1) throw new IllegalArgumentException ("C_Withholding_ID is mandatory."); -set_ValueNoCheck ("C_Withholding_ID", new Integer(C_Withholding_ID)); +set_ValueNoCheck ("C_Withholding_ID", Integer.valueOf(C_Withholding_ID)); } /** Get Withholding. @return Withholding type defined */ @@ -174,7 +174,7 @@ return bd; @param IsPaidTo3Party Amount paid to someone other than the Business Partner */ public void setIsPaidTo3Party (boolean IsPaidTo3Party) { -set_Value ("IsPaidTo3Party", new Boolean(IsPaidTo3Party)); +set_Value ("IsPaidTo3Party", Boolean.valueOf(IsPaidTo3Party)); } /** Get Paid to third party. @return Amount paid to someone other than the Business Partner */ @@ -192,7 +192,7 @@ return false; @param IsPercentWithholding Withholding amount is a percentage of the invoice amount */ public void setIsPercentWithholding (boolean IsPercentWithholding) { -set_Value ("IsPercentWithholding", new Boolean(IsPercentWithholding)); +set_Value ("IsPercentWithholding", Boolean.valueOf(IsPercentWithholding)); } /** Get Percent withholding. @return Withholding amount is a percentage of the invoice amount */ @@ -210,7 +210,7 @@ return false; @param IsTaxProrated Tax is Prorated */ public void setIsTaxProrated (boolean IsTaxProrated) { -set_Value ("IsTaxProrated", new Boolean(IsTaxProrated)); +set_Value ("IsTaxProrated", Boolean.valueOf(IsTaxProrated)); } /** Get Prorate tax. @return Tax is Prorated */ @@ -228,7 +228,7 @@ return false; @param IsTaxWithholding This is a tax related withholding */ public void setIsTaxWithholding (boolean IsTaxWithholding) { -set_Value ("IsTaxWithholding", new Boolean(IsTaxWithholding)); +set_Value ("IsTaxWithholding", Boolean.valueOf(IsTaxWithholding)); } /** Get Tax withholding. @return This is a tax related withholding */ diff --git a/dbPort/src/org/compiere/model/X_C_Withholding_Acct.java b/dbPort/src/org/compiere/model/X_C_Withholding_Acct.java index 287de1b09f..77682757f4 100644 --- a/dbPort/src/org/compiere/model/X_C_Withholding_Acct.java +++ b/dbPort/src/org/compiere/model/X_C_Withholding_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for C_Withholding_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_C_Withholding_Acct extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_C_Withholding_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=400 */ -public static final int Table_ID=400; +public static final int Table_ID=MTable.getTable_ID("C_Withholding_Acct"); /** TableName=C_Withholding_Acct */ public static final String Table_Name="C_Withholding_Acct"; -protected static KeyNamePair Model = new KeyNamePair(400,"C_Withholding_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Withholding_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setC_Withholding_ID (int C_Withholding_ID) { if (C_Withholding_ID < 1) throw new IllegalArgumentException ("C_Withholding_ID is mandatory."); -set_ValueNoCheck ("C_Withholding_ID", new Integer(C_Withholding_ID)); +set_ValueNoCheck ("C_Withholding_ID", Integer.valueOf(C_Withholding_ID)); } /** Get Withholding. @return Withholding type defined */ @@ -121,7 +121,7 @@ return ii.intValue(); @param Withholding_Acct Account for Withholdings */ public void setWithholding_Acct (int Withholding_Acct) { -set_Value ("Withholding_Acct", new Integer(Withholding_Acct)); +set_Value ("Withholding_Acct", Integer.valueOf(Withholding_Acct)); } /** Get Withholding. @return Account for Withholdings */ diff --git a/dbPort/src/org/compiere/model/X_C_Year.java b/dbPort/src/org/compiere/model/X_C_Year.java index bbf8441885..f74c42149b 100644 --- a/dbPort/src/org/compiere/model/X_C_Year.java +++ b/dbPort/src/org/compiere/model/X_C_Year.java @@ -1,39 +1,39 @@ -/****************************************************************************** - * Product: Compiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 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 * + 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 * + 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 * - *****************************************************************************/ + 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 * + *****************************************************************************/ package org.compiere.model; - -/** Generated Model - DO NOT CHANGE */ + +/** Generated Model - DO NOT CHANGE */ import java.util.*; import java.sql.*; import java.math.*; import org.compiere.util.*; -/** Generated Model for C_Year - * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ +/** Generated Model for C_Year + * @author Jorg Janke (generated) + * @version Release 3.1.3 - $Id$ */ public class X_C_Year extends PO { -/** Standard Constructor -@param ctx context -@param C_Year_ID id -@param trxName transaction -*/ +/** Standard Constructor +@param ctx context +@param C_Year_ID id +@param trxName transaction +*/ public X_C_Year (Properties ctx, int C_Year_ID, String trxName) { super (ctx, C_Year_ID, trxName); @@ -43,82 +43,82 @@ setC_Calendar_ID (0); setC_Year_ID (0); setFiscalYear (null); } - */ + */ } -/** Load Constructor -@param ctx context -@param rs result set -@param trxName transaction -*/ +/** Load Constructor +@param ctx context +@param rs result set +@param trxName transaction +*/ public X_C_Year (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); } -/** AD_Table_ID=177 */ -public static final int Table_ID=177; - -/** TableName=C_Year */ +/** AD_Table_ID=177 */ +public static final int Table_ID=MTable.getTable_ID("C_Year"); + +/** TableName=C_Year */ public static final String Table_Name="C_Year"; - -protected static KeyNamePair Model = new KeyNamePair(177,"C_Year"); - + +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"C_Year"); + protected BigDecimal accessLevel = new BigDecimal(2); -/** AccessLevel -@return 2 - Client -*/ +/** AccessLevel +@return 2 - Client +*/ protected int get_AccessLevel() { return accessLevel.intValue(); } -/** Load Meta Data -@param ctx context -@return PO Info -*/ +/** 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 -*/ +/** Info +@return info +*/ public String toString() { StringBuffer sb = new StringBuffer ("X_C_Year[").append(get_ID()).append("]"); return sb.toString(); } -/** Set Calendar. -@param C_Calendar_ID Accounting Calendar Name */ +/** Set Calendar. +@param C_Calendar_ID Accounting Calendar Name */ public void setC_Calendar_ID (int C_Calendar_ID) { if (C_Calendar_ID < 1) throw new IllegalArgumentException ("C_Calendar_ID is mandatory."); -set_ValueNoCheck ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_ValueNoCheck ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } -/** Get Calendar. -@return Accounting Calendar Name */ +/** Get Calendar. +@return Accounting Calendar Name */ public int getC_Calendar_ID() { Integer ii = (Integer)get_Value("C_Calendar_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Year. -@param C_Year_ID Calendar Year */ +/** Set Year. +@param C_Year_ID Calendar Year */ public void setC_Year_ID (int C_Year_ID) { if (C_Year_ID < 1) throw new IllegalArgumentException ("C_Year_ID is mandatory."); -set_ValueNoCheck ("C_Year_ID", new Integer(C_Year_ID)); +set_ValueNoCheck ("C_Year_ID", Integer.valueOf(C_Year_ID)); } -/** Get Year. -@return Calendar Year */ +/** Get Year. +@return Calendar Year */ public int getC_Year_ID() { Integer ii = (Integer)get_Value("C_Year_ID"); if (ii == null) return 0; return ii.intValue(); } -/** Set Description. -@param Description Optional short description of the record */ +/** Set Description. +@param Description Optional short description of the record */ public void setDescription (String Description) { if (Description != null && Description.length() > 255) @@ -128,14 +128,14 @@ Description = Description.substring(0,254); } set_Value ("Description", Description); } -/** Get Description. -@return Optional short description of the record */ +/** Get Description. +@return Optional short description of the record */ public String getDescription() { return (String)get_Value("Description"); } -/** Set Year. -@param FiscalYear The Fiscal Year */ +/** Set Year. +@param FiscalYear The Fiscal Year */ public void setFiscalYear (String FiscalYear) { if (FiscalYear == null) throw new IllegalArgumentException ("FiscalYear is mandatory."); @@ -146,26 +146,26 @@ FiscalYear = FiscalYear.substring(0,9); } set_Value ("FiscalYear", FiscalYear); } -/** Get Year. -@return The Fiscal Year */ +/** Get Year. +@return The Fiscal Year */ public String getFiscalYear() { return (String)get_Value("FiscalYear"); } -/** Get Record ID/ColumnName -@return ID/ColumnName pair +/** Get Record ID/ColumnName +@return ID/ColumnName pair */public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getFiscalYear()); } -/** Set Process Now. -@param Processing Process Now */ +/** Set Process Now. +@param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } -/** Get Process Now. -@return Process Now */ +/** Get Process Now. +@return Process Now */ public boolean isProcessing() { Object oo = get_Value("Processing"); diff --git a/dbPort/src/org/compiere/model/X_Fact_Acct.java b/dbPort/src/org/compiere/model/X_Fact_Acct.java index d4bbbd2b0b..9eedb4a6d9 100644 --- a/dbPort/src/org/compiere/model/X_Fact_Acct.java +++ b/dbPort/src/org/compiere/model/X_Fact_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for Fact_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_Fact_Acct extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_Fact_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=270 */ -public static final int Table_ID=270; +public static final int Table_ID=MTable.getTable_ID("Fact_Acct"); /** TableName=Fact_Acct */ public static final String Table_Name="Fact_Acct"; -protected static KeyNamePair Model = new KeyNamePair(270,"Fact_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"Fact_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -108,7 +108,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_ValueNoCheck ("AD_OrgTrx_ID", null); else -set_ValueNoCheck ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_ValueNoCheck ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -123,7 +123,7 @@ return ii.intValue(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -139,7 +139,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -157,7 +157,7 @@ public static final int ACCOUNT_ID_AD_Reference_ID=132; public void setAccount_ID (int Account_ID) { if (Account_ID < 1) throw new IllegalArgumentException ("Account_ID is mandatory."); -set_ValueNoCheck ("Account_ID", new Integer(Account_ID)); +set_ValueNoCheck ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -232,7 +232,7 @@ return bd; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -248,7 +248,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_ValueNoCheck ("C_Activity_ID", null); else -set_ValueNoCheck ("C_Activity_ID", new Integer(C_Activity_ID)); +set_ValueNoCheck ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -264,7 +264,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_ValueNoCheck ("C_BPartner_ID", null); else -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -280,7 +280,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_ValueNoCheck ("C_Campaign_ID", null); else -set_ValueNoCheck ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_ValueNoCheck ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -295,7 +295,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -314,7 +314,7 @@ public void setC_LocFrom_ID (int C_LocFrom_ID) { if (C_LocFrom_ID <= 0) set_ValueNoCheck ("C_LocFrom_ID", null); else -set_ValueNoCheck ("C_LocFrom_ID", new Integer(C_LocFrom_ID)); +set_ValueNoCheck ("C_LocFrom_ID", Integer.valueOf(C_LocFrom_ID)); } /** Get Location From. @return Location that inventory was moved from */ @@ -333,7 +333,7 @@ public void setC_LocTo_ID (int C_LocTo_ID) { if (C_LocTo_ID <= 0) set_ValueNoCheck ("C_LocTo_ID", null); else -set_ValueNoCheck ("C_LocTo_ID", new Integer(C_LocTo_ID)); +set_ValueNoCheck ("C_LocTo_ID", Integer.valueOf(C_LocTo_ID)); } /** Get Location To. @return Location that inventory was moved to */ @@ -348,7 +348,7 @@ return ii.intValue(); public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID < 1) throw new IllegalArgumentException ("C_Period_ID is mandatory."); -set_ValueNoCheck ("C_Period_ID", new Integer(C_Period_ID)); +set_ValueNoCheck ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -364,7 +364,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_ValueNoCheck ("C_ProjectPhase_ID", null); else -set_ValueNoCheck ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_ValueNoCheck ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -380,7 +380,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_ValueNoCheck ("C_ProjectTask_ID", null); else -set_ValueNoCheck ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_ValueNoCheck ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -396,7 +396,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_ValueNoCheck ("C_Project_ID", null); else -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -412,7 +412,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_ValueNoCheck ("C_SalesRegion_ID", null); else -set_ValueNoCheck ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_ValueNoCheck ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -428,7 +428,7 @@ public void setC_SubAcct_ID (int C_SubAcct_ID) { if (C_SubAcct_ID <= 0) set_Value ("C_SubAcct_ID", null); else -set_Value ("C_SubAcct_ID", new Integer(C_SubAcct_ID)); +set_Value ("C_SubAcct_ID", Integer.valueOf(C_SubAcct_ID)); } /** Get Sub Account. @return Sub account for Element Value */ @@ -444,7 +444,7 @@ public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID <= 0) set_ValueNoCheck ("C_Tax_ID", null); else -set_ValueNoCheck ("C_Tax_ID", new Integer(C_Tax_ID)); +set_ValueNoCheck ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -460,7 +460,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_ValueNoCheck ("C_UOM_ID", null); else -set_ValueNoCheck ("C_UOM_ID", new Integer(C_UOM_ID)); +set_ValueNoCheck ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -518,7 +518,7 @@ return (String)get_Value("Description"); public void setFact_Acct_ID (int Fact_Acct_ID) { if (Fact_Acct_ID < 1) throw new IllegalArgumentException ("Fact_Acct_ID is mandatory."); -set_ValueNoCheck ("Fact_Acct_ID", new Integer(Fact_Acct_ID)); +set_ValueNoCheck ("Fact_Acct_ID", Integer.valueOf(Fact_Acct_ID)); } /** Get Accounting Fact. @return Accounting Fact */ @@ -540,7 +540,7 @@ public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID <= 0) set_ValueNoCheck ("GL_Budget_ID", null); else -set_ValueNoCheck ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_ValueNoCheck ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -555,7 +555,7 @@ return ii.intValue(); public void setGL_Category_ID (int GL_Category_ID) { if (GL_Category_ID < 1) throw new IllegalArgumentException ("GL_Category_ID is mandatory."); -set_ValueNoCheck ("GL_Category_ID", new Integer(GL_Category_ID)); +set_ValueNoCheck ("GL_Category_ID", Integer.valueOf(GL_Category_ID)); } /** Get GL Category. @return General Ledger Category */ @@ -571,7 +571,7 @@ public void setLine_ID (int Line_ID) { if (Line_ID <= 0) set_ValueNoCheck ("Line_ID", null); else -set_ValueNoCheck ("Line_ID", new Integer(Line_ID)); +set_ValueNoCheck ("Line_ID", Integer.valueOf(Line_ID)); } /** Get Line ID. @return Transaction line ID (internal) */ @@ -587,7 +587,7 @@ public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID <= 0) set_ValueNoCheck ("M_Locator_ID", null); else -set_ValueNoCheck ("M_Locator_ID", new Integer(M_Locator_ID)); +set_ValueNoCheck ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -603,7 +603,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_ValueNoCheck ("M_Product_ID", null); else -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -665,7 +665,7 @@ return bd; public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ @@ -684,7 +684,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_ValueNoCheck ("User1_ID", null); else -set_ValueNoCheck ("User1_ID", new Integer(User1_ID)); +set_ValueNoCheck ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -703,7 +703,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_ValueNoCheck ("User2_ID", null); else -set_ValueNoCheck ("User2_ID", new Integer(User2_ID)); +set_ValueNoCheck ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ @@ -719,7 +719,7 @@ public void setUserElement1_ID (int UserElement1_ID) { if (UserElement1_ID <= 0) set_ValueNoCheck ("UserElement1_ID", null); else -set_ValueNoCheck ("UserElement1_ID", new Integer(UserElement1_ID)); +set_ValueNoCheck ("UserElement1_ID", Integer.valueOf(UserElement1_ID)); } /** Get User Element 1. @return User defined accounting Element */ @@ -735,7 +735,7 @@ public void setUserElement2_ID (int UserElement2_ID) { if (UserElement2_ID <= 0) set_ValueNoCheck ("UserElement2_ID", null); else -set_ValueNoCheck ("UserElement2_ID", new Integer(UserElement2_ID)); +set_ValueNoCheck ("UserElement2_ID", Integer.valueOf(UserElement2_ID)); } /** Get User Element 2. @return User defined accounting Element */ diff --git a/dbPort/src/org/compiere/model/X_Fact_Acct_Balance.java b/dbPort/src/org/compiere/model/X_Fact_Acct_Balance.java index a859be1580..e7bd63374d 100644 --- a/dbPort/src/org/compiere/model/X_Fact_Acct_Balance.java +++ b/dbPort/src/org/compiere/model/X_Fact_Acct_Balance.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for Fact_Acct_Balance * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_Fact_Acct_Balance extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_Fact_Acct_Balance (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=547 */ -public static final int Table_ID=547; +public static final int Table_ID=MTable.getTable_ID("Fact_Acct_Balance"); /** TableName=Fact_Acct_Balance */ public static final String Table_Name="Fact_Acct_Balance"; -protected static KeyNamePair Model = new KeyNamePair(547,"Fact_Acct_Balance"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"Fact_Acct_Balance"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -100,7 +100,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -118,7 +118,7 @@ public static final int ACCOUNT_ID_AD_Reference_ID=182; public void setAccount_ID (int Account_ID) { if (Account_ID < 1) throw new IllegalArgumentException ("Account_ID is mandatory."); -set_Value ("Account_ID", new Integer(Account_ID)); +set_Value ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -163,7 +163,7 @@ return bd; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -185,7 +185,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -201,7 +201,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -217,7 +217,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -236,7 +236,7 @@ public void setC_LocFrom_ID (int C_LocFrom_ID) { if (C_LocFrom_ID <= 0) set_Value ("C_LocFrom_ID", null); else -set_Value ("C_LocFrom_ID", new Integer(C_LocFrom_ID)); +set_Value ("C_LocFrom_ID", Integer.valueOf(C_LocFrom_ID)); } /** Get Location From. @return Location that inventory was moved from */ @@ -255,7 +255,7 @@ public void setC_LocTo_ID (int C_LocTo_ID) { if (C_LocTo_ID <= 0) set_Value ("C_LocTo_ID", null); else -set_Value ("C_LocTo_ID", new Integer(C_LocTo_ID)); +set_Value ("C_LocTo_ID", Integer.valueOf(C_LocTo_ID)); } /** Get Location To. @return Location that inventory was moved to */ @@ -271,7 +271,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_ValueNoCheck ("C_ProjectPhase_ID", null); else -set_ValueNoCheck ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_ValueNoCheck ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -287,7 +287,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_ValueNoCheck ("C_ProjectTask_ID", null); else -set_ValueNoCheck ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_ValueNoCheck ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -303,7 +303,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -319,7 +319,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -335,7 +335,7 @@ public void setC_SubAcct_ID (int C_SubAcct_ID) { if (C_SubAcct_ID <= 0) set_ValueNoCheck ("C_SubAcct_ID", null); else -set_ValueNoCheck ("C_SubAcct_ID", new Integer(C_SubAcct_ID)); +set_ValueNoCheck ("C_SubAcct_ID", Integer.valueOf(C_SubAcct_ID)); } /** Get Sub Account. @return Sub account for Element Value */ @@ -364,7 +364,7 @@ public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID <= 0) set_Value ("GL_Budget_ID", null); else -set_Value ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_Value ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -380,7 +380,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -447,7 +447,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -466,7 +466,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ @@ -482,7 +482,7 @@ public void setUserElement1_ID (int UserElement1_ID) { if (UserElement1_ID <= 0) set_Value ("UserElement1_ID", null); else -set_Value ("UserElement1_ID", new Integer(UserElement1_ID)); +set_Value ("UserElement1_ID", Integer.valueOf(UserElement1_ID)); } /** Get User Element 1. @return User defined accounting Element */ @@ -498,7 +498,7 @@ public void setUserElement2_ID (int UserElement2_ID) { if (UserElement2_ID <= 0) set_Value ("UserElement2_ID", null); else -set_Value ("UserElement2_ID", new Integer(UserElement2_ID)); +set_Value ("UserElement2_ID", Integer.valueOf(UserElement2_ID)); } /** Get User Element 2. @return User defined accounting Element */ diff --git a/dbPort/src/org/compiere/model/X_GL_Budget.java b/dbPort/src/org/compiere/model/X_GL_Budget.java index 1896ae0bb6..90c40ada0b 100644 --- a/dbPort/src/org/compiere/model/X_GL_Budget.java +++ b/dbPort/src/org/compiere/model/X_GL_Budget.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_Budget * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_Budget extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_GL_Budget (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=271 */ -public static final int Table_ID=271; +public static final int Table_ID=MTable.getTable_ID("GL_Budget"); /** TableName=GL_Budget */ public static final String Table_Name="GL_Budget"; -protected static KeyNamePair Model = new KeyNamePair(271,"GL_Budget"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_Budget"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -135,7 +135,7 @@ return (String)get_Value("Description"); public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID < 1) throw new IllegalArgumentException ("GL_Budget_ID is mandatory."); -set_ValueNoCheck ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_ValueNoCheck ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -149,7 +149,7 @@ return ii.intValue(); @param IsPrimary Indicates if this is the primary budget */ public void setIsPrimary (boolean IsPrimary) { -set_Value ("IsPrimary", new Boolean(IsPrimary)); +set_Value ("IsPrimary", Boolean.valueOf(IsPrimary)); } /** Get Primary. @return Indicates if this is the primary budget */ diff --git a/dbPort/src/org/compiere/model/X_GL_BudgetControl.java b/dbPort/src/org/compiere/model/X_GL_BudgetControl.java index 642366cc9f..e98fde34d4 100644 --- a/dbPort/src/org/compiere/model/X_GL_BudgetControl.java +++ b/dbPort/src/org/compiere/model/X_GL_BudgetControl.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_BudgetControl * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_BudgetControl extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_GL_BudgetControl (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=822 */ -public static final int Table_ID=822; +public static final int Table_ID=MTable.getTable_ID("GL_BudgetControl"); /** TableName=GL_BudgetControl */ public static final String Table_Name="GL_BudgetControl"; -protected static KeyNamePair Model = new KeyNamePair(822,"GL_BudgetControl"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_BudgetControl"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("BudgetControlScope"); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -186,7 +186,7 @@ return (String)get_Value("Description"); public void setGL_BudgetControl_ID (int GL_BudgetControl_ID) { if (GL_BudgetControl_ID < 1) throw new IllegalArgumentException ("GL_BudgetControl_ID is mandatory."); -set_ValueNoCheck ("GL_BudgetControl_ID", new Integer(GL_BudgetControl_ID)); +set_ValueNoCheck ("GL_BudgetControl_ID", Integer.valueOf(GL_BudgetControl_ID)); } /** Get Budget Control. @return Budget Control */ @@ -201,7 +201,7 @@ return ii.intValue(); public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID < 1) throw new IllegalArgumentException ("GL_Budget_ID is mandatory."); -set_Value ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_Value ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -232,7 +232,7 @@ return (String)get_Value("Help"); @param IsBeforeApproval The Check is before the (manual) approval */ public void setIsBeforeApproval (boolean IsBeforeApproval) { -set_Value ("IsBeforeApproval", new Boolean(IsBeforeApproval)); +set_Value ("IsBeforeApproval", Boolean.valueOf(IsBeforeApproval)); } /** Get Before Approval. @return The Check is before the (manual) approval */ diff --git a/dbPort/src/org/compiere/model/X_GL_Category.java b/dbPort/src/org/compiere/model/X_GL_Category.java index 067d5dd512..040c132252 100644 --- a/dbPort/src/org/compiere/model/X_GL_Category.java +++ b/dbPort/src/org/compiere/model/X_GL_Category.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_Category * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_Category extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_GL_Category (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=218 */ -public static final int Table_ID=218; +public static final int Table_ID=MTable.getTable_ID("GL_Category"); /** TableName=GL_Category */ public static final String Table_Name="GL_Category"; -protected static KeyNamePair Model = new KeyNamePair(218,"GL_Category"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_Category"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -141,7 +141,7 @@ return (String)get_Value("Description"); public void setGL_Category_ID (int GL_Category_ID) { if (GL_Category_ID < 1) throw new IllegalArgumentException ("GL_Category_ID is mandatory."); -set_ValueNoCheck ("GL_Category_ID", new Integer(GL_Category_ID)); +set_ValueNoCheck ("GL_Category_ID", Integer.valueOf(GL_Category_ID)); } /** Get GL Category. @return General Ledger Category */ @@ -155,7 +155,7 @@ return ii.intValue(); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ diff --git a/dbPort/src/org/compiere/model/X_GL_Distribution.java b/dbPort/src/org/compiere/model/X_GL_Distribution.java index 8a459b7945..a5a833fd35 100644 --- a/dbPort/src/org/compiere/model/X_GL_Distribution.java +++ b/dbPort/src/org/compiere/model/X_GL_Distribution.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_Distribution * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_Distribution extends PO { /** Standard Constructor @@ -70,12 +70,12 @@ public X_GL_Distribution (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=708 */ -public static final int Table_ID=708; +public static final int Table_ID=MTable.getTable_ID("GL_Distribution"); /** TableName=GL_Distribution */ public static final String Table_Name="GL_Distribution"; -protected static KeyNamePair Model = new KeyNamePair(708,"GL_Distribution"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_Distribution"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -111,7 +111,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -130,7 +130,7 @@ public void setAccount_ID (int Account_ID) { if (Account_ID <= 0) set_Value ("Account_ID", null); else -set_Value ("Account_ID", new Integer(Account_ID)); +set_Value ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -144,7 +144,7 @@ return ii.intValue(); @param AnyAcct Match any value of the Account segment */ public void setAnyAcct (boolean AnyAcct) { -set_Value ("AnyAcct", new Boolean(AnyAcct)); +set_Value ("AnyAcct", Boolean.valueOf(AnyAcct)); } /** Get Any Account. @return Match any value of the Account segment */ @@ -162,7 +162,7 @@ return false; @param AnyActivity Match any value of the Activity segment */ public void setAnyActivity (boolean AnyActivity) { -set_Value ("AnyActivity", new Boolean(AnyActivity)); +set_Value ("AnyActivity", Boolean.valueOf(AnyActivity)); } /** Get Any Activity. @return Match any value of the Activity segment */ @@ -180,7 +180,7 @@ return false; @param AnyBPartner Match any value of the Business Partner segment */ public void setAnyBPartner (boolean AnyBPartner) { -set_Value ("AnyBPartner", new Boolean(AnyBPartner)); +set_Value ("AnyBPartner", Boolean.valueOf(AnyBPartner)); } /** Get Any Bus.Partner. @return Match any value of the Business Partner segment */ @@ -198,7 +198,7 @@ return false; @param AnyCampaign Match any value of the Campaign segment */ public void setAnyCampaign (boolean AnyCampaign) { -set_Value ("AnyCampaign", new Boolean(AnyCampaign)); +set_Value ("AnyCampaign", Boolean.valueOf(AnyCampaign)); } /** Get Any Campaign. @return Match any value of the Campaign segment */ @@ -216,7 +216,7 @@ return false; @param AnyLocFrom Match any value of the Location From segment */ public void setAnyLocFrom (boolean AnyLocFrom) { -set_Value ("AnyLocFrom", new Boolean(AnyLocFrom)); +set_Value ("AnyLocFrom", Boolean.valueOf(AnyLocFrom)); } /** Get Any Location From. @return Match any value of the Location From segment */ @@ -234,7 +234,7 @@ return false; @param AnyLocTo Match any value of the Location To segment */ public void setAnyLocTo (boolean AnyLocTo) { -set_Value ("AnyLocTo", new Boolean(AnyLocTo)); +set_Value ("AnyLocTo", Boolean.valueOf(AnyLocTo)); } /** Get Any Location To. @return Match any value of the Location To segment */ @@ -252,7 +252,7 @@ return false; @param AnyOrg Match any value of the Organization segment */ public void setAnyOrg (boolean AnyOrg) { -set_Value ("AnyOrg", new Boolean(AnyOrg)); +set_Value ("AnyOrg", Boolean.valueOf(AnyOrg)); } /** Get Any Organization. @return Match any value of the Organization segment */ @@ -270,7 +270,7 @@ return false; @param AnyOrgTrx Match any value of the Transaction Organization segment */ public void setAnyOrgTrx (boolean AnyOrgTrx) { -set_Value ("AnyOrgTrx", new Boolean(AnyOrgTrx)); +set_Value ("AnyOrgTrx", Boolean.valueOf(AnyOrgTrx)); } /** Get Any Trx Organization. @return Match any value of the Transaction Organization segment */ @@ -288,7 +288,7 @@ return false; @param AnyProduct Match any value of the Product segment */ public void setAnyProduct (boolean AnyProduct) { -set_Value ("AnyProduct", new Boolean(AnyProduct)); +set_Value ("AnyProduct", Boolean.valueOf(AnyProduct)); } /** Get Any Product. @return Match any value of the Product segment */ @@ -306,7 +306,7 @@ return false; @param AnyProject Match any value of the Project segment */ public void setAnyProject (boolean AnyProject) { -set_Value ("AnyProject", new Boolean(AnyProject)); +set_Value ("AnyProject", Boolean.valueOf(AnyProject)); } /** Get Any Project. @return Match any value of the Project segment */ @@ -324,7 +324,7 @@ return false; @param AnySalesRegion Match any value of the Sales Region segment */ public void setAnySalesRegion (boolean AnySalesRegion) { -set_Value ("AnySalesRegion", new Boolean(AnySalesRegion)); +set_Value ("AnySalesRegion", Boolean.valueOf(AnySalesRegion)); } /** Get Any Sales Region. @return Match any value of the Sales Region segment */ @@ -342,7 +342,7 @@ return false; @param AnyUser1 Match any value of the User 1 segment */ public void setAnyUser1 (boolean AnyUser1) { -set_Value ("AnyUser1", new Boolean(AnyUser1)); +set_Value ("AnyUser1", Boolean.valueOf(AnyUser1)); } /** Get Any User 1. @return Match any value of the User 1 segment */ @@ -360,7 +360,7 @@ return false; @param AnyUser2 Match any value of the User 2 segment */ public void setAnyUser2 (boolean AnyUser2) { -set_Value ("AnyUser2", new Boolean(AnyUser2)); +set_Value ("AnyUser2", Boolean.valueOf(AnyUser2)); } /** Get Any User 2. @return Match any value of the User 2 segment */ @@ -379,7 +379,7 @@ return false; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -395,7 +395,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -411,7 +411,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -427,7 +427,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -443,7 +443,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -462,7 +462,7 @@ public void setC_LocFrom_ID (int C_LocFrom_ID) { if (C_LocFrom_ID <= 0) set_Value ("C_LocFrom_ID", null); else -set_Value ("C_LocFrom_ID", new Integer(C_LocFrom_ID)); +set_Value ("C_LocFrom_ID", Integer.valueOf(C_LocFrom_ID)); } /** Get Location From. @return Location that inventory was moved from */ @@ -481,7 +481,7 @@ public void setC_LocTo_ID (int C_LocTo_ID) { if (C_LocTo_ID <= 0) set_Value ("C_LocTo_ID", null); else -set_Value ("C_LocTo_ID", new Integer(C_LocTo_ID)); +set_Value ("C_LocTo_ID", Integer.valueOf(C_LocTo_ID)); } /** Get Location To. @return Location that inventory was moved to */ @@ -497,7 +497,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -513,7 +513,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -545,7 +545,7 @@ return (String)get_Value("Description"); public void setGL_Distribution_ID (int GL_Distribution_ID) { if (GL_Distribution_ID < 1) throw new IllegalArgumentException ("GL_Distribution_ID is mandatory."); -set_ValueNoCheck ("GL_Distribution_ID", new Integer(GL_Distribution_ID)); +set_ValueNoCheck ("GL_Distribution_ID", Integer.valueOf(GL_Distribution_ID)); } /** Get GL Distribution. @return General Ledger Distribution */ @@ -576,7 +576,7 @@ return (String)get_Value("Help"); @param IsValid Element is valid */ public void setIsValid (boolean IsValid) { -set_Value ("IsValid", new Boolean(IsValid)); +set_Value ("IsValid", Boolean.valueOf(IsValid)); } /** Get Valid. @return Element is valid */ @@ -596,7 +596,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -639,7 +639,7 @@ public void setOrg_ID (int Org_ID) { if (Org_ID <= 0) set_Value ("Org_ID", null); else -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ @@ -700,7 +700,7 @@ return (String)get_Value("PostingType"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -723,7 +723,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -742,7 +742,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_GL_DistributionLine.java b/dbPort/src/org/compiere/model/X_GL_DistributionLine.java index 67a01de4b8..09ec8ff405 100644 --- a/dbPort/src/org/compiere/model/X_GL_DistributionLine.java +++ b/dbPort/src/org/compiere/model/X_GL_DistributionLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_DistributionLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_DistributionLine extends PO { /** Standard Constructor @@ -69,12 +69,12 @@ public X_GL_DistributionLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=707 */ -public static final int Table_ID=707; +public static final int Table_ID=MTable.getTable_ID("GL_DistributionLine"); /** TableName=GL_DistributionLine */ public static final String Table_Name="GL_DistributionLine"; -protected static KeyNamePair Model = new KeyNamePair(707,"GL_DistributionLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_DistributionLine"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -110,7 +110,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -129,7 +129,7 @@ public void setAccount_ID (int Account_ID) { if (Account_ID <= 0) set_Value ("Account_ID", null); else -set_Value ("Account_ID", new Integer(Account_ID)); +set_Value ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -145,7 +145,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -161,7 +161,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -177,7 +177,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -196,7 +196,7 @@ public void setC_LocFrom_ID (int C_LocFrom_ID) { if (C_LocFrom_ID <= 0) set_Value ("C_LocFrom_ID", null); else -set_Value ("C_LocFrom_ID", new Integer(C_LocFrom_ID)); +set_Value ("C_LocFrom_ID", Integer.valueOf(C_LocFrom_ID)); } /** Get Location From. @return Location that inventory was moved from */ @@ -215,7 +215,7 @@ public void setC_LocTo_ID (int C_LocTo_ID) { if (C_LocTo_ID <= 0) set_Value ("C_LocTo_ID", null); else -set_Value ("C_LocTo_ID", new Integer(C_LocTo_ID)); +set_Value ("C_LocTo_ID", Integer.valueOf(C_LocTo_ID)); } /** Get Location To. @return Location that inventory was moved to */ @@ -231,7 +231,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -247,7 +247,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -279,7 +279,7 @@ return (String)get_Value("Description"); public void setGL_DistributionLine_ID (int GL_DistributionLine_ID) { if (GL_DistributionLine_ID < 1) throw new IllegalArgumentException ("GL_DistributionLine_ID is mandatory."); -set_ValueNoCheck ("GL_DistributionLine_ID", new Integer(GL_DistributionLine_ID)); +set_ValueNoCheck ("GL_DistributionLine_ID", Integer.valueOf(GL_DistributionLine_ID)); } /** Get GL Distribution Line. @return General Ledger Distribution Line */ @@ -294,7 +294,7 @@ return ii.intValue(); public void setGL_Distribution_ID (int GL_Distribution_ID) { if (GL_Distribution_ID < 1) throw new IllegalArgumentException ("GL_Distribution_ID is mandatory."); -set_ValueNoCheck ("GL_Distribution_ID", new Integer(GL_Distribution_ID)); +set_ValueNoCheck ("GL_Distribution_ID", Integer.valueOf(GL_Distribution_ID)); } /** Get GL Distribution. @return General Ledger Distribution */ @@ -308,7 +308,7 @@ return ii.intValue(); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -330,7 +330,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -349,7 +349,7 @@ public void setOrg_ID (int Org_ID) { if (Org_ID <= 0) set_Value ("Org_ID", null); else -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ @@ -363,7 +363,7 @@ return ii.intValue(); @param OverwriteAcct Overwrite the account segment Account with the value specified */ public void setOverwriteAcct (boolean OverwriteAcct) { -set_Value ("OverwriteAcct", new Boolean(OverwriteAcct)); +set_Value ("OverwriteAcct", Boolean.valueOf(OverwriteAcct)); } /** Get Overwrite Account. @return Overwrite the account segment Account with the value specified */ @@ -381,7 +381,7 @@ return false; @param OverwriteActivity Overwrite the account segment Activity with the value specified */ public void setOverwriteActivity (boolean OverwriteActivity) { -set_Value ("OverwriteActivity", new Boolean(OverwriteActivity)); +set_Value ("OverwriteActivity", Boolean.valueOf(OverwriteActivity)); } /** Get Overwrite Activity. @return Overwrite the account segment Activity with the value specified */ @@ -399,7 +399,7 @@ return false; @param OverwriteBPartner Overwrite the account segment Business Partner with the value specified */ public void setOverwriteBPartner (boolean OverwriteBPartner) { -set_Value ("OverwriteBPartner", new Boolean(OverwriteBPartner)); +set_Value ("OverwriteBPartner", Boolean.valueOf(OverwriteBPartner)); } /** Get Overwrite Bus.Partner. @return Overwrite the account segment Business Partner with the value specified */ @@ -417,7 +417,7 @@ return false; @param OverwriteCampaign Overwrite the account segment Campaign with the value specified */ public void setOverwriteCampaign (boolean OverwriteCampaign) { -set_Value ("OverwriteCampaign", new Boolean(OverwriteCampaign)); +set_Value ("OverwriteCampaign", Boolean.valueOf(OverwriteCampaign)); } /** Get Overwrite Campaign. @return Overwrite the account segment Campaign with the value specified */ @@ -435,7 +435,7 @@ return false; @param OverwriteLocFrom Overwrite the account segment Location From with the value specified */ public void setOverwriteLocFrom (boolean OverwriteLocFrom) { -set_Value ("OverwriteLocFrom", new Boolean(OverwriteLocFrom)); +set_Value ("OverwriteLocFrom", Boolean.valueOf(OverwriteLocFrom)); } /** Get Overwrite Location From. @return Overwrite the account segment Location From with the value specified */ @@ -453,7 +453,7 @@ return false; @param OverwriteLocTo Overwrite the account segment Location From with the value specified */ public void setOverwriteLocTo (boolean OverwriteLocTo) { -set_Value ("OverwriteLocTo", new Boolean(OverwriteLocTo)); +set_Value ("OverwriteLocTo", Boolean.valueOf(OverwriteLocTo)); } /** Get Overwrite Location To. @return Overwrite the account segment Location From with the value specified */ @@ -471,7 +471,7 @@ return false; @param OverwriteOrg Overwrite the account segment Organization with the value specified */ public void setOverwriteOrg (boolean OverwriteOrg) { -set_Value ("OverwriteOrg", new Boolean(OverwriteOrg)); +set_Value ("OverwriteOrg", Boolean.valueOf(OverwriteOrg)); } /** Get Overwrite Organization. @return Overwrite the account segment Organization with the value specified */ @@ -489,7 +489,7 @@ return false; @param OverwriteOrgTrx Overwrite the account segment Transaction Organization with the value specified */ public void setOverwriteOrgTrx (boolean OverwriteOrgTrx) { -set_Value ("OverwriteOrgTrx", new Boolean(OverwriteOrgTrx)); +set_Value ("OverwriteOrgTrx", Boolean.valueOf(OverwriteOrgTrx)); } /** Get Overwrite Trx Organuzation. @return Overwrite the account segment Transaction Organization with the value specified */ @@ -507,7 +507,7 @@ return false; @param OverwriteProduct Overwrite the account segment Product with the value specified */ public void setOverwriteProduct (boolean OverwriteProduct) { -set_Value ("OverwriteProduct", new Boolean(OverwriteProduct)); +set_Value ("OverwriteProduct", Boolean.valueOf(OverwriteProduct)); } /** Get Overwrite Product. @return Overwrite the account segment Product with the value specified */ @@ -525,7 +525,7 @@ return false; @param OverwriteProject Overwrite the account segment Project with the value specified */ public void setOverwriteProject (boolean OverwriteProject) { -set_Value ("OverwriteProject", new Boolean(OverwriteProject)); +set_Value ("OverwriteProject", Boolean.valueOf(OverwriteProject)); } /** Get Overwrite Project. @return Overwrite the account segment Project with the value specified */ @@ -543,7 +543,7 @@ return false; @param OverwriteSalesRegion Overwrite the account segment Sales Region with the value specified */ public void setOverwriteSalesRegion (boolean OverwriteSalesRegion) { -set_Value ("OverwriteSalesRegion", new Boolean(OverwriteSalesRegion)); +set_Value ("OverwriteSalesRegion", Boolean.valueOf(OverwriteSalesRegion)); } /** Get Overwrite Sales Region. @return Overwrite the account segment Sales Region with the value specified */ @@ -561,7 +561,7 @@ return false; @param OverwriteUser1 Overwrite the account segment User 1 with the value specified */ public void setOverwriteUser1 (boolean OverwriteUser1) { -set_Value ("OverwriteUser1", new Boolean(OverwriteUser1)); +set_Value ("OverwriteUser1", Boolean.valueOf(OverwriteUser1)); } /** Get Overwrite User1. @return Overwrite the account segment User 1 with the value specified */ @@ -579,7 +579,7 @@ return false; @param OverwriteUser2 Overwrite the account segment User 2 with the value specified */ public void setOverwriteUser2 (boolean OverwriteUser2) { -set_Value ("OverwriteUser2", new Boolean(OverwriteUser2)); +set_Value ("OverwriteUser2", Boolean.valueOf(OverwriteUser2)); } /** Get Overwrite User2. @return Overwrite the account segment User 2 with the value specified */ @@ -617,7 +617,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -636,7 +636,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_GL_Fund.java b/dbPort/src/org/compiere/model/X_GL_Fund.java index bcbf482c3f..e4f69449bc 100644 --- a/dbPort/src/org/compiere/model/X_GL_Fund.java +++ b/dbPort/src/org/compiere/model/X_GL_Fund.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_Fund * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_Fund extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_GL_Fund (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=823 */ -public static final int Table_ID=823; +public static final int Table_ID=MTable.getTable_ID("GL_Fund"); /** TableName=GL_Fund */ public static final String Table_Name="GL_Fund"; -protected static KeyNamePair Model = new KeyNamePair(823,"GL_Fund"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_Fund"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -108,7 +108,7 @@ return bd; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -164,7 +164,7 @@ return (String)get_Value("Description"); public void setGL_Fund_ID (int GL_Fund_ID) { if (GL_Fund_ID < 1) throw new IllegalArgumentException ("GL_Fund_ID is mandatory."); -set_ValueNoCheck ("GL_Fund_ID", new Integer(GL_Fund_ID)); +set_ValueNoCheck ("GL_Fund_ID", Integer.valueOf(GL_Fund_ID)); } /** Get GL Fund. @return General Ledger Funds Control */ diff --git a/dbPort/src/org/compiere/model/X_GL_FundRestriction.java b/dbPort/src/org/compiere/model/X_GL_FundRestriction.java index ec21350dcc..ca70b992f4 100644 --- a/dbPort/src/org/compiere/model/X_GL_FundRestriction.java +++ b/dbPort/src/org/compiere/model/X_GL_FundRestriction.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_FundRestriction * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_FundRestriction extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_GL_FundRestriction (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=824 */ -public static final int Table_ID=824; +public static final int Table_ID=MTable.getTable_ID("GL_FundRestriction"); /** TableName=GL_FundRestriction */ public static final String Table_Name="GL_FundRestriction"; -protected static KeyNamePair Model = new KeyNamePair(824,"GL_FundRestriction"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_FundRestriction"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID < 1) throw new IllegalArgumentException ("C_ElementValue_ID is mandatory."); -set_Value ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_Value ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -125,7 +125,7 @@ return (String)get_Value("Description"); public void setGL_FundRestriction_ID (int GL_FundRestriction_ID) { if (GL_FundRestriction_ID < 1) throw new IllegalArgumentException ("GL_FundRestriction_ID is mandatory."); -set_ValueNoCheck ("GL_FundRestriction_ID", new Integer(GL_FundRestriction_ID)); +set_ValueNoCheck ("GL_FundRestriction_ID", Integer.valueOf(GL_FundRestriction_ID)); } /** Get Fund Restriction. @return Restriction of Funds */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setGL_Fund_ID (int GL_Fund_ID) { if (GL_Fund_ID < 1) throw new IllegalArgumentException ("GL_Fund_ID is mandatory."); -set_ValueNoCheck ("GL_Fund_ID", new Integer(GL_Fund_ID)); +set_ValueNoCheck ("GL_Fund_ID", Integer.valueOf(GL_Fund_ID)); } /** Get GL Fund. @return General Ledger Funds Control */ diff --git a/dbPort/src/org/compiere/model/X_GL_Journal.java b/dbPort/src/org/compiere/model/X_GL_Journal.java index 0812d93331..20f076087a 100644 --- a/dbPort/src/org/compiere/model/X_GL_Journal.java +++ b/dbPort/src/org/compiere/model/X_GL_Journal.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_Journal * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_Journal extends PO { /** Standard Constructor @@ -72,12 +72,12 @@ public X_GL_Journal (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=224 */ -public static final int Table_ID=224; +public static final int Table_ID=MTable.getTable_ID("GL_Journal"); /** TableName=GL_Journal */ public static final String Table_Name="GL_Journal"; -protected static KeyNamePair Model = new KeyNamePair(224,"GL_Journal"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_Journal"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -109,7 +109,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID < 1) throw new IllegalArgumentException ("C_ConversionType_ID is mandatory."); -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -154,7 +154,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -172,7 +172,7 @@ public static final int C_PERIOD_ID_AD_Reference_ID=275; public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID < 1) throw new IllegalArgumentException ("C_Period_ID is mandatory."); -set_Value ("C_Period_ID", new Integer(C_Period_ID)); +set_Value ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -383,7 +383,7 @@ public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID <= 0) set_Value ("GL_Budget_ID", null); else -set_Value ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_Value ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -398,7 +398,7 @@ return ii.intValue(); public void setGL_Category_ID (int GL_Category_ID) { if (GL_Category_ID < 1) throw new IllegalArgumentException ("GL_Category_ID is mandatory."); -set_Value ("GL_Category_ID", new Integer(GL_Category_ID)); +set_Value ("GL_Category_ID", Integer.valueOf(GL_Category_ID)); } /** Get GL Category. @return General Ledger Category */ @@ -414,7 +414,7 @@ public void setGL_JournalBatch_ID (int GL_JournalBatch_ID) { if (GL_JournalBatch_ID <= 0) set_ValueNoCheck ("GL_JournalBatch_ID", null); else -set_ValueNoCheck ("GL_JournalBatch_ID", new Integer(GL_JournalBatch_ID)); +set_ValueNoCheck ("GL_JournalBatch_ID", Integer.valueOf(GL_JournalBatch_ID)); } /** Get Journal Batch. @return General Ledger Journal Batch */ @@ -429,7 +429,7 @@ return ii.intValue(); public void setGL_Journal_ID (int GL_Journal_ID) { if (GL_Journal_ID < 1) throw new IllegalArgumentException ("GL_Journal_ID is mandatory."); -set_ValueNoCheck ("GL_Journal_ID", new Integer(GL_Journal_ID)); +set_ValueNoCheck ("GL_Journal_ID", Integer.valueOf(GL_Journal_ID)); } /** Get Journal. @return General Ledger Journal */ @@ -443,7 +443,7 @@ return ii.intValue(); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_ValueNoCheck ("IsApproved", new Boolean(IsApproved)); +set_ValueNoCheck ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -461,7 +461,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_ValueNoCheck ("IsPrinted", new Boolean(IsPrinted)); +set_ValueNoCheck ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -479,7 +479,7 @@ return false; @param Posted Posting status */ public void setPosted (boolean Posted) { -set_ValueNoCheck ("Posted", new Boolean(Posted)); +set_ValueNoCheck ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -530,7 +530,7 @@ return (String)get_Value("PostingType"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -548,7 +548,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_GL_JournalBatch.java b/dbPort/src/org/compiere/model/X_GL_JournalBatch.java index aaaa4512e6..9302d5e770 100644 --- a/dbPort/src/org/compiere/model/X_GL_JournalBatch.java +++ b/dbPort/src/org/compiere/model/X_GL_JournalBatch.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_JournalBatch * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_JournalBatch extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_GL_JournalBatch (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=225 */ -public static final int Table_ID=225; +public static final int Table_ID=MTable.getTable_ID("GL_JournalBatch"); /** TableName=GL_JournalBatch */ public static final String Table_Name="GL_JournalBatch"; -protected static KeyNamePair Model = new KeyNamePair(225,"GL_JournalBatch"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_JournalBatch"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -101,7 +101,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -116,7 +116,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -135,7 +135,7 @@ public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID <= 0) set_Value ("C_Period_ID", null); else -set_Value ("C_Period_ID", new Integer(C_Period_ID)); +set_Value ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -346,7 +346,7 @@ public void setGL_Category_ID (int GL_Category_ID) { if (GL_Category_ID <= 0) set_Value ("GL_Category_ID", null); else -set_Value ("GL_Category_ID", new Integer(GL_Category_ID)); +set_Value ("GL_Category_ID", Integer.valueOf(GL_Category_ID)); } /** Get GL Category. @return General Ledger Category */ @@ -361,7 +361,7 @@ return ii.intValue(); public void setGL_JournalBatch_ID (int GL_JournalBatch_ID) { if (GL_JournalBatch_ID < 1) throw new IllegalArgumentException ("GL_JournalBatch_ID is mandatory."); -set_ValueNoCheck ("GL_JournalBatch_ID", new Integer(GL_JournalBatch_ID)); +set_ValueNoCheck ("GL_JournalBatch_ID", Integer.valueOf(GL_JournalBatch_ID)); } /** Get Journal Batch. @return General Ledger Journal Batch */ @@ -375,7 +375,7 @@ return ii.intValue(); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -426,7 +426,7 @@ return (String)get_Value("PostingType"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -444,7 +444,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_GL_JournalLine.java b/dbPort/src/org/compiere/model/X_GL_JournalLine.java index 0cf585b8da..4477aae6f2 100644 --- a/dbPort/src/org/compiere/model/X_GL_JournalLine.java +++ b/dbPort/src/org/compiere/model/X_GL_JournalLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for GL_JournalLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_GL_JournalLine extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_GL_JournalLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=226 */ -public static final int Table_ID=226; +public static final int Table_ID=MTable.getTable_ID("GL_JournalLine"); /** TableName=GL_JournalLine */ public static final String Table_Name="GL_JournalLine"; -protected static KeyNamePair Model = new KeyNamePair(226,"GL_JournalLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"GL_JournalLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -164,7 +164,7 @@ return bd; public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID < 1) throw new IllegalArgumentException ("C_ConversionType_ID is mandatory."); -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -179,7 +179,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -195,7 +195,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -210,7 +210,7 @@ return ii.intValue(); public void setC_ValidCombination_ID (int C_ValidCombination_ID) { if (C_ValidCombination_ID < 1) throw new IllegalArgumentException ("C_ValidCombination_ID is mandatory."); -set_Value ("C_ValidCombination_ID", new Integer(C_ValidCombination_ID)); +set_Value ("C_ValidCombination_ID", Integer.valueOf(C_ValidCombination_ID)); } /** Get Combination. @return Valid Account Combination */ @@ -270,7 +270,7 @@ return (String)get_Value("Description"); public void setGL_JournalLine_ID (int GL_JournalLine_ID) { if (GL_JournalLine_ID < 1) throw new IllegalArgumentException ("GL_JournalLine_ID is mandatory."); -set_ValueNoCheck ("GL_JournalLine_ID", new Integer(GL_JournalLine_ID)); +set_ValueNoCheck ("GL_JournalLine_ID", Integer.valueOf(GL_JournalLine_ID)); } /** Get Journal Line. @return General Ledger Journal Line */ @@ -285,7 +285,7 @@ return ii.intValue(); public void setGL_Journal_ID (int GL_Journal_ID) { if (GL_Journal_ID < 1) throw new IllegalArgumentException ("GL_Journal_ID is mandatory."); -set_ValueNoCheck ("GL_Journal_ID", new Integer(GL_Journal_ID)); +set_ValueNoCheck ("GL_Journal_ID", Integer.valueOf(GL_Journal_ID)); } /** Get Journal. @return General Ledger Journal */ @@ -299,7 +299,7 @@ return ii.intValue(); @param IsGenerated This Line is generated */ public void setIsGenerated (boolean IsGenerated) { -set_ValueNoCheck ("IsGenerated", new Boolean(IsGenerated)); +set_ValueNoCheck ("IsGenerated", Boolean.valueOf(IsGenerated)); } /** Get Generated. @return This Line is generated */ @@ -317,7 +317,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -337,7 +337,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getLine())); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_I_BPartner.java b/dbPort/src/org/compiere/model/X_I_BPartner.java index 8efb243ea4..93efb13ba4 100644 --- a/dbPort/src/org/compiere/model/X_I_BPartner.java +++ b/dbPort/src/org/compiere/model/X_I_BPartner.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_BPartner * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_BPartner extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_BPartner (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=533 */ -public static final int Table_ID=533; +public static final int Table_ID=MTable.getTable_ID("I_BPartner"); /** TableName=I_BPartner */ public static final String Table_Name="I_BPartner"; -protected static KeyNamePair Model = new KeyNamePair(533,"I_BPartner"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_BPartner"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -171,7 +171,7 @@ public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID <= 0) set_Value ("C_BP_Group_ID", null); else -set_Value ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_Value ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -187,7 +187,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -203,7 +203,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -219,7 +219,7 @@ public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID <= 0) set_Value ("C_Country_ID", null); else -set_Value ("C_Country_ID", new Integer(C_Country_ID)); +set_Value ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -235,7 +235,7 @@ public void setC_Greeting_ID (int C_Greeting_ID) { if (C_Greeting_ID <= 0) set_Value ("C_Greeting_ID", null); else -set_Value ("C_Greeting_ID", new Integer(C_Greeting_ID)); +set_Value ("C_Greeting_ID", Integer.valueOf(C_Greeting_ID)); } /** Get Greeting. @return Greeting to print on correspondence */ @@ -251,7 +251,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -436,7 +436,7 @@ return (String)get_Value("GroupValue"); public void setI_BPartner_ID (int I_BPartner_ID) { if (I_BPartner_ID < 1) throw new IllegalArgumentException ("I_BPartner_ID is mandatory."); -set_ValueNoCheck ("I_BPartner_ID", new Integer(I_BPartner_ID)); +set_ValueNoCheck ("I_BPartner_ID", Integer.valueOf(I_BPartner_ID)); } /** Get Import Business Partner. @return Import Business Partner */ @@ -467,7 +467,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -638,7 +638,7 @@ return (String)get_Value("Postal_Add"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -656,7 +656,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -676,7 +676,7 @@ public void setR_InterestArea_ID (int R_InterestArea_ID) { if (R_InterestArea_ID <= 0) set_Value ("R_InterestArea_ID", null); else -set_Value ("R_InterestArea_ID", new Integer(R_InterestArea_ID)); +set_Value ("R_InterestArea_ID", Integer.valueOf(R_InterestArea_ID)); } /** Get Interest Area. @return Interest Area or Topic */ diff --git a/dbPort/src/org/compiere/model/X_I_BankStatement.java b/dbPort/src/org/compiere/model/X_I_BankStatement.java index 938ce29e75..986eb59a10 100644 --- a/dbPort/src/org/compiere/model/X_I_BankStatement.java +++ b/dbPort/src/org/compiere/model/X_I_BankStatement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_BankStatement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_BankStatement extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_BankStatement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=600 */ -public static final int Table_ID=600; +public static final int Table_ID=MTable.getTable_ID("I_BankStatement"); /** TableName=I_BankStatement */ public static final String Table_Name="I_BankStatement"; -protected static KeyNamePair Model = new KeyNamePair(600,"I_BankStatement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_BankStatement"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -126,7 +126,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -142,7 +142,7 @@ public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID <= 0) set_Value ("C_BankAccount_ID", null); else -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -158,7 +158,7 @@ public void setC_BankStatementLine_ID (int C_BankStatementLine_ID) { if (C_BankStatementLine_ID <= 0) set_Value ("C_BankStatementLine_ID", null); else -set_Value ("C_BankStatementLine_ID", new Integer(C_BankStatementLine_ID)); +set_Value ("C_BankStatementLine_ID", Integer.valueOf(C_BankStatementLine_ID)); } /** Get Bank statement line. @return Line on a statement from this Bank */ @@ -174,7 +174,7 @@ public void setC_BankStatement_ID (int C_BankStatement_ID) { if (C_BankStatement_ID <= 0) set_Value ("C_BankStatement_ID", null); else -set_Value ("C_BankStatement_ID", new Integer(C_BankStatement_ID)); +set_Value ("C_BankStatement_ID", Integer.valueOf(C_BankStatement_ID)); } /** Get Bank Statement. @return Bank Statement of account */ @@ -190,7 +190,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -206,7 +206,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -222,7 +222,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -238,7 +238,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -550,7 +550,7 @@ return (String)get_Value("ISO_Code"); public void setI_BankStatement_ID (int I_BankStatement_ID) { if (I_BankStatement_ID < 1) throw new IllegalArgumentException ("I_BankStatement_ID is mandatory."); -set_ValueNoCheck ("I_BankStatement_ID", new Integer(I_BankStatement_ID)); +set_ValueNoCheck ("I_BankStatement_ID", Integer.valueOf(I_BankStatement_ID)); } /** Get Import Bank Statement. @return Import of the Bank Statement */ @@ -581,7 +581,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -630,7 +630,7 @@ return (String)get_Value("InvoiceDocumentNo"); @param IsReversal This is a reversing transaction */ public void setIsReversal (boolean IsReversal) { -set_Value ("IsReversal", new Boolean(IsReversal)); +set_Value ("IsReversal", Boolean.valueOf(IsReversal)); } /** Get Reversal. @return This is a reversing transaction */ @@ -648,7 +648,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -747,7 +747,7 @@ return (String)get_Value("PaymentDocumentNo"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -765,7 +765,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_I_Conversion_Rate.java b/dbPort/src/org/compiere/model/X_I_Conversion_Rate.java index 5ab761b7ca..28f7bbd537 100644 --- a/dbPort/src/org/compiere/model/X_I_Conversion_Rate.java +++ b/dbPort/src/org/compiere/model/X_I_Conversion_Rate.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_Conversion_Rate * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_Conversion_Rate extends PO { /** Standard Constructor @@ -53,12 +53,12 @@ public X_I_Conversion_Rate (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=641 */ -public static final int Table_ID=641; +public static final int Table_ID=MTable.getTable_ID("I_Conversion_Rate"); /** TableName=I_Conversion_Rate */ public static final String Table_Name="I_Conversion_Rate"; -protected static KeyNamePair Model = new KeyNamePair(641,"I_Conversion_Rate"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Conversion_Rate"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -91,7 +91,7 @@ public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID <= 0) set_Value ("C_ConversionType_ID", null); else -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -107,7 +107,7 @@ public void setC_Conversion_Rate_ID (int C_Conversion_Rate_ID) { if (C_Conversion_Rate_ID <= 0) set_Value ("C_Conversion_Rate_ID", null); else -set_Value ("C_Conversion_Rate_ID", new Integer(C_Conversion_Rate_ID)); +set_Value ("C_Conversion_Rate_ID", Integer.valueOf(C_Conversion_Rate_ID)); } /** Get Conversion Rate. @return Rate used for converting currencies */ @@ -123,7 +123,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -140,7 +140,7 @@ public static final int C_CURRENCY_ID_TO_AD_Reference_ID=112; @param C_Currency_ID_To Target currency */ public void setC_Currency_ID_To (int C_Currency_ID_To) { -set_Value ("C_Currency_ID_To", new Integer(C_Currency_ID_To)); +set_Value ("C_Currency_ID_To", Integer.valueOf(C_Currency_ID_To)); } /** Get Currency To. @return Target currency */ @@ -171,7 +171,7 @@ return (String)get_Value("ConversionTypeValue"); @param CreateReciprocalRate Create Reciprocal Rate from current information */ public void setCreateReciprocalRate (boolean CreateReciprocalRate) { -set_Value ("CreateReciprocalRate", new Boolean(CreateReciprocalRate)); +set_Value ("CreateReciprocalRate", Boolean.valueOf(CreateReciprocalRate)); } /** Get Create Reciprocal Rate. @return Create Reciprocal Rate from current information */ @@ -238,7 +238,7 @@ return (String)get_Value("ISO_Code_To"); public void setI_Conversion_Rate_ID (int I_Conversion_Rate_ID) { if (I_Conversion_Rate_ID < 1) throw new IllegalArgumentException ("I_Conversion_Rate_ID is mandatory."); -set_ValueNoCheck ("I_Conversion_Rate_ID", new Integer(I_Conversion_Rate_ID)); +set_ValueNoCheck ("I_Conversion_Rate_ID", Integer.valueOf(I_Conversion_Rate_ID)); } /** Get Import Conversion Rate. @return Import Currency Conversion Rate */ @@ -275,7 +275,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -307,7 +307,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -325,7 +325,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_I_ElementValue.java b/dbPort/src/org/compiere/model/X_I_ElementValue.java index 85accab5c3..349c9783c7 100644 --- a/dbPort/src/org/compiere/model/X_I_ElementValue.java +++ b/dbPort/src/org/compiere/model/X_I_ElementValue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_ElementValue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_ElementValue extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_ElementValue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=534 */ -public static final int Table_ID=534; +public static final int Table_ID=MTable.getTable_ID("I_ElementValue"); /** TableName=I_ElementValue */ public static final String Table_Name="I_ElementValue"; -protected static KeyNamePair Model = new KeyNamePair(534,"I_ElementValue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_ElementValue"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_Column_ID (int AD_Column_ID) { if (AD_Column_ID <= 0) set_Value ("AD_Column_ID", null); else -set_Value ("AD_Column_ID", new Integer(AD_Column_ID)); +set_Value ("AD_Column_ID", Integer.valueOf(AD_Column_ID)); } /** Get Column. @return Column in the table */ @@ -173,7 +173,7 @@ public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID <= 0) set_Value ("C_ElementValue_ID", null); else -set_Value ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_Value ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -189,7 +189,7 @@ public void setC_Element_ID (int C_Element_ID) { if (C_Element_ID <= 0) set_Value ("C_Element_ID", null); else -set_Value ("C_Element_ID", new Integer(C_Element_ID)); +set_Value ("C_Element_ID", Integer.valueOf(C_Element_ID)); } /** Get Element. @return Accounting Element */ @@ -255,7 +255,7 @@ return (String)get_Value("ElementName"); public void setI_ElementValue_ID (int I_ElementValue_ID) { if (I_ElementValue_ID < 1) throw new IllegalArgumentException ("I_ElementValue_ID is mandatory."); -set_ValueNoCheck ("I_ElementValue_ID", new Integer(I_ElementValue_ID)); +set_ValueNoCheck ("I_ElementValue_ID", Integer.valueOf(I_ElementValue_ID)); } /** Get Import Account. @return Import Account Value */ @@ -286,7 +286,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -304,7 +304,7 @@ return false; @param IsDocControlled Control account - If an account is controlled by a document, you cannot post manually to it */ public void setIsDocControlled (boolean IsDocControlled) { -set_Value ("IsDocControlled", new Boolean(IsDocControlled)); +set_Value ("IsDocControlled", Boolean.valueOf(IsDocControlled)); } /** Get Document Controlled. @return Control account - If an account is controlled by a document, you cannot post manually to it */ @@ -322,7 +322,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -362,7 +362,7 @@ public void setParentElementValue_ID (int ParentElementValue_ID) { if (ParentElementValue_ID <= 0) set_Value ("ParentElementValue_ID", null); else -set_Value ("ParentElementValue_ID", new Integer(ParentElementValue_ID)); +set_Value ("ParentElementValue_ID", Integer.valueOf(ParentElementValue_ID)); } /** Get Parent Account. @return The parent (summary) account */ @@ -393,7 +393,7 @@ return (String)get_Value("ParentValue"); @param PostActual Actual Values can be posted */ public void setPostActual (boolean PostActual) { -set_Value ("PostActual", new Boolean(PostActual)); +set_Value ("PostActual", Boolean.valueOf(PostActual)); } /** Get Post Actual. @return Actual Values can be posted */ @@ -411,7 +411,7 @@ return false; @param PostBudget Budget values can be posted */ public void setPostBudget (boolean PostBudget) { -set_Value ("PostBudget", new Boolean(PostBudget)); +set_Value ("PostBudget", Boolean.valueOf(PostBudget)); } /** Get Post Budget. @return Budget values can be posted */ @@ -429,7 +429,7 @@ return false; @param PostEncumbrance Post commitments to this account */ public void setPostEncumbrance (boolean PostEncumbrance) { -set_Value ("PostEncumbrance", new Boolean(PostEncumbrance)); +set_Value ("PostEncumbrance", Boolean.valueOf(PostEncumbrance)); } /** Get Post Encumbrance. @return Post commitments to this account */ @@ -447,7 +447,7 @@ return false; @param PostStatistical Post statistical quantities to this account? */ public void setPostStatistical (boolean PostStatistical) { -set_Value ("PostStatistical", new Boolean(PostStatistical)); +set_Value ("PostStatistical", Boolean.valueOf(PostStatistical)); } /** Get Post Statistical. @return Post statistical quantities to this account? */ @@ -465,7 +465,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -483,7 +483,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_I_GLJournal.java b/dbPort/src/org/compiere/model/X_I_GLJournal.java index b3be861a7a..f6e70166bb 100644 --- a/dbPort/src/org/compiere/model/X_I_GLJournal.java +++ b/dbPort/src/org/compiere/model/X_I_GLJournal.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_GLJournal * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_GLJournal extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_GLJournal (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=599 */ -public static final int Table_ID=599; +public static final int Table_ID=MTable.getTable_ID("I_GLJournal"); /** TableName=I_GLJournal */ public static final String Table_Name="I_GLJournal"; -protected static KeyNamePair Model = new KeyNamePair(599,"I_GLJournal"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_GLJournal"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_OrgDoc_ID (int AD_OrgDoc_ID) { if (AD_OrgDoc_ID <= 0) set_Value ("AD_OrgDoc_ID", null); else -set_Value ("AD_OrgDoc_ID", new Integer(AD_OrgDoc_ID)); +set_Value ("AD_OrgDoc_ID", Integer.valueOf(AD_OrgDoc_ID)); } /** Get Document Org. @return Document Organization (independent from account organization) */ @@ -114,7 +114,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -150,7 +150,7 @@ public void setAccount_ID (int Account_ID) { if (Account_ID <= 0) set_Value ("Account_ID", null); else -set_Value ("Account_ID", new Integer(Account_ID)); +set_Value ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -290,7 +290,7 @@ public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID <= 0) set_Value ("C_AcctSchema_ID", null); else -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -306,7 +306,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -322,7 +322,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -338,7 +338,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -354,7 +354,7 @@ public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID <= 0) set_Value ("C_ConversionType_ID", null); else -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -370,7 +370,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -386,7 +386,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -405,7 +405,7 @@ public void setC_LocFrom_ID (int C_LocFrom_ID) { if (C_LocFrom_ID <= 0) set_Value ("C_LocFrom_ID", null); else -set_Value ("C_LocFrom_ID", new Integer(C_LocFrom_ID)); +set_Value ("C_LocFrom_ID", Integer.valueOf(C_LocFrom_ID)); } /** Get Location From. @return Location that inventory was moved from */ @@ -424,7 +424,7 @@ public void setC_LocTo_ID (int C_LocTo_ID) { if (C_LocTo_ID <= 0) set_Value ("C_LocTo_ID", null); else -set_Value ("C_LocTo_ID", new Integer(C_LocTo_ID)); +set_Value ("C_LocTo_ID", Integer.valueOf(C_LocTo_ID)); } /** Get Location To. @return Location that inventory was moved to */ @@ -440,7 +440,7 @@ public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID <= 0) set_Value ("C_Period_ID", null); else -set_Value ("C_Period_ID", new Integer(C_Period_ID)); +set_Value ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -456,7 +456,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -472,7 +472,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -488,7 +488,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -504,7 +504,7 @@ public void setC_ValidCombination_ID (int C_ValidCombination_ID) { if (C_ValidCombination_ID <= 0) set_Value ("C_ValidCombination_ID", null); else -set_Value ("C_ValidCombination_ID", new Integer(C_ValidCombination_ID)); +set_Value ("C_ValidCombination_ID", Integer.valueOf(C_ValidCombination_ID)); } /** Get Combination. @return Valid Account Combination */ @@ -631,7 +631,7 @@ public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID <= 0) set_Value ("GL_Budget_ID", null); else -set_Value ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_Value ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -647,7 +647,7 @@ public void setGL_Category_ID (int GL_Category_ID) { if (GL_Category_ID <= 0) set_Value ("GL_Category_ID", null); else -set_Value ("GL_Category_ID", new Integer(GL_Category_ID)); +set_Value ("GL_Category_ID", Integer.valueOf(GL_Category_ID)); } /** Get GL Category. @return General Ledger Category */ @@ -663,7 +663,7 @@ public void setGL_JournalBatch_ID (int GL_JournalBatch_ID) { if (GL_JournalBatch_ID <= 0) set_Value ("GL_JournalBatch_ID", null); else -set_Value ("GL_JournalBatch_ID", new Integer(GL_JournalBatch_ID)); +set_Value ("GL_JournalBatch_ID", Integer.valueOf(GL_JournalBatch_ID)); } /** Get Journal Batch. @return General Ledger Journal Batch */ @@ -679,7 +679,7 @@ public void setGL_JournalLine_ID (int GL_JournalLine_ID) { if (GL_JournalLine_ID <= 0) set_Value ("GL_JournalLine_ID", null); else -set_Value ("GL_JournalLine_ID", new Integer(GL_JournalLine_ID)); +set_Value ("GL_JournalLine_ID", Integer.valueOf(GL_JournalLine_ID)); } /** Get Journal Line. @return General Ledger Journal Line */ @@ -695,7 +695,7 @@ public void setGL_Journal_ID (int GL_Journal_ID) { if (GL_Journal_ID <= 0) set_Value ("GL_Journal_ID", null); else -set_Value ("GL_Journal_ID", new Integer(GL_Journal_ID)); +set_Value ("GL_Journal_ID", Integer.valueOf(GL_Journal_ID)); } /** Get Journal. @return General Ledger Journal */ @@ -744,7 +744,7 @@ return (String)get_Value("I_ErrorMsg"); public void setI_GLJournal_ID (int I_GLJournal_ID) { if (I_GLJournal_ID < 1) throw new IllegalArgumentException ("I_GLJournal_ID is mandatory."); -set_ValueNoCheck ("I_GLJournal_ID", new Integer(I_GLJournal_ID)); +set_ValueNoCheck ("I_GLJournal_ID", Integer.valueOf(I_GLJournal_ID)); } /** Get Import GL Journal. @return Import General Ledger Journal */ @@ -764,7 +764,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getI_GLJournal_ID())); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -782,7 +782,7 @@ return false; @param IsCreateNewBatch If selected a new batch is created */ public void setIsCreateNewBatch (boolean IsCreateNewBatch) { -set_Value ("IsCreateNewBatch", new Boolean(IsCreateNewBatch)); +set_Value ("IsCreateNewBatch", Boolean.valueOf(IsCreateNewBatch)); } /** Get Create New Batch. @return If selected a new batch is created */ @@ -800,7 +800,7 @@ return false; @param IsCreateNewJournal If selected a new journal within the batch is created */ public void setIsCreateNewJournal (boolean IsCreateNewJournal) { -set_Value ("IsCreateNewJournal", new Boolean(IsCreateNewJournal)); +set_Value ("IsCreateNewJournal", Boolean.valueOf(IsCreateNewJournal)); } /** Get Create New Journal. @return If selected a new journal within the batch is created */ @@ -835,7 +835,7 @@ return (String)get_Value("JournalDocumentNo"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -851,7 +851,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -931,7 +931,7 @@ return (String)get_Value("PostingType"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -949,7 +949,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -1054,7 +1054,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -1073,7 +1073,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_I_InOutLineConfirm.java b/dbPort/src/org/compiere/model/X_I_InOutLineConfirm.java index 3f435f3081..fe160bf655 100644 --- a/dbPort/src/org/compiere/model/X_I_InOutLineConfirm.java +++ b/dbPort/src/org/compiere/model/X_I_InOutLineConfirm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_InOutLineConfirm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_InOutLineConfirm extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_I_InOutLineConfirm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=740 */ -public static final int Table_ID=740; +public static final int Table_ID=MTable.getTable_ID("I_InOutLineConfirm"); /** TableName=I_InOutLineConfirm */ public static final String Table_Name="I_InOutLineConfirm"; -protected static KeyNamePair Model = new KeyNamePair(740,"I_InOutLineConfirm"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_InOutLineConfirm"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -178,7 +178,7 @@ return (String)get_Value("I_ErrorMsg"); public void setI_InOutLineConfirm_ID (int I_InOutLineConfirm_ID) { if (I_InOutLineConfirm_ID < 1) throw new IllegalArgumentException ("I_InOutLineConfirm_ID is mandatory."); -set_ValueNoCheck ("I_InOutLineConfirm_ID", new Integer(I_InOutLineConfirm_ID)); +set_ValueNoCheck ("I_InOutLineConfirm_ID", Integer.valueOf(I_InOutLineConfirm_ID)); } /** Get Ship/Receipt Confirmation Import Line. @return Material Shipment or Receipt Confirmation Import Line */ @@ -198,7 +198,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getI_InOutLineConfirm_ID())); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -217,7 +217,7 @@ return false; public void setM_InOutLineConfirm_ID (int M_InOutLineConfirm_ID) { if (M_InOutLineConfirm_ID < 1) throw new IllegalArgumentException ("M_InOutLineConfirm_ID is mandatory."); -set_Value ("M_InOutLineConfirm_ID", new Integer(M_InOutLineConfirm_ID)); +set_Value ("M_InOutLineConfirm_ID", Integer.valueOf(M_InOutLineConfirm_ID)); } /** Get Ship/Receipt Confirmation Line. @return Material Shipment or Receipt Confirmation Line */ @@ -231,7 +231,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -249,7 +249,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_I_Inventory.java b/dbPort/src/org/compiere/model/X_I_Inventory.java index e2b255360f..f415cea5dc 100644 --- a/dbPort/src/org/compiere/model/X_I_Inventory.java +++ b/dbPort/src/org/compiere/model/X_I_Inventory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_Inventory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_Inventory extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_Inventory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=572 */ -public static final int Table_ID=572; +public static final int Table_ID=MTable.getTable_ID("I_Inventory"); /** TableName=I_Inventory */ public static final String Table_Name="I_Inventory"; -protected static KeyNamePair Model = new KeyNamePair(572,"I_Inventory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Inventory"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("I_ErrorMsg"); public void setI_Inventory_ID (int I_Inventory_ID) { if (I_Inventory_ID < 1) throw new IllegalArgumentException ("I_Inventory_ID is mandatory."); -set_ValueNoCheck ("I_Inventory_ID", new Integer(I_Inventory_ID)); +set_ValueNoCheck ("I_Inventory_ID", Integer.valueOf(I_Inventory_ID)); } /** Get Import Inventory. @return Import Inventory Transactions */ @@ -145,7 +145,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getI_Inventory_ID())); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -199,7 +199,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_Value ("M_InventoryLine_ID", null); else -set_Value ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_Value ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -215,7 +215,7 @@ public void setM_Inventory_ID (int M_Inventory_ID) { if (M_Inventory_ID <= 0) set_Value ("M_Inventory_ID", null); else -set_Value ("M_Inventory_ID", new Integer(M_Inventory_ID)); +set_Value ("M_Inventory_ID", Integer.valueOf(M_Inventory_ID)); } /** Get Phys.Inventory. @return Parameters for a Physical Inventory */ @@ -231,7 +231,7 @@ public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID <= 0) set_Value ("M_Locator_ID", null); else -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -247,7 +247,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -263,7 +263,7 @@ public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID <= 0) set_Value ("M_Warehouse_ID", null); else -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -289,7 +289,7 @@ return (Timestamp)get_Value("MovementDate"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -307,7 +307,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_I_Invoice.java b/dbPort/src/org/compiere/model/X_I_Invoice.java index 092ca9070b..2441fa876e 100644 --- a/dbPort/src/org/compiere/model/X_I_Invoice.java +++ b/dbPort/src/org/compiere/model/X_I_Invoice.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_Invoice * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_Invoice extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_Invoice (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=598 */ -public static final int Table_ID=598; +public static final int Table_ID=MTable.getTable_ID("I_Invoice"); /** TableName=I_Invoice */ public static final String Table_Name="I_Invoice"; -protected static KeyNamePair Model = new KeyNamePair(598,"I_Invoice"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Invoice"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -111,7 +111,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -178,7 +178,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -194,7 +194,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -210,7 +210,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -226,7 +226,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -242,7 +242,7 @@ public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID <= 0) set_Value ("C_Country_ID", null); else -set_Value ("C_Country_ID", new Integer(C_Country_ID)); +set_Value ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -258,7 +258,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -274,7 +274,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -290,7 +290,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_Value ("C_InvoiceLine_ID", null); else -set_Value ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_Value ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -306,7 +306,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -322,7 +322,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -338,7 +338,7 @@ public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID <= 0) set_Value ("C_PaymentTerm_ID", null); else -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -354,7 +354,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -370,7 +370,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -386,7 +386,7 @@ public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID <= 0) set_Value ("C_Tax_ID", null); else -set_Value ("C_Tax_ID", new Integer(C_Tax_ID)); +set_Value ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -434,7 +434,7 @@ return (String)get_Value("ContactName"); @param CountryCode Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html */ public void setCountryCode (boolean CountryCode) { -set_Value ("CountryCode", new Boolean(CountryCode)); +set_Value ("CountryCode", Boolean.valueOf(CountryCode)); } /** Get ISO Country Code. @return Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html */ @@ -562,7 +562,7 @@ return (String)get_Value("I_ErrorMsg"); public void setI_Invoice_ID (int I_Invoice_ID) { if (I_Invoice_ID < 1) throw new IllegalArgumentException ("I_Invoice_ID is mandatory."); -set_ValueNoCheck ("I_Invoice_ID", new Integer(I_Invoice_ID)); +set_ValueNoCheck ("I_Invoice_ID", Integer.valueOf(I_Invoice_ID)); } /** Get Import Invoice. @return Import Invoice */ @@ -576,7 +576,7 @@ return ii.intValue(); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -594,7 +594,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -631,7 +631,7 @@ public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID <= 0) set_Value ("M_PriceList_ID", null); else -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -647,7 +647,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -743,7 +743,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -761,7 +761,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -849,7 +849,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_I_Order.java b/dbPort/src/org/compiere/model/X_I_Order.java index 844f087c3b..4cbc120baf 100644 --- a/dbPort/src/org/compiere/model/X_I_Order.java +++ b/dbPort/src/org/compiere/model/X_I_Order.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_Order * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_Order extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_Order (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=591 */ -public static final int Table_ID=591; +public static final int Table_ID=MTable.getTable_ID("I_Order"); /** TableName=I_Order */ public static final String Table_Name="I_Order"; -protected static KeyNamePair Model = new KeyNamePair(591,"I_Order"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Order"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -111,7 +111,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -181,7 +181,7 @@ public void setBillTo_ID (int BillTo_ID) { if (BillTo_ID <= 0) set_Value ("BillTo_ID", null); else -set_Value ("BillTo_ID", new Integer(BillTo_ID)); +set_Value ("BillTo_ID", Integer.valueOf(BillTo_ID)); } /** Get Invoice To. @return Bill to Address */ @@ -197,7 +197,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -213,7 +213,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -229,7 +229,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -245,7 +245,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -261,7 +261,7 @@ public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID <= 0) set_Value ("C_Country_ID", null); else -set_Value ("C_Country_ID", new Integer(C_Country_ID)); +set_Value ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -277,7 +277,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -293,7 +293,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -309,7 +309,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -325,7 +325,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_Value ("C_OrderLine_ID", null); else -set_Value ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_Value ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -341,7 +341,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -357,7 +357,7 @@ public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID <= 0) set_Value ("C_PaymentTerm_ID", null); else -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -373,7 +373,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -389,7 +389,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -405,7 +405,7 @@ public void setC_Tax_ID (int C_Tax_ID) { if (C_Tax_ID <= 0) set_Value ("C_Tax_ID", null); else -set_Value ("C_Tax_ID", new Integer(C_Tax_ID)); +set_Value ("C_Tax_ID", Integer.valueOf(C_Tax_ID)); } /** Get Tax. @return Tax identifier */ @@ -421,7 +421,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -609,7 +609,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -628,7 +628,7 @@ return false; public void setI_Order_ID (int I_Order_ID) { if (I_Order_ID < 1) throw new IllegalArgumentException ("I_Order_ID is mandatory."); -set_ValueNoCheck ("I_Order_ID", new Integer(I_Order_ID)); +set_ValueNoCheck ("I_Order_ID", Integer.valueOf(I_Order_ID)); } /** Get Import Order. @return Import Orders */ @@ -642,7 +642,7 @@ return ii.intValue(); @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -679,7 +679,7 @@ public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID <= 0) set_Value ("M_PriceList_ID", null); else -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -695,7 +695,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -711,7 +711,7 @@ public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID <= 0) set_Value ("M_Shipper_ID", null); else -set_Value ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_Value ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ @@ -727,7 +727,7 @@ public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID <= 0) set_Value ("M_Warehouse_ID", null); else -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -823,7 +823,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -841,7 +841,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -929,7 +929,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_I_Payment.java b/dbPort/src/org/compiere/model/X_I_Payment.java index d0afb184ca..c32c798bcc 100644 --- a/dbPort/src/org/compiere/model/X_I_Payment.java +++ b/dbPort/src/org/compiere/model/X_I_Payment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_Payment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_Payment extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_Payment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=597 */ -public static final int Table_ID=597; +public static final int Table_ID=MTable.getTable_ID("I_Payment"); /** TableName=I_Payment */ public static final String Table_Name="I_Payment"; -protected static KeyNamePair Model = new KeyNamePair(597,"I_Payment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Payment"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -296,7 +296,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -312,7 +312,7 @@ public void setC_BankAccount_ID (int C_BankAccount_ID) { if (C_BankAccount_ID <= 0) set_Value ("C_BankAccount_ID", null); else -set_Value ("C_BankAccount_ID", new Integer(C_BankAccount_ID)); +set_Value ("C_BankAccount_ID", Integer.valueOf(C_BankAccount_ID)); } /** Get Bank Account. @return Account at the Bank */ @@ -328,7 +328,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -344,7 +344,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -360,7 +360,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -376,7 +376,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -392,7 +392,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -454,7 +454,7 @@ return (String)get_Value("CheckNo"); @param CreditCardExpMM Expiry Month */ public void setCreditCardExpMM (int CreditCardExpMM) { -set_Value ("CreditCardExpMM", new Integer(CreditCardExpMM)); +set_Value ("CreditCardExpMM", Integer.valueOf(CreditCardExpMM)); } /** Get Exp. Month. @return Expiry Month */ @@ -468,7 +468,7 @@ return ii.intValue(); @param CreditCardExpYY Expiry Year */ public void setCreditCardExpYY (int CreditCardExpYY) { -set_Value ("CreditCardExpYY", new Integer(CreditCardExpYY)); +set_Value ("CreditCardExpYY", Integer.valueOf(CreditCardExpYY)); } /** Get Exp. Year. @return Expiry Year */ @@ -658,7 +658,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -677,7 +677,7 @@ return false; public void setI_Payment_ID (int I_Payment_ID) { if (I_Payment_ID < 1) throw new IllegalArgumentException ("I_Payment_ID is mandatory."); -set_ValueNoCheck ("I_Payment_ID", new Integer(I_Payment_ID)); +set_ValueNoCheck ("I_Payment_ID", Integer.valueOf(I_Payment_ID)); } /** Get Import Payment. @return Import Payment */ @@ -708,7 +708,7 @@ return (String)get_Value("InvoiceDocumentNo"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -726,7 +726,7 @@ return false; @param IsDelayedCapture Charge after Shipment */ public void setIsDelayedCapture (boolean IsDelayedCapture) { -set_Value ("IsDelayedCapture", new Boolean(IsDelayedCapture)); +set_Value ("IsDelayedCapture", Boolean.valueOf(IsDelayedCapture)); } /** Get Delayed Capture. @return Charge after Shipment */ @@ -744,7 +744,7 @@ return false; @param IsOverUnderPayment Over-Payment (unallocated) or Under-Payment (partial payment) */ public void setIsOverUnderPayment (boolean IsOverUnderPayment) { -set_Value ("IsOverUnderPayment", new Boolean(IsOverUnderPayment)); +set_Value ("IsOverUnderPayment", Boolean.valueOf(IsOverUnderPayment)); } /** Get Over/Under Payment. @return Over-Payment (unallocated) or Under-Payment (partial payment) */ @@ -762,7 +762,7 @@ return false; @param IsReceipt This is a sales transaction (receipt) */ public void setIsReceipt (boolean IsReceipt) { -set_Value ("IsReceipt", new Boolean(IsReceipt)); +set_Value ("IsReceipt", Boolean.valueOf(IsReceipt)); } /** Get Receipt. @return This is a sales transaction (receipt) */ @@ -780,7 +780,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -877,7 +877,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -895,7 +895,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_I_Product.java b/dbPort/src/org/compiere/model/X_I_Product.java index 6e96cce7d4..a6251a6ba8 100644 --- a/dbPort/src/org/compiere/model/X_I_Product.java +++ b/dbPort/src/org/compiere/model/X_I_Product.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_Product * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_Product extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_Product (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=532 */ -public static final int Table_ID=532; +public static final int Table_ID=MTable.getTable_ID("I_Product"); /** TableName=I_Product */ public static final String Table_Name="I_Product"; -protected static KeyNamePair Model = new KeyNamePair(532,"I_Product"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_Product"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -109,7 +109,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -125,7 +125,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -141,7 +141,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -186,7 +186,7 @@ return bd; @param DeliveryTime_Promised Promised days between order and delivery */ public void setDeliveryTime_Promised (int DeliveryTime_Promised) { -set_Value ("DeliveryTime_Promised", new Integer(DeliveryTime_Promised)); +set_Value ("DeliveryTime_Promised", Integer.valueOf(DeliveryTime_Promised)); } /** Get Promised Delivery Time. @return Promised days between order and delivery */ @@ -234,7 +234,7 @@ return (String)get_Value("DescriptionURL"); @param Discontinued This product is no longer available */ public void setDiscontinued (boolean Discontinued) { -set_Value ("Discontinued", new Boolean(Discontinued)); +set_Value ("Discontinued", Boolean.valueOf(Discontinued)); } /** Get Discontinued. @return This product is no longer available */ @@ -332,7 +332,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -351,7 +351,7 @@ return false; public void setI_Product_ID (int I_Product_ID) { if (I_Product_ID < 1) throw new IllegalArgumentException ("I_Product_ID is mandatory."); -set_ValueNoCheck ("I_Product_ID", new Integer(I_Product_ID)); +set_ValueNoCheck ("I_Product_ID", Integer.valueOf(I_Product_ID)); } /** Get Import Product. @return Import Item or Service */ @@ -384,7 +384,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -400,7 +400,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -448,7 +448,7 @@ return (String)get_Value("Name"); @param Order_Min Minimum order quantity in UOM */ public void setOrder_Min (int Order_Min) { -set_Value ("Order_Min", new Integer(Order_Min)); +set_Value ("Order_Min", Integer.valueOf(Order_Min)); } /** Get Minimum Order Qty. @return Minimum order quantity in UOM */ @@ -462,7 +462,7 @@ return ii.intValue(); @param Order_Pack Package order size in UOM (e.g. order set of 5 units) */ public void setOrder_Pack (int Order_Pack) { -set_Value ("Order_Pack", new Integer(Order_Pack)); +set_Value ("Order_Pack", Integer.valueOf(Order_Pack)); } /** Get Order Pack Qty. @return Package order size in UOM (e.g. order set of 5 units) */ @@ -544,7 +544,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -562,7 +562,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -660,7 +660,7 @@ return (String)get_Value("SKU"); @param ShelfDepth Shelf depth required */ public void setShelfDepth (int ShelfDepth) { -set_Value ("ShelfDepth", new Integer(ShelfDepth)); +set_Value ("ShelfDepth", Integer.valueOf(ShelfDepth)); } /** Get Shelf Depth. @return Shelf depth required */ @@ -674,7 +674,7 @@ return ii.intValue(); @param ShelfHeight Shelf height required */ public void setShelfHeight (int ShelfHeight) { -set_Value ("ShelfHeight", new Integer(ShelfHeight)); +set_Value ("ShelfHeight", Integer.valueOf(ShelfHeight)); } /** Get Shelf Height. @return Shelf height required */ @@ -688,7 +688,7 @@ return ii.intValue(); @param ShelfWidth Shelf width required */ public void setShelfWidth (int ShelfWidth) { -set_Value ("ShelfWidth", new Integer(ShelfWidth)); +set_Value ("ShelfWidth", Integer.valueOf(ShelfWidth)); } /** Get Shelf Width. @return Shelf width required */ @@ -719,7 +719,7 @@ return (String)get_Value("UPC"); @param UnitsPerPallet Units Per Pallet */ public void setUnitsPerPallet (int UnitsPerPallet) { -set_Value ("UnitsPerPallet", new Integer(UnitsPerPallet)); +set_Value ("UnitsPerPallet", Integer.valueOf(UnitsPerPallet)); } /** Get Units Per Pallet. @return Units Per Pallet */ @@ -790,7 +790,7 @@ return (String)get_Value("VendorProductNo"); @param Volume Volume of a product */ public void setVolume (int Volume) { -set_Value ("Volume", new Integer(Volume)); +set_Value ("Volume", Integer.valueOf(Volume)); } /** Get Volume. @return Volume of a product */ @@ -804,7 +804,7 @@ return ii.intValue(); @param Weight Weight of a product */ public void setWeight (int Weight) { -set_Value ("Weight", new Integer(Weight)); +set_Value ("Weight", Integer.valueOf(Weight)); } /** Get Weight. @return Weight of a product */ diff --git a/dbPort/src/org/compiere/model/X_I_ReportLine.java b/dbPort/src/org/compiere/model/X_I_ReportLine.java index d76b3cd5fa..68fc473517 100644 --- a/dbPort/src/org/compiere/model/X_I_ReportLine.java +++ b/dbPort/src/org/compiere/model/X_I_ReportLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for I_ReportLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_I_ReportLine extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_I_ReportLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=535 */ -public static final int Table_ID=535; +public static final int Table_ID=MTable.getTable_ID("I_ReportLine"); /** TableName=I_ReportLine */ public static final String Table_Name="I_ReportLine"; -protected static KeyNamePair Model = new KeyNamePair(535,"I_ReportLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"I_ReportLine"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -138,7 +138,7 @@ public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID <= 0) set_Value ("C_ElementValue_ID", null); else -set_Value ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_Value ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -233,7 +233,7 @@ return (String)get_Value("I_ErrorMsg"); @param I_IsImported Has this import been processed */ public void setI_IsImported (boolean I_IsImported) { -set_Value ("I_IsImported", new Boolean(I_IsImported)); +set_Value ("I_IsImported", Boolean.valueOf(I_IsImported)); } /** Get Imported. @return Has this import been processed */ @@ -252,7 +252,7 @@ return false; public void setI_ReportLine_ID (int I_ReportLine_ID) { if (I_ReportLine_ID < 1) throw new IllegalArgumentException ("I_ReportLine_ID is mandatory."); -set_ValueNoCheck ("I_ReportLine_ID", new Integer(I_ReportLine_ID)); +set_ValueNoCheck ("I_ReportLine_ID", Integer.valueOf(I_ReportLine_ID)); } /** Get Import Report Line Set. @return Import Report Line Set values */ @@ -266,7 +266,7 @@ return ii.intValue(); @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -284,7 +284,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -353,7 +353,7 @@ public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID) { if (PA_ReportLineSet_ID <= 0) set_Value ("PA_ReportLineSet_ID", null); else -set_Value ("PA_ReportLineSet_ID", new Integer(PA_ReportLineSet_ID)); +set_Value ("PA_ReportLineSet_ID", Integer.valueOf(PA_ReportLineSet_ID)); } /** Get Report Line Set. @return Report Line Set */ @@ -369,7 +369,7 @@ public void setPA_ReportLine_ID (int PA_ReportLine_ID) { if (PA_ReportLine_ID <= 0) set_Value ("PA_ReportLine_ID", null); else -set_Value ("PA_ReportLine_ID", new Integer(PA_ReportLine_ID)); +set_Value ("PA_ReportLine_ID", Integer.valueOf(PA_ReportLine_ID)); } /** Get Report Line. @return Report Line */ @@ -385,7 +385,7 @@ public void setPA_ReportSource_ID (int PA_ReportSource_ID) { if (PA_ReportSource_ID <= 0) set_Value ("PA_ReportSource_ID", null); else -set_Value ("PA_ReportSource_ID", new Integer(PA_ReportSource_ID)); +set_Value ("PA_ReportSource_ID", Integer.valueOf(PA_ReportSource_ID)); } /** Get Report Source. @return Restriction of what will be shown in Report Line */ @@ -431,7 +431,7 @@ return (String)get_Value("PostingType"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -449,7 +449,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -485,7 +485,7 @@ return (String)get_Value("ReportLineSetName"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_K_Category.java b/dbPort/src/org/compiere/model/X_K_Category.java index 507982ac0a..b8a14f99c3 100644 --- a/dbPort/src/org/compiere/model/X_K_Category.java +++ b/dbPort/src/org/compiere/model/X_K_Category.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Category * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Category extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_K_Category (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=615 */ -public static final int Table_ID=615; +public static final int Table_ID=MTable.getTable_ID("K_Category"); /** TableName=K_Category */ public static final String Table_Name="K_Category"; -protected static KeyNamePair Model = new KeyNamePair(615,"K_Category"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Category"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("Help"); public void setK_Category_ID (int K_Category_ID) { if (K_Category_ID < 1) throw new IllegalArgumentException ("K_Category_ID is mandatory."); -set_ValueNoCheck ("K_Category_ID", new Integer(K_Category_ID)); +set_ValueNoCheck ("K_Category_ID", Integer.valueOf(K_Category_ID)); } /** Get Knowledge Category. @return Knowledge Category */ diff --git a/dbPort/src/org/compiere/model/X_K_CategoryValue.java b/dbPort/src/org/compiere/model/X_K_CategoryValue.java index 831978deef..6ba5b8a931 100644 --- a/dbPort/src/org/compiere/model/X_K_CategoryValue.java +++ b/dbPort/src/org/compiere/model/X_K_CategoryValue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_CategoryValue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_CategoryValue extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_K_CategoryValue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=614 */ -public static final int Table_ID=614; +public static final int Table_ID=MTable.getTable_ID("K_CategoryValue"); /** TableName=K_CategoryValue */ public static final String Table_Name="K_CategoryValue"; -protected static KeyNamePair Model = new KeyNamePair(614,"K_CategoryValue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_CategoryValue"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -109,7 +109,7 @@ return (String)get_Value("Description"); public void setK_CategoryValue_ID (int K_CategoryValue_ID) { if (K_CategoryValue_ID < 1) throw new IllegalArgumentException ("K_CategoryValue_ID is mandatory."); -set_ValueNoCheck ("K_CategoryValue_ID", new Integer(K_CategoryValue_ID)); +set_ValueNoCheck ("K_CategoryValue_ID", Integer.valueOf(K_CategoryValue_ID)); } /** Get Category Value. @return The value of the category */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setK_Category_ID (int K_Category_ID) { if (K_Category_ID < 1) throw new IllegalArgumentException ("K_Category_ID is mandatory."); -set_ValueNoCheck ("K_Category_ID", new Integer(K_Category_ID)); +set_ValueNoCheck ("K_Category_ID", Integer.valueOf(K_Category_ID)); } /** Get Knowledge Category. @return Knowledge Category */ diff --git a/dbPort/src/org/compiere/model/X_K_Comment.java b/dbPort/src/org/compiere/model/X_K_Comment.java index 368fd4eed9..23ca7b190c 100644 --- a/dbPort/src/org/compiere/model/X_K_Comment.java +++ b/dbPort/src/org/compiere/model/X_K_Comment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Comment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Comment extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_K_Comment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=613 */ -public static final int Table_ID=613; +public static final int Table_ID=MTable.getTable_ID("K_Comment"); /** TableName=K_Comment */ public static final String Table_Name="K_Comment"; -protected static KeyNamePair Model = new KeyNamePair(613,"K_Comment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Comment"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_Session_ID (int AD_Session_ID) { if (AD_Session_ID <= 0) set_ValueNoCheck ("AD_Session_ID", null); else -set_ValueNoCheck ("AD_Session_ID", new Integer(AD_Session_ID)); +set_ValueNoCheck ("AD_Session_ID", Integer.valueOf(AD_Session_ID)); } /** Get Session. @return User Session Online or Web */ @@ -109,7 +109,7 @@ return ii.intValue(); @param IsPublic Public can read entry */ public void setIsPublic (boolean IsPublic) { -set_Value ("IsPublic", new Boolean(IsPublic)); +set_Value ("IsPublic", Boolean.valueOf(IsPublic)); } /** Get Public. @return Public can read entry */ @@ -128,7 +128,7 @@ return false; public void setK_Comment_ID (int K_Comment_ID) { if (K_Comment_ID < 1) throw new IllegalArgumentException ("K_Comment_ID is mandatory."); -set_ValueNoCheck ("K_Comment_ID", new Integer(K_Comment_ID)); +set_ValueNoCheck ("K_Comment_ID", Integer.valueOf(K_Comment_ID)); } /** Get Entry Comment. @return Knowledge Entry Comment */ @@ -149,7 +149,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getK_Comment_ID())); public void setK_Entry_ID (int K_Entry_ID) { if (K_Entry_ID < 1) throw new IllegalArgumentException ("K_Entry_ID is mandatory."); -set_ValueNoCheck ("K_Entry_ID", new Integer(K_Entry_ID)); +set_ValueNoCheck ("K_Entry_ID", Integer.valueOf(K_Entry_ID)); } /** Get Entry. @return Knowledge Entry */ @@ -163,7 +163,7 @@ return ii.intValue(); @param Rating Classification or Importance */ public void setRating (int Rating) { -set_Value ("Rating", new Integer(Rating)); +set_Value ("Rating", Integer.valueOf(Rating)); } /** Get Rating. @return Classification or Importance */ diff --git a/dbPort/src/org/compiere/model/X_K_Entry.java b/dbPort/src/org/compiere/model/X_K_Entry.java index 884ecf61ee..e0a7bc80b1 100644 --- a/dbPort/src/org/compiere/model/X_K_Entry.java +++ b/dbPort/src/org/compiere/model/X_K_Entry.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Entry * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Entry extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_K_Entry (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=612 */ -public static final int Table_ID=612; +public static final int Table_ID=MTable.getTable_ID("K_Entry"); /** TableName=K_Entry */ public static final String Table_Name="K_Entry"; -protected static KeyNamePair Model = new KeyNamePair(612,"K_Entry"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Entry"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setAD_Session_ID (int AD_Session_ID) { if (AD_Session_ID <= 0) set_ValueNoCheck ("AD_Session_ID", null); else -set_ValueNoCheck ("AD_Session_ID", new Integer(AD_Session_ID)); +set_ValueNoCheck ("AD_Session_ID", Integer.valueOf(AD_Session_ID)); } /** Get Session. @return User Session Online or Web */ @@ -127,7 +127,7 @@ return (String)get_Value("DescriptionURL"); @param IsPublic Public can read entry */ public void setIsPublic (boolean IsPublic) { -set_Value ("IsPublic", new Boolean(IsPublic)); +set_Value ("IsPublic", Boolean.valueOf(IsPublic)); } /** Get Public. @return Public can read entry */ @@ -146,7 +146,7 @@ return false; public void setK_Entry_ID (int K_Entry_ID) { if (K_Entry_ID < 1) throw new IllegalArgumentException ("K_Entry_ID is mandatory."); -set_ValueNoCheck ("K_Entry_ID", new Integer(K_Entry_ID)); +set_ValueNoCheck ("K_Entry_ID", Integer.valueOf(K_Entry_ID)); } /** Get Entry. @return Knowledge Entry */ @@ -162,7 +162,7 @@ public void setK_Source_ID (int K_Source_ID) { if (K_Source_ID <= 0) set_Value ("K_Source_ID", null); else -set_Value ("K_Source_ID", new Integer(K_Source_ID)); +set_Value ("K_Source_ID", Integer.valueOf(K_Source_ID)); } /** Get Knowledge Source. @return Source of a Knowledge Entry */ @@ -177,7 +177,7 @@ return ii.intValue(); public void setK_Topic_ID (int K_Topic_ID) { if (K_Topic_ID < 1) throw new IllegalArgumentException ("K_Topic_ID is mandatory."); -set_ValueNoCheck ("K_Topic_ID", new Integer(K_Topic_ID)); +set_ValueNoCheck ("K_Topic_ID", Integer.valueOf(K_Topic_ID)); } /** Get Knowledge Topic. @return Knowledge Topic */ @@ -232,7 +232,7 @@ return new KeyNamePair(get_ID(), getName()); @param Rating Classification or Importance */ public void setRating (int Rating) { -set_Value ("Rating", new Integer(Rating)); +set_Value ("Rating", Integer.valueOf(Rating)); } /** Get Rating. @return Classification or Importance */ diff --git a/dbPort/src/org/compiere/model/X_K_EntryCategory.java b/dbPort/src/org/compiere/model/X_K_EntryCategory.java index 7fe806d979..b66af6674e 100644 --- a/dbPort/src/org/compiere/model/X_K_EntryCategory.java +++ b/dbPort/src/org/compiere/model/X_K_EntryCategory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_EntryCategory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_EntryCategory extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_K_EntryCategory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=611 */ -public static final int Table_ID=611; +public static final int Table_ID=MTable.getTable_ID("K_EntryCategory"); /** TableName=K_EntryCategory */ public static final String Table_Name="K_EntryCategory"; -protected static KeyNamePair Model = new KeyNamePair(611,"K_EntryCategory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_EntryCategory"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setK_CategoryValue_ID (int K_CategoryValue_ID) { if (K_CategoryValue_ID < 1) throw new IllegalArgumentException ("K_CategoryValue_ID is mandatory."); -set_Value ("K_CategoryValue_ID", new Integer(K_CategoryValue_ID)); +set_Value ("K_CategoryValue_ID", Integer.valueOf(K_CategoryValue_ID)); } /** Get Category Value. @return The value of the category */ @@ -113,7 +113,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getK_CategoryValue_ID())); public void setK_Category_ID (int K_Category_ID) { if (K_Category_ID < 1) throw new IllegalArgumentException ("K_Category_ID is mandatory."); -set_Value ("K_Category_ID", new Integer(K_Category_ID)); +set_Value ("K_Category_ID", Integer.valueOf(K_Category_ID)); } /** Get Knowledge Category. @return Knowledge Category */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setK_Entry_ID (int K_Entry_ID) { if (K_Entry_ID < 1) throw new IllegalArgumentException ("K_Entry_ID is mandatory."); -set_ValueNoCheck ("K_Entry_ID", new Integer(K_Entry_ID)); +set_ValueNoCheck ("K_Entry_ID", Integer.valueOf(K_Entry_ID)); } /** Get Entry. @return Knowledge Entry */ diff --git a/dbPort/src/org/compiere/model/X_K_EntryRelated.java b/dbPort/src/org/compiere/model/X_K_EntryRelated.java index b2dedff950..0deacd97b9 100644 --- a/dbPort/src/org/compiere/model/X_K_EntryRelated.java +++ b/dbPort/src/org/compiere/model/X_K_EntryRelated.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_EntryRelated * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_EntryRelated extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_K_EntryRelated (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=610 */ -public static final int Table_ID=610; +public static final int Table_ID=MTable.getTable_ID("K_EntryRelated"); /** TableName=K_EntryRelated */ public static final String Table_Name="K_EntryRelated"; -protected static KeyNamePair Model = new KeyNamePair(610,"K_EntryRelated"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_EntryRelated"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ public static final int K_ENTRYRELATED_ID_AD_Reference_ID=285; public void setK_EntryRelated_ID (int K_EntryRelated_ID) { if (K_EntryRelated_ID < 1) throw new IllegalArgumentException ("K_EntryRelated_ID is mandatory."); -set_ValueNoCheck ("K_EntryRelated_ID", new Integer(K_EntryRelated_ID)); +set_ValueNoCheck ("K_EntryRelated_ID", Integer.valueOf(K_EntryRelated_ID)); } /** Get Related Entry. @return Related Entry for this Enntry */ @@ -115,7 +115,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getK_EntryRelated_ID())); public void setK_Entry_ID (int K_Entry_ID) { if (K_Entry_ID < 1) throw new IllegalArgumentException ("K_Entry_ID is mandatory."); -set_ValueNoCheck ("K_Entry_ID", new Integer(K_Entry_ID)); +set_ValueNoCheck ("K_Entry_ID", Integer.valueOf(K_Entry_ID)); } /** Get Entry. @return Knowledge Entry */ diff --git a/dbPort/src/org/compiere/model/X_K_Index.java b/dbPort/src/org/compiere/model/X_K_Index.java index e2547fb5a0..64c6e67d0d 100644 --- a/dbPort/src/org/compiere/model/X_K_Index.java +++ b/dbPort/src/org/compiere/model/X_K_Index.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Index * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Index extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_K_Index (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=900 */ -public static final int Table_ID=900; +public static final int Table_ID=MTable.getTable_ID("K_Index"); /** TableName=K_Index */ public static final String Table_Name="K_Index"; -protected static KeyNamePair Model = new KeyNamePair(900,"K_Index"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Index"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -110,7 +110,7 @@ public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID <= 0) set_ValueNoCheck ("CM_WebProject_ID", null); else -set_ValueNoCheck ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_ValueNoCheck ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -126,7 +126,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_ValueNoCheck ("C_DocType_ID", null); else -set_ValueNoCheck ("C_DocType_ID", new Integer(C_DocType_ID)); +set_ValueNoCheck ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -158,7 +158,7 @@ return (String)get_Value("Excerpt"); public void setK_INDEX_ID (int K_INDEX_ID) { if (K_INDEX_ID < 1) throw new IllegalArgumentException ("K_INDEX_ID is mandatory."); -set_ValueNoCheck ("K_INDEX_ID", new Integer(K_INDEX_ID)); +set_ValueNoCheck ("K_INDEX_ID", Integer.valueOf(K_INDEX_ID)); } /** Get Index. @return Text Search Index */ @@ -198,7 +198,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_ValueNoCheck ("R_RequestType_ID", null); else -set_ValueNoCheck ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_ValueNoCheck ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ @@ -213,7 +213,7 @@ return ii.intValue(); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_K_IndexLog.java b/dbPort/src/org/compiere/model/X_K_IndexLog.java index a24e32f546..5ef4afcda1 100644 --- a/dbPort/src/org/compiere/model/X_K_IndexLog.java +++ b/dbPort/src/org/compiere/model/X_K_IndexLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_IndexLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_IndexLog extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_K_IndexLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=899 */ -public static final int Table_ID=899; +public static final int Table_ID=MTable.getTable_ID("K_IndexLog"); /** TableName=K_IndexLog */ public static final String Table_Name="K_IndexLog"; -protected static KeyNamePair Model = new KeyNamePair(899,"K_IndexLog"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_IndexLog"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -116,7 +116,7 @@ return new KeyNamePair(get_ID(), getIndexQuery()); @param IndexQueryResult Result of the text query */ public void setIndexQueryResult (int IndexQueryResult) { -set_ValueNoCheck ("IndexQueryResult", new Integer(IndexQueryResult)); +set_ValueNoCheck ("IndexQueryResult", Integer.valueOf(IndexQueryResult)); } /** Get Query Result. @return Result of the text query */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setK_IndexLog_ID (int K_IndexLog_ID) { if (K_IndexLog_ID < 1) throw new IllegalArgumentException ("K_IndexLog_ID is mandatory."); -set_ValueNoCheck ("K_IndexLog_ID", new Integer(K_IndexLog_ID)); +set_ValueNoCheck ("K_IndexLog_ID", Integer.valueOf(K_IndexLog_ID)); } /** Get Index Log. @return Text search log */ diff --git a/dbPort/src/org/compiere/model/X_K_IndexStop.java b/dbPort/src/org/compiere/model/X_K_IndexStop.java index a0f59d1440..2fff820970 100644 --- a/dbPort/src/org/compiere/model/X_K_IndexStop.java +++ b/dbPort/src/org/compiere/model/X_K_IndexStop.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_IndexStop * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_IndexStop extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_K_IndexStop (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=901 */ -public static final int Table_ID=901; +public static final int Table_ID=MTable.getTable_ID("K_IndexStop"); /** TableName=K_IndexStop */ public static final String Table_Name="K_IndexStop"; -protected static KeyNamePair Model = new KeyNamePair(901,"K_IndexStop"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_IndexStop"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ public void setCM_WebProject_ID (int CM_WebProject_ID) { if (CM_WebProject_ID <= 0) set_Value ("CM_WebProject_ID", null); else -set_Value ("CM_WebProject_ID", new Integer(CM_WebProject_ID)); +set_Value ("CM_WebProject_ID", Integer.valueOf(CM_WebProject_ID)); } /** Get Web Project. @return A web project is the main data container for Containers, URLs, Ads, Media etc. */ @@ -109,7 +109,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -123,7 +123,7 @@ return ii.intValue(); @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -142,7 +142,7 @@ return false; public void setK_IndexStop_ID (int K_IndexStop_ID) { if (K_IndexStop_ID < 1) throw new IllegalArgumentException ("K_IndexStop_ID is mandatory."); -set_ValueNoCheck ("K_IndexStop_ID", new Integer(K_IndexStop_ID)); +set_ValueNoCheck ("K_IndexStop_ID", Integer.valueOf(K_IndexStop_ID)); } /** Get Index Stop. @return Keyword not to be indexed */ @@ -182,7 +182,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_Value ("R_RequestType_ID", null); else -set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_Value ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ diff --git a/dbPort/src/org/compiere/model/X_K_Source.java b/dbPort/src/org/compiere/model/X_K_Source.java index 0bffb96194..e316c79a5a 100644 --- a/dbPort/src/org/compiere/model/X_K_Source.java +++ b/dbPort/src/org/compiere/model/X_K_Source.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Source * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Source extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_K_Source (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=609 */ -public static final int Table_ID=609; +public static final int Table_ID=MTable.getTable_ID("K_Source"); /** TableName=K_Source */ public static final String Table_Name="K_Source"; -protected static KeyNamePair Model = new KeyNamePair(609,"K_Source"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Source"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -108,7 +108,7 @@ return (String)get_Value("DescriptionURL"); public void setK_Source_ID (int K_Source_ID) { if (K_Source_ID < 1) throw new IllegalArgumentException ("K_Source_ID is mandatory."); -set_ValueNoCheck ("K_Source_ID", new Integer(K_Source_ID)); +set_ValueNoCheck ("K_Source_ID", Integer.valueOf(K_Source_ID)); } /** Get Knowledge Source. @return Source of a Knowledge Entry */ diff --git a/dbPort/src/org/compiere/model/X_K_Synonym.java b/dbPort/src/org/compiere/model/X_K_Synonym.java index f2e9df901e..aa1d268163 100644 --- a/dbPort/src/org/compiere/model/X_K_Synonym.java +++ b/dbPort/src/org/compiere/model/X_K_Synonym.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Synonym * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Synonym extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_K_Synonym (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=608 */ -public static final int Table_ID=608; +public static final int Table_ID=MTable.getTable_ID("K_Synonym"); /** TableName=K_Synonym */ public static final String Table_Name="K_Synonym"; -protected static KeyNamePair Model = new KeyNamePair(608,"K_Synonym"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Synonym"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -113,7 +113,7 @@ return (String)get_Value("AD_Language"); public void setK_Synonym_ID (int K_Synonym_ID) { if (K_Synonym_ID < 1) throw new IllegalArgumentException ("K_Synonym_ID is mandatory."); -set_ValueNoCheck ("K_Synonym_ID", new Integer(K_Synonym_ID)); +set_ValueNoCheck ("K_Synonym_ID", Integer.valueOf(K_Synonym_ID)); } /** Get Knowledge Synonym. @return Knowlege Keyword Synonym */ diff --git a/dbPort/src/org/compiere/model/X_K_Topic.java b/dbPort/src/org/compiere/model/X_K_Topic.java index aaa43697e9..1fda263d4e 100644 --- a/dbPort/src/org/compiere/model/X_K_Topic.java +++ b/dbPort/src/org/compiere/model/X_K_Topic.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Topic * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Topic extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_K_Topic (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=607 */ -public static final int Table_ID=607; +public static final int Table_ID=MTable.getTable_ID("K_Topic"); /** TableName=K_Topic */ public static final String Table_Name="K_Topic"; -protected static KeyNamePair Model = new KeyNamePair(607,"K_Topic"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Topic"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -127,7 +127,7 @@ return (String)get_Value("Help"); @param IsPublic Public can read entry */ public void setIsPublic (boolean IsPublic) { -set_Value ("IsPublic", new Boolean(IsPublic)); +set_Value ("IsPublic", Boolean.valueOf(IsPublic)); } /** Get Public. @return Public can read entry */ @@ -145,7 +145,7 @@ return false; @param IsPublicWrite Public can write entries */ public void setIsPublicWrite (boolean IsPublicWrite) { -set_Value ("IsPublicWrite", new Boolean(IsPublicWrite)); +set_Value ("IsPublicWrite", Boolean.valueOf(IsPublicWrite)); } /** Get Public Write. @return Public can write entries */ @@ -164,7 +164,7 @@ return false; public void setK_Topic_ID (int K_Topic_ID) { if (K_Topic_ID < 1) throw new IllegalArgumentException ("K_Topic_ID is mandatory."); -set_ValueNoCheck ("K_Topic_ID", new Integer(K_Topic_ID)); +set_ValueNoCheck ("K_Topic_ID", Integer.valueOf(K_Topic_ID)); } /** Get Knowledge Topic. @return Knowledge Topic */ @@ -179,7 +179,7 @@ return ii.intValue(); public void setK_Type_ID (int K_Type_ID) { if (K_Type_ID < 1) throw new IllegalArgumentException ("K_Type_ID is mandatory."); -set_ValueNoCheck ("K_Type_ID", new Integer(K_Type_ID)); +set_ValueNoCheck ("K_Type_ID", Integer.valueOf(K_Type_ID)); } /** Get Knowldge Type. @return Knowledge Type */ diff --git a/dbPort/src/org/compiere/model/X_K_Type.java b/dbPort/src/org/compiere/model/X_K_Type.java index 74334bdda1..5cc0d621e1 100644 --- a/dbPort/src/org/compiere/model/X_K_Type.java +++ b/dbPort/src/org/compiere/model/X_K_Type.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for K_Type * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_K_Type extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_K_Type (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=606 */ -public static final int Table_ID=606; +public static final int Table_ID=MTable.getTable_ID("K_Type"); /** TableName=K_Type */ public static final String Table_Name="K_Type"; -protected static KeyNamePair Model = new KeyNamePair(606,"K_Type"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"K_Type"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -126,7 +126,7 @@ return (String)get_Value("Help"); @param IsPublic Public can read entry */ public void setIsPublic (boolean IsPublic) { -set_Value ("IsPublic", new Boolean(IsPublic)); +set_Value ("IsPublic", Boolean.valueOf(IsPublic)); } /** Get Public. @return Public can read entry */ @@ -144,7 +144,7 @@ return false; @param IsPublicWrite Public can write entries */ public void setIsPublicWrite (boolean IsPublicWrite) { -set_Value ("IsPublicWrite", new Boolean(IsPublicWrite)); +set_Value ("IsPublicWrite", Boolean.valueOf(IsPublicWrite)); } /** Get Public Write. @return Public can write entries */ @@ -163,7 +163,7 @@ return false; public void setK_Type_ID (int K_Type_ID) { if (K_Type_ID < 1) throw new IllegalArgumentException ("K_Type_ID is mandatory."); -set_ValueNoCheck ("K_Type_ID", new Integer(K_Type_ID)); +set_ValueNoCheck ("K_Type_ID", Integer.valueOf(K_Type_ID)); } /** Get Knowldge Type. @return Knowledge Type */ diff --git a/dbPort/src/org/compiere/model/X_M_Attribute.java b/dbPort/src/org/compiere/model/X_M_Attribute.java index ba18c1ec9d..7709163c0d 100644 --- a/dbPort/src/org/compiere/model/X_M_Attribute.java +++ b/dbPort/src/org/compiere/model/X_M_Attribute.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Attribute * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Attribute extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_Attribute (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=562 */ -public static final int Table_ID=562; +public static final int Table_ID=MTable.getTable_ID("M_Attribute"); /** TableName=M_Attribute */ public static final String Table_Name="M_Attribute"; -protected static KeyNamePair Model = new KeyNamePair(562,"M_Attribute"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Attribute"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -139,7 +139,7 @@ return (String)get_Value("Description"); @param IsInstanceAttribute The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date) */ public void setIsInstanceAttribute (boolean IsInstanceAttribute) { -set_Value ("IsInstanceAttribute", new Boolean(IsInstanceAttribute)); +set_Value ("IsInstanceAttribute", Boolean.valueOf(IsInstanceAttribute)); } /** Get Instance Attribute. @return The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date) */ @@ -157,7 +157,7 @@ return false; @param IsMandatory Data entry is required in this column */ public void setIsMandatory (boolean IsMandatory) { -set_Value ("IsMandatory", new Boolean(IsMandatory)); +set_Value ("IsMandatory", Boolean.valueOf(IsMandatory)); } /** Get Mandatory. @return Data entry is required in this column */ @@ -177,7 +177,7 @@ public void setM_AttributeSearch_ID (int M_AttributeSearch_ID) { if (M_AttributeSearch_ID <= 0) set_Value ("M_AttributeSearch_ID", null); else -set_Value ("M_AttributeSearch_ID", new Integer(M_AttributeSearch_ID)); +set_Value ("M_AttributeSearch_ID", Integer.valueOf(M_AttributeSearch_ID)); } /** Get Attribute Search. @return Common Search Attribute */ @@ -192,7 +192,7 @@ return ii.intValue(); public void setM_Attribute_ID (int M_Attribute_ID) { if (M_Attribute_ID < 1) throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); -set_ValueNoCheck ("M_Attribute_ID", new Integer(M_Attribute_ID)); +set_ValueNoCheck ("M_Attribute_ID", Integer.valueOf(M_Attribute_ID)); } /** Get Attribute. @return Product Attribute */ diff --git a/dbPort/src/org/compiere/model/X_M_AttributeInstance.java b/dbPort/src/org/compiere/model/X_M_AttributeInstance.java index 817749502b..059cd23bc8 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeInstance.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeInstance.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeInstance * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeInstance extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_AttributeInstance (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=561 */ -public static final int Table_ID=561; +public static final int Table_ID=MTable.getTable_ID("M_AttributeInstance"); /** TableName=M_AttributeInstance */ public static final String Table_Name="M_AttributeInstance"; -protected static KeyNamePair Model = new KeyNamePair(561,"M_AttributeInstance"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeInstance"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -107,7 +107,7 @@ public void setM_AttributeValue_ID (int M_AttributeValue_ID) { if (M_AttributeValue_ID <= 0) set_Value ("M_AttributeValue_ID", null); else -set_Value ("M_AttributeValue_ID", new Integer(M_AttributeValue_ID)); +set_Value ("M_AttributeValue_ID", Integer.valueOf(M_AttributeValue_ID)); } /** Get Attribute Value. @return Product Attribute Value */ @@ -128,7 +128,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeValue_ID())); public void setM_Attribute_ID (int M_Attribute_ID) { if (M_Attribute_ID < 1) throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); -set_ValueNoCheck ("M_Attribute_ID", new Integer(M_Attribute_ID)); +set_ValueNoCheck ("M_Attribute_ID", Integer.valueOf(M_Attribute_ID)); } /** Get Attribute. @return Product Attribute */ diff --git a/dbPort/src/org/compiere/model/X_M_AttributeSearch.java b/dbPort/src/org/compiere/model/X_M_AttributeSearch.java index e04b40399f..8daf3419ed 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeSearch.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeSearch.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeSearch * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeSearch extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_AttributeSearch (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=564 */ -public static final int Table_ID=564; +public static final int Table_ID=MTable.getTable_ID("M_AttributeSearch"); /** TableName=M_AttributeSearch */ public static final String Table_Name="M_AttributeSearch"; -protected static KeyNamePair Model = new KeyNamePair(564,"M_AttributeSearch"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeSearch"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -108,7 +108,7 @@ return (String)get_Value("Description"); public void setM_AttributeSearch_ID (int M_AttributeSearch_ID) { if (M_AttributeSearch_ID < 1) throw new IllegalArgumentException ("M_AttributeSearch_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSearch_ID", new Integer(M_AttributeSearch_ID)); +set_ValueNoCheck ("M_AttributeSearch_ID", Integer.valueOf(M_AttributeSearch_ID)); } /** Get Attribute Search. @return Common Search Attribute */ diff --git a/dbPort/src/org/compiere/model/X_M_AttributeSet.java b/dbPort/src/org/compiere/model/X_M_AttributeSet.java index 4e12cd5dc7..b1a6f3058b 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeSet.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeSet.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeSet * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeSet extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_AttributeSet (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=560 */ -public static final int Table_ID=560; +public static final int Table_ID=MTable.getTable_ID("M_AttributeSet"); /** TableName=M_AttributeSet */ public static final String Table_Name="M_AttributeSet"; -protected static KeyNamePair Model = new KeyNamePair(560,"M_AttributeSet"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeSet"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -115,7 +115,7 @@ return (String)get_Value("Description"); @param GuaranteeDays Number of days the product is guaranteed or available */ public void setGuaranteeDays (int GuaranteeDays) { -set_Value ("GuaranteeDays", new Integer(GuaranteeDays)); +set_Value ("GuaranteeDays", Integer.valueOf(GuaranteeDays)); } /** Get Guarantee Days. @return Number of days the product is guaranteed or available */ @@ -129,7 +129,7 @@ return ii.intValue(); @param IsGuaranteeDate Product has Guarantee or Expiry Date */ public void setIsGuaranteeDate (boolean IsGuaranteeDate) { -set_Value ("IsGuaranteeDate", new Boolean(IsGuaranteeDate)); +set_Value ("IsGuaranteeDate", Boolean.valueOf(IsGuaranteeDate)); } /** Get Guarantee Date. @return Product has Guarantee or Expiry Date */ @@ -147,7 +147,7 @@ return false; @param IsGuaranteeDateMandatory The entry of a Guarantee Date is mandatory when creating a Product Instance */ public void setIsGuaranteeDateMandatory (boolean IsGuaranteeDateMandatory) { -set_Value ("IsGuaranteeDateMandatory", new Boolean(IsGuaranteeDateMandatory)); +set_Value ("IsGuaranteeDateMandatory", Boolean.valueOf(IsGuaranteeDateMandatory)); } /** Get Mandatory Guarantee Date. @return The entry of a Guarantee Date is mandatory when creating a Product Instance */ @@ -165,7 +165,7 @@ return false; @param IsInstanceAttribute The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date) */ public void setIsInstanceAttribute (boolean IsInstanceAttribute) { -set_Value ("IsInstanceAttribute", new Boolean(IsInstanceAttribute)); +set_Value ("IsInstanceAttribute", Boolean.valueOf(IsInstanceAttribute)); } /** Get Instance Attribute. @return The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date) */ @@ -183,7 +183,7 @@ return false; @param IsLot The product instances have a Lot Number */ public void setIsLot (boolean IsLot) { -set_Value ("IsLot", new Boolean(IsLot)); +set_Value ("IsLot", Boolean.valueOf(IsLot)); } /** Get Lot. @return The product instances have a Lot Number */ @@ -201,7 +201,7 @@ return false; @param IsLotMandatory The entry of Lot info is mandatory when creating a Product Instance */ public void setIsLotMandatory (boolean IsLotMandatory) { -set_Value ("IsLotMandatory", new Boolean(IsLotMandatory)); +set_Value ("IsLotMandatory", Boolean.valueOf(IsLotMandatory)); } /** Get Mandatory Lot. @return The entry of Lot info is mandatory when creating a Product Instance */ @@ -219,7 +219,7 @@ return false; @param IsSerNo The product instances have Serial Numbers */ public void setIsSerNo (boolean IsSerNo) { -set_Value ("IsSerNo", new Boolean(IsSerNo)); +set_Value ("IsSerNo", Boolean.valueOf(IsSerNo)); } /** Get Serial No. @return The product instances have Serial Numbers */ @@ -237,7 +237,7 @@ return false; @param IsSerNoMandatory The entry of a Serial No is mandatory when creating a Product Instance */ public void setIsSerNoMandatory (boolean IsSerNoMandatory) { -set_Value ("IsSerNoMandatory", new Boolean(IsSerNoMandatory)); +set_Value ("IsSerNoMandatory", Boolean.valueOf(IsSerNoMandatory)); } /** Get Mandatory Serial No. @return The entry of a Serial No is mandatory when creating a Product Instance */ @@ -290,7 +290,7 @@ return (String)get_Value("LotCharSOverwrite"); public void setM_AttributeSet_ID (int M_AttributeSet_ID) { if (M_AttributeSet_ID < 0) throw new IllegalArgumentException ("M_AttributeSet_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSet_ID", new Integer(M_AttributeSet_ID)); +set_ValueNoCheck ("M_AttributeSet_ID", Integer.valueOf(M_AttributeSet_ID)); } /** Get Attribute Set. @return Product Attribute Set */ @@ -306,7 +306,7 @@ public void setM_LotCtl_ID (int M_LotCtl_ID) { if (M_LotCtl_ID <= 0) set_Value ("M_LotCtl_ID", null); else -set_Value ("M_LotCtl_ID", new Integer(M_LotCtl_ID)); +set_Value ("M_LotCtl_ID", Integer.valueOf(M_LotCtl_ID)); } /** Get Lot Control. @return Product Lot Control */ @@ -322,7 +322,7 @@ public void setM_SerNoCtl_ID (int M_SerNoCtl_ID) { if (M_SerNoCtl_ID <= 0) set_Value ("M_SerNoCtl_ID", null); else -set_Value ("M_SerNoCtl_ID", new Integer(M_SerNoCtl_ID)); +set_Value ("M_SerNoCtl_ID", Integer.valueOf(M_SerNoCtl_ID)); } /** Get Serial No Control. @return Product Serial Number Control */ diff --git a/dbPort/src/org/compiere/model/X_M_AttributeSetExclude.java b/dbPort/src/org/compiere/model/X_M_AttributeSetExclude.java index 1e06de5cfc..ac73971518 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeSetExclude.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeSetExclude.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeSetExclude * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeSetExclude extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_AttributeSetExclude (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=809 */ -public static final int Table_ID=809; +public static final int Table_ID=MTable.getTable_ID("M_AttributeSetExclude"); /** TableName=M_AttributeSetExclude */ public static final String Table_Name="M_AttributeSetExclude"; -protected static KeyNamePair Model = new KeyNamePair(809,"M_AttributeSetExclude"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeSetExclude"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -107,7 +107,7 @@ return ii.intValue(); @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -126,7 +126,7 @@ return false; public void setM_AttributeSetExclude_ID (int M_AttributeSetExclude_ID) { if (M_AttributeSetExclude_ID < 1) throw new IllegalArgumentException ("M_AttributeSetExclude_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetExclude_ID", new Integer(M_AttributeSetExclude_ID)); +set_ValueNoCheck ("M_AttributeSetExclude_ID", Integer.valueOf(M_AttributeSetExclude_ID)); } /** Get Exclude Attribute Set. @return Exclude the ability to enter Attribute Sets */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setM_AttributeSet_ID (int M_AttributeSet_ID) { if (M_AttributeSet_ID < 0) throw new IllegalArgumentException ("M_AttributeSet_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSet_ID", new Integer(M_AttributeSet_ID)); +set_ValueNoCheck ("M_AttributeSet_ID", Integer.valueOf(M_AttributeSet_ID)); } /** Get Attribute Set. @return Product Attribute Set */ diff --git a/dbPort/src/org/compiere/model/X_M_AttributeSetInstance.java b/dbPort/src/org/compiere/model/X_M_AttributeSetInstance.java index 43e30d34bc..4e10a41330 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeSetInstance.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeSetInstance.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeSetInstance * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeSetInstance extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_AttributeSetInstance (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=559 */ -public static final int Table_ID=559; +public static final int Table_ID=MTable.getTable_ID("M_AttributeSetInstance"); /** TableName=M_AttributeSetInstance */ public static final String Table_Name="M_AttributeSetInstance"; -protected static KeyNamePair Model = new KeyNamePair(559,"M_AttributeSetInstance"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeSetInstance"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -137,7 +137,7 @@ return (String)get_Value("Lot"); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -158,7 +158,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSetInstance_ID())) public void setM_AttributeSet_ID (int M_AttributeSet_ID) { if (M_AttributeSet_ID < 0) throw new IllegalArgumentException ("M_AttributeSet_ID is mandatory."); -set_Value ("M_AttributeSet_ID", new Integer(M_AttributeSet_ID)); +set_Value ("M_AttributeSet_ID", Integer.valueOf(M_AttributeSet_ID)); } /** Get Attribute Set. @return Product Attribute Set */ @@ -174,7 +174,7 @@ public void setM_Lot_ID (int M_Lot_ID) { if (M_Lot_ID <= 0) set_Value ("M_Lot_ID", null); else -set_Value ("M_Lot_ID", new Integer(M_Lot_ID)); +set_Value ("M_Lot_ID", Integer.valueOf(M_Lot_ID)); } /** Get Lot. @return Product Lot Definition */ diff --git a/dbPort/src/org/compiere/model/X_M_AttributeUse.java b/dbPort/src/org/compiere/model/X_M_AttributeUse.java index 03f5e76a10..55d4bf1b3e 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeUse.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeUse.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeUse * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeUse extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_AttributeUse (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=563 */ -public static final int Table_ID=563; +public static final int Table_ID=MTable.getTable_ID("M_AttributeUse"); /** TableName=M_AttributeUse */ public static final String Table_Name="M_AttributeUse"; -protected static KeyNamePair Model = new KeyNamePair(563,"M_AttributeUse"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeUse"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setM_AttributeSet_ID (int M_AttributeSet_ID) { if (M_AttributeSet_ID < 0) throw new IllegalArgumentException ("M_AttributeSet_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSet_ID", new Integer(M_AttributeSet_ID)); +set_ValueNoCheck ("M_AttributeSet_ID", Integer.valueOf(M_AttributeSet_ID)); } /** Get Attribute Set. @return Product Attribute Set */ @@ -113,7 +113,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSet_ID())); public void setM_Attribute_ID (int M_Attribute_ID) { if (M_Attribute_ID < 1) throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); -set_ValueNoCheck ("M_Attribute_ID", new Integer(M_Attribute_ID)); +set_ValueNoCheck ("M_Attribute_ID", Integer.valueOf(M_Attribute_ID)); } /** Get Attribute. @return Product Attribute */ @@ -128,7 +128,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_M_AttributeValue.java b/dbPort/src/org/compiere/model/X_M_AttributeValue.java index 30c30bf749..eca052538c 100644 --- a/dbPort/src/org/compiere/model/X_M_AttributeValue.java +++ b/dbPort/src/org/compiere/model/X_M_AttributeValue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_AttributeValue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_AttributeValue extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_AttributeValue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=558 */ -public static final int Table_ID=558; +public static final int Table_ID=MTable.getTable_ID("M_AttributeValue"); /** TableName=M_AttributeValue */ public static final String Table_Name="M_AttributeValue"; -protected static KeyNamePair Model = new KeyNamePair(558,"M_AttributeValue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_AttributeValue"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -110,7 +110,7 @@ return (String)get_Value("Description"); public void setM_AttributeValue_ID (int M_AttributeValue_ID) { if (M_AttributeValue_ID < 1) throw new IllegalArgumentException ("M_AttributeValue_ID is mandatory."); -set_ValueNoCheck ("M_AttributeValue_ID", new Integer(M_AttributeValue_ID)); +set_ValueNoCheck ("M_AttributeValue_ID", Integer.valueOf(M_AttributeValue_ID)); } /** Get Attribute Value. @return Product Attribute Value */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setM_Attribute_ID (int M_Attribute_ID) { if (M_Attribute_ID < 1) throw new IllegalArgumentException ("M_Attribute_ID is mandatory."); -set_ValueNoCheck ("M_Attribute_ID", new Integer(M_Attribute_ID)); +set_ValueNoCheck ("M_Attribute_ID", Integer.valueOf(M_Attribute_ID)); } /** Get Attribute. @return Product Attribute */ diff --git a/dbPort/src/org/compiere/model/X_M_BOM.java b/dbPort/src/org/compiere/model/X_M_BOM.java index 2efe6b331c..8d95ca74f1 100644 --- a/dbPort/src/org/compiere/model/X_M_BOM.java +++ b/dbPort/src/org/compiere/model/X_M_BOM.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_BOM * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_BOM extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_BOM (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=798 */ -public static final int Table_ID=798; +public static final int Table_ID=MTable.getTable_ID("M_BOM"); /** TableName=M_BOM */ public static final String Table_Name="M_BOM"; -protected static KeyNamePair Model = new KeyNamePair(798,"M_BOM"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_BOM"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -196,7 +196,7 @@ return (String)get_Value("Help"); public void setM_BOM_ID (int M_BOM_ID) { if (M_BOM_ID < 1) throw new IllegalArgumentException ("M_BOM_ID is mandatory."); -set_ValueNoCheck ("M_BOM_ID", new Integer(M_BOM_ID)); +set_ValueNoCheck ("M_BOM_ID", Integer.valueOf(M_BOM_ID)); } /** Get BOM. @return Bill of Material */ @@ -212,7 +212,7 @@ public void setM_ChangeNotice_ID (int M_ChangeNotice_ID) { if (M_ChangeNotice_ID <= 0) set_Value ("M_ChangeNotice_ID", null); else -set_Value ("M_ChangeNotice_ID", new Integer(M_ChangeNotice_ID)); +set_Value ("M_ChangeNotice_ID", Integer.valueOf(M_ChangeNotice_ID)); } /** Get Change Notice. @return Bill of Materials (Engineering) Change Notice (Version) */ @@ -227,7 +227,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -265,7 +265,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_BOMAlternative.java b/dbPort/src/org/compiere/model/X_M_BOMAlternative.java index dcd77752b4..23face52b3 100644 --- a/dbPort/src/org/compiere/model/X_M_BOMAlternative.java +++ b/dbPort/src/org/compiere/model/X_M_BOMAlternative.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_BOMAlternative * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_BOMAlternative extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_BOMAlternative (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=795 */ -public static final int Table_ID=795; +public static final int Table_ID=MTable.getTable_ID("M_BOMAlternative"); /** TableName=M_BOMAlternative */ public static final String Table_Name="M_BOMAlternative"; -protected static KeyNamePair Model = new KeyNamePair(795,"M_BOMAlternative"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_BOMAlternative"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -109,7 +109,7 @@ return (String)get_Value("Description"); public void setM_BOMAlternative_ID (int M_BOMAlternative_ID) { if (M_BOMAlternative_ID < 1) throw new IllegalArgumentException ("M_BOMAlternative_ID is mandatory."); -set_ValueNoCheck ("M_BOMAlternative_ID", new Integer(M_BOMAlternative_ID)); +set_ValueNoCheck ("M_BOMAlternative_ID", Integer.valueOf(M_BOMAlternative_ID)); } /** Get Alternative Group. @return Product BOM Alternative Group */ @@ -124,7 +124,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_BOMProduct.java b/dbPort/src/org/compiere/model/X_M_BOMProduct.java index 84cc22eca0..ce4b0ef440 100644 --- a/dbPort/src/org/compiere/model/X_M_BOMProduct.java +++ b/dbPort/src/org/compiere/model/X_M_BOMProduct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_BOMProduct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_BOMProduct extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_BOMProduct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=801 */ -public static final int Table_ID=801; +public static final int Table_ID=MTable.getTable_ID("M_BOMProduct"); /** TableName=M_BOMProduct */ public static final String Table_Name="M_BOMProduct"; -protected static KeyNamePair Model = new KeyNamePair(801,"M_BOMProduct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_BOMProduct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -177,7 +177,7 @@ return (String)get_Value("Help"); @param IsPhantom Phantom Component */ public void setIsPhantom (boolean IsPhantom) { -set_Value ("IsPhantom", new Boolean(IsPhantom)); +set_Value ("IsPhantom", Boolean.valueOf(IsPhantom)); } /** Get Phantom. @return Phantom Component */ @@ -195,7 +195,7 @@ return false; @param LeadTimeOffset Optional Lead Time offest before starting production */ public void setLeadTimeOffset (int LeadTimeOffset) { -set_Value ("LeadTimeOffset", new Integer(LeadTimeOffset)); +set_Value ("LeadTimeOffset", Integer.valueOf(LeadTimeOffset)); } /** Get Lead Time Offset. @return Optional Lead Time offest before starting production */ @@ -209,7 +209,7 @@ return ii.intValue(); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -231,7 +231,7 @@ public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID <= 0) set_Value ("M_AttributeSetInstance_ID", null); else -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -247,7 +247,7 @@ public void setM_BOMAlternative_ID (int M_BOMAlternative_ID) { if (M_BOMAlternative_ID <= 0) set_Value ("M_BOMAlternative_ID", null); else -set_Value ("M_BOMAlternative_ID", new Integer(M_BOMAlternative_ID)); +set_Value ("M_BOMAlternative_ID", Integer.valueOf(M_BOMAlternative_ID)); } /** Get Alternative Group. @return Product BOM Alternative Group */ @@ -262,7 +262,7 @@ return ii.intValue(); public void setM_BOMProduct_ID (int M_BOMProduct_ID) { if (M_BOMProduct_ID < 1) throw new IllegalArgumentException ("M_BOMProduct_ID is mandatory."); -set_ValueNoCheck ("M_BOMProduct_ID", new Integer(M_BOMProduct_ID)); +set_ValueNoCheck ("M_BOMProduct_ID", Integer.valueOf(M_BOMProduct_ID)); } /** Get BOM Component. @return Bill of Material Component (Product) */ @@ -277,7 +277,7 @@ return ii.intValue(); public void setM_BOM_ID (int M_BOM_ID) { if (M_BOM_ID < 1) throw new IllegalArgumentException ("M_BOM_ID is mandatory."); -set_ValueNoCheck ("M_BOM_ID", new Integer(M_BOM_ID)); +set_ValueNoCheck ("M_BOM_ID", Integer.valueOf(M_BOM_ID)); } /** Get BOM. @return Bill of Material */ @@ -293,7 +293,7 @@ public void setM_ChangeNotice_ID (int M_ChangeNotice_ID) { if (M_ChangeNotice_ID <= 0) set_Value ("M_ChangeNotice_ID", null); else -set_Value ("M_ChangeNotice_ID", new Integer(M_ChangeNotice_ID)); +set_Value ("M_ChangeNotice_ID", Integer.valueOf(M_ChangeNotice_ID)); } /** Get Change Notice. @return Bill of Materials (Engineering) Change Notice (Version) */ @@ -312,7 +312,7 @@ public void setM_ProductBOM_ID (int M_ProductBOM_ID) { if (M_ProductBOM_ID <= 0) set_Value ("M_ProductBOM_ID", null); else -set_Value ("M_ProductBOM_ID", new Integer(M_ProductBOM_ID)); +set_Value ("M_ProductBOM_ID", Integer.valueOf(M_ProductBOM_ID)); } /** Get BOM Product. @return Bill of Material Component Product */ @@ -328,7 +328,7 @@ public void setM_ProductOperation_ID (int M_ProductOperation_ID) { if (M_ProductOperation_ID <= 0) set_Value ("M_ProductOperation_ID", null); else -set_Value ("M_ProductOperation_ID", new Integer(M_ProductOperation_ID)); +set_Value ("M_ProductOperation_ID", Integer.valueOf(M_ProductOperation_ID)); } /** Get Product Operation. @return Product Manufacturing Operation */ @@ -343,7 +343,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_M_ChangeNotice.java b/dbPort/src/org/compiere/model/X_M_ChangeNotice.java index 6570ee19e7..d9c4638550 100644 --- a/dbPort/src/org/compiere/model/X_M_ChangeNotice.java +++ b/dbPort/src/org/compiere/model/X_M_ChangeNotice.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ChangeNotice * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ChangeNotice extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_ChangeNotice (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=799 */ -public static final int Table_ID=799; +public static final int Table_ID=MTable.getTable_ID("M_ChangeNotice"); /** TableName=M_ChangeNotice */ public static final String Table_Name="M_ChangeNotice"; -protected static KeyNamePair Model = new KeyNamePair(799,"M_ChangeNotice"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ChangeNotice"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -138,7 +138,7 @@ return (String)get_Value("Help"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -157,7 +157,7 @@ return false; public void setM_ChangeNotice_ID (int M_ChangeNotice_ID) { if (M_ChangeNotice_ID < 1) throw new IllegalArgumentException ("M_ChangeNotice_ID is mandatory."); -set_ValueNoCheck ("M_ChangeNotice_ID", new Integer(M_ChangeNotice_ID)); +set_ValueNoCheck ("M_ChangeNotice_ID", Integer.valueOf(M_ChangeNotice_ID)); } /** Get Change Notice. @return Bill of Materials (Engineering) Change Notice (Version) */ @@ -195,7 +195,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -213,7 +213,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_ChangeRequest.java b/dbPort/src/org/compiere/model/X_M_ChangeRequest.java index 0607336b1a..9bc1e2d4f4 100644 --- a/dbPort/src/org/compiere/model/X_M_ChangeRequest.java +++ b/dbPort/src/org/compiere/model/X_M_ChangeRequest.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ChangeRequest * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ChangeRequest extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_ChangeRequest (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=800 */ -public static final int Table_ID=800; +public static final int Table_ID=MTable.getTable_ID("M_ChangeRequest"); /** TableName=M_ChangeRequest */ public static final String Table_Name="M_ChangeRequest"; -protected static KeyNamePair Model = new KeyNamePair(800,"M_ChangeRequest"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ChangeRequest"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -163,7 +163,7 @@ return (String)get_Value("Help"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -183,7 +183,7 @@ public void setM_BOM_ID (int M_BOM_ID) { if (M_BOM_ID <= 0) set_ValueNoCheck ("M_BOM_ID", null); else -set_ValueNoCheck ("M_BOM_ID", new Integer(M_BOM_ID)); +set_ValueNoCheck ("M_BOM_ID", Integer.valueOf(M_BOM_ID)); } /** Get BOM. @return Bill of Material */ @@ -199,7 +199,7 @@ public void setM_ChangeNotice_ID (int M_ChangeNotice_ID) { if (M_ChangeNotice_ID <= 0) set_ValueNoCheck ("M_ChangeNotice_ID", null); else -set_ValueNoCheck ("M_ChangeNotice_ID", new Integer(M_ChangeNotice_ID)); +set_ValueNoCheck ("M_ChangeNotice_ID", Integer.valueOf(M_ChangeNotice_ID)); } /** Get Change Notice. @return Bill of Materials (Engineering) Change Notice (Version) */ @@ -214,7 +214,7 @@ return ii.intValue(); public void setM_ChangeRequest_ID (int M_ChangeRequest_ID) { if (M_ChangeRequest_ID < 1) throw new IllegalArgumentException ("M_ChangeRequest_ID is mandatory."); -set_ValueNoCheck ("M_ChangeRequest_ID", new Integer(M_ChangeRequest_ID)); +set_ValueNoCheck ("M_ChangeRequest_ID", Integer.valueOf(M_ChangeRequest_ID)); } /** Get Change Request. @return BOM (Engineering) Change Request */ @@ -233,7 +233,7 @@ public void setM_FixChangeNotice_ID (int M_FixChangeNotice_ID) { if (M_FixChangeNotice_ID <= 0) set_ValueNoCheck ("M_FixChangeNotice_ID", null); else -set_ValueNoCheck ("M_FixChangeNotice_ID", new Integer(M_FixChangeNotice_ID)); +set_ValueNoCheck ("M_FixChangeNotice_ID", Integer.valueOf(M_FixChangeNotice_ID)); } /** Get Fixed in. @return Fixed in Change Notice */ @@ -265,7 +265,7 @@ return (String)get_Value("Name"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_Cost.java b/dbPort/src/org/compiere/model/X_M_Cost.java index 10fb397e34..c2f6f8eca2 100644 --- a/dbPort/src/org/compiere/model/X_M_Cost.java +++ b/dbPort/src/org/compiere/model/X_M_Cost.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Cost * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Cost extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_Cost (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=771 */ -public static final int Table_ID=771; +public static final int Table_ID=MTable.getTable_ID("M_Cost"); /** TableName=M_Cost */ public static final String Table_Name="M_Cost"; -protected static KeyNamePair Model = new KeyNamePair(771,"M_Cost"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Cost"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -237,7 +237,7 @@ return bd; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -252,7 +252,7 @@ return ii.intValue(); public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID < 1) throw new IllegalArgumentException ("M_CostElement_ID is mandatory."); -set_ValueNoCheck ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_ValueNoCheck ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ @@ -267,7 +267,7 @@ return ii.intValue(); public void setM_CostType_ID (int M_CostType_ID) { if (M_CostType_ID < 1) throw new IllegalArgumentException ("M_CostType_ID is mandatory."); -set_ValueNoCheck ("M_CostType_ID", new Integer(M_CostType_ID)); +set_ValueNoCheck ("M_CostType_ID", Integer.valueOf(M_CostType_ID)); } /** Get Cost Type. @return Type of Cost (e.g. Current, Plan, Future) */ @@ -282,7 +282,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -296,7 +296,7 @@ return ii.intValue(); @param Percent Percentage */ public void setPercent (int Percent) { -set_Value ("Percent", new Integer(Percent)); +set_Value ("Percent", Integer.valueOf(Percent)); } /** Get Percent. @return Percentage */ diff --git a/dbPort/src/org/compiere/model/X_M_CostDetail.java b/dbPort/src/org/compiere/model/X_M_CostDetail.java index 3ef4549f13..24484d6395 100644 --- a/dbPort/src/org/compiere/model/X_M_CostDetail.java +++ b/dbPort/src/org/compiere/model/X_M_CostDetail.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_CostDetail * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_CostDetail extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_CostDetail (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=808 */ -public static final int Table_ID=808; +public static final int Table_ID=MTable.getTable_ID("M_CostDetail"); /** TableName=M_CostDetail */ public static final String Table_Name="M_CostDetail"; -protected static KeyNamePair Model = new KeyNamePair(808,"M_CostDetail"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_CostDetail"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -112,7 +112,7 @@ return bd; public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -128,7 +128,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_ValueNoCheck ("C_InvoiceLine_ID", null); else -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -144,7 +144,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_ValueNoCheck ("C_OrderLine_ID", null); else -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -160,7 +160,7 @@ public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) { if (C_ProjectIssue_ID <= 0) set_Value ("C_ProjectIssue_ID", null); else -set_Value ("C_ProjectIssue_ID", new Integer(C_ProjectIssue_ID)); +set_Value ("C_ProjectIssue_ID", Integer.valueOf(C_ProjectIssue_ID)); } /** Get Project Issue. @return Project Issues (Material, Labor) */ @@ -219,7 +219,7 @@ return (String)get_Value("Description"); @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -238,7 +238,7 @@ return false; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -253,7 +253,7 @@ return ii.intValue(); public void setM_CostDetail_ID (int M_CostDetail_ID) { if (M_CostDetail_ID < 1) throw new IllegalArgumentException ("M_CostDetail_ID is mandatory."); -set_ValueNoCheck ("M_CostDetail_ID", new Integer(M_CostDetail_ID)); +set_ValueNoCheck ("M_CostDetail_ID", Integer.valueOf(M_CostDetail_ID)); } /** Get Cost Detail. @return Cost Detail Information */ @@ -269,7 +269,7 @@ public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID <= 0) set_ValueNoCheck ("M_CostElement_ID", null); else -set_ValueNoCheck ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_ValueNoCheck ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ @@ -285,7 +285,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_ValueNoCheck ("M_InOutLine_ID", null); else -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -301,7 +301,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_Value ("M_InventoryLine_ID", null); else -set_Value ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_Value ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -317,7 +317,7 @@ public void setM_MovementLine_ID (int M_MovementLine_ID) { if (M_MovementLine_ID <= 0) set_Value ("M_MovementLine_ID", null); else -set_Value ("M_MovementLine_ID", new Integer(M_MovementLine_ID)); +set_Value ("M_MovementLine_ID", Integer.valueOf(M_MovementLine_ID)); } /** Get Move Line. @return Inventory Move document Line */ @@ -332,7 +332,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -348,7 +348,7 @@ public void setM_ProductionLine_ID (int M_ProductionLine_ID) { if (M_ProductionLine_ID <= 0) set_Value ("M_ProductionLine_ID", null); else -set_Value ("M_ProductionLine_ID", new Integer(M_ProductionLine_ID)); +set_Value ("M_ProductionLine_ID", Integer.valueOf(M_ProductionLine_ID)); } /** Get Production Line. @return Document Line representing a production */ @@ -376,7 +376,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_CostElement.java b/dbPort/src/org/compiere/model/X_M_CostElement.java index 1b1e64ed20..a9dbaf6cc3 100644 --- a/dbPort/src/org/compiere/model/X_M_CostElement.java +++ b/dbPort/src/org/compiere/model/X_M_CostElement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_CostElement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_CostElement extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_CostElement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=770 */ -public static final int Table_ID=770; +public static final int Table_ID=MTable.getTable_ID("M_CostElement"); /** TableName=M_CostElement */ public static final String Table_Name="M_CostElement"; -protected static KeyNamePair Model = new KeyNamePair(770,"M_CostElement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_CostElement"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -182,7 +182,7 @@ return (String)get_Value("Description"); @param IsCalculated The value is calculated by the system */ public void setIsCalculated (boolean IsCalculated) { -set_Value ("IsCalculated", new Boolean(IsCalculated)); +set_Value ("IsCalculated", Boolean.valueOf(IsCalculated)); } /** Get Calculated. @return The value is calculated by the system */ @@ -201,7 +201,7 @@ return false; public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID < 1) throw new IllegalArgumentException ("M_CostElement_ID is mandatory."); -set_ValueNoCheck ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_ValueNoCheck ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ diff --git a/dbPort/src/org/compiere/model/X_M_CostQueue.java b/dbPort/src/org/compiere/model/X_M_CostQueue.java index 931367baeb..1f510c6911 100644 --- a/dbPort/src/org/compiere/model/X_M_CostQueue.java +++ b/dbPort/src/org/compiere/model/X_M_CostQueue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_CostQueue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_CostQueue extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_CostQueue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=817 */ -public static final int Table_ID=817; +public static final int Table_ID=MTable.getTable_ID("M_CostQueue"); /** TableName=M_CostQueue */ public static final String Table_Name="M_CostQueue"; -protected static KeyNamePair Model = new KeyNamePair(817,"M_CostQueue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_CostQueue"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -142,7 +142,7 @@ return bd; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -157,7 +157,7 @@ return ii.intValue(); public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID < 1) throw new IllegalArgumentException ("M_CostElement_ID is mandatory."); -set_ValueNoCheck ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_ValueNoCheck ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ @@ -172,7 +172,7 @@ return ii.intValue(); public void setM_CostQueue_ID (int M_CostQueue_ID) { if (M_CostQueue_ID < 1) throw new IllegalArgumentException ("M_CostQueue_ID is mandatory."); -set_ValueNoCheck ("M_CostQueue_ID", new Integer(M_CostQueue_ID)); +set_ValueNoCheck ("M_CostQueue_ID", Integer.valueOf(M_CostQueue_ID)); } /** Get Cost Queue. @return FiFo/LiFo Cost Queue */ @@ -187,7 +187,7 @@ return ii.intValue(); public void setM_CostType_ID (int M_CostType_ID) { if (M_CostType_ID < 1) throw new IllegalArgumentException ("M_CostType_ID is mandatory."); -set_ValueNoCheck ("M_CostType_ID", new Integer(M_CostType_ID)); +set_ValueNoCheck ("M_CostType_ID", Integer.valueOf(M_CostType_ID)); } /** Get Cost Type. @return Type of Cost (e.g. Current, Plan, Future) */ @@ -202,7 +202,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_CostType.java b/dbPort/src/org/compiere/model/X_M_CostType.java index 9da0e29479..553cccab7c 100644 --- a/dbPort/src/org/compiere/model/X_M_CostType.java +++ b/dbPort/src/org/compiere/model/X_M_CostType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_CostType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_CostType extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_CostType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=586 */ -public static final int Table_ID=586; +public static final int Table_ID=MTable.getTable_ID("M_CostType"); /** TableName=M_CostType */ public static final String Table_Name="M_CostType"; -protected static KeyNamePair Model = new KeyNamePair(586,"M_CostType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_CostType"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("Help"); public void setM_CostType_ID (int M_CostType_ID) { if (M_CostType_ID < 1) throw new IllegalArgumentException ("M_CostType_ID is mandatory."); -set_ValueNoCheck ("M_CostType_ID", new Integer(M_CostType_ID)); +set_ValueNoCheck ("M_CostType_ID", Integer.valueOf(M_CostType_ID)); } /** Get Cost Type. @return Type of Cost (e.g. Current, Plan, Future) */ diff --git a/dbPort/src/org/compiere/model/X_M_Demand.java b/dbPort/src/org/compiere/model/X_M_Demand.java index 3b7338aa9d..ffdce16235 100644 --- a/dbPort/src/org/compiere/model/X_M_Demand.java +++ b/dbPort/src/org/compiere/model/X_M_Demand.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Demand * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Demand extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_Demand (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=723 */ -public static final int Table_ID=723; +public static final int Table_ID=MTable.getTable_ID("M_Demand"); /** TableName=M_Demand */ public static final String Table_Name="M_Demand"; -protected static KeyNamePair Model = new KeyNamePair(723,"M_Demand"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Demand"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Calendar_ID (int C_Calendar_ID) { if (C_Calendar_ID < 1) throw new IllegalArgumentException ("C_Calendar_ID is mandatory."); -set_ValueNoCheck ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_ValueNoCheck ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } /** Get Calendar. @return Accounting Calendar Name */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_Year_ID (int C_Year_ID) { if (C_Year_ID < 1) throw new IllegalArgumentException ("C_Year_ID is mandatory."); -set_ValueNoCheck ("C_Year_ID", new Integer(C_Year_ID)); +set_ValueNoCheck ("C_Year_ID", Integer.valueOf(C_Year_ID)); } /** Get Year. @return Calendar Year */ @@ -157,7 +157,7 @@ return (String)get_Value("Help"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -176,7 +176,7 @@ return false; public void setM_Demand_ID (int M_Demand_ID) { if (M_Demand_ID < 1) throw new IllegalArgumentException ("M_Demand_ID is mandatory."); -set_ValueNoCheck ("M_Demand_ID", new Integer(M_Demand_ID)); +set_ValueNoCheck ("M_Demand_ID", Integer.valueOf(M_Demand_ID)); } /** Get Demand. @return Material Demand */ @@ -214,7 +214,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_DemandDetail.java b/dbPort/src/org/compiere/model/X_M_DemandDetail.java index 2b46b4be63..2822362116 100644 --- a/dbPort/src/org/compiere/model/X_M_DemandDetail.java +++ b/dbPort/src/org/compiere/model/X_M_DemandDetail.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DemandDetail * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DemandDetail extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_DemandDetail (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=721 */ -public static final int Table_ID=721; +public static final int Table_ID=MTable.getTable_ID("M_DemandDetail"); /** TableName=M_DemandDetail */ public static final String Table_Name="M_DemandDetail"; -protected static KeyNamePair Model = new KeyNamePair(721,"M_DemandDetail"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DemandDetail"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_Value ("C_OrderLine_ID", null); else -set_Value ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_Value ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setM_DemandDetail_ID (int M_DemandDetail_ID) { if (M_DemandDetail_ID < 1) throw new IllegalArgumentException ("M_DemandDetail_ID is mandatory."); -set_ValueNoCheck ("M_DemandDetail_ID", new Integer(M_DemandDetail_ID)); +set_ValueNoCheck ("M_DemandDetail_ID", Integer.valueOf(M_DemandDetail_ID)); } /** Get Demand Detail. @return Material Demand Line Source Detail */ @@ -128,7 +128,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_DemandDetail_ID())); public void setM_DemandLine_ID (int M_DemandLine_ID) { if (M_DemandLine_ID < 1) throw new IllegalArgumentException ("M_DemandLine_ID is mandatory."); -set_ValueNoCheck ("M_DemandLine_ID", new Integer(M_DemandLine_ID)); +set_ValueNoCheck ("M_DemandLine_ID", Integer.valueOf(M_DemandLine_ID)); } /** Get Demand Line. @return Material Demand Line */ @@ -144,7 +144,7 @@ public void setM_ForecastLine_ID (int M_ForecastLine_ID) { if (M_ForecastLine_ID <= 0) set_Value ("M_ForecastLine_ID", null); else -set_Value ("M_ForecastLine_ID", new Integer(M_ForecastLine_ID)); +set_Value ("M_ForecastLine_ID", Integer.valueOf(M_ForecastLine_ID)); } /** Get Forecast Line. @return Forecast Line */ @@ -160,7 +160,7 @@ public void setM_RequisitionLine_ID (int M_RequisitionLine_ID) { if (M_RequisitionLine_ID <= 0) set_Value ("M_RequisitionLine_ID", null); else -set_Value ("M_RequisitionLine_ID", new Integer(M_RequisitionLine_ID)); +set_Value ("M_RequisitionLine_ID", Integer.valueOf(M_RequisitionLine_ID)); } /** Get Requisition Line. @return Material Requisition Line */ diff --git a/dbPort/src/org/compiere/model/X_M_DemandLine.java b/dbPort/src/org/compiere/model/X_M_DemandLine.java index ee504b2304..0dce7ecea0 100644 --- a/dbPort/src/org/compiere/model/X_M_DemandLine.java +++ b/dbPort/src/org/compiere/model/X_M_DemandLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DemandLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DemandLine extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_DemandLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=719 */ -public static final int Table_ID=719; +public static final int Table_ID=MTable.getTable_ID("M_DemandLine"); /** TableName=M_DemandLine */ public static final String Table_Name="M_DemandLine"; -protected static KeyNamePair Model = new KeyNamePair(719,"M_DemandLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DemandLine"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID < 1) throw new IllegalArgumentException ("C_Period_ID is mandatory."); -set_ValueNoCheck ("C_Period_ID", new Integer(C_Period_ID)); +set_ValueNoCheck ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -116,7 +116,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Period_ID())); public void setM_DemandLine_ID (int M_DemandLine_ID) { if (M_DemandLine_ID < 1) throw new IllegalArgumentException ("M_DemandLine_ID is mandatory."); -set_ValueNoCheck ("M_DemandLine_ID", new Integer(M_DemandLine_ID)); +set_ValueNoCheck ("M_DemandLine_ID", Integer.valueOf(M_DemandLine_ID)); } /** Get Demand Line. @return Material Demand Line */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setM_Demand_ID (int M_Demand_ID) { if (M_Demand_ID < 1) throw new IllegalArgumentException ("M_Demand_ID is mandatory."); -set_ValueNoCheck ("M_Demand_ID", new Integer(M_Demand_ID)); +set_ValueNoCheck ("M_Demand_ID", Integer.valueOf(M_Demand_ID)); } /** Get Demand. @return Material Demand */ @@ -146,7 +146,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_DiscountSchema.java b/dbPort/src/org/compiere/model/X_M_DiscountSchema.java index 7bae3ab2da..c57ecf24d6 100644 --- a/dbPort/src/org/compiere/model/X_M_DiscountSchema.java +++ b/dbPort/src/org/compiere/model/X_M_DiscountSchema.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DiscountSchema * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DiscountSchema extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_DiscountSchema (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=475 */ -public static final int Table_ID=475; +public static final int Table_ID=MTable.getTable_ID("M_DiscountSchema"); /** TableName=M_DiscountSchema */ public static final String Table_Name="M_DiscountSchema"; -protected static KeyNamePair Model = new KeyNamePair(475,"M_DiscountSchema"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DiscountSchema"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -180,7 +180,7 @@ return bd; @param IsBPartnerFlatDiscount Use flat discount defined on Business Partner Level */ public void setIsBPartnerFlatDiscount (boolean IsBPartnerFlatDiscount) { -set_Value ("IsBPartnerFlatDiscount", new Boolean(IsBPartnerFlatDiscount)); +set_Value ("IsBPartnerFlatDiscount", Boolean.valueOf(IsBPartnerFlatDiscount)); } /** Get B.Partner Flat Discount. @return Use flat discount defined on Business Partner Level */ @@ -198,7 +198,7 @@ return false; @param IsQuantityBased Trade discount break level based on Quantity (not value) */ public void setIsQuantityBased (boolean IsQuantityBased) { -set_Value ("IsQuantityBased", new Boolean(IsQuantityBased)); +set_Value ("IsQuantityBased", Boolean.valueOf(IsQuantityBased)); } /** Get Quantity based. @return Trade discount break level based on Quantity (not value) */ @@ -217,7 +217,7 @@ return false; public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID < 1) throw new IllegalArgumentException ("M_DiscountSchema_ID is mandatory."); -set_ValueNoCheck ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_ValueNoCheck ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -255,7 +255,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_DiscountSchemaBreak.java b/dbPort/src/org/compiere/model/X_M_DiscountSchemaBreak.java index f285834196..cd13b9455e 100644 --- a/dbPort/src/org/compiere/model/X_M_DiscountSchemaBreak.java +++ b/dbPort/src/org/compiere/model/X_M_DiscountSchemaBreak.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DiscountSchemaBreak * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DiscountSchemaBreak extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_DiscountSchemaBreak (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=476 */ -public static final int Table_ID=476; +public static final int Table_ID=MTable.getTable_ID("M_DiscountSchemaBreak"); /** TableName=M_DiscountSchemaBreak */ public static final String Table_Name="M_DiscountSchemaBreak"; -protected static KeyNamePair Model = new KeyNamePair(476,"M_DiscountSchemaBreak"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DiscountSchemaBreak"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -124,7 +124,7 @@ return bd; @param IsBPartnerFlatDiscount Use flat discount defined on Business Partner Level */ public void setIsBPartnerFlatDiscount (boolean IsBPartnerFlatDiscount) { -set_Value ("IsBPartnerFlatDiscount", new Boolean(IsBPartnerFlatDiscount)); +set_Value ("IsBPartnerFlatDiscount", Boolean.valueOf(IsBPartnerFlatDiscount)); } /** Get B.Partner Flat Discount. @return Use flat discount defined on Business Partner Level */ @@ -143,7 +143,7 @@ return false; public void setM_DiscountSchemaBreak_ID (int M_DiscountSchemaBreak_ID) { if (M_DiscountSchemaBreak_ID < 1) throw new IllegalArgumentException ("M_DiscountSchemaBreak_ID is mandatory."); -set_ValueNoCheck ("M_DiscountSchemaBreak_ID", new Integer(M_DiscountSchemaBreak_ID)); +set_ValueNoCheck ("M_DiscountSchemaBreak_ID", Integer.valueOf(M_DiscountSchemaBreak_ID)); } /** Get Discount Schema Break. @return Trade Discount Break */ @@ -158,7 +158,7 @@ return ii.intValue(); public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID < 1) throw new IllegalArgumentException ("M_DiscountSchema_ID is mandatory."); -set_ValueNoCheck ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_ValueNoCheck ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -174,7 +174,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -190,7 +190,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -205,7 +205,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_M_DiscountSchemaLine.java b/dbPort/src/org/compiere/model/X_M_DiscountSchemaLine.java index 74fcf7c158..732263eac8 100644 --- a/dbPort/src/org/compiere/model/X_M_DiscountSchemaLine.java +++ b/dbPort/src/org/compiere/model/X_M_DiscountSchemaLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DiscountSchemaLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DiscountSchemaLine extends PO { /** Standard Constructor @@ -75,12 +75,12 @@ public X_M_DiscountSchemaLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=477 */ -public static final int Table_ID=477; +public static final int Table_ID=MTable.getTable_ID("M_DiscountSchemaLine"); /** TableName=M_DiscountSchemaLine */ public static final String Table_Name="M_DiscountSchemaLine"; -protected static KeyNamePair Model = new KeyNamePair(477,"M_DiscountSchemaLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DiscountSchemaLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -113,7 +113,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -128,7 +128,7 @@ return ii.intValue(); public void setC_ConversionType_ID (int C_ConversionType_ID) { if (C_ConversionType_ID < 1) throw new IllegalArgumentException ("C_ConversionType_ID is mandatory."); -set_Value ("C_ConversionType_ID", new Integer(C_ConversionType_ID)); +set_Value ("C_ConversionType_ID", Integer.valueOf(C_ConversionType_ID)); } /** Get Currency Type. @return Currency Conversion Rate Type */ @@ -444,7 +444,7 @@ return (String)get_Value("List_Rounding"); public void setM_DiscountSchemaLine_ID (int M_DiscountSchemaLine_ID) { if (M_DiscountSchemaLine_ID < 1) throw new IllegalArgumentException ("M_DiscountSchemaLine_ID is mandatory."); -set_ValueNoCheck ("M_DiscountSchemaLine_ID", new Integer(M_DiscountSchemaLine_ID)); +set_ValueNoCheck ("M_DiscountSchemaLine_ID", Integer.valueOf(M_DiscountSchemaLine_ID)); } /** Get Discount Pricelist. @return Line of the pricelist trade discount schema */ @@ -459,7 +459,7 @@ return ii.intValue(); public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID < 1) throw new IllegalArgumentException ("M_DiscountSchema_ID is mandatory."); -set_ValueNoCheck ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_ValueNoCheck ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -475,7 +475,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -491,7 +491,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -506,7 +506,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_M_DistributionList.java b/dbPort/src/org/compiere/model/X_M_DistributionList.java index 478eea3b73..0e8606860d 100644 --- a/dbPort/src/org/compiere/model/X_M_DistributionList.java +++ b/dbPort/src/org/compiere/model/X_M_DistributionList.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DistributionList * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DistributionList extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_DistributionList (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=666 */ -public static final int Table_ID=666; +public static final int Table_ID=MTable.getTable_ID("M_DistributionList"); /** TableName=M_DistributionList */ public static final String Table_Name="M_DistributionList"; -protected static KeyNamePair Model = new KeyNamePair(666,"M_DistributionList"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DistributionList"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("Help"); public void setM_DistributionList_ID (int M_DistributionList_ID) { if (M_DistributionList_ID < 1) throw new IllegalArgumentException ("M_DistributionList_ID is mandatory."); -set_ValueNoCheck ("M_DistributionList_ID", new Integer(M_DistributionList_ID)); +set_ValueNoCheck ("M_DistributionList_ID", Integer.valueOf(M_DistributionList_ID)); } /** Get Distribution List. @return Distribution Lists allow to distribute products to a selected list of partners */ @@ -163,7 +163,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_DistributionListLine.java b/dbPort/src/org/compiere/model/X_M_DistributionListLine.java index 065d1f0ad7..ed26330779 100644 --- a/dbPort/src/org/compiere/model/X_M_DistributionListLine.java +++ b/dbPort/src/org/compiere/model/X_M_DistributionListLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DistributionListLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DistributionListLine extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_DistributionListLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=665 */ -public static final int Table_ID=665; +public static final int Table_ID=MTable.getTable_ID("M_DistributionListLine"); /** TableName=M_DistributionListLine */ public static final String Table_Name="M_DistributionListLine"; -protected static KeyNamePair Model = new KeyNamePair(665,"M_DistributionListLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DistributionListLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -141,7 +141,7 @@ return (String)get_Value("Description"); public void setM_DistributionListLine_ID (int M_DistributionListLine_ID) { if (M_DistributionListLine_ID < 1) throw new IllegalArgumentException ("M_DistributionListLine_ID is mandatory."); -set_ValueNoCheck ("M_DistributionListLine_ID", new Integer(M_DistributionListLine_ID)); +set_ValueNoCheck ("M_DistributionListLine_ID", Integer.valueOf(M_DistributionListLine_ID)); } /** Get Distribution List Line. @return Distribution List Line with Business Partner and Quantity/Percentage */ @@ -156,7 +156,7 @@ return ii.intValue(); public void setM_DistributionList_ID (int M_DistributionList_ID) { if (M_DistributionList_ID < 1) throw new IllegalArgumentException ("M_DistributionList_ID is mandatory."); -set_ValueNoCheck ("M_DistributionList_ID", new Integer(M_DistributionList_ID)); +set_ValueNoCheck ("M_DistributionList_ID", Integer.valueOf(M_DistributionList_ID)); } /** Get Distribution List. @return Distribution Lists allow to distribute products to a selected list of partners */ diff --git a/dbPort/src/org/compiere/model/X_M_DistributionRun.java b/dbPort/src/org/compiere/model/X_M_DistributionRun.java index d618ed82d4..add5dc14f8 100644 --- a/dbPort/src/org/compiere/model/X_M_DistributionRun.java +++ b/dbPort/src/org/compiere/model/X_M_DistributionRun.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DistributionRun * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DistributionRun extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_DistributionRun (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=712 */ -public static final int Table_ID=712; +public static final int Table_ID=MTable.getTable_ID("M_DistributionRun"); /** TableName=M_DistributionRun */ public static final String Table_Name="M_DistributionRun"; -protected static KeyNamePair Model = new KeyNamePair(712,"M_DistributionRun"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DistributionRun"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -109,7 +109,7 @@ public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID <= 0) set_Value ("C_BPartner_Location_ID", null); else -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -140,7 +140,7 @@ return (String)get_Value("Description"); @param IsCreateSingleOrder For all shipments create one Order */ public void setIsCreateSingleOrder (boolean IsCreateSingleOrder) { -set_Value ("IsCreateSingleOrder", new Boolean(IsCreateSingleOrder)); +set_Value ("IsCreateSingleOrder", Boolean.valueOf(IsCreateSingleOrder)); } /** Get Create Single Order. @return For all shipments create one Order */ @@ -159,7 +159,7 @@ return false; public void setM_DistributionRun_ID (int M_DistributionRun_ID) { if (M_DistributionRun_ID < 1) throw new IllegalArgumentException ("M_DistributionRun_ID is mandatory."); -set_ValueNoCheck ("M_DistributionRun_ID", new Integer(M_DistributionRun_ID)); +set_ValueNoCheck ("M_DistributionRun_ID", Integer.valueOf(M_DistributionRun_ID)); } /** Get Distribution Run. @return Distribution Run create Orders to distribute products to a selected list of partners */ @@ -197,7 +197,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_DistributionRunLine.java b/dbPort/src/org/compiere/model/X_M_DistributionRunLine.java index 7b1161c9bc..bc3b4a2093 100644 --- a/dbPort/src/org/compiere/model/X_M_DistributionRunLine.java +++ b/dbPort/src/org/compiere/model/X_M_DistributionRunLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_DistributionRunLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_DistributionRunLine extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_DistributionRunLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=713 */ -public static final int Table_ID=713; +public static final int Table_ID=MTable.getTable_ID("M_DistributionRunLine"); /** TableName=M_DistributionRunLine */ public static final String Table_Name="M_DistributionRunLine"; -protected static KeyNamePair Model = new KeyNamePair(713,"M_DistributionRunLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_DistributionRunLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -112,7 +112,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -127,7 +127,7 @@ return ii.intValue(); public void setM_DistributionList_ID (int M_DistributionList_ID) { if (M_DistributionList_ID < 1) throw new IllegalArgumentException ("M_DistributionList_ID is mandatory."); -set_Value ("M_DistributionList_ID", new Integer(M_DistributionList_ID)); +set_Value ("M_DistributionList_ID", Integer.valueOf(M_DistributionList_ID)); } /** Get Distribution List. @return Distribution Lists allow to distribute products to a selected list of partners */ @@ -142,7 +142,7 @@ return ii.intValue(); public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID) { if (M_DistributionRunLine_ID < 1) throw new IllegalArgumentException ("M_DistributionRunLine_ID is mandatory."); -set_ValueNoCheck ("M_DistributionRunLine_ID", new Integer(M_DistributionRunLine_ID)); +set_ValueNoCheck ("M_DistributionRunLine_ID", Integer.valueOf(M_DistributionRunLine_ID)); } /** Get Distribution Run Line. @return Distribution Run Lines define Distribution List, the Product and Quantiries */ @@ -157,7 +157,7 @@ return ii.intValue(); public void setM_DistributionRun_ID (int M_DistributionRun_ID) { if (M_DistributionRun_ID < 1) throw new IllegalArgumentException ("M_DistributionRun_ID is mandatory."); -set_ValueNoCheck ("M_DistributionRun_ID", new Integer(M_DistributionRun_ID)); +set_ValueNoCheck ("M_DistributionRun_ID", Integer.valueOf(M_DistributionRun_ID)); } /** Get Distribution Run. @return Distribution Run create Orders to distribute products to a selected list of partners */ @@ -178,7 +178,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_EDI.java b/dbPort/src/org/compiere/model/X_M_EDI.java index e5d16d3821..822e4f8180 100644 --- a/dbPort/src/org/compiere/model/X_M_EDI.java +++ b/dbPort/src/org/compiere/model/X_M_EDI.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_EDI * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_EDI extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_M_EDI (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=367 */ -public static final int Table_ID=367; +public static final int Table_ID=MTable.getTable_ID("M_EDI"); /** TableName=M_EDI */ public static final String Table_Name="M_EDI"; -protected static KeyNamePair Model = new KeyNamePair(367,"M_EDI"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_EDI"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setC_BP_EDI_ID (int C_BP_EDI_ID) { if (C_BP_EDI_ID < 1) throw new IllegalArgumentException ("C_BP_EDI_ID is mandatory."); -set_Value ("C_BP_EDI_ID", new Integer(C_BP_EDI_ID)); +set_Value ("C_BP_EDI_ID", Integer.valueOf(C_BP_EDI_ID)); } /** Get EDI Definition. @return Electronic Data Interchange */ @@ -170,7 +170,7 @@ return (String)get_Value("EDIStatus"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -185,7 +185,7 @@ return ii.intValue(); public void setM_EDI_ID (int M_EDI_ID) { if (M_EDI_ID < 1) throw new IllegalArgumentException ("M_EDI_ID is mandatory."); -set_ValueNoCheck ("M_EDI_ID", new Integer(M_EDI_ID)); +set_ValueNoCheck ("M_EDI_ID", Integer.valueOf(M_EDI_ID)); } /** Get EDI Transaction. @return EDI Transaction */ @@ -200,7 +200,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -215,7 +215,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -229,7 +229,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_EDI_Info.java b/dbPort/src/org/compiere/model/X_M_EDI_Info.java index 6dd2016054..71662463a1 100644 --- a/dbPort/src/org/compiere/model/X_M_EDI_Info.java +++ b/dbPort/src/org/compiere/model/X_M_EDI_Info.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_EDI_Info * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_EDI_Info extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_EDI_Info (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=368 */ -public static final int Table_ID=368; +public static final int Table_ID=MTable.getTable_ID("M_EDI_Info"); /** TableName=M_EDI_Info */ public static final String Table_Name="M_EDI_Info"; -protected static KeyNamePair Model = new KeyNamePair(368,"M_EDI_Info"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_EDI_Info"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -110,7 +110,7 @@ return (String)get_Value("Info"); public void setM_EDI_ID (int M_EDI_ID) { if (M_EDI_ID < 1) throw new IllegalArgumentException ("M_EDI_ID is mandatory."); -set_ValueNoCheck ("M_EDI_ID", new Integer(M_EDI_ID)); +set_ValueNoCheck ("M_EDI_ID", Integer.valueOf(M_EDI_ID)); } /** Get EDI Transaction. @return EDI Transaction */ @@ -131,7 +131,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_EDI_ID())); public void setM_EDI_Info_ID (int M_EDI_Info_ID) { if (M_EDI_Info_ID < 1) throw new IllegalArgumentException ("M_EDI_Info_ID is mandatory."); -set_ValueNoCheck ("M_EDI_Info_ID", new Integer(M_EDI_Info_ID)); +set_ValueNoCheck ("M_EDI_Info_ID", Integer.valueOf(M_EDI_Info_ID)); } /** Get EDI Log. @return EDI Log */ diff --git a/dbPort/src/org/compiere/model/X_M_Forecast.java b/dbPort/src/org/compiere/model/X_M_Forecast.java index d60df2a627..e60edca170 100644 --- a/dbPort/src/org/compiere/model/X_M_Forecast.java +++ b/dbPort/src/org/compiere/model/X_M_Forecast.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Forecast * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Forecast extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_Forecast (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=720 */ -public static final int Table_ID=720; +public static final int Table_ID=MTable.getTable_ID("M_Forecast"); /** TableName=M_Forecast */ public static final String Table_Name="M_Forecast"; -protected static KeyNamePair Model = new KeyNamePair(720,"M_Forecast"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Forecast"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Calendar_ID (int C_Calendar_ID) { if (C_Calendar_ID < 1) throw new IllegalArgumentException ("C_Calendar_ID is mandatory."); -set_ValueNoCheck ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_ValueNoCheck ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } /** Get Calendar. @return Accounting Calendar Name */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_Year_ID (int C_Year_ID) { if (C_Year_ID < 1) throw new IllegalArgumentException ("C_Year_ID is mandatory."); -set_ValueNoCheck ("C_Year_ID", new Integer(C_Year_ID)); +set_ValueNoCheck ("C_Year_ID", Integer.valueOf(C_Year_ID)); } /** Get Year. @return Calendar Year */ @@ -157,7 +157,7 @@ return (String)get_Value("Help"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -176,7 +176,7 @@ return false; public void setM_Forecast_ID (int M_Forecast_ID) { if (M_Forecast_ID < 1) throw new IllegalArgumentException ("M_Forecast_ID is mandatory."); -set_ValueNoCheck ("M_Forecast_ID", new Integer(M_Forecast_ID)); +set_ValueNoCheck ("M_Forecast_ID", Integer.valueOf(M_Forecast_ID)); } /** Get Forecast. @return Material Forecast */ @@ -214,7 +214,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_ForecastLine.java b/dbPort/src/org/compiere/model/X_M_ForecastLine.java index a32100b91d..4c32b8a5d6 100644 --- a/dbPort/src/org/compiere/model/X_M_ForecastLine.java +++ b/dbPort/src/org/compiere/model/X_M_ForecastLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ForecastLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ForecastLine extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_ForecastLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=722 */ -public static final int Table_ID=722; +public static final int Table_ID=MTable.getTable_ID("M_ForecastLine"); /** TableName=M_ForecastLine */ public static final String Table_Name="M_ForecastLine"; -protected static KeyNamePair Model = new KeyNamePair(722,"M_ForecastLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ForecastLine"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_Period_ID (int C_Period_ID) { if (C_Period_ID < 1) throw new IllegalArgumentException ("C_Period_ID is mandatory."); -set_ValueNoCheck ("C_Period_ID", new Integer(C_Period_ID)); +set_ValueNoCheck ("C_Period_ID", Integer.valueOf(C_Period_ID)); } /** Get Period. @return Period of the Calendar */ @@ -116,7 +116,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getC_Period_ID())); public void setM_ForecastLine_ID (int M_ForecastLine_ID) { if (M_ForecastLine_ID < 1) throw new IllegalArgumentException ("M_ForecastLine_ID is mandatory."); -set_ValueNoCheck ("M_ForecastLine_ID", new Integer(M_ForecastLine_ID)); +set_ValueNoCheck ("M_ForecastLine_ID", Integer.valueOf(M_ForecastLine_ID)); } /** Get Forecast Line. @return Forecast Line */ @@ -131,7 +131,7 @@ return ii.intValue(); public void setM_Forecast_ID (int M_Forecast_ID) { if (M_Forecast_ID < 1) throw new IllegalArgumentException ("M_Forecast_ID is mandatory."); -set_ValueNoCheck ("M_Forecast_ID", new Integer(M_Forecast_ID)); +set_ValueNoCheck ("M_Forecast_ID", Integer.valueOf(M_Forecast_ID)); } /** Get Forecast. @return Material Forecast */ @@ -146,7 +146,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_Freight.java b/dbPort/src/org/compiere/model/X_M_Freight.java index 6def436ee9..6891129bed 100644 --- a/dbPort/src/org/compiere/model/X_M_Freight.java +++ b/dbPort/src/org/compiere/model/X_M_Freight.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Freight * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Freight extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_Freight (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=596 */ -public static final int Table_ID=596; +public static final int Table_ID=MTable.getTable_ID("M_Freight"); /** TableName=M_Freight */ public static final String Table_Name="M_Freight"; -protected static KeyNamePair Model = new KeyNamePair(596,"M_Freight"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Freight"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID <= 0) set_Value ("C_Country_ID", null); else -set_Value ("C_Country_ID", new Integer(C_Country_ID)); +set_Value ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -127,7 +127,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_Value ("C_Region_ID", null); else -set_Value ("C_Region_ID", new Integer(C_Region_ID)); +set_Value ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -157,7 +157,7 @@ return bd; public void setM_FreightCategory_ID (int M_FreightCategory_ID) { if (M_FreightCategory_ID < 1) throw new IllegalArgumentException ("M_FreightCategory_ID is mandatory."); -set_Value ("M_FreightCategory_ID", new Integer(M_FreightCategory_ID)); +set_Value ("M_FreightCategory_ID", Integer.valueOf(M_FreightCategory_ID)); } /** Get Freight Category. @return Category of the Freight */ @@ -172,7 +172,7 @@ return ii.intValue(); public void setM_Freight_ID (int M_Freight_ID) { if (M_Freight_ID < 1) throw new IllegalArgumentException ("M_Freight_ID is mandatory."); -set_ValueNoCheck ("M_Freight_ID", new Integer(M_Freight_ID)); +set_ValueNoCheck ("M_Freight_ID", Integer.valueOf(M_Freight_ID)); } /** Get Freight. @return Freight Rate */ @@ -187,7 +187,7 @@ return ii.intValue(); public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID < 1) throw new IllegalArgumentException ("M_Shipper_ID is mandatory."); -set_ValueNoCheck ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_ValueNoCheck ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ @@ -212,7 +212,7 @@ public void setTo_Country_ID (int To_Country_ID) { if (To_Country_ID <= 0) set_Value ("To_Country_ID", null); else -set_Value ("To_Country_ID", new Integer(To_Country_ID)); +set_Value ("To_Country_ID", Integer.valueOf(To_Country_ID)); } /** Get To. @return Receiving Country */ @@ -231,7 +231,7 @@ public void setTo_Region_ID (int To_Region_ID) { if (To_Region_ID <= 0) set_Value ("To_Region_ID", null); else -set_Value ("To_Region_ID", new Integer(To_Region_ID)); +set_Value ("To_Region_ID", Integer.valueOf(To_Region_ID)); } /** Get To. @return Receiving Region */ diff --git a/dbPort/src/org/compiere/model/X_M_FreightCategory.java b/dbPort/src/org/compiere/model/X_M_FreightCategory.java index 677a1ae655..ce281e9970 100644 --- a/dbPort/src/org/compiere/model/X_M_FreightCategory.java +++ b/dbPort/src/org/compiere/model/X_M_FreightCategory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_FreightCategory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_FreightCategory extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_FreightCategory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=595 */ -public static final int Table_ID=595; +public static final int Table_ID=MTable.getTable_ID("M_FreightCategory"); /** TableName=M_FreightCategory */ public static final String Table_Name="M_FreightCategory"; -protected static KeyNamePair Model = new KeyNamePair(595,"M_FreightCategory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_FreightCategory"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -126,7 +126,7 @@ return (String)get_Value("Help"); public void setM_FreightCategory_ID (int M_FreightCategory_ID) { if (M_FreightCategory_ID < 1) throw new IllegalArgumentException ("M_FreightCategory_ID is mandatory."); -set_ValueNoCheck ("M_FreightCategory_ID", new Integer(M_FreightCategory_ID)); +set_ValueNoCheck ("M_FreightCategory_ID", Integer.valueOf(M_FreightCategory_ID)); } /** Get Freight Category. @return Category of the Freight */ diff --git a/dbPort/src/org/compiere/model/X_M_InOut.java b/dbPort/src/org/compiere/model/X_M_InOut.java index 61d8ccd1a3..b5314e6f2a 100644 --- a/dbPort/src/org/compiere/model/X_M_InOut.java +++ b/dbPort/src/org/compiere/model/X_M_InOut.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InOut * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InOut extends PO { /** Standard Constructor @@ -75,12 +75,12 @@ public X_M_InOut (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=319 */ -public static final int Table_ID=319; +public static final int Table_ID=MTable.getTable_ID("M_InOut"); /** TableName=M_InOut */ public static final String Table_Name="M_InOut"; -protected static KeyNamePair Model = new KeyNamePair(319,"M_InOut"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InOut"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -116,7 +116,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -132,7 +132,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -148,7 +148,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -163,7 +163,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -178,7 +178,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -194,7 +194,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -213,7 +213,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -231,7 +231,7 @@ public static final int C_DOCTYPE_ID_AD_Reference_ID=170; public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_ValueNoCheck ("C_DocType_ID", new Integer(C_DocType_ID)); +set_ValueNoCheck ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -247,7 +247,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -263,7 +263,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -279,7 +279,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -672,7 +672,7 @@ return (String)get_Value("GenerateTo"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -690,7 +690,7 @@ return false; @param IsInDispute Document is in dispute */ public void setIsInDispute (boolean IsInDispute) { -set_Value ("IsInDispute", new Boolean(IsInDispute)); +set_Value ("IsInDispute", Boolean.valueOf(IsInDispute)); } /** Get In Dispute. @return Document is in dispute */ @@ -708,7 +708,7 @@ return false; @param IsInTransit Movement is in transit */ public void setIsInTransit (boolean IsInTransit) { -set_Value ("IsInTransit", new Boolean(IsInTransit)); +set_Value ("IsInTransit", Boolean.valueOf(IsInTransit)); } /** Get In Transit. @return Movement is in transit */ @@ -726,7 +726,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -744,7 +744,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -763,7 +763,7 @@ return false; public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID < 1) throw new IllegalArgumentException ("M_InOut_ID is mandatory."); -set_ValueNoCheck ("M_InOut_ID", new Integer(M_InOut_ID)); +set_ValueNoCheck ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -779,7 +779,7 @@ public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID <= 0) set_Value ("M_Shipper_ID", null); else -set_Value ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_Value ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ @@ -794,7 +794,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -868,7 +868,7 @@ return (String)get_Value("MovementType"); @param NoPackages Number of packages shipped */ public void setNoPackages (int NoPackages) { -set_Value ("NoPackages", new Integer(NoPackages)); +set_Value ("NoPackages", Integer.valueOf(NoPackages)); } /** Get No Packages. @return Number of packages shipped */ @@ -911,7 +911,7 @@ return (Timestamp)get_Value("PickDate"); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -962,7 +962,7 @@ return (String)get_Value("PriorityRule"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -980,7 +980,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -1000,7 +1000,7 @@ public void setRef_InOut_ID (int Ref_InOut_ID) { if (Ref_InOut_ID <= 0) set_Value ("Ref_InOut_ID", null); else -set_Value ("Ref_InOut_ID", new Integer(Ref_InOut_ID)); +set_Value ("Ref_InOut_ID", Integer.valueOf(Ref_InOut_ID)); } /** Get Referenced Shipment. @return Referenced Shipment */ @@ -1019,7 +1019,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -1033,7 +1033,7 @@ return ii.intValue(); @param SendEMail Enable sending Document EMail */ public void setSendEMail (boolean SendEMail) { -set_Value ("SendEMail", new Boolean(SendEMail)); +set_Value ("SendEMail", Boolean.valueOf(SendEMail)); } /** Get Send EMail. @return Enable sending Document EMail */ @@ -1085,7 +1085,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -1104,7 +1104,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_M_InOutConfirm.java b/dbPort/src/org/compiere/model/X_M_InOutConfirm.java index 55115e5ba6..9fab0fcccb 100644 --- a/dbPort/src/org/compiere/model/X_M_InOutConfirm.java +++ b/dbPort/src/org/compiere/model/X_M_InOutConfirm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InOutConfirm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InOutConfirm extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_InOutConfirm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=727 */ -public static final int Table_ID=727; +public static final int Table_ID=MTable.getTable_ID("M_InOutConfirm"); /** TableName=M_InOutConfirm */ public static final String Table_Name="M_InOutConfirm"; -protected static KeyNamePair Model = new KeyNamePair(727,"M_InOutConfirm"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InOutConfirm"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -114,7 +114,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -334,7 +334,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -352,7 +352,7 @@ return false; @param IsCancelled The transaction was cancelled */ public void setIsCancelled (boolean IsCancelled) { -set_Value ("IsCancelled", new Boolean(IsCancelled)); +set_Value ("IsCancelled", Boolean.valueOf(IsCancelled)); } /** Get Cancelled. @return The transaction was cancelled */ @@ -370,7 +370,7 @@ return false; @param IsInDispute Document is in dispute */ public void setIsInDispute (boolean IsInDispute) { -set_Value ("IsInDispute", new Boolean(IsInDispute)); +set_Value ("IsInDispute", Boolean.valueOf(IsInDispute)); } /** Get In Dispute. @return Document is in dispute */ @@ -389,7 +389,7 @@ return false; public void setM_InOutConfirm_ID (int M_InOutConfirm_ID) { if (M_InOutConfirm_ID < 1) throw new IllegalArgumentException ("M_InOutConfirm_ID is mandatory."); -set_ValueNoCheck ("M_InOutConfirm_ID", new Integer(M_InOutConfirm_ID)); +set_ValueNoCheck ("M_InOutConfirm_ID", Integer.valueOf(M_InOutConfirm_ID)); } /** Get Ship/Receipt Confirmation. @return Material Shipment or Receipt Confirmation */ @@ -404,7 +404,7 @@ return ii.intValue(); public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID < 1) throw new IllegalArgumentException ("M_InOut_ID is mandatory."); -set_ValueNoCheck ("M_InOut_ID", new Integer(M_InOut_ID)); +set_ValueNoCheck ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -420,7 +420,7 @@ public void setM_Inventory_ID (int M_Inventory_ID) { if (M_Inventory_ID <= 0) set_Value ("M_Inventory_ID", null); else -set_Value ("M_Inventory_ID", new Integer(M_Inventory_ID)); +set_Value ("M_Inventory_ID", Integer.valueOf(M_Inventory_ID)); } /** Get Phys.Inventory. @return Parameters for a Physical Inventory */ @@ -434,7 +434,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -452,7 +452,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_InOutLine.java b/dbPort/src/org/compiere/model/X_M_InOutLine.java index b5f9e35c45..ad384c4c20 100644 --- a/dbPort/src/org/compiere/model/X_M_InOutLine.java +++ b/dbPort/src/org/compiere/model/X_M_InOutLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InOutLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InOutLine extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_M_InOutLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=320 */ -public static final int Table_ID=320; +public static final int Table_ID=MTable.getTable_ID("M_InOutLine"); /** TableName=M_InOutLine */ public static final String Table_Name="M_InOutLine"; -protected static KeyNamePair Model = new KeyNamePair(320,"M_InOutLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InOutLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -104,7 +104,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -120,7 +120,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -136,7 +136,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -152,7 +152,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -168,7 +168,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_ValueNoCheck ("C_OrderLine_ID", null); else -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -184,7 +184,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_Value ("C_ProjectPhase_ID", null); else -set_Value ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_Value ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -200,7 +200,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_Value ("C_ProjectTask_ID", null); else -set_Value ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_Value ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -216,7 +216,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -231,7 +231,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_ValueNoCheck ("C_UOM_ID", new Integer(C_UOM_ID)); +set_ValueNoCheck ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -276,7 +276,7 @@ return (String)get_Value("Description"); @param IsDescription if true, the line is just description and no transaction */ public void setIsDescription (boolean IsDescription) { -set_Value ("IsDescription", new Boolean(IsDescription)); +set_Value ("IsDescription", Boolean.valueOf(IsDescription)); } /** Get Description Only. @return if true, the line is just description and no transaction */ @@ -294,7 +294,7 @@ return false; @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { -set_Value ("IsInvoiced", new Boolean(IsInvoiced)); +set_Value ("IsInvoiced", Boolean.valueOf(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ @@ -312,7 +312,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -333,7 +333,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getLine())); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -348,7 +348,7 @@ return ii.intValue(); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -363,7 +363,7 @@ return ii.intValue(); public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID < 1) throw new IllegalArgumentException ("M_InOut_ID is mandatory."); -set_ValueNoCheck ("M_InOut_ID", new Integer(M_InOut_ID)); +set_ValueNoCheck ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -378,7 +378,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -394,7 +394,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -437,7 +437,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -472,7 +472,7 @@ public void setRef_InOutLine_ID (int Ref_InOutLine_ID) { if (Ref_InOutLine_ID <= 0) set_Value ("Ref_InOutLine_ID", null); else -set_Value ("Ref_InOutLine_ID", new Integer(Ref_InOutLine_ID)); +set_Value ("Ref_InOutLine_ID", Integer.valueOf(Ref_InOutLine_ID)); } /** Get Referenced Shipment Line. @return Referenced Shipment Line */ @@ -519,7 +519,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -538,7 +538,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_M_InOutLineConfirm.java b/dbPort/src/org/compiere/model/X_M_InOutLineConfirm.java index 8fe8f1b2c2..9c5a918877 100644 --- a/dbPort/src/org/compiere/model/X_M_InOutLineConfirm.java +++ b/dbPort/src/org/compiere/model/X_M_InOutLineConfirm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InOutLineConfirm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InOutLineConfirm extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_InOutLineConfirm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=728 */ -public static final int Table_ID=728; +public static final int Table_ID=MTable.getTable_ID("M_InOutLineConfirm"); /** TableName=M_InOutLineConfirm */ public static final String Table_Name="M_InOutLineConfirm"; -protected static KeyNamePair Model = new KeyNamePair(728,"M_InOutLineConfirm"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InOutLineConfirm"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -96,7 +96,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_Value ("C_InvoiceLine_ID", null); else -set_Value ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_Value ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -174,7 +174,7 @@ return bd; public void setM_InOutConfirm_ID (int M_InOutConfirm_ID) { if (M_InOutConfirm_ID < 1) throw new IllegalArgumentException ("M_InOutConfirm_ID is mandatory."); -set_ValueNoCheck ("M_InOutConfirm_ID", new Integer(M_InOutConfirm_ID)); +set_ValueNoCheck ("M_InOutConfirm_ID", Integer.valueOf(M_InOutConfirm_ID)); } /** Get Ship/Receipt Confirmation. @return Material Shipment or Receipt Confirmation */ @@ -189,7 +189,7 @@ return ii.intValue(); public void setM_InOutLineConfirm_ID (int M_InOutLineConfirm_ID) { if (M_InOutLineConfirm_ID < 1) throw new IllegalArgumentException ("M_InOutLineConfirm_ID is mandatory."); -set_ValueNoCheck ("M_InOutLineConfirm_ID", new Integer(M_InOutLineConfirm_ID)); +set_ValueNoCheck ("M_InOutLineConfirm_ID", Integer.valueOf(M_InOutLineConfirm_ID)); } /** Get Ship/Receipt Confirmation Line. @return Material Shipment or Receipt Confirmation Line */ @@ -204,7 +204,7 @@ return ii.intValue(); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -226,7 +226,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_Value ("M_InventoryLine_ID", null); else -set_Value ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_Value ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -240,7 +240,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_InOutLineMA.java b/dbPort/src/org/compiere/model/X_M_InOutLineMA.java index 5944642eca..a3563ae67a 100644 --- a/dbPort/src/org/compiere/model/X_M_InOutLineMA.java +++ b/dbPort/src/org/compiere/model/X_M_InOutLineMA.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InOutLineMA * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InOutLineMA extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_InOutLineMA (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=762 */ -public static final int Table_ID=762; +public static final int Table_ID=MTable.getTable_ID("M_InOutLineMA"); /** TableName=M_InOutLineMA */ public static final String Table_Name="M_InOutLineMA"; -protected static KeyNamePair Model = new KeyNamePair(762,"M_InOutLineMA"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InOutLineMA"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ diff --git a/dbPort/src/org/compiere/model/X_M_Inventory.java b/dbPort/src/org/compiere/model/X_M_Inventory.java index cb91c66d27..e312e74a33 100644 --- a/dbPort/src/org/compiere/model/X_M_Inventory.java +++ b/dbPort/src/org/compiere/model/X_M_Inventory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Inventory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Inventory extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_Inventory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=321 */ -public static final int Table_ID=321; +public static final int Table_ID=MTable.getTable_ID("M_Inventory"); /** TableName=M_Inventory */ public static final String Table_Name="M_Inventory"; -protected static KeyNamePair Model = new KeyNamePair(321,"M_Inventory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Inventory"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -103,7 +103,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -133,7 +133,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -149,7 +149,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -164,7 +164,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -180,7 +180,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -350,7 +350,7 @@ return (String)get_Value("GenerateList"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -369,7 +369,7 @@ return false; public void setM_Inventory_ID (int M_Inventory_ID) { if (M_Inventory_ID < 1) throw new IllegalArgumentException ("M_Inventory_ID is mandatory."); -set_ValueNoCheck ("M_Inventory_ID", new Integer(M_Inventory_ID)); +set_ValueNoCheck ("M_Inventory_ID", Integer.valueOf(M_Inventory_ID)); } /** Get Phys.Inventory. @return Parameters for a Physical Inventory */ @@ -385,7 +385,7 @@ public void setM_PerpetualInv_ID (int M_PerpetualInv_ID) { if (M_PerpetualInv_ID <= 0) set_ValueNoCheck ("M_PerpetualInv_ID", null); else -set_ValueNoCheck ("M_PerpetualInv_ID", new Integer(M_PerpetualInv_ID)); +set_ValueNoCheck ("M_PerpetualInv_ID", Integer.valueOf(M_PerpetualInv_ID)); } /** Get Perpetual Inventory. @return Rules for generating physical inventory */ @@ -400,7 +400,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -427,7 +427,7 @@ return (Timestamp)get_Value("MovementDate"); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -445,7 +445,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -463,7 +463,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -503,7 +503,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -522,7 +522,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_M_InventoryLine.java b/dbPort/src/org/compiere/model/X_M_InventoryLine.java index 3ae751aac0..5e7d6b94cc 100644 --- a/dbPort/src/org/compiere/model/X_M_InventoryLine.java +++ b/dbPort/src/org/compiere/model/X_M_InventoryLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InventoryLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InventoryLine extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_M_InventoryLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=322 */ -public static final int Table_ID=322; +public static final int Table_ID=MTable.getTable_ID("M_InventoryLine"); /** TableName=M_InventoryLine */ public static final String Table_Name="M_InventoryLine"; -protected static KeyNamePair Model = new KeyNamePair(322,"M_InventoryLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InventoryLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -99,7 +99,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -157,7 +157,7 @@ return (String)get_Value("InventoryType"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -178,7 +178,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getLine())); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -193,7 +193,7 @@ return ii.intValue(); public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID < 1) throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory."); -set_ValueNoCheck ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_ValueNoCheck ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -208,7 +208,7 @@ return ii.intValue(); public void setM_Inventory_ID (int M_Inventory_ID) { if (M_Inventory_ID < 1) throw new IllegalArgumentException ("M_Inventory_ID is mandatory."); -set_ValueNoCheck ("M_Inventory_ID", new Integer(M_Inventory_ID)); +set_ValueNoCheck ("M_Inventory_ID", Integer.valueOf(M_Inventory_ID)); } /** Get Phys.Inventory. @return Parameters for a Physical Inventory */ @@ -223,7 +223,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -241,7 +241,7 @@ public static final int M_PRODUCT_ID_AD_Reference_ID=171; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -255,7 +255,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_InventoryLineMA.java b/dbPort/src/org/compiere/model/X_M_InventoryLineMA.java index 153a10a7e4..0cfd6c1246 100644 --- a/dbPort/src/org/compiere/model/X_M_InventoryLineMA.java +++ b/dbPort/src/org/compiere/model/X_M_InventoryLineMA.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_InventoryLineMA * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_InventoryLineMA extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_InventoryLineMA (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=763 */ -public static final int Table_ID=763; +public static final int Table_ID=MTable.getTable_ID("M_InventoryLineMA"); /** TableName=M_InventoryLineMA */ public static final String Table_Name="M_InventoryLineMA"; -protected static KeyNamePair Model = new KeyNamePair(763,"M_InventoryLineMA"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_InventoryLineMA"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID < 1) throw new IllegalArgumentException ("M_InventoryLine_ID is mandatory."); -set_ValueNoCheck ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_ValueNoCheck ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ diff --git a/dbPort/src/org/compiere/model/X_M_Locator.java b/dbPort/src/org/compiere/model/X_M_Locator.java index 220961f0cb..0835c22250 100644 --- a/dbPort/src/org/compiere/model/X_M_Locator.java +++ b/dbPort/src/org/compiere/model/X_M_Locator.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Locator * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Locator extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_Locator (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=207 */ -public static final int Table_ID=207; +public static final int Table_ID=MTable.getTable_ID("M_Locator"); /** TableName=M_Locator */ public static final String Table_Name="M_Locator"; -protected static KeyNamePair Model = new KeyNamePair(207,"M_Locator"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Locator"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -115,7 +115,7 @@ return false; public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_ValueNoCheck ("M_Locator_ID", new Integer(M_Locator_ID)); +set_ValueNoCheck ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -130,7 +130,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -144,7 +144,7 @@ return ii.intValue(); @param PriorityNo Where inventory should be picked from first */ public void setPriorityNo (int PriorityNo) { -set_Value ("PriorityNo", new Integer(PriorityNo)); +set_Value ("PriorityNo", Integer.valueOf(PriorityNo)); } /** Get Relative Priority. @return Where inventory should be picked from first */ diff --git a/dbPort/src/org/compiere/model/X_M_Lot.java b/dbPort/src/org/compiere/model/X_M_Lot.java index d529f73925..7955db9d52 100644 --- a/dbPort/src/org/compiere/model/X_M_Lot.java +++ b/dbPort/src/org/compiere/model/X_M_Lot.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Lot * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Lot extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_Lot (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=557 */ -public static final int Table_ID=557; +public static final int Table_ID=MTable.getTable_ID("M_Lot"); /** TableName=M_Lot */ public static final String Table_Name="M_Lot"; -protected static KeyNamePair Model = new KeyNamePair(557,"M_Lot"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Lot"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -151,7 +151,7 @@ public void setM_LotCtl_ID (int M_LotCtl_ID) { if (M_LotCtl_ID <= 0) set_ValueNoCheck ("M_LotCtl_ID", null); else -set_ValueNoCheck ("M_LotCtl_ID", new Integer(M_LotCtl_ID)); +set_ValueNoCheck ("M_LotCtl_ID", Integer.valueOf(M_LotCtl_ID)); } /** Get Lot Control. @return Product Lot Control */ @@ -166,7 +166,7 @@ return ii.intValue(); public void setM_Lot_ID (int M_Lot_ID) { if (M_Lot_ID < 1) throw new IllegalArgumentException ("M_Lot_ID is mandatory."); -set_ValueNoCheck ("M_Lot_ID", new Integer(M_Lot_ID)); +set_ValueNoCheck ("M_Lot_ID", Integer.valueOf(M_Lot_ID)); } /** Get Lot. @return Product Lot Definition */ @@ -181,7 +181,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_LotCtl.java b/dbPort/src/org/compiere/model/X_M_LotCtl.java index e50ae58867..d1d24a2b23 100644 --- a/dbPort/src/org/compiere/model/X_M_LotCtl.java +++ b/dbPort/src/org/compiere/model/X_M_LotCtl.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_LotCtl * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_LotCtl extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_LotCtl (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=556 */ -public static final int Table_ID=556; +public static final int Table_ID=MTable.getTable_ID("M_LotCtl"); /** TableName=M_LotCtl */ public static final String Table_Name="M_LotCtl"; -protected static KeyNamePair Model = new KeyNamePair(556,"M_LotCtl"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_LotCtl"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); @param CurrentNext The next number to be used */ public void setCurrentNext (int CurrentNext) { -set_Value ("CurrentNext", new Integer(CurrentNext)); +set_Value ("CurrentNext", Integer.valueOf(CurrentNext)); } /** Get Current Next. @return The next number to be used */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); @param IncrementNo The number to increment the last document number by */ public void setIncrementNo (int IncrementNo) { -set_Value ("IncrementNo", new Integer(IncrementNo)); +set_Value ("IncrementNo", Integer.valueOf(IncrementNo)); } /** Get Increment. @return The number to increment the last document number by */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setM_LotCtl_ID (int M_LotCtl_ID) { if (M_LotCtl_ID < 1) throw new IllegalArgumentException ("M_LotCtl_ID is mandatory."); -set_ValueNoCheck ("M_LotCtl_ID", new Integer(M_LotCtl_ID)); +set_ValueNoCheck ("M_LotCtl_ID", Integer.valueOf(M_LotCtl_ID)); } /** Get Lot Control. @return Product Lot Control */ @@ -194,7 +194,7 @@ return (String)get_Value("Prefix"); @param StartNo Starting number/position */ public void setStartNo (int StartNo) { -set_Value ("StartNo", new Integer(StartNo)); +set_Value ("StartNo", Integer.valueOf(StartNo)); } /** Get Start No. @return Starting number/position */ diff --git a/dbPort/src/org/compiere/model/X_M_LotCtlExclude.java b/dbPort/src/org/compiere/model/X_M_LotCtlExclude.java index 97219de4cd..0cb6b2db6c 100644 --- a/dbPort/src/org/compiere/model/X_M_LotCtlExclude.java +++ b/dbPort/src/org/compiere/model/X_M_LotCtlExclude.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_LotCtlExclude * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_LotCtlExclude extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_LotCtlExclude (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=810 */ -public static final int Table_ID=810; +public static final int Table_ID=MTable.getTable_ID("M_LotCtlExclude"); /** TableName=M_LotCtlExclude */ public static final String Table_Name="M_LotCtlExclude"; -protected static KeyNamePair Model = new KeyNamePair(810,"M_LotCtlExclude"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_LotCtlExclude"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -107,7 +107,7 @@ return ii.intValue(); @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -126,7 +126,7 @@ return false; public void setM_LotCtlExclude_ID (int M_LotCtlExclude_ID) { if (M_LotCtlExclude_ID < 1) throw new IllegalArgumentException ("M_LotCtlExclude_ID is mandatory."); -set_ValueNoCheck ("M_LotCtlExclude_ID", new Integer(M_LotCtlExclude_ID)); +set_ValueNoCheck ("M_LotCtlExclude_ID", Integer.valueOf(M_LotCtlExclude_ID)); } /** Get Exclude Lot. @return Exclude the ability to create Lots in Attribute Sets */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setM_LotCtl_ID (int M_LotCtl_ID) { if (M_LotCtl_ID < 1) throw new IllegalArgumentException ("M_LotCtl_ID is mandatory."); -set_ValueNoCheck ("M_LotCtl_ID", new Integer(M_LotCtl_ID)); +set_ValueNoCheck ("M_LotCtl_ID", Integer.valueOf(M_LotCtl_ID)); } /** Get Lot Control. @return Product Lot Control */ diff --git a/dbPort/src/org/compiere/model/X_M_MatchInv.java b/dbPort/src/org/compiere/model/X_M_MatchInv.java index 3c26d87894..0b5aa24bc3 100644 --- a/dbPort/src/org/compiere/model/X_M_MatchInv.java +++ b/dbPort/src/org/compiere/model/X_M_MatchInv.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_MatchInv * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_MatchInv extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_MatchInv (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=472 */ -public static final int Table_ID=472; +public static final int Table_ID=MTable.getTable_ID("M_MatchInv"); /** TableName=M_MatchInv */ public static final String Table_Name="M_MatchInv"; -protected static KeyNamePair Model = new KeyNamePair(472,"M_MatchInv"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_MatchInv"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ return sb.toString(); public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID < 1) throw new IllegalArgumentException ("C_InvoiceLine_ID is mandatory."); -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -181,7 +181,7 @@ public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID <= 0) set_ValueNoCheck ("M_AttributeSetInstance_ID", null); else -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -196,7 +196,7 @@ return ii.intValue(); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -211,7 +211,7 @@ return ii.intValue(); public void setM_MatchInv_ID (int M_MatchInv_ID) { if (M_MatchInv_ID < 1) throw new IllegalArgumentException ("M_MatchInv_ID is mandatory."); -set_ValueNoCheck ("M_MatchInv_ID", new Integer(M_MatchInv_ID)); +set_ValueNoCheck ("M_MatchInv_ID", Integer.valueOf(M_MatchInv_ID)); } /** Get Match Invoice. @return Match Shipment/Receipt to Invoice */ @@ -226,7 +226,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -240,7 +240,7 @@ return ii.intValue(); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_ValueNoCheck ("Posted", new Boolean(Posted)); +set_ValueNoCheck ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -258,7 +258,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -276,7 +276,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_MatchPO.java b/dbPort/src/org/compiere/model/X_M_MatchPO.java index 8963c69659..36c59d1a34 100644 --- a/dbPort/src/org/compiere/model/X_M_MatchPO.java +++ b/dbPort/src/org/compiere/model/X_M_MatchPO.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_MatchPO * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_MatchPO extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_MatchPO (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=473 */ -public static final int Table_ID=473; +public static final int Table_ID=MTable.getTable_ID("M_MatchPO"); /** TableName=M_MatchPO */ public static final String Table_Name="M_MatchPO"; -protected static KeyNamePair Model = new KeyNamePair(473,"M_MatchPO"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_MatchPO"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -100,7 +100,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_ValueNoCheck ("C_InvoiceLine_ID", null); else -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -115,7 +115,7 @@ return ii.intValue(); public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID < 1) throw new IllegalArgumentException ("C_OrderLine_ID is mandatory."); -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -195,7 +195,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -215,7 +215,7 @@ public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID <= 0) set_ValueNoCheck ("M_AttributeSetInstance_ID", null); else -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -230,7 +230,7 @@ return ii.intValue(); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -245,7 +245,7 @@ return ii.intValue(); public void setM_MatchPO_ID (int M_MatchPO_ID) { if (M_MatchPO_ID < 1) throw new IllegalArgumentException ("M_MatchPO_ID is mandatory."); -set_ValueNoCheck ("M_MatchPO_ID", new Integer(M_MatchPO_ID)); +set_ValueNoCheck ("M_MatchPO_ID", Integer.valueOf(M_MatchPO_ID)); } /** Get Match PO. @return Match Purchase Order to Shipment/Receipt and Invoice */ @@ -260,7 +260,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -274,7 +274,7 @@ return ii.intValue(); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_ValueNoCheck ("Posted", new Boolean(Posted)); +set_ValueNoCheck ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -306,7 +306,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_ValueNoCheck ("Processed", new Boolean(Processed)); +set_ValueNoCheck ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -324,7 +324,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_Movement.java b/dbPort/src/org/compiere/model/X_M_Movement.java index b38a488ebc..cb0453003c 100644 --- a/dbPort/src/org/compiere/model/X_M_Movement.java +++ b/dbPort/src/org/compiere/model/X_M_Movement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Movement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Movement extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_Movement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=323 */ -public static final int Table_ID=323; +public static final int Table_ID=MTable.getTable_ID("M_Movement"); /** TableName=M_Movement */ public static final String Table_Name="M_Movement"; -protected static KeyNamePair Model = new KeyNamePair(323,"M_Movement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Movement"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -103,7 +103,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -133,7 +133,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -149,7 +149,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -164,7 +164,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -180,7 +180,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -345,7 +345,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -363,7 +363,7 @@ return false; @param IsInTransit Movement is in transit */ public void setIsInTransit (boolean IsInTransit) { -set_Value ("IsInTransit", new Boolean(IsInTransit)); +set_Value ("IsInTransit", Boolean.valueOf(IsInTransit)); } /** Get In Transit. @return Movement is in transit */ @@ -382,7 +382,7 @@ return false; public void setM_Movement_ID (int M_Movement_ID) { if (M_Movement_ID < 1) throw new IllegalArgumentException ("M_Movement_ID is mandatory."); -set_ValueNoCheck ("M_Movement_ID", new Integer(M_Movement_ID)); +set_ValueNoCheck ("M_Movement_ID", Integer.valueOf(M_Movement_ID)); } /** Get Inventory Move. @return Movement of Inventory */ @@ -409,7 +409,7 @@ return (Timestamp)get_Value("MovementDate"); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -427,7 +427,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -445,7 +445,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -468,7 +468,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -487,7 +487,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_M_MovementConfirm.java b/dbPort/src/org/compiere/model/X_M_MovementConfirm.java index 14a8666c65..4ac0afc1f9 100644 --- a/dbPort/src/org/compiere/model/X_M_MovementConfirm.java +++ b/dbPort/src/org/compiere/model/X_M_MovementConfirm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_MovementConfirm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_MovementConfirm extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_MovementConfirm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=738 */ -public static final int Table_ID=738; +public static final int Table_ID=MTable.getTable_ID("M_MovementConfirm"); /** TableName=M_MovementConfirm */ public static final String Table_Name="M_MovementConfirm"; -protected static KeyNamePair Model = new KeyNamePair(738,"M_MovementConfirm"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_MovementConfirm"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -248,7 +248,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -268,7 +268,7 @@ public void setM_Inventory_ID (int M_Inventory_ID) { if (M_Inventory_ID <= 0) set_Value ("M_Inventory_ID", null); else -set_Value ("M_Inventory_ID", new Integer(M_Inventory_ID)); +set_Value ("M_Inventory_ID", Integer.valueOf(M_Inventory_ID)); } /** Get Phys.Inventory. @return Parameters for a Physical Inventory */ @@ -283,7 +283,7 @@ return ii.intValue(); public void setM_MovementConfirm_ID (int M_MovementConfirm_ID) { if (M_MovementConfirm_ID < 1) throw new IllegalArgumentException ("M_MovementConfirm_ID is mandatory."); -set_ValueNoCheck ("M_MovementConfirm_ID", new Integer(M_MovementConfirm_ID)); +set_ValueNoCheck ("M_MovementConfirm_ID", Integer.valueOf(M_MovementConfirm_ID)); } /** Get Move Confirm. @return Inventory Move Confirmation */ @@ -298,7 +298,7 @@ return ii.intValue(); public void setM_Movement_ID (int M_Movement_ID) { if (M_Movement_ID < 1) throw new IllegalArgumentException ("M_Movement_ID is mandatory."); -set_Value ("M_Movement_ID", new Integer(M_Movement_ID)); +set_Value ("M_Movement_ID", Integer.valueOf(M_Movement_ID)); } /** Get Inventory Move. @return Movement of Inventory */ @@ -312,7 +312,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -330,7 +330,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_MovementLine.java b/dbPort/src/org/compiere/model/X_M_MovementLine.java index 13932d6574..d9758480df 100644 --- a/dbPort/src/org/compiere/model/X_M_MovementLine.java +++ b/dbPort/src/org/compiere/model/X_M_MovementLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_MovementLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_MovementLine extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_M_MovementLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=324 */ -public static final int Table_ID=324; +public static final int Table_ID=MTable.getTable_ID("M_MovementLine"); /** TableName=M_MovementLine */ public static final String Table_Name="M_MovementLine"; -protected static KeyNamePair Model = new KeyNamePair(324,"M_MovementLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_MovementLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -129,7 +129,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -151,7 +151,7 @@ public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID) { if (M_AttributeSetInstanceTo_ID <= 0) set_ValueNoCheck ("M_AttributeSetInstanceTo_ID", null); else -set_ValueNoCheck ("M_AttributeSetInstanceTo_ID", new Integer(M_AttributeSetInstanceTo_ID)); +set_ValueNoCheck ("M_AttributeSetInstanceTo_ID", Integer.valueOf(M_AttributeSetInstanceTo_ID)); } /** Get Attribute Set Instance To. @return Target Product Attribute Set Instance */ @@ -166,7 +166,7 @@ return ii.intValue(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -184,7 +184,7 @@ public static final int M_LOCATORTO_ID_AD_Reference_ID=191; public void setM_LocatorTo_ID (int M_LocatorTo_ID) { if (M_LocatorTo_ID < 1) throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory."); -set_Value ("M_LocatorTo_ID", new Integer(M_LocatorTo_ID)); +set_Value ("M_LocatorTo_ID", Integer.valueOf(M_LocatorTo_ID)); } /** Get Locator To. @return Location inventory is moved to */ @@ -199,7 +199,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -214,7 +214,7 @@ return ii.intValue(); public void setM_MovementLine_ID (int M_MovementLine_ID) { if (M_MovementLine_ID < 1) throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); -set_ValueNoCheck ("M_MovementLine_ID", new Integer(M_MovementLine_ID)); +set_ValueNoCheck ("M_MovementLine_ID", Integer.valueOf(M_MovementLine_ID)); } /** Get Move Line. @return Inventory Move document Line */ @@ -229,7 +229,7 @@ return ii.intValue(); public void setM_Movement_ID (int M_Movement_ID) { if (M_Movement_ID < 1) throw new IllegalArgumentException ("M_Movement_ID is mandatory."); -set_ValueNoCheck ("M_Movement_ID", new Integer(M_Movement_ID)); +set_ValueNoCheck ("M_Movement_ID", Integer.valueOf(M_Movement_ID)); } /** Get Inventory Move. @return Movement of Inventory */ @@ -247,7 +247,7 @@ public static final int M_PRODUCT_ID_AD_Reference_ID=171; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -276,7 +276,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_MovementLineConfirm.java b/dbPort/src/org/compiere/model/X_M_MovementLineConfirm.java index b9c7ed1d92..2aa59c080f 100644 --- a/dbPort/src/org/compiere/model/X_M_MovementLineConfirm.java +++ b/dbPort/src/org/compiere/model/X_M_MovementLineConfirm.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_MovementLineConfirm * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_MovementLineConfirm extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_MovementLineConfirm (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=737 */ -public static final int Table_ID=737; +public static final int Table_ID=MTable.getTable_ID("M_MovementLineConfirm"); /** TableName=M_MovementLineConfirm */ public static final String Table_Name="M_MovementLineConfirm"; -protected static KeyNamePair Model = new KeyNamePair(737,"M_MovementLineConfirm"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_MovementLineConfirm"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -145,7 +145,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_Value ("M_InventoryLine_ID", null); else -set_Value ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_Value ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -160,7 +160,7 @@ return ii.intValue(); public void setM_MovementConfirm_ID (int M_MovementConfirm_ID) { if (M_MovementConfirm_ID < 1) throw new IllegalArgumentException ("M_MovementConfirm_ID is mandatory."); -set_ValueNoCheck ("M_MovementConfirm_ID", new Integer(M_MovementConfirm_ID)); +set_ValueNoCheck ("M_MovementConfirm_ID", Integer.valueOf(M_MovementConfirm_ID)); } /** Get Move Confirm. @return Inventory Move Confirmation */ @@ -181,7 +181,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_MovementConfirm_ID())); public void setM_MovementLineConfirm_ID (int M_MovementLineConfirm_ID) { if (M_MovementLineConfirm_ID < 1) throw new IllegalArgumentException ("M_MovementLineConfirm_ID is mandatory."); -set_ValueNoCheck ("M_MovementLineConfirm_ID", new Integer(M_MovementLineConfirm_ID)); +set_ValueNoCheck ("M_MovementLineConfirm_ID", Integer.valueOf(M_MovementLineConfirm_ID)); } /** Get Move Line Confirm. @return Inventory Move Line Confirmation */ @@ -196,7 +196,7 @@ return ii.intValue(); public void setM_MovementLine_ID (int M_MovementLine_ID) { if (M_MovementLine_ID < 1) throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); -set_Value ("M_MovementLine_ID", new Integer(M_MovementLine_ID)); +set_Value ("M_MovementLine_ID", Integer.valueOf(M_MovementLine_ID)); } /** Get Move Line. @return Inventory Move document Line */ @@ -210,7 +210,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_MovementLineMA.java b/dbPort/src/org/compiere/model/X_M_MovementLineMA.java index 2f19aadbab..856fd7d26a 100644 --- a/dbPort/src/org/compiere/model/X_M_MovementLineMA.java +++ b/dbPort/src/org/compiere/model/X_M_MovementLineMA.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_MovementLineMA * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_MovementLineMA extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_MovementLineMA (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=764 */ -public static final int Table_ID=764; +public static final int Table_ID=MTable.getTable_ID("M_MovementLineMA"); /** TableName=M_MovementLineMA */ public static final String Table_Name="M_MovementLineMA"; -protected static KeyNamePair Model = new KeyNamePair(764,"M_MovementLineMA"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_MovementLineMA"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -106,7 +106,7 @@ return ii.intValue(); public void setM_MovementLine_ID (int M_MovementLine_ID) { if (M_MovementLine_ID < 1) throw new IllegalArgumentException ("M_MovementLine_ID is mandatory."); -set_ValueNoCheck ("M_MovementLine_ID", new Integer(M_MovementLine_ID)); +set_ValueNoCheck ("M_MovementLine_ID", Integer.valueOf(M_MovementLine_ID)); } /** Get Move Line. @return Inventory Move document Line */ diff --git a/dbPort/src/org/compiere/model/X_M_OperationResource.java b/dbPort/src/org/compiere/model/X_M_OperationResource.java index fd70d66b17..75255ed118 100644 --- a/dbPort/src/org/compiere/model/X_M_OperationResource.java +++ b/dbPort/src/org/compiere/model/X_M_OperationResource.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_OperationResource * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_OperationResource extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_OperationResource (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=797 */ -public static final int Table_ID=797; +public static final int Table_ID=MTable.getTable_ID("M_OperationResource"); /** TableName=M_OperationResource */ public static final String Table_Name="M_OperationResource"; -protected static KeyNamePair Model = new KeyNamePair(797,"M_OperationResource"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_OperationResource"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -112,7 +112,7 @@ public void setC_Job_ID (int C_Job_ID) { if (C_Job_ID <= 0) set_Value ("C_Job_ID", null); else -set_Value ("C_Job_ID", new Integer(C_Job_ID)); +set_Value ("C_Job_ID", Integer.valueOf(C_Job_ID)); } /** Get Position. @return Job Position */ @@ -161,7 +161,7 @@ return (String)get_Value("Help"); public void setM_OperationResource_ID (int M_OperationResource_ID) { if (M_OperationResource_ID < 1) throw new IllegalArgumentException ("M_OperationResource_ID is mandatory."); -set_ValueNoCheck ("M_OperationResource_ID", new Integer(M_OperationResource_ID)); +set_ValueNoCheck ("M_OperationResource_ID", Integer.valueOf(M_OperationResource_ID)); } /** Get Operation Resource. @return Product Operation Resource */ @@ -176,7 +176,7 @@ return ii.intValue(); public void setM_ProductOperation_ID (int M_ProductOperation_ID) { if (M_ProductOperation_ID < 1) throw new IllegalArgumentException ("M_ProductOperation_ID is mandatory."); -set_ValueNoCheck ("M_ProductOperation_ID", new Integer(M_ProductOperation_ID)); +set_ValueNoCheck ("M_ProductOperation_ID", Integer.valueOf(M_ProductOperation_ID)); } /** Get Product Operation. @return Product Manufacturing Operation */ diff --git a/dbPort/src/org/compiere/model/X_M_Package.java b/dbPort/src/org/compiere/model/X_M_Package.java index b98f12e4b5..5d07742c22 100644 --- a/dbPort/src/org/compiere/model/X_M_Package.java +++ b/dbPort/src/org/compiere/model/X_M_Package.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Package * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Package extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_Package (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=664 */ -public static final int Table_ID=664; +public static final int Table_ID=MTable.getTable_ID("M_Package"); /** TableName=M_Package */ public static final String Table_Name="M_Package"; -protected static KeyNamePair Model = new KeyNamePair(664,"M_Package"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Package"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -140,7 +140,7 @@ return (String)get_Value("DocumentNo"); public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID < 1) throw new IllegalArgumentException ("M_InOut_ID is mandatory."); -set_ValueNoCheck ("M_InOut_ID", new Integer(M_InOut_ID)); +set_ValueNoCheck ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -155,7 +155,7 @@ return ii.intValue(); public void setM_Package_ID (int M_Package_ID) { if (M_Package_ID < 1) throw new IllegalArgumentException ("M_Package_ID is mandatory."); -set_ValueNoCheck ("M_Package_ID", new Integer(M_Package_ID)); +set_ValueNoCheck ("M_Package_ID", Integer.valueOf(M_Package_ID)); } /** Get Package. @return Shipment Package */ @@ -170,7 +170,7 @@ return ii.intValue(); public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID < 1) throw new IllegalArgumentException ("M_Shipper_ID is mandatory."); -set_Value ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_Value ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ diff --git a/dbPort/src/org/compiere/model/X_M_PackageLine.java b/dbPort/src/org/compiere/model/X_M_PackageLine.java index 278351afe0..f5edadb2d6 100644 --- a/dbPort/src/org/compiere/model/X_M_PackageLine.java +++ b/dbPort/src/org/compiere/model/X_M_PackageLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_PackageLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_PackageLine extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_PackageLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=663 */ -public static final int Table_ID=663; +public static final int Table_ID=MTable.getTable_ID("M_PackageLine"); /** TableName=M_PackageLine */ public static final String Table_Name="M_PackageLine"; -protected static KeyNamePair Model = new KeyNamePair(663,"M_PackageLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_PackageLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -110,7 +110,7 @@ return (String)get_Value("Description"); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -125,7 +125,7 @@ return ii.intValue(); public void setM_PackageLine_ID (int M_PackageLine_ID) { if (M_PackageLine_ID < 1) throw new IllegalArgumentException ("M_PackageLine_ID is mandatory."); -set_ValueNoCheck ("M_PackageLine_ID", new Integer(M_PackageLine_ID)); +set_ValueNoCheck ("M_PackageLine_ID", Integer.valueOf(M_PackageLine_ID)); } /** Get Package Line. @return The detail content of the Package */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setM_Package_ID (int M_Package_ID) { if (M_Package_ID < 1) throw new IllegalArgumentException ("M_Package_ID is mandatory."); -set_ValueNoCheck ("M_Package_ID", new Integer(M_Package_ID)); +set_ValueNoCheck ("M_Package_ID", Integer.valueOf(M_Package_ID)); } /** Get Package. @return Shipment Package */ diff --git a/dbPort/src/org/compiere/model/X_M_PerpetualInv.java b/dbPort/src/org/compiere/model/X_M_PerpetualInv.java index 1a1c96e389..82652ad41b 100644 --- a/dbPort/src/org/compiere/model/X_M_PerpetualInv.java +++ b/dbPort/src/org/compiere/model/X_M_PerpetualInv.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_PerpetualInv * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_PerpetualInv extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_PerpetualInv (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=342 */ -public static final int Table_ID=342; +public static final int Table_ID=MTable.getTable_ID("M_PerpetualInv"); /** TableName=M_PerpetualInv */ public static final String Table_Name="M_PerpetualInv"; -protected static KeyNamePair Model = new KeyNamePair(342,"M_PerpetualInv"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_PerpetualInv"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); @param CountHighMovement Count High Movement products */ public void setCountHighMovement (boolean CountHighMovement) { -set_Value ("CountHighMovement", new Boolean(CountHighMovement)); +set_Value ("CountHighMovement", Boolean.valueOf(CountHighMovement)); } /** Get Count high turnover items. @return Count High Movement products */ @@ -156,7 +156,7 @@ return (String)get_Value("Description"); public void setM_PerpetualInv_ID (int M_PerpetualInv_ID) { if (M_PerpetualInv_ID < 1) throw new IllegalArgumentException ("M_PerpetualInv_ID is mandatory."); -set_ValueNoCheck ("M_PerpetualInv_ID", new Integer(M_PerpetualInv_ID)); +set_ValueNoCheck ("M_PerpetualInv_ID", Integer.valueOf(M_PerpetualInv_ID)); } /** Get Perpetual Inventory. @return Rules for generating physical inventory */ @@ -172,7 +172,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -188,7 +188,7 @@ public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID <= 0) set_Value ("M_Warehouse_ID", null); else -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -226,7 +226,7 @@ return new KeyNamePair(get_ID(), getName()); @param NoInventoryCount Frequency of inventory counts per year */ public void setNoInventoryCount (int NoInventoryCount) { -set_Value ("NoInventoryCount", new Integer(NoInventoryCount)); +set_Value ("NoInventoryCount", Integer.valueOf(NoInventoryCount)); } /** Get Number of Inventory counts. @return Frequency of inventory counts per year */ @@ -240,7 +240,7 @@ return ii.intValue(); @param NoProductCount Frequency of product counts per year */ public void setNoProductCount (int NoProductCount) { -set_Value ("NoProductCount", new Integer(NoProductCount)); +set_Value ("NoProductCount", Integer.valueOf(NoProductCount)); } /** Get Number of Product counts. @return Frequency of product counts per year */ @@ -254,7 +254,7 @@ return ii.intValue(); @param NumberOfRuns Frequency of processing Perpetual Inventory */ public void setNumberOfRuns (int NumberOfRuns) { -set_Value ("NumberOfRuns", new Integer(NumberOfRuns)); +set_Value ("NumberOfRuns", Integer.valueOf(NumberOfRuns)); } /** Get Number of runs. @return Frequency of processing Perpetual Inventory */ @@ -268,7 +268,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_PriceList.java b/dbPort/src/org/compiere/model/X_M_PriceList.java index 517d8978b4..60a4e44f55 100644 --- a/dbPort/src/org/compiere/model/X_M_PriceList.java +++ b/dbPort/src/org/compiere/model/X_M_PriceList.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_PriceList * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_PriceList extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_PriceList (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=255 */ -public static final int Table_ID=255; +public static final int Table_ID=MTable.getTable_ID("M_PriceList"); /** TableName=M_PriceList */ public static final String Table_Name="M_PriceList"; -protected static KeyNamePair Model = new KeyNamePair(255,"M_PriceList"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_PriceList"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -101,7 +101,7 @@ public void setBasePriceList_ID (int BasePriceList_ID) { if (BasePriceList_ID <= 0) set_Value ("BasePriceList_ID", null); else -set_Value ("BasePriceList_ID", new Integer(BasePriceList_ID)); +set_Value ("BasePriceList_ID", Integer.valueOf(BasePriceList_ID)); } /** Get Base Pricelist. @return Pricelist to be used, if product not found on this pricelist */ @@ -116,7 +116,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -147,7 +147,7 @@ return (String)get_Value("Description"); @param EnforcePriceLimit Do not allow prices below the limit price */ public void setEnforcePriceLimit (boolean EnforcePriceLimit) { -set_Value ("EnforcePriceLimit", new Boolean(EnforcePriceLimit)); +set_Value ("EnforcePriceLimit", Boolean.valueOf(EnforcePriceLimit)); } /** Get Enforce price limit. @return Do not allow prices below the limit price */ @@ -165,7 +165,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -183,7 +183,7 @@ return false; @param IsSOPriceList This is a Sales Price List */ public void setIsSOPriceList (boolean IsSOPriceList) { -set_Value ("IsSOPriceList", new Boolean(IsSOPriceList)); +set_Value ("IsSOPriceList", Boolean.valueOf(IsSOPriceList)); } /** Get Sales Price list. @return This is a Sales Price List */ @@ -201,7 +201,7 @@ return false; @param IsTaxIncluded Tax is included in the price */ public void setIsTaxIncluded (boolean IsTaxIncluded) { -set_Value ("IsTaxIncluded", new Boolean(IsTaxIncluded)); +set_Value ("IsTaxIncluded", Boolean.valueOf(IsTaxIncluded)); } /** Get Price includes Tax. @return Tax is included in the price */ @@ -220,7 +220,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_ValueNoCheck ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_ValueNoCheck ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ diff --git a/dbPort/src/org/compiere/model/X_M_PriceList_Version.java b/dbPort/src/org/compiere/model/X_M_PriceList_Version.java index b95a5adee7..9f8c6e11e7 100644 --- a/dbPort/src/org/compiere/model/X_M_PriceList_Version.java +++ b/dbPort/src/org/compiere/model/X_M_PriceList_Version.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_PriceList_Version * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_PriceList_Version extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_PriceList_Version (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=295 */ -public static final int Table_ID=295; +public static final int Table_ID=MTable.getTable_ID("M_PriceList_Version"); /** TableName=M_PriceList_Version */ public static final String Table_Name="M_PriceList_Version"; -protected static KeyNamePair Model = new KeyNamePair(295,"M_PriceList_Version"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_PriceList_Version"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -111,7 +111,7 @@ return (String)get_Value("Description"); public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID < 1) throw new IllegalArgumentException ("M_DiscountSchema_ID is mandatory."); -set_Value ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_Value ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_ValueNoCheck ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_ValueNoCheck ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setM_PriceList_Version_ID (int M_PriceList_Version_ID) { if (M_PriceList_Version_ID < 1) throw new IllegalArgumentException ("M_PriceList_Version_ID is mandatory."); -set_ValueNoCheck ("M_PriceList_Version_ID", new Integer(M_PriceList_Version_ID)); +set_ValueNoCheck ("M_PriceList_Version_ID", Integer.valueOf(M_PriceList_Version_ID)); } /** Get Price List Version. @return Identifies a unique instance of a Price List */ @@ -160,7 +160,7 @@ public void setM_Pricelist_Version_Base_ID (int M_Pricelist_Version_Base_ID) { if (M_Pricelist_Version_Base_ID <= 0) set_Value ("M_Pricelist_Version_Base_ID", null); else -set_Value ("M_Pricelist_Version_Base_ID", new Integer(M_Pricelist_Version_Base_ID)); +set_Value ("M_Pricelist_Version_Base_ID", Integer.valueOf(M_Pricelist_Version_Base_ID)); } /** Get Base Price List. @return Source for Price list calculations */ diff --git a/dbPort/src/org/compiere/model/X_M_Product.java b/dbPort/src/org/compiere/model/X_M_Product.java index 0159473758..8f20279396 100644 --- a/dbPort/src/org/compiere/model/X_M_Product.java +++ b/dbPort/src/org/compiere/model/X_M_Product.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product extends PO { /** Standard Constructor @@ -72,12 +72,12 @@ public X_M_Product (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=208 */ -public static final int Table_ID=208; +public static final int Table_ID=MTable.getTable_ID("M_Product"); /** TableName=M_Product */ public static final String Table_Name="M_Product"; -protected static KeyNamePair Model = new KeyNamePair(208,"M_Product"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -110,7 +110,7 @@ public void setC_RevenueRecognition_ID (int C_RevenueRecognition_ID) { if (C_RevenueRecognition_ID <= 0) set_Value ("C_RevenueRecognition_ID", null); else -set_Value ("C_RevenueRecognition_ID", new Integer(C_RevenueRecognition_ID)); +set_Value ("C_RevenueRecognition_ID", Integer.valueOf(C_RevenueRecognition_ID)); } /** Get Revenue Recognition. @return Method for recording revenue */ @@ -126,7 +126,7 @@ public void setC_SubscriptionType_ID (int C_SubscriptionType_ID) { if (C_SubscriptionType_ID <= 0) set_Value ("C_SubscriptionType_ID", null); else -set_Value ("C_SubscriptionType_ID", new Integer(C_SubscriptionType_ID)); +set_Value ("C_SubscriptionType_ID", Integer.valueOf(C_SubscriptionType_ID)); } /** Get Subscription Type. @return Type of subscription */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_Value ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_Value ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -156,7 +156,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -221,7 +221,7 @@ return (String)get_Value("DescriptionURL"); @param Discontinued This product is no longer available */ public void setDiscontinued (boolean Discontinued) { -set_Value ("Discontinued", new Boolean(Discontinued)); +set_Value ("Discontinued", Boolean.valueOf(Discontinued)); } /** Get Discontinued. @return This product is no longer available */ @@ -268,7 +268,7 @@ return (String)get_Value("DocumentNote"); @param GuaranteeDays Number of days the product is guaranteed or available */ public void setGuaranteeDays (int GuaranteeDays) { -set_Value ("GuaranteeDays", new Integer(GuaranteeDays)); +set_Value ("GuaranteeDays", Integer.valueOf(GuaranteeDays)); } /** Get Guarantee Days. @return Number of days the product is guaranteed or available */ @@ -282,7 +282,7 @@ return ii.intValue(); @param GuaranteeDaysMin Minumum number of guarantee days */ public void setGuaranteeDaysMin (int GuaranteeDaysMin) { -set_Value ("GuaranteeDaysMin", new Integer(GuaranteeDaysMin)); +set_Value ("GuaranteeDaysMin", Integer.valueOf(GuaranteeDaysMin)); } /** Get Min Guarantee Days. @return Minumum number of guarantee days */ @@ -330,7 +330,7 @@ return (String)get_Value("ImageURL"); @param IsBOM Bill of Materials */ public void setIsBOM (boolean IsBOM) { -set_Value ("IsBOM", new Boolean(IsBOM)); +set_Value ("IsBOM", Boolean.valueOf(IsBOM)); } /** Get Bill of Materials. @return Bill of Materials */ @@ -348,7 +348,7 @@ return false; @param IsDropShip Drop Shipments are sent from the Vendor directly to the Customer */ public void setIsDropShip (boolean IsDropShip) { -set_Value ("IsDropShip", new Boolean(IsDropShip)); +set_Value ("IsDropShip", Boolean.valueOf(IsDropShip)); } /** Get Drop Shipment. @return Drop Shipments are sent from the Vendor directly to the Customer */ @@ -366,7 +366,7 @@ return false; @param IsExcludeAutoDelivery Exclude from automatic Delivery */ public void setIsExcludeAutoDelivery (boolean IsExcludeAutoDelivery) { -set_Value ("IsExcludeAutoDelivery", new Boolean(IsExcludeAutoDelivery)); +set_Value ("IsExcludeAutoDelivery", Boolean.valueOf(IsExcludeAutoDelivery)); } /** Get Exclude Auto Delivery. @return Exclude from automatic Delivery */ @@ -384,7 +384,7 @@ return false; @param IsInvoicePrintDetails Print detail BOM elements on the invoice */ public void setIsInvoicePrintDetails (boolean IsInvoicePrintDetails) { -set_Value ("IsInvoicePrintDetails", new Boolean(IsInvoicePrintDetails)); +set_Value ("IsInvoicePrintDetails", Boolean.valueOf(IsInvoicePrintDetails)); } /** Get Print detail records on invoice . @return Print detail BOM elements on the invoice */ @@ -402,7 +402,7 @@ return false; @param IsPickListPrintDetails Print detail BOM elements on the pick list */ public void setIsPickListPrintDetails (boolean IsPickListPrintDetails) { -set_Value ("IsPickListPrintDetails", new Boolean(IsPickListPrintDetails)); +set_Value ("IsPickListPrintDetails", Boolean.valueOf(IsPickListPrintDetails)); } /** Get Print detail records on pick list. @return Print detail BOM elements on the pick list */ @@ -420,7 +420,7 @@ return false; @param IsPurchased Organization purchases this product */ public void setIsPurchased (boolean IsPurchased) { -set_Value ("IsPurchased", new Boolean(IsPurchased)); +set_Value ("IsPurchased", Boolean.valueOf(IsPurchased)); } /** Get Purchased. @return Organization purchases this product */ @@ -438,7 +438,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -456,7 +456,7 @@ return false; @param IsSold Organization sells this product */ public void setIsSold (boolean IsSold) { -set_Value ("IsSold", new Boolean(IsSold)); +set_Value ("IsSold", Boolean.valueOf(IsSold)); } /** Get Sold. @return Organization sells this product */ @@ -474,7 +474,7 @@ return false; @param IsStocked Organization stocks this product */ public void setIsStocked (boolean IsStocked) { -set_Value ("IsStocked", new Boolean(IsStocked)); +set_Value ("IsStocked", Boolean.valueOf(IsStocked)); } /** Get Stocked. @return Organization stocks this product */ @@ -492,7 +492,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -510,7 +510,7 @@ return false; @param IsVerified The BOM configuration has been verified */ public void setIsVerified (boolean IsVerified) { -set_ValueNoCheck ("IsVerified", new Boolean(IsVerified)); +set_ValueNoCheck ("IsVerified", Boolean.valueOf(IsVerified)); } /** Get Verified. @return The BOM configuration has been verified */ @@ -528,7 +528,7 @@ return false; @param IsWebStoreFeatured If selected, the product is displayed in the inital or any empy search */ public void setIsWebStoreFeatured (boolean IsWebStoreFeatured) { -set_Value ("IsWebStoreFeatured", new Boolean(IsWebStoreFeatured)); +set_Value ("IsWebStoreFeatured", Boolean.valueOf(IsWebStoreFeatured)); } /** Get Featured in Web Store. @return If selected, the product is displayed in the inital or any empy search */ @@ -547,7 +547,7 @@ return false; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -563,7 +563,7 @@ public void setM_AttributeSet_ID (int M_AttributeSet_ID) { if (M_AttributeSet_ID <= 0) set_Value ("M_AttributeSet_ID", null); else -set_Value ("M_AttributeSet_ID", new Integer(M_AttributeSet_ID)); +set_Value ("M_AttributeSet_ID", Integer.valueOf(M_AttributeSet_ID)); } /** Get Attribute Set. @return Product Attribute Set */ @@ -579,7 +579,7 @@ public void setM_FreightCategory_ID (int M_FreightCategory_ID) { if (M_FreightCategory_ID <= 0) set_Value ("M_FreightCategory_ID", null); else -set_Value ("M_FreightCategory_ID", new Integer(M_FreightCategory_ID)); +set_Value ("M_FreightCategory_ID", Integer.valueOf(M_FreightCategory_ID)); } /** Get Freight Category. @return Category of the Freight */ @@ -595,7 +595,7 @@ public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID <= 0) set_Value ("M_Locator_ID", null); else -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -613,7 +613,7 @@ public static final int M_PRODUCT_CATEGORY_ID_AD_Reference_ID=163; public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID < 1) throw new IllegalArgumentException ("M_Product_Category_ID is mandatory."); -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -628,7 +628,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -666,7 +666,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -719,7 +719,7 @@ public void setR_MailText_ID (int R_MailText_ID) { if (R_MailText_ID <= 0) set_Value ("R_MailText_ID", null); else -set_Value ("R_MailText_ID", new Integer(R_MailText_ID)); +set_Value ("R_MailText_ID", Integer.valueOf(R_MailText_ID)); } /** Get Mail Template. @return Text templates for mailings */ @@ -752,7 +752,7 @@ public void setS_ExpenseType_ID (int S_ExpenseType_ID) { if (S_ExpenseType_ID <= 0) set_ValueNoCheck ("S_ExpenseType_ID", null); else -set_ValueNoCheck ("S_ExpenseType_ID", new Integer(S_ExpenseType_ID)); +set_ValueNoCheck ("S_ExpenseType_ID", Integer.valueOf(S_ExpenseType_ID)); } /** Get Expense Type. @return Expense report type */ @@ -768,7 +768,7 @@ public void setS_Resource_ID (int S_Resource_ID) { if (S_Resource_ID <= 0) set_ValueNoCheck ("S_Resource_ID", null); else -set_ValueNoCheck ("S_Resource_ID", new Integer(S_Resource_ID)); +set_ValueNoCheck ("S_Resource_ID", Integer.valueOf(S_Resource_ID)); } /** Get Resource. @return Resource */ @@ -787,7 +787,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_Value ("SalesRep_ID", null); else -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -801,7 +801,7 @@ return ii.intValue(); @param ShelfDepth Shelf depth required */ public void setShelfDepth (int ShelfDepth) { -set_Value ("ShelfDepth", new Integer(ShelfDepth)); +set_Value ("ShelfDepth", Integer.valueOf(ShelfDepth)); } /** Get Shelf Depth. @return Shelf depth required */ @@ -815,7 +815,7 @@ return ii.intValue(); @param ShelfHeight Shelf height required */ public void setShelfHeight (int ShelfHeight) { -set_Value ("ShelfHeight", new Integer(ShelfHeight)); +set_Value ("ShelfHeight", Integer.valueOf(ShelfHeight)); } /** Get Shelf Height. @return Shelf height required */ @@ -829,7 +829,7 @@ return ii.intValue(); @param ShelfWidth Shelf width required */ public void setShelfWidth (int ShelfWidth) { -set_Value ("ShelfWidth", new Integer(ShelfWidth)); +set_Value ("ShelfWidth", Integer.valueOf(ShelfWidth)); } /** Get Shelf Width. @return Shelf width required */ @@ -860,7 +860,7 @@ return (String)get_Value("UPC"); @param UnitsPerPallet Units Per Pallet */ public void setUnitsPerPallet (int UnitsPerPallet) { -set_Value ("UnitsPerPallet", new Integer(UnitsPerPallet)); +set_Value ("UnitsPerPallet", Integer.valueOf(UnitsPerPallet)); } /** Get Units Per Pallet. @return Units Per Pallet */ diff --git a/dbPort/src/org/compiere/model/X_M_ProductDownload.java b/dbPort/src/org/compiere/model/X_M_ProductDownload.java index cbebc70889..182948d85a 100644 --- a/dbPort/src/org/compiere/model/X_M_ProductDownload.java +++ b/dbPort/src/org/compiere/model/X_M_ProductDownload.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ProductDownload * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ProductDownload extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_ProductDownload (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=777 */ -public static final int Table_ID=777; +public static final int Table_ID=MTable.getTable_ID("M_ProductDownload"); /** TableName=M_ProductDownload */ public static final String Table_Name="M_ProductDownload"; -protected static KeyNamePair Model = new KeyNamePair(777,"M_ProductDownload"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ProductDownload"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -111,7 +111,7 @@ return (String)get_Value("DownloadURL"); public void setM_ProductDownload_ID (int M_ProductDownload_ID) { if (M_ProductDownload_ID < 1) throw new IllegalArgumentException ("M_ProductDownload_ID is mandatory."); -set_ValueNoCheck ("M_ProductDownload_ID", new Integer(M_ProductDownload_ID)); +set_ValueNoCheck ("M_ProductDownload_ID", Integer.valueOf(M_ProductDownload_ID)); } /** Get Product Download. @return Product downloads */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_ProductOperation.java b/dbPort/src/org/compiere/model/X_M_ProductOperation.java index 4e880daf8a..8537370498 100644 --- a/dbPort/src/org/compiere/model/X_M_ProductOperation.java +++ b/dbPort/src/org/compiere/model/X_M_ProductOperation.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ProductOperation * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ProductOperation extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_ProductOperation (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=796 */ -public static final int Table_ID=796; +public static final int Table_ID=MTable.getTable_ID("M_ProductOperation"); /** TableName=M_ProductOperation */ public static final String Table_Name="M_ProductOperation"; -protected static KeyNamePair Model = new KeyNamePair(796,"M_ProductOperation"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ProductOperation"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -126,7 +126,7 @@ return (String)get_Value("Help"); public void setM_ProductOperation_ID (int M_ProductOperation_ID) { if (M_ProductOperation_ID < 1) throw new IllegalArgumentException ("M_ProductOperation_ID is mandatory."); -set_ValueNoCheck ("M_ProductOperation_ID", new Integer(M_ProductOperation_ID)); +set_ValueNoCheck ("M_ProductOperation_ID", Integer.valueOf(M_ProductOperation_ID)); } /** Get Product Operation. @return Product Manufacturing Operation */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_ProductPrice.java b/dbPort/src/org/compiere/model/X_M_ProductPrice.java index 1ce64a502c..1c4a94dfa4 100644 --- a/dbPort/src/org/compiere/model/X_M_ProductPrice.java +++ b/dbPort/src/org/compiere/model/X_M_ProductPrice.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ProductPrice * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ProductPrice extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_ProductPrice (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=251 */ -public static final int Table_ID=251; +public static final int Table_ID=MTable.getTable_ID("M_ProductPrice"); /** TableName=M_ProductPrice */ public static final String Table_Name="M_ProductPrice"; -protected static KeyNamePair Model = new KeyNamePair(251,"M_ProductPrice"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ProductPrice"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setM_PriceList_Version_ID (int M_PriceList_Version_ID) { if (M_PriceList_Version_ID < 1) throw new IllegalArgumentException ("M_PriceList_Version_ID is mandatory."); -set_ValueNoCheck ("M_PriceList_Version_ID", new Integer(M_PriceList_Version_ID)); +set_ValueNoCheck ("M_PriceList_Version_ID", Integer.valueOf(M_PriceList_Version_ID)); } /** Get Price List Version. @return Identifies a unique instance of a Price List */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_Product_Acct.java b/dbPort/src/org/compiere/model/X_M_Product_Acct.java index 9a42142570..f7fa38fec6 100644 --- a/dbPort/src/org/compiere/model/X_M_Product_Acct.java +++ b/dbPort/src/org/compiere/model/X_M_Product_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product_Acct extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_M_Product_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=273 */ -public static final int Table_ID=273; +public static final int Table_ID=MTable.getTable_ID("M_Product_Acct"); /** TableName=M_Product_Acct */ public static final String Table_Name="M_Product_Acct"; -protected static KeyNamePair Model = new KeyNamePair(273,"M_Product_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -116,7 +116,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -130,7 +130,7 @@ return ii.intValue(); @param P_Asset_Acct Account for Product Asset (Inventory) */ public void setP_Asset_Acct (int P_Asset_Acct) { -set_Value ("P_Asset_Acct", new Integer(P_Asset_Acct)); +set_Value ("P_Asset_Acct", Integer.valueOf(P_Asset_Acct)); } /** Get Product Asset. @return Account for Product Asset (Inventory) */ @@ -144,7 +144,7 @@ return ii.intValue(); @param P_COGS_Acct Account for Cost of Goods Sold */ public void setP_COGS_Acct (int P_COGS_Acct) { -set_Value ("P_COGS_Acct", new Integer(P_COGS_Acct)); +set_Value ("P_COGS_Acct", Integer.valueOf(P_COGS_Acct)); } /** Get Product COGS. @return Account for Cost of Goods Sold */ @@ -158,7 +158,7 @@ return ii.intValue(); @param P_CostAdjustment_Acct Product Cost Adjustment Account */ public void setP_CostAdjustment_Acct (int P_CostAdjustment_Acct) { -set_Value ("P_CostAdjustment_Acct", new Integer(P_CostAdjustment_Acct)); +set_Value ("P_CostAdjustment_Acct", Integer.valueOf(P_CostAdjustment_Acct)); } /** Get Cost Adjustment. @return Product Cost Adjustment Account */ @@ -172,7 +172,7 @@ return ii.intValue(); @param P_Expense_Acct Account for Product Expense */ public void setP_Expense_Acct (int P_Expense_Acct) { -set_Value ("P_Expense_Acct", new Integer(P_Expense_Acct)); +set_Value ("P_Expense_Acct", Integer.valueOf(P_Expense_Acct)); } /** Get Product Expense. @return Account for Product Expense */ @@ -186,7 +186,7 @@ return ii.intValue(); @param P_InventoryClearing_Acct Product Inventory Clearing Account */ public void setP_InventoryClearing_Acct (int P_InventoryClearing_Acct) { -set_Value ("P_InventoryClearing_Acct", new Integer(P_InventoryClearing_Acct)); +set_Value ("P_InventoryClearing_Acct", Integer.valueOf(P_InventoryClearing_Acct)); } /** Get Inventory Clearing. @return Product Inventory Clearing Account */ @@ -200,7 +200,7 @@ return ii.intValue(); @param P_InvoicePriceVariance_Acct Difference between Costs and Invoice Price (IPV) */ public void setP_InvoicePriceVariance_Acct (int P_InvoicePriceVariance_Acct) { -set_Value ("P_InvoicePriceVariance_Acct", new Integer(P_InvoicePriceVariance_Acct)); +set_Value ("P_InvoicePriceVariance_Acct", Integer.valueOf(P_InvoicePriceVariance_Acct)); } /** Get Invoice Price Variance. @return Difference between Costs and Invoice Price (IPV) */ @@ -214,7 +214,7 @@ return ii.intValue(); @param P_PurchasePriceVariance_Acct Difference between Standard Cost and Purchase Price (PPV) */ public void setP_PurchasePriceVariance_Acct (int P_PurchasePriceVariance_Acct) { -set_Value ("P_PurchasePriceVariance_Acct", new Integer(P_PurchasePriceVariance_Acct)); +set_Value ("P_PurchasePriceVariance_Acct", Integer.valueOf(P_PurchasePriceVariance_Acct)); } /** Get Purchase Price Variance. @return Difference between Standard Cost and Purchase Price (PPV) */ @@ -228,7 +228,7 @@ return ii.intValue(); @param P_Revenue_Acct Account for Product Revenue (Sales Account) */ public void setP_Revenue_Acct (int P_Revenue_Acct) { -set_Value ("P_Revenue_Acct", new Integer(P_Revenue_Acct)); +set_Value ("P_Revenue_Acct", Integer.valueOf(P_Revenue_Acct)); } /** Get Product Revenue. @return Account for Product Revenue (Sales Account) */ @@ -242,7 +242,7 @@ return ii.intValue(); @param P_TradeDiscountGrant_Acct Trade Discount Granted Account */ public void setP_TradeDiscountGrant_Acct (int P_TradeDiscountGrant_Acct) { -set_Value ("P_TradeDiscountGrant_Acct", new Integer(P_TradeDiscountGrant_Acct)); +set_Value ("P_TradeDiscountGrant_Acct", Integer.valueOf(P_TradeDiscountGrant_Acct)); } /** Get Trade Discount Granted. @return Trade Discount Granted Account */ @@ -256,7 +256,7 @@ return ii.intValue(); @param P_TradeDiscountRec_Acct Trade Discount Receivable Account */ public void setP_TradeDiscountRec_Acct (int P_TradeDiscountRec_Acct) { -set_Value ("P_TradeDiscountRec_Acct", new Integer(P_TradeDiscountRec_Acct)); +set_Value ("P_TradeDiscountRec_Acct", Integer.valueOf(P_TradeDiscountRec_Acct)); } /** Get Trade Discount Received. @return Trade Discount Receivable Account */ diff --git a/dbPort/src/org/compiere/model/X_M_Product_BOM.java b/dbPort/src/org/compiere/model/X_M_Product_BOM.java index a2be6b64e3..004c406f09 100644 --- a/dbPort/src/org/compiere/model/X_M_Product_BOM.java +++ b/dbPort/src/org/compiere/model/X_M_Product_BOM.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product_BOM * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product_BOM extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_Product_BOM (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=383 */ -public static final int Table_ID=383; +public static final int Table_ID=MTable.getTable_ID("M_Product_BOM"); /** TableName=M_Product_BOM */ public static final String Table_Name="M_Product_BOM"; -protected static KeyNamePair Model = new KeyNamePair(383,"M_Product_BOM"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product_BOM"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -169,7 +169,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -187,7 +187,7 @@ public static final int M_PRODUCTBOM_ID_AD_Reference_ID=162; public void setM_ProductBOM_ID (int M_ProductBOM_ID) { if (M_ProductBOM_ID < 1) throw new IllegalArgumentException ("M_ProductBOM_ID is mandatory."); -set_Value ("M_ProductBOM_ID", new Integer(M_ProductBOM_ID)); +set_Value ("M_ProductBOM_ID", Integer.valueOf(M_ProductBOM_ID)); } /** Get BOM Product. @return Bill of Material Component Product */ @@ -208,7 +208,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_ProductBOM_ID())); public void setM_Product_BOM_ID (int M_Product_BOM_ID) { if (M_Product_BOM_ID < 1) throw new IllegalArgumentException ("M_Product_BOM_ID is mandatory."); -set_ValueNoCheck ("M_Product_BOM_ID", new Integer(M_Product_BOM_ID)); +set_ValueNoCheck ("M_Product_BOM_ID", Integer.valueOf(M_Product_BOM_ID)); } /** Get BOM Line. @return BOM Line */ @@ -223,7 +223,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_Product_Category.java b/dbPort/src/org/compiere/model/X_M_Product_Category.java index 9605ee18db..49ddcda654 100644 --- a/dbPort/src/org/compiere/model/X_M_Product_Category.java +++ b/dbPort/src/org/compiere/model/X_M_Product_Category.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product_Category * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product_Category extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_Product_Category (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=209 */ -public static final int Table_ID=209; +public static final int Table_ID=MTable.getTable_ID("M_Product_Category"); /** TableName=M_Product_Category */ public static final String Table_Name="M_Product_Category"; -protected static KeyNamePair Model = new KeyNamePair(209,"M_Product_Category"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product_Category"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ public void setAD_PrintColor_ID (int AD_PrintColor_ID) { if (AD_PrintColor_ID <= 0) set_Value ("AD_PrintColor_ID", null); else -set_Value ("AD_PrintColor_ID", new Integer(AD_PrintColor_ID)); +set_Value ("AD_PrintColor_ID", Integer.valueOf(AD_PrintColor_ID)); } /** Get Print Color. @return Color used for printing and display */ @@ -113,7 +113,7 @@ public void setA_Asset_Group_ID (int A_Asset_Group_ID) { if (A_Asset_Group_ID <= 0) set_Value ("A_Asset_Group_ID", null); else -set_Value ("A_Asset_Group_ID", new Integer(A_Asset_Group_ID)); +set_Value ("A_Asset_Group_ID", Integer.valueOf(A_Asset_Group_ID)); } /** Get Asset Group. @return Group of Assets */ @@ -144,7 +144,7 @@ return (String)get_Value("Description"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -162,7 +162,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -208,7 +208,7 @@ return (String)get_Value("MMPolicy"); public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID < 1) throw new IllegalArgumentException ("M_Product_Category_ID is mandatory."); -set_ValueNoCheck ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_ValueNoCheck ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ diff --git a/dbPort/src/org/compiere/model/X_M_Product_Category_Acct.java b/dbPort/src/org/compiere/model/X_M_Product_Category_Acct.java index d84c1019c4..0e17f4ca67 100644 --- a/dbPort/src/org/compiere/model/X_M_Product_Category_Acct.java +++ b/dbPort/src/org/compiere/model/X_M_Product_Category_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product_Category_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product_Category_Acct extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_M_Product_Category_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=401 */ -public static final int Table_ID=401; +public static final int Table_ID=MTable.getTable_ID("M_Product_Category_Acct"); /** TableName=M_Product_Category_Acct */ public static final String Table_Name="M_Product_Category_Acct"; -protected static KeyNamePair Model = new KeyNamePair(401,"M_Product_Category_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product_Category_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -101,7 +101,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -184,7 +184,7 @@ return (String)get_Value("CostingMethod"); public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID < 1) throw new IllegalArgumentException ("M_Product_Category_ID is mandatory."); -set_ValueNoCheck ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_ValueNoCheck ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -198,7 +198,7 @@ return ii.intValue(); @param P_Asset_Acct Account for Product Asset (Inventory) */ public void setP_Asset_Acct (int P_Asset_Acct) { -set_Value ("P_Asset_Acct", new Integer(P_Asset_Acct)); +set_Value ("P_Asset_Acct", Integer.valueOf(P_Asset_Acct)); } /** Get Product Asset. @return Account for Product Asset (Inventory) */ @@ -212,7 +212,7 @@ return ii.intValue(); @param P_COGS_Acct Account for Cost of Goods Sold */ public void setP_COGS_Acct (int P_COGS_Acct) { -set_Value ("P_COGS_Acct", new Integer(P_COGS_Acct)); +set_Value ("P_COGS_Acct", Integer.valueOf(P_COGS_Acct)); } /** Get Product COGS. @return Account for Cost of Goods Sold */ @@ -226,7 +226,7 @@ return ii.intValue(); @param P_CostAdjustment_Acct Product Cost Adjustment Account */ public void setP_CostAdjustment_Acct (int P_CostAdjustment_Acct) { -set_Value ("P_CostAdjustment_Acct", new Integer(P_CostAdjustment_Acct)); +set_Value ("P_CostAdjustment_Acct", Integer.valueOf(P_CostAdjustment_Acct)); } /** Get Cost Adjustment. @return Product Cost Adjustment Account */ @@ -240,7 +240,7 @@ return ii.intValue(); @param P_Expense_Acct Account for Product Expense */ public void setP_Expense_Acct (int P_Expense_Acct) { -set_Value ("P_Expense_Acct", new Integer(P_Expense_Acct)); +set_Value ("P_Expense_Acct", Integer.valueOf(P_Expense_Acct)); } /** Get Product Expense. @return Account for Product Expense */ @@ -254,7 +254,7 @@ return ii.intValue(); @param P_InventoryClearing_Acct Product Inventory Clearing Account */ public void setP_InventoryClearing_Acct (int P_InventoryClearing_Acct) { -set_Value ("P_InventoryClearing_Acct", new Integer(P_InventoryClearing_Acct)); +set_Value ("P_InventoryClearing_Acct", Integer.valueOf(P_InventoryClearing_Acct)); } /** Get Inventory Clearing. @return Product Inventory Clearing Account */ @@ -268,7 +268,7 @@ return ii.intValue(); @param P_InvoicePriceVariance_Acct Difference between Costs and Invoice Price (IPV) */ public void setP_InvoicePriceVariance_Acct (int P_InvoicePriceVariance_Acct) { -set_Value ("P_InvoicePriceVariance_Acct", new Integer(P_InvoicePriceVariance_Acct)); +set_Value ("P_InvoicePriceVariance_Acct", Integer.valueOf(P_InvoicePriceVariance_Acct)); } /** Get Invoice Price Variance. @return Difference between Costs and Invoice Price (IPV) */ @@ -282,7 +282,7 @@ return ii.intValue(); @param P_PurchasePriceVariance_Acct Difference between Standard Cost and Purchase Price (PPV) */ public void setP_PurchasePriceVariance_Acct (int P_PurchasePriceVariance_Acct) { -set_Value ("P_PurchasePriceVariance_Acct", new Integer(P_PurchasePriceVariance_Acct)); +set_Value ("P_PurchasePriceVariance_Acct", Integer.valueOf(P_PurchasePriceVariance_Acct)); } /** Get Purchase Price Variance. @return Difference between Standard Cost and Purchase Price (PPV) */ @@ -296,7 +296,7 @@ return ii.intValue(); @param P_Revenue_Acct Account for Product Revenue (Sales Account) */ public void setP_Revenue_Acct (int P_Revenue_Acct) { -set_Value ("P_Revenue_Acct", new Integer(P_Revenue_Acct)); +set_Value ("P_Revenue_Acct", Integer.valueOf(P_Revenue_Acct)); } /** Get Product Revenue. @return Account for Product Revenue (Sales Account) */ @@ -310,7 +310,7 @@ return ii.intValue(); @param P_TradeDiscountGrant_Acct Trade Discount Granted Account */ public void setP_TradeDiscountGrant_Acct (int P_TradeDiscountGrant_Acct) { -set_Value ("P_TradeDiscountGrant_Acct", new Integer(P_TradeDiscountGrant_Acct)); +set_Value ("P_TradeDiscountGrant_Acct", Integer.valueOf(P_TradeDiscountGrant_Acct)); } /** Get Trade Discount Granted. @return Trade Discount Granted Account */ @@ -324,7 +324,7 @@ return ii.intValue(); @param P_TradeDiscountRec_Acct Trade Discount Receivable Account */ public void setP_TradeDiscountRec_Acct (int P_TradeDiscountRec_Acct) { -set_Value ("P_TradeDiscountRec_Acct", new Integer(P_TradeDiscountRec_Acct)); +set_Value ("P_TradeDiscountRec_Acct", Integer.valueOf(P_TradeDiscountRec_Acct)); } /** Get Trade Discount Received. @return Trade Discount Receivable Account */ @@ -338,7 +338,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_Product_Costing.java b/dbPort/src/org/compiere/model/X_M_Product_Costing.java index e7826f0182..5a283ec10a 100644 --- a/dbPort/src/org/compiere/model/X_M_Product_Costing.java +++ b/dbPort/src/org/compiere/model/X_M_Product_Costing.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product_Costing * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product_Costing extends PO { /** Standard Constructor @@ -68,12 +68,12 @@ public X_M_Product_Costing (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=327 */ -public static final int Table_ID=327; +public static final int Table_ID=MTable.getTable_ID("M_Product_Costing"); /** TableName=M_Product_Costing */ public static final String Table_Name="M_Product_Costing"; -protected static KeyNamePair Model = new KeyNamePair(327,"M_Product_Costing"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product_Costing"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -105,7 +105,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -270,7 +270,7 @@ return bd; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_Product_PO.java b/dbPort/src/org/compiere/model/X_M_Product_PO.java index 9b32dc4828..3885faad74 100644 --- a/dbPort/src/org/compiere/model/X_M_Product_PO.java +++ b/dbPort/src/org/compiere/model/X_M_Product_PO.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Product_PO * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Product_PO extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_Product_PO (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=210 */ -public static final int Table_ID=210; +public static final int Table_ID=MTable.getTable_ID("M_Product_PO"); /** TableName=M_Product_PO */ public static final String Table_Name="M_Product_PO"; -protected static KeyNamePair Model = new KeyNamePair(210,"M_Product_PO"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Product_PO"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -109,7 +109,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -125,7 +125,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -153,7 +153,7 @@ return bd; @param DeliveryTime_Actual Actual days between order and delivery */ public void setDeliveryTime_Actual (int DeliveryTime_Actual) { -set_Value ("DeliveryTime_Actual", new Integer(DeliveryTime_Actual)); +set_Value ("DeliveryTime_Actual", Integer.valueOf(DeliveryTime_Actual)); } /** Get Actual Delivery Time. @return Actual days between order and delivery */ @@ -167,7 +167,7 @@ return ii.intValue(); @param DeliveryTime_Promised Promised days between order and delivery */ public void setDeliveryTime_Promised (int DeliveryTime_Promised) { -set_Value ("DeliveryTime_Promised", new Integer(DeliveryTime_Promised)); +set_Value ("DeliveryTime_Promised", Integer.valueOf(DeliveryTime_Promised)); } /** Get Promised Delivery Time. @return Promised days between order and delivery */ @@ -181,7 +181,7 @@ return ii.intValue(); @param Discontinued This product is no longer available */ public void setDiscontinued (boolean Discontinued) { -set_Value ("Discontinued", new Boolean(Discontinued)); +set_Value ("Discontinued", Boolean.valueOf(Discontinued)); } /** Get Discontinued. @return This product is no longer available */ @@ -211,7 +211,7 @@ return (Timestamp)get_Value("DiscontinuedBy"); @param IsCurrentVendor Use this Vendor for pricing and stock replenishment */ public void setIsCurrentVendor (boolean IsCurrentVendor) { -set_Value ("IsCurrentVendor", new Boolean(IsCurrentVendor)); +set_Value ("IsCurrentVendor", Boolean.valueOf(IsCurrentVendor)); } /** Get Current vendor. @return Use this Vendor for pricing and stock replenishment */ @@ -230,7 +230,7 @@ return false; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -357,7 +357,7 @@ return bd; @param QualityRating Method for rating vendors */ public void setQualityRating (int QualityRating) { -set_Value ("QualityRating", new Integer(QualityRating)); +set_Value ("QualityRating", Integer.valueOf(QualityRating)); } /** Get Quality Rating. @return Method for rating vendors */ diff --git a/dbPort/src/org/compiere/model/X_M_Production.java b/dbPort/src/org/compiere/model/X_M_Production.java index 18201ff0d7..07633ec957 100644 --- a/dbPort/src/org/compiere/model/X_M_Production.java +++ b/dbPort/src/org/compiere/model/X_M_Production.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Production * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Production extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_Production (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=325 */ -public static final int Table_ID=325; +public static final int Table_ID=MTable.getTable_ID("M_Production"); /** TableName=M_Production */ public static final String Table_Name="M_Production"; -protected static KeyNamePair Model = new KeyNamePair(325,"M_Production"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Production"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_Value ("AD_OrgTrx_ID", null); else -set_Value ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_Value ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -115,7 +115,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -131,7 +131,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -147,7 +147,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -178,7 +178,7 @@ return (String)get_Value("Description"); @param IsCreated Records created */ public void setIsCreated (boolean IsCreated) { -set_ValueNoCheck ("IsCreated", new Boolean(IsCreated)); +set_ValueNoCheck ("IsCreated", Boolean.valueOf(IsCreated)); } /** Get Records created. @return Records created */ @@ -197,7 +197,7 @@ return false; public void setM_Production_ID (int M_Production_ID) { if (M_Production_ID < 1) throw new IllegalArgumentException ("M_Production_ID is mandatory."); -set_ValueNoCheck ("M_Production_ID", new Integer(M_Production_ID)); +set_ValueNoCheck ("M_Production_ID", Integer.valueOf(M_Production_ID)); } /** Get Production. @return Plan for producing a product */ @@ -248,7 +248,7 @@ return new KeyNamePair(get_ID(), getName()); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -266,7 +266,7 @@ return false; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -284,7 +284,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -307,7 +307,7 @@ public void setUser1_ID (int User1_ID) { if (User1_ID <= 0) set_Value ("User1_ID", null); else -set_Value ("User1_ID", new Integer(User1_ID)); +set_Value ("User1_ID", Integer.valueOf(User1_ID)); } /** Get User List 1. @return User defined list element #1 */ @@ -326,7 +326,7 @@ public void setUser2_ID (int User2_ID) { if (User2_ID <= 0) set_Value ("User2_ID", null); else -set_Value ("User2_ID", new Integer(User2_ID)); +set_Value ("User2_ID", Integer.valueOf(User2_ID)); } /** Get User List 2. @return User defined list element #2 */ diff --git a/dbPort/src/org/compiere/model/X_M_ProductionLine.java b/dbPort/src/org/compiere/model/X_M_ProductionLine.java index 3657fae0d1..bb9363fc27 100644 --- a/dbPort/src/org/compiere/model/X_M_ProductionLine.java +++ b/dbPort/src/org/compiere/model/X_M_ProductionLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ProductionLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ProductionLine extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_M_ProductionLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=326 */ -public static final int Table_ID=326; +public static final int Table_ID=MTable.getTable_ID("M_ProductionLine"); /** TableName=M_ProductionLine */ public static final String Table_Name="M_ProductionLine"; -protected static KeyNamePair Model = new KeyNamePair(326,"M_ProductionLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ProductionLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -113,7 +113,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -134,7 +134,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getLine())); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -149,7 +149,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -164,7 +164,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -179,7 +179,7 @@ return ii.intValue(); public void setM_ProductionLine_ID (int M_ProductionLine_ID) { if (M_ProductionLine_ID < 1) throw new IllegalArgumentException ("M_ProductionLine_ID is mandatory."); -set_ValueNoCheck ("M_ProductionLine_ID", new Integer(M_ProductionLine_ID)); +set_ValueNoCheck ("M_ProductionLine_ID", Integer.valueOf(M_ProductionLine_ID)); } /** Get Production Line. @return Document Line representing a production */ @@ -194,7 +194,7 @@ return ii.intValue(); public void setM_ProductionPlan_ID (int M_ProductionPlan_ID) { if (M_ProductionPlan_ID < 1) throw new IllegalArgumentException ("M_ProductionPlan_ID is mandatory."); -set_ValueNoCheck ("M_ProductionPlan_ID", new Integer(M_ProductionPlan_ID)); +set_ValueNoCheck ("M_ProductionPlan_ID", Integer.valueOf(M_ProductionPlan_ID)); } /** Get Production Plan. @return Plan for how a product is produced */ @@ -223,7 +223,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_ProductionLineMA.java b/dbPort/src/org/compiere/model/X_M_ProductionLineMA.java index 9f1e590885..490049bf1e 100644 --- a/dbPort/src/org/compiere/model/X_M_ProductionLineMA.java +++ b/dbPort/src/org/compiere/model/X_M_ProductionLineMA.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ProductionLineMA * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ProductionLineMA extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_ProductionLineMA (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=765 */ -public static final int Table_ID=765; +public static final int Table_ID=MTable.getTable_ID("M_ProductionLineMA"); /** TableName=M_ProductionLineMA */ public static final String Table_Name="M_ProductionLineMA"; -protected static KeyNamePair Model = new KeyNamePair(765,"M_ProductionLineMA"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ProductionLineMA"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -107,7 +107,7 @@ return ii.intValue(); public void setM_ProductionLine_ID (int M_ProductionLine_ID) { if (M_ProductionLine_ID < 1) throw new IllegalArgumentException ("M_ProductionLine_ID is mandatory."); -set_ValueNoCheck ("M_ProductionLine_ID", new Integer(M_ProductionLine_ID)); +set_ValueNoCheck ("M_ProductionLine_ID", Integer.valueOf(M_ProductionLine_ID)); } /** Get Production Line. @return Document Line representing a production */ diff --git a/dbPort/src/org/compiere/model/X_M_ProductionPlan.java b/dbPort/src/org/compiere/model/X_M_ProductionPlan.java index 4df3b9f29b..98a19764b0 100644 --- a/dbPort/src/org/compiere/model/X_M_ProductionPlan.java +++ b/dbPort/src/org/compiere/model/X_M_ProductionPlan.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_ProductionPlan * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_ProductionPlan extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_ProductionPlan (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=385 */ -public static final int Table_ID=385; +public static final int Table_ID=MTable.getTable_ID("M_ProductionPlan"); /** TableName=M_ProductionPlan */ public static final String Table_Name="M_ProductionPlan"; -protected static KeyNamePair Model = new KeyNamePair(385,"M_ProductionPlan"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_ProductionPlan"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -112,7 +112,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -133,7 +133,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getLine())); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -151,7 +151,7 @@ public static final int M_PRODUCT_ID_AD_Reference_ID=211; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -166,7 +166,7 @@ return ii.intValue(); public void setM_ProductionPlan_ID (int M_ProductionPlan_ID) { if (M_ProductionPlan_ID < 1) throw new IllegalArgumentException ("M_ProductionPlan_ID is mandatory."); -set_ValueNoCheck ("M_ProductionPlan_ID", new Integer(M_ProductionPlan_ID)); +set_ValueNoCheck ("M_ProductionPlan_ID", Integer.valueOf(M_ProductionPlan_ID)); } /** Get Production Plan. @return Plan for how a product is produced */ @@ -181,7 +181,7 @@ return ii.intValue(); public void setM_Production_ID (int M_Production_ID) { if (M_Production_ID < 1) throw new IllegalArgumentException ("M_Production_ID is mandatory."); -set_ValueNoCheck ("M_Production_ID", new Integer(M_Production_ID)); +set_ValueNoCheck ("M_Production_ID", Integer.valueOf(M_Production_ID)); } /** Get Production. @return Plan for producing a product */ @@ -195,7 +195,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_RMA.java b/dbPort/src/org/compiere/model/X_M_RMA.java index 00c3443a44..cfcb363e29 100644 --- a/dbPort/src/org/compiere/model/X_M_RMA.java +++ b/dbPort/src/org/compiere/model/X_M_RMA.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_RMA * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_RMA extends PO { /** Standard Constructor @@ -63,12 +63,12 @@ public X_M_RMA (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=661 */ -public static final int Table_ID=661; +public static final int Table_ID=MTable.getTable_ID("M_RMA"); /** TableName=M_RMA */ public static final String Table_Name="M_RMA"; -protected static KeyNamePair Model = new KeyNamePair(661,"M_RMA"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_RMA"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -115,7 +115,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -131,7 +131,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -149,7 +149,7 @@ public static final int C_DOCTYPE_ID_AD_Reference_ID=321; public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -165,7 +165,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -335,7 +335,7 @@ return (String)get_Value("Help"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -354,7 +354,7 @@ return false; public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID < 1) throw new IllegalArgumentException ("M_InOut_ID is mandatory."); -set_ValueNoCheck ("M_InOut_ID", new Integer(M_InOut_ID)); +set_ValueNoCheck ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -369,7 +369,7 @@ return ii.intValue(); public void setM_RMAType_ID (int M_RMAType_ID) { if (M_RMAType_ID < 1) throw new IllegalArgumentException ("M_RMAType_ID is mandatory."); -set_Value ("M_RMAType_ID", new Integer(M_RMAType_ID)); +set_Value ("M_RMAType_ID", Integer.valueOf(M_RMAType_ID)); } /** Get RMA Type. @return Return Material Authorization Type */ @@ -384,7 +384,7 @@ return ii.intValue(); public void setM_RMA_ID (int M_RMA_ID) { if (M_RMA_ID < 1) throw new IllegalArgumentException ("M_RMA_ID is mandatory."); -set_ValueNoCheck ("M_RMA_ID", new Integer(M_RMA_ID)); +set_ValueNoCheck ("M_RMA_ID", Integer.valueOf(M_RMA_ID)); } /** Get RMA. @return Return Material Authorization */ @@ -416,7 +416,7 @@ return (String)get_Value("Name"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -434,7 +434,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -456,7 +456,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_M_RMALine.java b/dbPort/src/org/compiere/model/X_M_RMALine.java index 4a696236b2..e7eb34a967 100644 --- a/dbPort/src/org/compiere/model/X_M_RMALine.java +++ b/dbPort/src/org/compiere/model/X_M_RMALine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_RMALine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_RMALine extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_RMALine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=660 */ -public static final int Table_ID=660; +public static final int Table_ID=MTable.getTable_ID("M_RMALine"); /** TableName=M_RMALine */ public static final String Table_Name="M_RMALine"; -protected static KeyNamePair Model = new KeyNamePair(660,"M_RMALine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_RMALine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -111,7 +111,7 @@ return (String)get_Value("Description"); public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID < 1) throw new IllegalArgumentException ("M_InOutLine_ID is mandatory."); -set_Value ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_Value ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -126,7 +126,7 @@ return ii.intValue(); public void setM_RMALine_ID (int M_RMALine_ID) { if (M_RMALine_ID < 1) throw new IllegalArgumentException ("M_RMALine_ID is mandatory."); -set_ValueNoCheck ("M_RMALine_ID", new Integer(M_RMALine_ID)); +set_ValueNoCheck ("M_RMALine_ID", Integer.valueOf(M_RMALine_ID)); } /** Get RMA Line. @return Return Material Authorization Line */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setM_RMA_ID (int M_RMA_ID) { if (M_RMA_ID < 1) throw new IllegalArgumentException ("M_RMA_ID is mandatory."); -set_ValueNoCheck ("M_RMA_ID", new Integer(M_RMA_ID)); +set_ValueNoCheck ("M_RMA_ID", Integer.valueOf(M_RMA_ID)); } /** Get RMA. @return Return Material Authorization */ @@ -161,7 +161,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_RMA_ID())); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ diff --git a/dbPort/src/org/compiere/model/X_M_RMAType.java b/dbPort/src/org/compiere/model/X_M_RMAType.java index de5f824cc6..d0d376a35a 100644 --- a/dbPort/src/org/compiere/model/X_M_RMAType.java +++ b/dbPort/src/org/compiere/model/X_M_RMAType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_RMAType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_RMAType extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_RMAType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=729 */ -public static final int Table_ID=729; +public static final int Table_ID=MTable.getTable_ID("M_RMAType"); /** TableName=M_RMAType */ public static final String Table_Name="M_RMAType"; -protected static KeyNamePair Model = new KeyNamePair(729,"M_RMAType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_RMAType"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("Help"); public void setM_RMAType_ID (int M_RMAType_ID) { if (M_RMAType_ID < 1) throw new IllegalArgumentException ("M_RMAType_ID is mandatory."); -set_ValueNoCheck ("M_RMAType_ID", new Integer(M_RMAType_ID)); +set_ValueNoCheck ("M_RMAType_ID", Integer.valueOf(M_RMAType_ID)); } /** Get RMA Type. @return Return Material Authorization Type */ diff --git a/dbPort/src/org/compiere/model/X_M_RelatedProduct.java b/dbPort/src/org/compiere/model/X_M_RelatedProduct.java index 89d9068dd6..4522b9e4eb 100644 --- a/dbPort/src/org/compiere/model/X_M_RelatedProduct.java +++ b/dbPort/src/org/compiere/model/X_M_RelatedProduct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_RelatedProduct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_RelatedProduct extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_RelatedProduct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=662 */ -public static final int Table_ID=662; +public static final int Table_ID=MTable.getTable_ID("M_RelatedProduct"); /** TableName=M_RelatedProduct */ public static final String Table_Name="M_RelatedProduct"; -protected static KeyNamePair Model = new KeyNamePair(662,"M_RelatedProduct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_RelatedProduct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -110,7 +110,7 @@ return (String)get_Value("Description"); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -175,7 +175,7 @@ public static final int RELATEDPRODUCT_ID_AD_Reference_ID=162; public void setRelatedProduct_ID (int RelatedProduct_ID) { if (RelatedProduct_ID < 1) throw new IllegalArgumentException ("RelatedProduct_ID is mandatory."); -set_ValueNoCheck ("RelatedProduct_ID", new Integer(RelatedProduct_ID)); +set_ValueNoCheck ("RelatedProduct_ID", Integer.valueOf(RelatedProduct_ID)); } /** Get Related Product. @return Related Product */ diff --git a/dbPort/src/org/compiere/model/X_M_Replenish.java b/dbPort/src/org/compiere/model/X_M_Replenish.java index 96d9defaa8..83bf0dc694 100644 --- a/dbPort/src/org/compiere/model/X_M_Replenish.java +++ b/dbPort/src/org/compiere/model/X_M_Replenish.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Replenish * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Replenish extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_Replenish (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=249 */ -public static final int Table_ID=249; +public static final int Table_ID=MTable.getTable_ID("M_Replenish"); /** TableName=M_Replenish */ public static final String Table_Name="M_Replenish"; -protected static KeyNamePair Model = new KeyNamePair(249,"M_Replenish"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Replenish"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -124,7 +124,7 @@ return bd; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -143,7 +143,7 @@ public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) { if (M_WarehouseSource_ID <= 0) set_Value ("M_WarehouseSource_ID", null); else -set_Value ("M_WarehouseSource_ID", new Integer(M_WarehouseSource_ID)); +set_Value ("M_WarehouseSource_ID", Integer.valueOf(M_WarehouseSource_ID)); } /** Get Source Warehouse. @return Optional Warehouse to replenish from */ @@ -158,7 +158,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ diff --git a/dbPort/src/org/compiere/model/X_M_Requisition.java b/dbPort/src/org/compiere/model/X_M_Requisition.java index a80079d231..916b56c621 100644 --- a/dbPort/src/org/compiere/model/X_M_Requisition.java +++ b/dbPort/src/org/compiere/model/X_M_Requisition.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Requisition * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Requisition extends PO { /** Standard Constructor @@ -67,12 +67,12 @@ public X_M_Requisition (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=702 */ -public static final int Table_ID=702; +public static final int Table_ID=MTable.getTable_ID("M_Requisition"); /** TableName=M_Requisition */ public static final String Table_Name="M_Requisition"; -protected static KeyNamePair Model = new KeyNamePair(702,"M_Requisition"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Requisition"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -104,7 +104,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -119,7 +119,7 @@ return ii.intValue(); public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID < 0) throw new IllegalArgumentException ("C_DocType_ID is mandatory."); -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -315,7 +315,7 @@ return (String)get_Value("Help"); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -334,7 +334,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -349,7 +349,7 @@ return ii.intValue(); public void setM_Requisition_ID (int M_Requisition_ID) { if (M_Requisition_ID < 1) throw new IllegalArgumentException ("M_Requisition_ID is mandatory."); -set_ValueNoCheck ("M_Requisition_ID", new Integer(M_Requisition_ID)); +set_ValueNoCheck ("M_Requisition_ID", Integer.valueOf(M_Requisition_ID)); } /** Get Requisition. @return Material Requisition */ @@ -364,7 +364,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -378,7 +378,7 @@ return ii.intValue(); @param Posted Posting status */ public void setPosted (boolean Posted) { -set_Value ("Posted", new Boolean(Posted)); +set_Value ("Posted", Boolean.valueOf(Posted)); } /** Get Posted. @return Posting status */ @@ -429,7 +429,7 @@ return (String)get_Value("PriorityRule"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -447,7 +447,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_M_RequisitionLine.java b/dbPort/src/org/compiere/model/X_M_RequisitionLine.java index 82c152de1a..835be09f70 100644 --- a/dbPort/src/org/compiere/model/X_M_RequisitionLine.java +++ b/dbPort/src/org/compiere/model/X_M_RequisitionLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_RequisitionLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_RequisitionLine extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_RequisitionLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=703 */ -public static final int Table_ID=703; +public static final int Table_ID=MTable.getTable_ID("M_RequisitionLine"); /** TableName=M_RequisitionLine */ public static final String Table_Name="M_RequisitionLine"; -protected static KeyNamePair Model = new KeyNamePair(703,"M_RequisitionLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_RequisitionLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setC_Charge_ID (int C_Charge_ID) { if (C_Charge_ID <= 0) set_Value ("C_Charge_ID", null); else -set_Value ("C_Charge_ID", new Integer(C_Charge_ID)); +set_Value ("C_Charge_ID", Integer.valueOf(C_Charge_ID)); } /** Get Charge. @return Additional document charges */ @@ -112,7 +112,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_Value ("C_OrderLine_ID", null); else -set_Value ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_Value ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -143,7 +143,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -180,7 +180,7 @@ public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID <= 0) set_Value ("M_AttributeSetInstance_ID", null); else -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -196,7 +196,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -211,7 +211,7 @@ return ii.intValue(); public void setM_RequisitionLine_ID (int M_RequisitionLine_ID) { if (M_RequisitionLine_ID < 1) throw new IllegalArgumentException ("M_RequisitionLine_ID is mandatory."); -set_ValueNoCheck ("M_RequisitionLine_ID", new Integer(M_RequisitionLine_ID)); +set_ValueNoCheck ("M_RequisitionLine_ID", Integer.valueOf(M_RequisitionLine_ID)); } /** Get Requisition Line. @return Material Requisition Line */ @@ -226,7 +226,7 @@ return ii.intValue(); public void setM_Requisition_ID (int M_Requisition_ID) { if (M_Requisition_ID < 1) throw new IllegalArgumentException ("M_Requisition_ID is mandatory."); -set_ValueNoCheck ("M_Requisition_ID", new Integer(M_Requisition_ID)); +set_ValueNoCheck ("M_Requisition_ID", Integer.valueOf(M_Requisition_ID)); } /** Get Requisition. @return Material Requisition */ diff --git a/dbPort/src/org/compiere/model/X_M_SerNoCtl.java b/dbPort/src/org/compiere/model/X_M_SerNoCtl.java index 7ce7fb4ef9..1288e61be6 100644 --- a/dbPort/src/org/compiere/model/X_M_SerNoCtl.java +++ b/dbPort/src/org/compiere/model/X_M_SerNoCtl.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_SerNoCtl * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_SerNoCtl extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_SerNoCtl (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=555 */ -public static final int Table_ID=555; +public static final int Table_ID=MTable.getTable_ID("M_SerNoCtl"); /** TableName=M_SerNoCtl */ public static final String Table_Name="M_SerNoCtl"; -protected static KeyNamePair Model = new KeyNamePair(555,"M_SerNoCtl"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_SerNoCtl"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); @param CurrentNext The next number to be used */ public void setCurrentNext (int CurrentNext) { -set_Value ("CurrentNext", new Integer(CurrentNext)); +set_Value ("CurrentNext", Integer.valueOf(CurrentNext)); } /** Get Current Next. @return The next number to be used */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); @param IncrementNo The number to increment the last document number by */ public void setIncrementNo (int IncrementNo) { -set_Value ("IncrementNo", new Integer(IncrementNo)); +set_Value ("IncrementNo", Integer.valueOf(IncrementNo)); } /** Get Increment. @return The number to increment the last document number by */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setM_SerNoCtl_ID (int M_SerNoCtl_ID) { if (M_SerNoCtl_ID < 1) throw new IllegalArgumentException ("M_SerNoCtl_ID is mandatory."); -set_ValueNoCheck ("M_SerNoCtl_ID", new Integer(M_SerNoCtl_ID)); +set_ValueNoCheck ("M_SerNoCtl_ID", Integer.valueOf(M_SerNoCtl_ID)); } /** Get Serial No Control. @return Product Serial Number Control */ @@ -194,7 +194,7 @@ return (String)get_Value("Prefix"); @param StartNo Starting number/position */ public void setStartNo (int StartNo) { -set_Value ("StartNo", new Integer(StartNo)); +set_Value ("StartNo", Integer.valueOf(StartNo)); } /** Get Start No. @return Starting number/position */ diff --git a/dbPort/src/org/compiere/model/X_M_SerNoCtlExclude.java b/dbPort/src/org/compiere/model/X_M_SerNoCtlExclude.java index f8eef4d845..35dd7b7e71 100644 --- a/dbPort/src/org/compiere/model/X_M_SerNoCtlExclude.java +++ b/dbPort/src/org/compiere/model/X_M_SerNoCtlExclude.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_SerNoCtlExclude * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_SerNoCtlExclude extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_M_SerNoCtlExclude (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=811 */ -public static final int Table_ID=811; +public static final int Table_ID=MTable.getTable_ID("M_SerNoCtlExclude"); /** TableName=M_SerNoCtlExclude */ public static final String Table_Name="M_SerNoCtlExclude"; -protected static KeyNamePair Model = new KeyNamePair(811,"M_SerNoCtlExclude"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_SerNoCtlExclude"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -107,7 +107,7 @@ return ii.intValue(); @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ @@ -126,7 +126,7 @@ return false; public void setM_SerNoCtlExclude_ID (int M_SerNoCtlExclude_ID) { if (M_SerNoCtlExclude_ID < 1) throw new IllegalArgumentException ("M_SerNoCtlExclude_ID is mandatory."); -set_ValueNoCheck ("M_SerNoCtlExclude_ID", new Integer(M_SerNoCtlExclude_ID)); +set_ValueNoCheck ("M_SerNoCtlExclude_ID", Integer.valueOf(M_SerNoCtlExclude_ID)); } /** Get Exclude SerNo. @return Exclude the ability to create Serial Numbers in Attribute Sets */ @@ -141,7 +141,7 @@ return ii.intValue(); public void setM_SerNoCtl_ID (int M_SerNoCtl_ID) { if (M_SerNoCtl_ID < 1) throw new IllegalArgumentException ("M_SerNoCtl_ID is mandatory."); -set_ValueNoCheck ("M_SerNoCtl_ID", new Integer(M_SerNoCtl_ID)); +set_ValueNoCheck ("M_SerNoCtl_ID", Integer.valueOf(M_SerNoCtl_ID)); } /** Get Serial No Control. @return Product Serial Number Control */ diff --git a/dbPort/src/org/compiere/model/X_M_Shipper.java b/dbPort/src/org/compiere/model/X_M_Shipper.java index b6aa4009dd..20bfcd65a9 100644 --- a/dbPort/src/org/compiere/model/X_M_Shipper.java +++ b/dbPort/src/org/compiere/model/X_M_Shipper.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Shipper * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Shipper extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_M_Shipper (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=253 */ -public static final int Table_ID=253; +public static final int Table_ID=MTable.getTable_ID("M_Shipper"); /** TableName=M_Shipper */ public static final String Table_Name="M_Shipper"; -protected static KeyNamePair Model = new KeyNamePair(253,"M_Shipper"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Shipper"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); public void setM_Shipper_ID (int M_Shipper_ID) { if (M_Shipper_ID < 1) throw new IllegalArgumentException ("M_Shipper_ID is mandatory."); -set_ValueNoCheck ("M_Shipper_ID", new Integer(M_Shipper_ID)); +set_ValueNoCheck ("M_Shipper_ID", Integer.valueOf(M_Shipper_ID)); } /** Get Shipper. @return Method or manner of product delivery */ diff --git a/dbPort/src/org/compiere/model/X_M_Storage.java b/dbPort/src/org/compiere/model/X_M_Storage.java index 7f930a7d55..0090c654f3 100644 --- a/dbPort/src/org/compiere/model/X_M_Storage.java +++ b/dbPort/src/org/compiere/model/X_M_Storage.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Storage * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Storage extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_Storage (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=250 */ -public static final int Table_ID=250; +public static final int Table_ID=MTable.getTable_ID("M_Storage"); /** TableName=M_Storage */ public static final String Table_Name="M_Storage"; -protected static KeyNamePair Model = new KeyNamePair(250,"M_Storage"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Storage"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -107,7 +107,7 @@ return (Timestamp)get_Value("DateLastInventory"); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -122,7 +122,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_ValueNoCheck ("M_Locator_ID", new Integer(M_Locator_ID)); +set_ValueNoCheck ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -137,7 +137,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_M_Substitute.java b/dbPort/src/org/compiere/model/X_M_Substitute.java index e7899e1886..27719a499d 100644 --- a/dbPort/src/org/compiere/model/X_M_Substitute.java +++ b/dbPort/src/org/compiere/model/X_M_Substitute.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Substitute * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Substitute extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_M_Substitute (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=213 */ -public static final int Table_ID=213; +public static final int Table_ID=MTable.getTable_ID("M_Substitute"); /** TableName=M_Substitute */ public static final String Table_Name="M_Substitute"; -protected static KeyNamePair Model = new KeyNamePair(213,"M_Substitute"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Substitute"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -109,7 +109,7 @@ return (String)get_Value("Description"); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -151,7 +151,7 @@ public static final int SUBSTITUTE_ID_AD_Reference_ID=162; public void setSubstitute_ID (int Substitute_ID) { if (Substitute_ID < 1) throw new IllegalArgumentException ("Substitute_ID is mandatory."); -set_ValueNoCheck ("Substitute_ID", new Integer(Substitute_ID)); +set_ValueNoCheck ("Substitute_ID", Integer.valueOf(Substitute_ID)); } /** Get Substitute. @return Entity which can be used in place of this entity */ diff --git a/dbPort/src/org/compiere/model/X_M_Transaction.java b/dbPort/src/org/compiere/model/X_M_Transaction.java index 5174b2d4e1..347091d848 100644 --- a/dbPort/src/org/compiere/model/X_M_Transaction.java +++ b/dbPort/src/org/compiere/model/X_M_Transaction.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Transaction * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Transaction extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_Transaction (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=329 */ -public static final int Table_ID=329; +public static final int Table_ID=MTable.getTable_ID("M_Transaction"); /** TableName=M_Transaction */ public static final String Table_Name="M_Transaction"; -protected static KeyNamePair Model = new KeyNamePair(329,"M_Transaction"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Transaction"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -97,7 +97,7 @@ public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) { if (C_ProjectIssue_ID <= 0) set_ValueNoCheck ("C_ProjectIssue_ID", null); else -set_ValueNoCheck ("C_ProjectIssue_ID", new Integer(C_ProjectIssue_ID)); +set_ValueNoCheck ("C_ProjectIssue_ID", Integer.valueOf(C_ProjectIssue_ID)); } /** Get Project Issue. @return Project Issues (Material, Labor) */ @@ -112,7 +112,7 @@ return ii.intValue(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_ValueNoCheck ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_ValueNoCheck ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -128,7 +128,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_ValueNoCheck ("M_InOutLine_ID", null); else -set_ValueNoCheck ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_ValueNoCheck ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -144,7 +144,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_ValueNoCheck ("M_InventoryLine_ID", null); else -set_ValueNoCheck ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_ValueNoCheck ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -159,7 +159,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_ValueNoCheck ("M_Locator_ID", new Integer(M_Locator_ID)); +set_ValueNoCheck ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -175,7 +175,7 @@ public void setM_MovementLine_ID (int M_MovementLine_ID) { if (M_MovementLine_ID <= 0) set_ValueNoCheck ("M_MovementLine_ID", null); else -set_ValueNoCheck ("M_MovementLine_ID", new Integer(M_MovementLine_ID)); +set_ValueNoCheck ("M_MovementLine_ID", Integer.valueOf(M_MovementLine_ID)); } /** Get Move Line. @return Inventory Move document Line */ @@ -190,7 +190,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -206,7 +206,7 @@ public void setM_ProductionLine_ID (int M_ProductionLine_ID) { if (M_ProductionLine_ID <= 0) set_ValueNoCheck ("M_ProductionLine_ID", null); else -set_ValueNoCheck ("M_ProductionLine_ID", new Integer(M_ProductionLine_ID)); +set_ValueNoCheck ("M_ProductionLine_ID", Integer.valueOf(M_ProductionLine_ID)); } /** Get Production Line. @return Document Line representing a production */ @@ -221,7 +221,7 @@ return ii.intValue(); public void setM_Transaction_ID (int M_Transaction_ID) { if (M_Transaction_ID < 1) throw new IllegalArgumentException ("M_Transaction_ID is mandatory."); -set_ValueNoCheck ("M_Transaction_ID", new Integer(M_Transaction_ID)); +set_ValueNoCheck ("M_Transaction_ID", Integer.valueOf(M_Transaction_ID)); } /** Get Inventory Transaction. @return Inventory Transaction */ diff --git a/dbPort/src/org/compiere/model/X_M_TransactionAllocation.java b/dbPort/src/org/compiere/model/X_M_TransactionAllocation.java index a125c33d70..b255e1d487 100644 --- a/dbPort/src/org/compiere/model/X_M_TransactionAllocation.java +++ b/dbPort/src/org/compiere/model/X_M_TransactionAllocation.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_TransactionAllocation * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_TransactionAllocation extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_M_TransactionAllocation (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=636 */ -public static final int Table_ID=636; +public static final int Table_ID=MTable.getTable_ID("M_TransactionAllocation"); /** TableName=M_TransactionAllocation */ public static final String Table_Name="M_TransactionAllocation"; -protected static KeyNamePair Model = new KeyNamePair(636,"M_TransactionAllocation"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_TransactionAllocation"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -122,7 +122,7 @@ return (String)get_Value("AllocationStrategyType"); @param IsAllocated Indicates if the payment has been allocated */ public void setIsAllocated (boolean IsAllocated) { -set_Value ("IsAllocated", new Boolean(IsAllocated)); +set_Value ("IsAllocated", Boolean.valueOf(IsAllocated)); } /** Get Allocated. @return Indicates if the payment has been allocated */ @@ -140,7 +140,7 @@ return false; @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -159,7 +159,7 @@ return false; public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -175,7 +175,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_Value ("M_InOutLine_ID", null); else -set_Value ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_Value ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -191,7 +191,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_Value ("M_InventoryLine_ID", null); else -set_Value ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_Value ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -206,7 +206,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -222,7 +222,7 @@ public void setM_ProductionLine_ID (int M_ProductionLine_ID) { if (M_ProductionLine_ID <= 0) set_Value ("M_ProductionLine_ID", null); else -set_Value ("M_ProductionLine_ID", new Integer(M_ProductionLine_ID)); +set_Value ("M_ProductionLine_ID", Integer.valueOf(M_ProductionLine_ID)); } /** Get Production Line. @return Document Line representing a production */ @@ -237,7 +237,7 @@ return ii.intValue(); public void setM_Transaction_ID (int M_Transaction_ID) { if (M_Transaction_ID < 1) throw new IllegalArgumentException ("M_Transaction_ID is mandatory."); -set_ValueNoCheck ("M_Transaction_ID", new Integer(M_Transaction_ID)); +set_ValueNoCheck ("M_Transaction_ID", Integer.valueOf(M_Transaction_ID)); } /** Get Inventory Transaction. @return Inventory Transaction */ @@ -256,7 +256,7 @@ public void setOut_M_InOutLine_ID (int Out_M_InOutLine_ID) { if (Out_M_InOutLine_ID <= 0) set_Value ("Out_M_InOutLine_ID", null); else -set_Value ("Out_M_InOutLine_ID", new Integer(Out_M_InOutLine_ID)); +set_Value ("Out_M_InOutLine_ID", Integer.valueOf(Out_M_InOutLine_ID)); } /** Get Out Shipment Line. @return Outgoing Shipment/Receipt */ @@ -275,7 +275,7 @@ public void setOut_M_InventoryLine_ID (int Out_M_InventoryLine_ID) { if (Out_M_InventoryLine_ID <= 0) set_Value ("Out_M_InventoryLine_ID", null); else -set_Value ("Out_M_InventoryLine_ID", new Integer(Out_M_InventoryLine_ID)); +set_Value ("Out_M_InventoryLine_ID", Integer.valueOf(Out_M_InventoryLine_ID)); } /** Get Out Inventory Line. @return Outgoing Inventory Line */ @@ -294,7 +294,7 @@ public void setOut_M_ProductionLine_ID (int Out_M_ProductionLine_ID) { if (Out_M_ProductionLine_ID <= 0) set_Value ("Out_M_ProductionLine_ID", null); else -set_Value ("Out_M_ProductionLine_ID", new Integer(Out_M_ProductionLine_ID)); +set_Value ("Out_M_ProductionLine_ID", Integer.valueOf(Out_M_ProductionLine_ID)); } /** Get Out Production Line. @return Outgoing Production Line */ @@ -313,7 +313,7 @@ public void setOut_M_Transaction_ID (int Out_M_Transaction_ID) { if (Out_M_Transaction_ID <= 0) set_Value ("Out_M_Transaction_ID", null); else -set_Value ("Out_M_Transaction_ID", new Integer(Out_M_Transaction_ID)); +set_Value ("Out_M_Transaction_ID", Integer.valueOf(Out_M_Transaction_ID)); } /** Get Out Transaction. @return Outgoing Transaction */ diff --git a/dbPort/src/org/compiere/model/X_M_Warehouse.java b/dbPort/src/org/compiere/model/X_M_Warehouse.java index 7773b2f05a..a090c8bc61 100644 --- a/dbPort/src/org/compiere/model/X_M_Warehouse.java +++ b/dbPort/src/org/compiere/model/X_M_Warehouse.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Warehouse * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Warehouse extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_M_Warehouse (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=190 */ -public static final int Table_ID=190; +public static final int Table_ID=MTable.getTable_ID("M_Warehouse"); /** TableName=M_Warehouse */ public static final String Table_Name="M_Warehouse"; -protected static KeyNamePair Model = new KeyNamePair(190,"M_Warehouse"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Warehouse"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID < 1) throw new IllegalArgumentException ("C_Location_ID is mandatory."); -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -130,7 +130,7 @@ public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) { if (M_WarehouseSource_ID <= 0) set_Value ("M_WarehouseSource_ID", null); else -set_Value ("M_WarehouseSource_ID", new Integer(M_WarehouseSource_ID)); +set_Value ("M_WarehouseSource_ID", Integer.valueOf(M_WarehouseSource_ID)); } /** Get Source Warehouse. @return Optional Warehouse to replenish from */ @@ -145,7 +145,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ diff --git a/dbPort/src/org/compiere/model/X_M_Warehouse_Acct.java b/dbPort/src/org/compiere/model/X_M_Warehouse_Acct.java index b7fb6d9333..48045399b8 100644 --- a/dbPort/src/org/compiere/model/X_M_Warehouse_Acct.java +++ b/dbPort/src/org/compiere/model/X_M_Warehouse_Acct.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for M_Warehouse_Acct * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_M_Warehouse_Acct extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_M_Warehouse_Acct (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=191 */ -public static final int Table_ID=191; +public static final int Table_ID=MTable.getTable_ID("M_Warehouse_Acct"); /** TableName=M_Warehouse_Acct */ public static final String Table_Name="M_Warehouse_Acct"; -protected static KeyNamePair Model = new KeyNamePair(191,"M_Warehouse_Acct"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"M_Warehouse_Acct"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_ValueNoCheck ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_ValueNoCheck ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -110,7 +110,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -124,7 +124,7 @@ return ii.intValue(); @param W_Differences_Acct Warehouse Differences Account */ public void setW_Differences_Acct (int W_Differences_Acct) { -set_Value ("W_Differences_Acct", new Integer(W_Differences_Acct)); +set_Value ("W_Differences_Acct", Integer.valueOf(W_Differences_Acct)); } /** Get Warehouse Differences. @return Warehouse Differences Account */ @@ -138,7 +138,7 @@ return ii.intValue(); @param W_InvActualAdjust_Acct Account for Inventory value adjustments for Actual Costing */ public void setW_InvActualAdjust_Acct (int W_InvActualAdjust_Acct) { -set_Value ("W_InvActualAdjust_Acct", new Integer(W_InvActualAdjust_Acct)); +set_Value ("W_InvActualAdjust_Acct", Integer.valueOf(W_InvActualAdjust_Acct)); } /** Get Inventory Adjustment. @return Account for Inventory value adjustments for Actual Costing */ @@ -152,7 +152,7 @@ return ii.intValue(); @param W_Inventory_Acct Warehouse Inventory Asset Account - Currently not used */ public void setW_Inventory_Acct (int W_Inventory_Acct) { -set_Value ("W_Inventory_Acct", new Integer(W_Inventory_Acct)); +set_Value ("W_Inventory_Acct", Integer.valueOf(W_Inventory_Acct)); } /** Get (Not Used). @return Warehouse Inventory Asset Account - Currently not used */ @@ -166,7 +166,7 @@ return ii.intValue(); @param W_Revaluation_Acct Account for Inventory Revaluation */ public void setW_Revaluation_Acct (int W_Revaluation_Acct) { -set_Value ("W_Revaluation_Acct", new Integer(W_Revaluation_Acct)); +set_Value ("W_Revaluation_Acct", Integer.valueOf(W_Revaluation_Acct)); } /** Get Inventory Revaluation. @return Account for Inventory Revaluation */ diff --git a/dbPort/src/org/compiere/model/X_PA_Achievement.java b/dbPort/src/org/compiere/model/X_PA_Achievement.java index 790da39f33..b3f90e035b 100644 --- a/dbPort/src/org/compiere/model/X_PA_Achievement.java +++ b/dbPort/src/org/compiere/model/X_PA_Achievement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Achievement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Achievement extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_PA_Achievement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=438 */ -public static final int Table_ID=438; +public static final int Table_ID=MTable.getTable_ID("PA_Achievement"); /** TableName=PA_Achievement */ public static final String Table_Name="PA_Achievement"; -protected static KeyNamePair Model = new KeyNamePair(438,"PA_Achievement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Achievement"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -123,7 +123,7 @@ return (String)get_Value("Description"); @param IsAchieved The goal is achieved */ public void setIsAchieved (boolean IsAchieved) { -set_Value ("IsAchieved", new Boolean(IsAchieved)); +set_Value ("IsAchieved", Boolean.valueOf(IsAchieved)); } /** Get Achieved. @return The goal is achieved */ @@ -198,7 +198,7 @@ return (String)get_Value("Note"); public void setPA_Achievement_ID (int PA_Achievement_ID) { if (PA_Achievement_ID < 1) throw new IllegalArgumentException ("PA_Achievement_ID is mandatory."); -set_ValueNoCheck ("PA_Achievement_ID", new Integer(PA_Achievement_ID)); +set_ValueNoCheck ("PA_Achievement_ID", Integer.valueOf(PA_Achievement_ID)); } /** Get Achievement. @return Performance Achievement */ @@ -213,7 +213,7 @@ return ii.intValue(); public void setPA_Measure_ID (int PA_Measure_ID) { if (PA_Measure_ID < 1) throw new IllegalArgumentException ("PA_Measure_ID is mandatory."); -set_ValueNoCheck ("PA_Measure_ID", new Integer(PA_Measure_ID)); +set_ValueNoCheck ("PA_Measure_ID", Integer.valueOf(PA_Measure_ID)); } /** Get Measure. @return Concrete Performance Measurement */ @@ -228,7 +228,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_PA_Benchmark.java b/dbPort/src/org/compiere/model/X_PA_Benchmark.java index 2dbd71e2b1..4d40d13fc6 100644 --- a/dbPort/src/org/compiere/model/X_PA_Benchmark.java +++ b/dbPort/src/org/compiere/model/X_PA_Benchmark.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Benchmark * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Benchmark extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_PA_Benchmark (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=833 */ -public static final int Table_ID=833; +public static final int Table_ID=MTable.getTable_ID("PA_Benchmark"); /** TableName=PA_Benchmark */ public static final String Table_Name="PA_Benchmark"; -protected static KeyNamePair Model = new KeyNamePair(833,"PA_Benchmark"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Benchmark"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -177,7 +177,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_Benchmark_ID (int PA_Benchmark_ID) { if (PA_Benchmark_ID < 1) throw new IllegalArgumentException ("PA_Benchmark_ID is mandatory."); -set_ValueNoCheck ("PA_Benchmark_ID", new Integer(PA_Benchmark_ID)); +set_ValueNoCheck ("PA_Benchmark_ID", Integer.valueOf(PA_Benchmark_ID)); } /** Get Benchmark. @return Performance Benchmark */ diff --git a/dbPort/src/org/compiere/model/X_PA_BenchmarkData.java b/dbPort/src/org/compiere/model/X_PA_BenchmarkData.java index c4f6552c53..c9dc898ffe 100644 --- a/dbPort/src/org/compiere/model/X_PA_BenchmarkData.java +++ b/dbPort/src/org/compiere/model/X_PA_BenchmarkData.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_BenchmarkData * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_BenchmarkData extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_PA_BenchmarkData (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=834 */ -public static final int Table_ID=834; +public static final int Table_ID=MTable.getTable_ID("PA_BenchmarkData"); /** TableName=PA_BenchmarkData */ public static final String Table_Name="PA_BenchmarkData"; -protected static KeyNamePair Model = new KeyNamePair(834,"PA_BenchmarkData"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_BenchmarkData"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -163,7 +163,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_BenchmarkData_ID (int PA_BenchmarkData_ID) { if (PA_BenchmarkData_ID < 1) throw new IllegalArgumentException ("PA_BenchmarkData_ID is mandatory."); -set_ValueNoCheck ("PA_BenchmarkData_ID", new Integer(PA_BenchmarkData_ID)); +set_ValueNoCheck ("PA_BenchmarkData_ID", Integer.valueOf(PA_BenchmarkData_ID)); } /** Get Benchmark Data. @return Performance Benchmark Data Point */ @@ -178,7 +178,7 @@ return ii.intValue(); public void setPA_Benchmark_ID (int PA_Benchmark_ID) { if (PA_Benchmark_ID < 1) throw new IllegalArgumentException ("PA_Benchmark_ID is mandatory."); -set_ValueNoCheck ("PA_Benchmark_ID", new Integer(PA_Benchmark_ID)); +set_ValueNoCheck ("PA_Benchmark_ID", Integer.valueOf(PA_Benchmark_ID)); } /** Get Benchmark. @return Performance Benchmark */ diff --git a/dbPort/src/org/compiere/model/X_PA_ColorSchema.java b/dbPort/src/org/compiere/model/X_PA_ColorSchema.java index 499f0f97d6..5f4b759c06 100644 --- a/dbPort/src/org/compiere/model/X_PA_ColorSchema.java +++ b/dbPort/src/org/compiere/model/X_PA_ColorSchema.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_ColorSchema * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_ColorSchema extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_PA_ColorSchema (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=831 */ -public static final int Table_ID=831; +public static final int Table_ID=MTable.getTable_ID("PA_ColorSchema"); /** TableName=PA_ColorSchema */ public static final String Table_Name="PA_ColorSchema"; -protected static KeyNamePair Model = new KeyNamePair(831,"PA_ColorSchema"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_ColorSchema"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -99,7 +99,7 @@ public static final int AD_PRINTCOLOR1_ID_AD_Reference_ID=266; public void setAD_PrintColor1_ID (int AD_PrintColor1_ID) { if (AD_PrintColor1_ID < 1) throw new IllegalArgumentException ("AD_PrintColor1_ID is mandatory."); -set_Value ("AD_PrintColor1_ID", new Integer(AD_PrintColor1_ID)); +set_Value ("AD_PrintColor1_ID", Integer.valueOf(AD_PrintColor1_ID)); } /** Get Color 1. @return First color used */ @@ -117,7 +117,7 @@ public static final int AD_PRINTCOLOR2_ID_AD_Reference_ID=266; public void setAD_PrintColor2_ID (int AD_PrintColor2_ID) { if (AD_PrintColor2_ID < 1) throw new IllegalArgumentException ("AD_PrintColor2_ID is mandatory."); -set_Value ("AD_PrintColor2_ID", new Integer(AD_PrintColor2_ID)); +set_Value ("AD_PrintColor2_ID", Integer.valueOf(AD_PrintColor2_ID)); } /** Get Color 2. @return Second color used */ @@ -136,7 +136,7 @@ public void setAD_PrintColor3_ID (int AD_PrintColor3_ID) { if (AD_PrintColor3_ID <= 0) set_Value ("AD_PrintColor3_ID", null); else -set_Value ("AD_PrintColor3_ID", new Integer(AD_PrintColor3_ID)); +set_Value ("AD_PrintColor3_ID", Integer.valueOf(AD_PrintColor3_ID)); } /** Get Color 3. @return Third color used */ @@ -155,7 +155,7 @@ public void setAD_PrintColor4_ID (int AD_PrintColor4_ID) { if (AD_PrintColor4_ID <= 0) set_Value ("AD_PrintColor4_ID", null); else -set_Value ("AD_PrintColor4_ID", new Integer(AD_PrintColor4_ID)); +set_Value ("AD_PrintColor4_ID", Integer.valueOf(AD_PrintColor4_ID)); } /** Get Color 4. @return Forth color used */ @@ -208,7 +208,7 @@ return (String)get_Value("EntityType"); @param Mark1Percent Percentage up to this color is used */ public void setMark1Percent (int Mark1Percent) { -set_Value ("Mark1Percent", new Integer(Mark1Percent)); +set_Value ("Mark1Percent", Integer.valueOf(Mark1Percent)); } /** Get Mark 1 Percent. @return Percentage up to this color is used */ @@ -222,7 +222,7 @@ return ii.intValue(); @param Mark2Percent Percentage up to this color is used */ public void setMark2Percent (int Mark2Percent) { -set_Value ("Mark2Percent", new Integer(Mark2Percent)); +set_Value ("Mark2Percent", Integer.valueOf(Mark2Percent)); } /** Get Mark 2 Percent. @return Percentage up to this color is used */ @@ -236,7 +236,7 @@ return ii.intValue(); @param Mark3Percent Percentage up to this color is used */ public void setMark3Percent (int Mark3Percent) { -set_Value ("Mark3Percent", new Integer(Mark3Percent)); +set_Value ("Mark3Percent", Integer.valueOf(Mark3Percent)); } /** Get Mark 3 Percent. @return Percentage up to this color is used */ @@ -250,7 +250,7 @@ return ii.intValue(); @param Mark4Percent Percentage up to this color is used */ public void setMark4Percent (int Mark4Percent) { -set_Value ("Mark4Percent", new Integer(Mark4Percent)); +set_Value ("Mark4Percent", Integer.valueOf(Mark4Percent)); } /** Get Mark 4 Percent. @return Percentage up to this color is used */ @@ -289,7 +289,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_ColorSchema_ID (int PA_ColorSchema_ID) { if (PA_ColorSchema_ID < 1) throw new IllegalArgumentException ("PA_ColorSchema_ID is mandatory."); -set_ValueNoCheck ("PA_ColorSchema_ID", new Integer(PA_ColorSchema_ID)); +set_ValueNoCheck ("PA_ColorSchema_ID", Integer.valueOf(PA_ColorSchema_ID)); } /** Get Color Schema. @return Performance Color Schema */ diff --git a/dbPort/src/org/compiere/model/X_PA_Goal.java b/dbPort/src/org/compiere/model/X_PA_Goal.java index b47b44d206..d1d6d2475d 100644 --- a/dbPort/src/org/compiere/model/X_PA_Goal.java +++ b/dbPort/src/org/compiere/model/X_PA_Goal.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Goal * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Goal extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_PA_Goal (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=440 */ -public static final int Table_ID=440; +public static final int Table_ID=MTable.getTable_ID("PA_Goal"); /** TableName=PA_Goal */ public static final String Table_Name="PA_Goal"; -protected static KeyNamePair Model = new KeyNamePair(440,"PA_Goal"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Goal"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -100,7 +100,7 @@ public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -116,7 +116,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -198,7 +198,7 @@ return bd; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_Value ("IsSummary", new Boolean(IsSummary)); +set_Value ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -357,7 +357,7 @@ return (String)get_Value("Note"); public void setPA_ColorSchema_ID (int PA_ColorSchema_ID) { if (PA_ColorSchema_ID < 1) throw new IllegalArgumentException ("PA_ColorSchema_ID is mandatory."); -set_Value ("PA_ColorSchema_ID", new Integer(PA_ColorSchema_ID)); +set_Value ("PA_ColorSchema_ID", Integer.valueOf(PA_ColorSchema_ID)); } /** Get Color Schema. @return Performance Color Schema */ @@ -376,7 +376,7 @@ public void setPA_GoalParent_ID (int PA_GoalParent_ID) { if (PA_GoalParent_ID <= 0) set_Value ("PA_GoalParent_ID", null); else -set_Value ("PA_GoalParent_ID", new Integer(PA_GoalParent_ID)); +set_Value ("PA_GoalParent_ID", Integer.valueOf(PA_GoalParent_ID)); } /** Get Parent Goal. @return Parent Goal */ @@ -391,7 +391,7 @@ return ii.intValue(); public void setPA_Goal_ID (int PA_Goal_ID) { if (PA_Goal_ID < 1) throw new IllegalArgumentException ("PA_Goal_ID is mandatory."); -set_ValueNoCheck ("PA_Goal_ID", new Integer(PA_Goal_ID)); +set_ValueNoCheck ("PA_Goal_ID", Integer.valueOf(PA_Goal_ID)); } /** Get Goal. @return Performance Goal */ @@ -407,7 +407,7 @@ public void setPA_Measure_ID (int PA_Measure_ID) { if (PA_Measure_ID <= 0) set_Value ("PA_Measure_ID", null); else -set_Value ("PA_Measure_ID", new Integer(PA_Measure_ID)); +set_Value ("PA_Measure_ID", Integer.valueOf(PA_Measure_ID)); } /** Get Measure. @return Concrete Performance Measurement */ @@ -437,7 +437,7 @@ return bd; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_PA_GoalRestriction.java b/dbPort/src/org/compiere/model/X_PA_GoalRestriction.java index f2b60102ea..2433b1a9a5 100644 --- a/dbPort/src/org/compiere/model/X_PA_GoalRestriction.java +++ b/dbPort/src/org/compiere/model/X_PA_GoalRestriction.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_GoalRestriction * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_GoalRestriction extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_PA_GoalRestriction (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=832 */ -public static final int Table_ID=832; +public static final int Table_ID=MTable.getTable_ID("PA_GoalRestriction"); /** TableName=PA_GoalRestriction */ public static final String Table_Name="PA_GoalRestriction"; -protected static KeyNamePair Model = new KeyNamePair(832,"PA_GoalRestriction"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_GoalRestriction"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID <= 0) set_Value ("C_BP_Group_ID", null); else -set_Value ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_Value ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -110,7 +110,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -159,7 +159,7 @@ public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID <= 0) set_Value ("M_Product_Category_ID", null); else -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -175,7 +175,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -218,7 +218,7 @@ public void setOrg_ID (int Org_ID) { if (Org_ID <= 0) set_Value ("Org_ID", null); else -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ @@ -233,7 +233,7 @@ return ii.intValue(); public void setPA_GoalRestriction_ID (int PA_GoalRestriction_ID) { if (PA_GoalRestriction_ID < 1) throw new IllegalArgumentException ("PA_GoalRestriction_ID is mandatory."); -set_ValueNoCheck ("PA_GoalRestriction_ID", new Integer(PA_GoalRestriction_ID)); +set_ValueNoCheck ("PA_GoalRestriction_ID", Integer.valueOf(PA_GoalRestriction_ID)); } /** Get Goal Restriction. @return Performance Goal Restriction */ @@ -248,7 +248,7 @@ return ii.intValue(); public void setPA_Goal_ID (int PA_Goal_ID) { if (PA_Goal_ID < 1) throw new IllegalArgumentException ("PA_Goal_ID is mandatory."); -set_Value ("PA_Goal_ID", new Integer(PA_Goal_ID)); +set_Value ("PA_Goal_ID", Integer.valueOf(PA_Goal_ID)); } /** Get Goal. @return Performance Goal */ diff --git a/dbPort/src/org/compiere/model/X_PA_Hierarchy.java b/dbPort/src/org/compiere/model/X_PA_Hierarchy.java index c5302e4219..549f2f2b9f 100644 --- a/dbPort/src/org/compiere/model/X_PA_Hierarchy.java +++ b/dbPort/src/org/compiere/model/X_PA_Hierarchy.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Hierarchy * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Hierarchy extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_PA_Hierarchy (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=821 */ -public static final int Table_ID=821; +public static final int Table_ID=MTable.getTable_ID("PA_Hierarchy"); /** TableName=PA_Hierarchy */ public static final String Table_Name="PA_Hierarchy"; -protected static KeyNamePair Model = new KeyNamePair(821,"PA_Hierarchy"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Hierarchy"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -102,7 +102,7 @@ public static final int AD_TREE_ACCOUNT_ID_AD_Reference_ID=184; public void setAD_Tree_Account_ID (int AD_Tree_Account_ID) { if (AD_Tree_Account_ID < 1) throw new IllegalArgumentException ("AD_Tree_Account_ID is mandatory."); -set_Value ("AD_Tree_Account_ID", new Integer(AD_Tree_Account_ID)); +set_Value ("AD_Tree_Account_ID", Integer.valueOf(AD_Tree_Account_ID)); } /** Get Account Tree. @return Tree for Natural Account Tree */ @@ -120,7 +120,7 @@ public static final int AD_TREE_ACTIVITY_ID_AD_Reference_ID=184; public void setAD_Tree_Activity_ID (int AD_Tree_Activity_ID) { if (AD_Tree_Activity_ID < 1) throw new IllegalArgumentException ("AD_Tree_Activity_ID is mandatory."); -set_Value ("AD_Tree_Activity_ID", new Integer(AD_Tree_Activity_ID)); +set_Value ("AD_Tree_Activity_ID", Integer.valueOf(AD_Tree_Activity_ID)); } /** Get Activity Tree. @return Tree to determine activity hierarchy */ @@ -138,7 +138,7 @@ public static final int AD_TREE_BPARTNER_ID_AD_Reference_ID=184; public void setAD_Tree_BPartner_ID (int AD_Tree_BPartner_ID) { if (AD_Tree_BPartner_ID < 1) throw new IllegalArgumentException ("AD_Tree_BPartner_ID is mandatory."); -set_Value ("AD_Tree_BPartner_ID", new Integer(AD_Tree_BPartner_ID)); +set_Value ("AD_Tree_BPartner_ID", Integer.valueOf(AD_Tree_BPartner_ID)); } /** Get BPartner Tree. @return Tree to determine business partner hierarchy */ @@ -156,7 +156,7 @@ public static final int AD_TREE_CAMPAIGN_ID_AD_Reference_ID=184; public void setAD_Tree_Campaign_ID (int AD_Tree_Campaign_ID) { if (AD_Tree_Campaign_ID < 1) throw new IllegalArgumentException ("AD_Tree_Campaign_ID is mandatory."); -set_Value ("AD_Tree_Campaign_ID", new Integer(AD_Tree_Campaign_ID)); +set_Value ("AD_Tree_Campaign_ID", Integer.valueOf(AD_Tree_Campaign_ID)); } /** Get Campaign Tree. @return Tree to determine marketing campaign hierarchy */ @@ -174,7 +174,7 @@ public static final int AD_TREE_ORG_ID_AD_Reference_ID=184; public void setAD_Tree_Org_ID (int AD_Tree_Org_ID) { if (AD_Tree_Org_ID < 1) throw new IllegalArgumentException ("AD_Tree_Org_ID is mandatory."); -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. @return Tree to determine organizational hierarchy */ @@ -192,7 +192,7 @@ public static final int AD_TREE_PRODUCT_ID_AD_Reference_ID=184; public void setAD_Tree_Product_ID (int AD_Tree_Product_ID) { if (AD_Tree_Product_ID < 1) throw new IllegalArgumentException ("AD_Tree_Product_ID is mandatory."); -set_Value ("AD_Tree_Product_ID", new Integer(AD_Tree_Product_ID)); +set_Value ("AD_Tree_Product_ID", Integer.valueOf(AD_Tree_Product_ID)); } /** Get Product Tree. @return Tree to determine product hierarchy */ @@ -210,7 +210,7 @@ public static final int AD_TREE_PROJECT_ID_AD_Reference_ID=184; public void setAD_Tree_Project_ID (int AD_Tree_Project_ID) { if (AD_Tree_Project_ID < 1) throw new IllegalArgumentException ("AD_Tree_Project_ID is mandatory."); -set_Value ("AD_Tree_Project_ID", new Integer(AD_Tree_Project_ID)); +set_Value ("AD_Tree_Project_ID", Integer.valueOf(AD_Tree_Project_ID)); } /** Get Project Tree. @return Tree to determine project hierarchy */ @@ -228,7 +228,7 @@ public static final int AD_TREE_SALESREGION_ID_AD_Reference_ID=184; public void setAD_Tree_SalesRegion_ID (int AD_Tree_SalesRegion_ID) { if (AD_Tree_SalesRegion_ID < 1) throw new IllegalArgumentException ("AD_Tree_SalesRegion_ID is mandatory."); -set_Value ("AD_Tree_SalesRegion_ID", new Integer(AD_Tree_SalesRegion_ID)); +set_Value ("AD_Tree_SalesRegion_ID", Integer.valueOf(AD_Tree_SalesRegion_ID)); } /** Get Sales Region Tree. @return Tree to determine sales regional hierarchy */ @@ -301,7 +301,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_Hierarchy_ID (int PA_Hierarchy_ID) { if (PA_Hierarchy_ID < 1) throw new IllegalArgumentException ("PA_Hierarchy_ID is mandatory."); -set_ValueNoCheck ("PA_Hierarchy_ID", new Integer(PA_Hierarchy_ID)); +set_ValueNoCheck ("PA_Hierarchy_ID", Integer.valueOf(PA_Hierarchy_ID)); } /** Get Reporting Hierarchy. @return Optional Reporting Hierarchy - If not selected the default hierarchy trees are used. */ diff --git a/dbPort/src/org/compiere/model/X_PA_Measure.java b/dbPort/src/org/compiere/model/X_PA_Measure.java index 99b1cd8e4d..9c58501630 100644 --- a/dbPort/src/org/compiere/model/X_PA_Measure.java +++ b/dbPort/src/org/compiere/model/X_PA_Measure.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Measure * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Measure extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_PA_Measure (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=441 */ -public static final int Table_ID=441; +public static final int Table_ID=MTable.getTable_ID("PA_Measure"); /** TableName=PA_Measure */ public static final String Table_Name="PA_Measure"; -protected static KeyNamePair Model = new KeyNamePair(441,"PA_Measure"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Measure"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -94,7 +94,7 @@ public void setC_ProjectType_ID (int C_ProjectType_ID) { if (C_ProjectType_ID <= 0) set_Value ("C_ProjectType_ID", null); else -set_Value ("C_ProjectType_ID", new Integer(C_ProjectType_ID)); +set_Value ("C_ProjectType_ID", Integer.valueOf(C_ProjectType_ID)); } /** Get Project Type. @return Type of the project */ @@ -263,7 +263,7 @@ public void setPA_Benchmark_ID (int PA_Benchmark_ID) { if (PA_Benchmark_ID <= 0) set_Value ("PA_Benchmark_ID", null); else -set_Value ("PA_Benchmark_ID", new Integer(PA_Benchmark_ID)); +set_Value ("PA_Benchmark_ID", Integer.valueOf(PA_Benchmark_ID)); } /** Get Benchmark. @return Performance Benchmark */ @@ -279,7 +279,7 @@ public void setPA_Hierarchy_ID (int PA_Hierarchy_ID) { if (PA_Hierarchy_ID <= 0) set_Value ("PA_Hierarchy_ID", null); else -set_Value ("PA_Hierarchy_ID", new Integer(PA_Hierarchy_ID)); +set_Value ("PA_Hierarchy_ID", Integer.valueOf(PA_Hierarchy_ID)); } /** Get Reporting Hierarchy. @return Optional Reporting Hierarchy - If not selected the default hierarchy trees are used. */ @@ -295,7 +295,7 @@ public void setPA_MeasureCalc_ID (int PA_MeasureCalc_ID) { if (PA_MeasureCalc_ID <= 0) set_Value ("PA_MeasureCalc_ID", null); else -set_Value ("PA_MeasureCalc_ID", new Integer(PA_MeasureCalc_ID)); +set_Value ("PA_MeasureCalc_ID", Integer.valueOf(PA_MeasureCalc_ID)); } /** Get Measure Calculation. @return Calculation method for measuring performance */ @@ -310,7 +310,7 @@ return ii.intValue(); public void setPA_Measure_ID (int PA_Measure_ID) { if (PA_Measure_ID < 1) throw new IllegalArgumentException ("PA_Measure_ID is mandatory."); -set_ValueNoCheck ("PA_Measure_ID", new Integer(PA_Measure_ID)); +set_ValueNoCheck ("PA_Measure_ID", Integer.valueOf(PA_Measure_ID)); } /** Get Measure. @return Concrete Performance Measurement */ @@ -326,7 +326,7 @@ public void setPA_Ratio_ID (int PA_Ratio_ID) { if (PA_Ratio_ID <= 0) set_Value ("PA_Ratio_ID", null); else -set_Value ("PA_Ratio_ID", new Integer(PA_Ratio_ID)); +set_Value ("PA_Ratio_ID", Integer.valueOf(PA_Ratio_ID)); } /** Get Ratio. @return Performace Ratio */ @@ -342,7 +342,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_Value ("R_RequestType_ID", null); else -set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_Value ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ diff --git a/dbPort/src/org/compiere/model/X_PA_MeasureCalc.java b/dbPort/src/org/compiere/model/X_PA_MeasureCalc.java index 659c28d610..247bcb38f4 100644 --- a/dbPort/src/org/compiere/model/X_PA_MeasureCalc.java +++ b/dbPort/src/org/compiere/model/X_PA_MeasureCalc.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_MeasureCalc * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_MeasureCalc extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_PA_MeasureCalc (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=442 */ -public static final int Table_ID=442; +public static final int Table_ID=MTable.getTable_ID("PA_MeasureCalc"); /** TableName=PA_MeasureCalc */ public static final String Table_Name="PA_MeasureCalc"; -protected static KeyNamePair Model = new KeyNamePair(442,"PA_MeasureCalc"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_MeasureCalc"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -98,7 +98,7 @@ return sb.toString(); public void setAD_Table_ID (int AD_Table_ID) { 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. @return Database Table information */ @@ -247,7 +247,7 @@ return (String)get_Value("OrgColumn"); public void setPA_MeasureCalc_ID (int PA_MeasureCalc_ID) { if (PA_MeasureCalc_ID < 1) throw new IllegalArgumentException ("PA_MeasureCalc_ID is mandatory."); -set_ValueNoCheck ("PA_MeasureCalc_ID", new Integer(PA_MeasureCalc_ID)); +set_ValueNoCheck ("PA_MeasureCalc_ID", Integer.valueOf(PA_MeasureCalc_ID)); } /** Get Measure Calculation. @return Calculation method for measuring performance */ diff --git a/dbPort/src/org/compiere/model/X_PA_Ratio.java b/dbPort/src/org/compiere/model/X_PA_Ratio.java index 456cccad6d..a6fc3272ee 100644 --- a/dbPort/src/org/compiere/model/X_PA_Ratio.java +++ b/dbPort/src/org/compiere/model/X_PA_Ratio.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Ratio * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Ratio extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_PA_Ratio (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=835 */ -public static final int Table_ID=835; +public static final int Table_ID=MTable.getTable_ID("PA_Ratio"); /** TableName=PA_Ratio */ public static final String Table_Name="PA_Ratio"; -protected static KeyNamePair Model = new KeyNamePair(835,"PA_Ratio"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Ratio"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -165,7 +165,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_Ratio_ID (int PA_Ratio_ID) { if (PA_Ratio_ID < 1) throw new IllegalArgumentException ("PA_Ratio_ID is mandatory."); -set_ValueNoCheck ("PA_Ratio_ID", new Integer(PA_Ratio_ID)); +set_ValueNoCheck ("PA_Ratio_ID", Integer.valueOf(PA_Ratio_ID)); } /** Get Ratio. @return Performace Ratio */ diff --git a/dbPort/src/org/compiere/model/X_PA_RatioElement.java b/dbPort/src/org/compiere/model/X_PA_RatioElement.java index f18a607657..b824eacb3b 100644 --- a/dbPort/src/org/compiere/model/X_PA_RatioElement.java +++ b/dbPort/src/org/compiere/model/X_PA_RatioElement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_RatioElement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_RatioElement extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_PA_RatioElement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=836 */ -public static final int Table_ID=836; +public static final int Table_ID=MTable.getTable_ID("PA_RatioElement"); /** TableName=PA_RatioElement */ public static final String Table_Name="PA_RatioElement"; -protected static KeyNamePair Model = new KeyNamePair(836,"PA_RatioElement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_RatioElement"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -99,7 +99,7 @@ public void setAccount_ID (int Account_ID) { if (Account_ID <= 0) set_Value ("Account_ID", null); else -set_Value ("Account_ID", new Integer(Account_ID)); +set_Value ("Account_ID", Integer.valueOf(Account_ID)); } /** Get Account. @return Account used */ @@ -164,7 +164,7 @@ public void setPA_MeasureCalc_ID (int PA_MeasureCalc_ID) { if (PA_MeasureCalc_ID <= 0) set_Value ("PA_MeasureCalc_ID", null); else -set_Value ("PA_MeasureCalc_ID", new Integer(PA_MeasureCalc_ID)); +set_Value ("PA_MeasureCalc_ID", Integer.valueOf(PA_MeasureCalc_ID)); } /** Get Measure Calculation. @return Calculation method for measuring performance */ @@ -179,7 +179,7 @@ return ii.intValue(); public void setPA_RatioElement_ID (int PA_RatioElement_ID) { if (PA_RatioElement_ID < 1) throw new IllegalArgumentException ("PA_RatioElement_ID is mandatory."); -set_ValueNoCheck ("PA_RatioElement_ID", new Integer(PA_RatioElement_ID)); +set_ValueNoCheck ("PA_RatioElement_ID", Integer.valueOf(PA_RatioElement_ID)); } /** Get Ratio Element. @return Performance Ratio Element */ @@ -198,7 +198,7 @@ public void setPA_RatioUsed_ID (int PA_RatioUsed_ID) { if (PA_RatioUsed_ID <= 0) set_Value ("PA_RatioUsed_ID", null); else -set_Value ("PA_RatioUsed_ID", new Integer(PA_RatioUsed_ID)); +set_Value ("PA_RatioUsed_ID", Integer.valueOf(PA_RatioUsed_ID)); } /** Get Ratio Used. @return Performace Ratio Used */ @@ -213,7 +213,7 @@ return ii.intValue(); public void setPA_Ratio_ID (int PA_Ratio_ID) { if (PA_Ratio_ID < 1) throw new IllegalArgumentException ("PA_Ratio_ID is mandatory."); -set_ValueNoCheck ("PA_Ratio_ID", new Integer(PA_Ratio_ID)); +set_ValueNoCheck ("PA_Ratio_ID", Integer.valueOf(PA_Ratio_ID)); } /** Get Ratio. @return Performace Ratio */ @@ -322,7 +322,7 @@ return (String)get_Value("RatioOperand"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_PA_Report.java b/dbPort/src/org/compiere/model/X_PA_Report.java index 606fd475a7..17a7bfc02b 100644 --- a/dbPort/src/org/compiere/model/X_PA_Report.java +++ b/dbPort/src/org/compiere/model/X_PA_Report.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_Report * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_Report extends PO { /** Standard Constructor @@ -61,12 +61,12 @@ public X_PA_Report (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=445 */ -public static final int Table_ID=445; +public static final int Table_ID=MTable.getTable_ID("PA_Report"); /** TableName=PA_Report */ public static final String Table_Name="PA_Report"; -protected static KeyNamePair Model = new KeyNamePair(445,"PA_Report"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_Report"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ public void setAD_PrintFormat_ID (int AD_PrintFormat_ID) { if (AD_PrintFormat_ID <= 0) set_Value ("AD_PrintFormat_ID", null); else -set_Value ("AD_PrintFormat_ID", new Integer(AD_PrintFormat_ID)); +set_Value ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID)); } /** Get Print Format. @return Data Print Format */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setC_AcctSchema_ID (int C_AcctSchema_ID) { if (C_AcctSchema_ID < 1) throw new IllegalArgumentException ("C_AcctSchema_ID is mandatory."); -set_Value ("C_AcctSchema_ID", new Integer(C_AcctSchema_ID)); +set_Value ("C_AcctSchema_ID", Integer.valueOf(C_AcctSchema_ID)); } /** Get Accounting Schema. @return Rules for accounting */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setC_Calendar_ID (int C_Calendar_ID) { if (C_Calendar_ID < 1) throw new IllegalArgumentException ("C_Calendar_ID is mandatory."); -set_Value ("C_Calendar_ID", new Integer(C_Calendar_ID)); +set_Value ("C_Calendar_ID", Integer.valueOf(C_Calendar_ID)); } /** Get Calendar. @return Accounting Calendar Name */ @@ -160,7 +160,7 @@ return (String)get_Value("Description"); @param ListSources List Report Line Sources */ public void setListSources (boolean ListSources) { -set_Value ("ListSources", new Boolean(ListSources)); +set_Value ("ListSources", Boolean.valueOf(ListSources)); } /** Get List Sources. @return List Report Line Sources */ @@ -178,7 +178,7 @@ return false; @param ListTrx List the report transactions */ public void setListTrx (boolean ListTrx) { -set_Value ("ListTrx", new Boolean(ListTrx)); +set_Value ("ListTrx", Boolean.valueOf(ListTrx)); } /** Get List Transactions. @return List the report transactions */ @@ -221,7 +221,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_ReportColumnSet_ID (int PA_ReportColumnSet_ID) { if (PA_ReportColumnSet_ID < 1) throw new IllegalArgumentException ("PA_ReportColumnSet_ID is mandatory."); -set_Value ("PA_ReportColumnSet_ID", new Integer(PA_ReportColumnSet_ID)); +set_Value ("PA_ReportColumnSet_ID", Integer.valueOf(PA_ReportColumnSet_ID)); } /** Get Report Column Set. @return Collection of Columns for Report */ @@ -236,7 +236,7 @@ return ii.intValue(); public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID) { if (PA_ReportLineSet_ID < 1) throw new IllegalArgumentException ("PA_ReportLineSet_ID is mandatory."); -set_Value ("PA_ReportLineSet_ID", new Integer(PA_ReportLineSet_ID)); +set_Value ("PA_ReportLineSet_ID", Integer.valueOf(PA_ReportLineSet_ID)); } /** Get Report Line Set. @return Report Line Set */ @@ -251,7 +251,7 @@ return ii.intValue(); public void setPA_Report_ID (int PA_Report_ID) { if (PA_Report_ID < 1) throw new IllegalArgumentException ("PA_Report_ID is mandatory."); -set_ValueNoCheck ("PA_Report_ID", new Integer(PA_Report_ID)); +set_ValueNoCheck ("PA_Report_ID", Integer.valueOf(PA_Report_ID)); } /** Get Financial Report. @return Financial Report */ @@ -265,7 +265,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_PA_ReportColumn.java b/dbPort/src/org/compiere/model/X_PA_ReportColumn.java index f42358f205..a8ee3f8576 100644 --- a/dbPort/src/org/compiere/model/X_PA_ReportColumn.java +++ b/dbPort/src/org/compiere/model/X_PA_ReportColumn.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_ReportColumn * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_ReportColumn extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_PA_ReportColumn (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=446 */ -public static final int Table_ID=446; +public static final int Table_ID=MTable.getTable_ID("PA_ReportColumn"); /** TableName=PA_ReportColumn */ public static final String Table_Name="PA_ReportColumn"; -protected static KeyNamePair Model = new KeyNamePair(446,"PA_ReportColumn"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_ReportColumn"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -143,7 +143,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -159,7 +159,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -175,7 +175,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -191,7 +191,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -207,7 +207,7 @@ public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID <= 0) set_Value ("C_ElementValue_ID", null); else -set_Value ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_Value ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -223,7 +223,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -239,7 +239,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -255,7 +255,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -427,7 +427,7 @@ public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID <= 0) set_Value ("GL_Budget_ID", null); else -set_Value ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_Value ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -441,7 +441,7 @@ return ii.intValue(); @param IsAdhocConversion Perform conversion for all amounts to currency */ public void setIsAdhocConversion (boolean IsAdhocConversion) { -set_Value ("IsAdhocConversion", new Boolean(IsAdhocConversion)); +set_Value ("IsAdhocConversion", Boolean.valueOf(IsAdhocConversion)); } /** Get Adhoc Conversion. @return Perform conversion for all amounts to currency */ @@ -459,7 +459,7 @@ return false; @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -479,7 +479,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -522,7 +522,7 @@ public void setOper_1_ID (int Oper_1_ID) { if (Oper_1_ID <= 0) set_Value ("Oper_1_ID", null); else -set_Value ("Oper_1_ID", new Integer(Oper_1_ID)); +set_Value ("Oper_1_ID", Integer.valueOf(Oper_1_ID)); } /** Get Operand 1. @return First operand for calculation */ @@ -541,7 +541,7 @@ public void setOper_2_ID (int Oper_2_ID) { if (Oper_2_ID <= 0) set_Value ("Oper_2_ID", null); else -set_Value ("Oper_2_ID", new Integer(Oper_2_ID)); +set_Value ("Oper_2_ID", Integer.valueOf(Oper_2_ID)); } /** Get Operand 2. @return Second operand for calculation */ @@ -560,7 +560,7 @@ public void setOrg_ID (int Org_ID) { if (Org_ID <= 0) set_Value ("Org_ID", null); else -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ @@ -575,7 +575,7 @@ return ii.intValue(); public void setPA_ReportColumnSet_ID (int PA_ReportColumnSet_ID) { if (PA_ReportColumnSet_ID < 1) throw new IllegalArgumentException ("PA_ReportColumnSet_ID is mandatory."); -set_ValueNoCheck ("PA_ReportColumnSet_ID", new Integer(PA_ReportColumnSet_ID)); +set_ValueNoCheck ("PA_ReportColumnSet_ID", Integer.valueOf(PA_ReportColumnSet_ID)); } /** Get Report Column Set. @return Collection of Columns for Report */ @@ -590,7 +590,7 @@ return ii.intValue(); public void setPA_ReportColumn_ID (int PA_ReportColumn_ID) { if (PA_ReportColumn_ID < 1) throw new IllegalArgumentException ("PA_ReportColumn_ID is mandatory."); -set_ValueNoCheck ("PA_ReportColumn_ID", new Integer(PA_ReportColumn_ID)); +set_ValueNoCheck ("PA_ReportColumn_ID", Integer.valueOf(PA_ReportColumn_ID)); } /** Get Report Column. @return Column in Report */ @@ -652,7 +652,7 @@ return bd; lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_PA_ReportColumnSet.java b/dbPort/src/org/compiere/model/X_PA_ReportColumnSet.java index e2f75cc819..64769ef814 100644 --- a/dbPort/src/org/compiere/model/X_PA_ReportColumnSet.java +++ b/dbPort/src/org/compiere/model/X_PA_ReportColumnSet.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_ReportColumnSet * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_ReportColumnSet extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_PA_ReportColumnSet (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=447 */ -public static final int Table_ID=447; +public static final int Table_ID=MTable.getTable_ID("PA_ReportColumnSet"); /** TableName=PA_ReportColumnSet */ public static final String Table_Name="PA_ReportColumnSet"; -protected static KeyNamePair Model = new KeyNamePair(447,"PA_ReportColumnSet"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_ReportColumnSet"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -133,7 +133,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_ReportColumnSet_ID (int PA_ReportColumnSet_ID) { if (PA_ReportColumnSet_ID < 1) throw new IllegalArgumentException ("PA_ReportColumnSet_ID is mandatory."); -set_ValueNoCheck ("PA_ReportColumnSet_ID", new Integer(PA_ReportColumnSet_ID)); +set_ValueNoCheck ("PA_ReportColumnSet_ID", Integer.valueOf(PA_ReportColumnSet_ID)); } /** Get Report Column Set. @return Collection of Columns for Report */ @@ -147,7 +147,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_PA_ReportLine.java b/dbPort/src/org/compiere/model/X_PA_ReportLine.java index 64abc9f2fc..4c742f9f8f 100644 --- a/dbPort/src/org/compiere/model/X_PA_ReportLine.java +++ b/dbPort/src/org/compiere/model/X_PA_ReportLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_ReportLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_ReportLine extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_PA_ReportLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=448 */ -public static final int Table_ID=448; +public static final int Table_ID=MTable.getTable_ID("PA_ReportLine"); /** TableName=PA_ReportLine */ public static final String Table_Name="PA_ReportLine"; -protected static KeyNamePair Model = new KeyNamePair(448,"PA_ReportLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_ReportLine"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -189,7 +189,7 @@ public void setGL_Budget_ID (int GL_Budget_ID) { if (GL_Budget_ID <= 0) set_Value ("GL_Budget_ID", null); else -set_Value ("GL_Budget_ID", new Integer(GL_Budget_ID)); +set_Value ("GL_Budget_ID", Integer.valueOf(GL_Budget_ID)); } /** Get Budget. @return General Ledger Budget */ @@ -203,7 +203,7 @@ return ii.intValue(); @param IsPrinted Indicates if this document / line is printed */ public void setIsPrinted (boolean IsPrinted) { -set_Value ("IsPrinted", new Boolean(IsPrinted)); +set_Value ("IsPrinted", Boolean.valueOf(IsPrinted)); } /** Get Printed. @return Indicates if this document / line is printed */ @@ -277,7 +277,7 @@ public void setOper_1_ID (int Oper_1_ID) { if (Oper_1_ID <= 0) set_Value ("Oper_1_ID", null); else -set_Value ("Oper_1_ID", new Integer(Oper_1_ID)); +set_Value ("Oper_1_ID", Integer.valueOf(Oper_1_ID)); } /** Get Operand 1. @return First operand for calculation */ @@ -296,7 +296,7 @@ public void setOper_2_ID (int Oper_2_ID) { if (Oper_2_ID <= 0) set_Value ("Oper_2_ID", null); else -set_Value ("Oper_2_ID", new Integer(Oper_2_ID)); +set_Value ("Oper_2_ID", Integer.valueOf(Oper_2_ID)); } /** Get Operand 2. @return Second operand for calculation */ @@ -311,7 +311,7 @@ return ii.intValue(); public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID) { if (PA_ReportLineSet_ID < 1) throw new IllegalArgumentException ("PA_ReportLineSet_ID is mandatory."); -set_ValueNoCheck ("PA_ReportLineSet_ID", new Integer(PA_ReportLineSet_ID)); +set_ValueNoCheck ("PA_ReportLineSet_ID", Integer.valueOf(PA_ReportLineSet_ID)); } /** Get Report Line Set. @return Report Line Set */ @@ -326,7 +326,7 @@ return ii.intValue(); public void setPA_ReportLine_ID (int PA_ReportLine_ID) { if (PA_ReportLine_ID < 1) throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); -set_ValueNoCheck ("PA_ReportLine_ID", new Integer(PA_ReportLine_ID)); +set_ValueNoCheck ("PA_ReportLine_ID", Integer.valueOf(PA_ReportLine_ID)); } /** Get Report Line. @return Report Line */ @@ -373,7 +373,7 @@ return (String)get_Value("PostingType"); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_PA_ReportLineSet.java b/dbPort/src/org/compiere/model/X_PA_ReportLineSet.java index 915a10d44b..a835684211 100644 --- a/dbPort/src/org/compiere/model/X_PA_ReportLineSet.java +++ b/dbPort/src/org/compiere/model/X_PA_ReportLineSet.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_ReportLineSet * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_ReportLineSet extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_PA_ReportLineSet (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=449 */ -public static final int Table_ID=449; +public static final int Table_ID=MTable.getTable_ID("PA_ReportLineSet"); /** TableName=PA_ReportLineSet */ public static final String Table_Name="PA_ReportLineSet"; -protected static KeyNamePair Model = new KeyNamePair(449,"PA_ReportLineSet"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_ReportLineSet"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -133,7 +133,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID) { if (PA_ReportLineSet_ID < 1) throw new IllegalArgumentException ("PA_ReportLineSet_ID is mandatory."); -set_ValueNoCheck ("PA_ReportLineSet_ID", new Integer(PA_ReportLineSet_ID)); +set_ValueNoCheck ("PA_ReportLineSet_ID", Integer.valueOf(PA_ReportLineSet_ID)); } /** Get Report Line Set. @return Report Line Set */ @@ -147,7 +147,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_PA_ReportSource.java b/dbPort/src/org/compiere/model/X_PA_ReportSource.java index b4f2c49c3d..c6e128090f 100644 --- a/dbPort/src/org/compiere/model/X_PA_ReportSource.java +++ b/dbPort/src/org/compiere/model/X_PA_ReportSource.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_ReportSource * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_ReportSource extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_PA_ReportSource (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=450 */ -public static final int Table_ID=450; +public static final int Table_ID=MTable.getTable_ID("PA_ReportSource"); /** TableName=PA_ReportSource */ public static final String Table_Name="PA_ReportSource"; -protected static KeyNamePair Model = new KeyNamePair(450,"PA_ReportSource"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_ReportSource"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -109,7 +109,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -125,7 +125,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -144,7 +144,7 @@ public void setC_ElementValue_ID (int C_ElementValue_ID) { if (C_ElementValue_ID <= 0) set_Value ("C_ElementValue_ID", null); else -set_Value ("C_ElementValue_ID", new Integer(C_ElementValue_ID)); +set_Value ("C_ElementValue_ID", Integer.valueOf(C_ElementValue_ID)); } /** Get Account Element. @return Account Element */ @@ -160,7 +160,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -176,7 +176,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -192,7 +192,7 @@ public void setC_SalesRegion_ID (int C_SalesRegion_ID) { if (C_SalesRegion_ID <= 0) set_Value ("C_SalesRegion_ID", null); else -set_Value ("C_SalesRegion_ID", new Integer(C_SalesRegion_ID)); +set_Value ("C_SalesRegion_ID", Integer.valueOf(C_SalesRegion_ID)); } /** Get Sales Region. @return Sales coverage region */ @@ -286,7 +286,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -305,7 +305,7 @@ public void setOrg_ID (int Org_ID) { if (Org_ID <= 0) set_Value ("Org_ID", null); else -set_Value ("Org_ID", new Integer(Org_ID)); +set_Value ("Org_ID", Integer.valueOf(Org_ID)); } /** Get Organization. @return Organizational entity within client */ @@ -320,7 +320,7 @@ return ii.intValue(); public void setPA_ReportLine_ID (int PA_ReportLine_ID) { if (PA_ReportLine_ID < 1) throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); -set_ValueNoCheck ("PA_ReportLine_ID", new Integer(PA_ReportLine_ID)); +set_ValueNoCheck ("PA_ReportLine_ID", Integer.valueOf(PA_ReportLine_ID)); } /** Get Report Line. @return Report Line */ @@ -335,7 +335,7 @@ return ii.intValue(); public void setPA_ReportSource_ID (int PA_ReportSource_ID) { if (PA_ReportSource_ID < 1) throw new IllegalArgumentException ("PA_ReportSource_ID is mandatory."); -set_ValueNoCheck ("PA_ReportSource_ID", new Integer(PA_ReportSource_ID)); +set_ValueNoCheck ("PA_ReportSource_ID", Integer.valueOf(PA_ReportSource_ID)); } /** Get Report Source. @return Restriction of what will be shown in Report Line */ diff --git a/dbPort/src/org/compiere/model/X_PA_SLA_Criteria.java b/dbPort/src/org/compiere/model/X_PA_SLA_Criteria.java index 835992c15b..d881bee017 100644 --- a/dbPort/src/org/compiere/model/X_PA_SLA_Criteria.java +++ b/dbPort/src/org/compiere/model/X_PA_SLA_Criteria.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_SLA_Criteria * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_SLA_Criteria extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_PA_SLA_Criteria (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=744 */ -public static final int Table_ID=744; +public static final int Table_ID=MTable.getTable_ID("PA_SLA_Criteria"); /** TableName=PA_SLA_Criteria */ public static final String Table_Name="PA_SLA_Criteria"; -protected static KeyNamePair Model = new KeyNamePair(744,"PA_SLA_Criteria"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_SLA_Criteria"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -142,7 +142,7 @@ return (String)get_Value("Help"); @param IsManual This is a manual process */ public void setIsManual (boolean IsManual) { -set_Value ("IsManual", new Boolean(IsManual)); +set_Value ("IsManual", Boolean.valueOf(IsManual)); } /** Get Manual. @return This is a manual process */ @@ -185,7 +185,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_SLA_Criteria_ID (int PA_SLA_Criteria_ID) { if (PA_SLA_Criteria_ID < 1) throw new IllegalArgumentException ("PA_SLA_Criteria_ID is mandatory."); -set_ValueNoCheck ("PA_SLA_Criteria_ID", new Integer(PA_SLA_Criteria_ID)); +set_ValueNoCheck ("PA_SLA_Criteria_ID", Integer.valueOf(PA_SLA_Criteria_ID)); } /** Get SLA Criteria. @return Service Level Agreement Criteria */ diff --git a/dbPort/src/org/compiere/model/X_PA_SLA_Goal.java b/dbPort/src/org/compiere/model/X_PA_SLA_Goal.java index 001f1ed496..b3b106df92 100644 --- a/dbPort/src/org/compiere/model/X_PA_SLA_Goal.java +++ b/dbPort/src/org/compiere/model/X_PA_SLA_Goal.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_SLA_Goal * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_SLA_Goal extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_PA_SLA_Goal (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=745 */ -public static final int Table_ID=745; +public static final int Table_ID=MTable.getTable_ID("PA_SLA_Goal"); /** TableName=PA_SLA_Goal */ public static final String Table_Name="PA_SLA_Goal"; -protected static KeyNamePair Model = new KeyNamePair(745,"PA_SLA_Goal"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_SLA_Goal"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -211,7 +211,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_SLA_Criteria_ID (int PA_SLA_Criteria_ID) { if (PA_SLA_Criteria_ID < 1) throw new IllegalArgumentException ("PA_SLA_Criteria_ID is mandatory."); -set_Value ("PA_SLA_Criteria_ID", new Integer(PA_SLA_Criteria_ID)); +set_Value ("PA_SLA_Criteria_ID", Integer.valueOf(PA_SLA_Criteria_ID)); } /** Get SLA Criteria. @return Service Level Agreement Criteria */ @@ -226,7 +226,7 @@ return ii.intValue(); public void setPA_SLA_Goal_ID (int PA_SLA_Goal_ID) { if (PA_SLA_Goal_ID < 1) throw new IllegalArgumentException ("PA_SLA_Goal_ID is mandatory."); -set_ValueNoCheck ("PA_SLA_Goal_ID", new Integer(PA_SLA_Goal_ID)); +set_ValueNoCheck ("PA_SLA_Goal_ID", Integer.valueOf(PA_SLA_Goal_ID)); } /** Get SLA Goal. @return Service Level Agreement Goal */ @@ -240,7 +240,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -258,7 +258,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ diff --git a/dbPort/src/org/compiere/model/X_PA_SLA_Measure.java b/dbPort/src/org/compiere/model/X_PA_SLA_Measure.java index 09e7d3f97d..051dbe175f 100644 --- a/dbPort/src/org/compiere/model/X_PA_SLA_Measure.java +++ b/dbPort/src/org/compiere/model/X_PA_SLA_Measure.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for PA_SLA_Measure * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_PA_SLA_Measure extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_PA_SLA_Measure (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=743 */ -public static final int Table_ID=743; +public static final int Table_ID=MTable.getTable_ID("PA_SLA_Measure"); /** TableName=PA_SLA_Measure */ public static final String Table_Name="PA_SLA_Measure"; -protected static KeyNamePair Model = new KeyNamePair(743,"PA_SLA_Measure"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"PA_SLA_Measure"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_Value ("AD_Table_ID", null); else -set_Value ("AD_Table_ID", new Integer(AD_Table_ID)); +set_Value ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -161,7 +161,7 @@ return bd; public void setPA_SLA_Goal_ID (int PA_SLA_Goal_ID) { if (PA_SLA_Goal_ID < 1) throw new IllegalArgumentException ("PA_SLA_Goal_ID is mandatory."); -set_ValueNoCheck ("PA_SLA_Goal_ID", new Integer(PA_SLA_Goal_ID)); +set_ValueNoCheck ("PA_SLA_Goal_ID", Integer.valueOf(PA_SLA_Goal_ID)); } /** Get SLA Goal. @return Service Level Agreement Goal */ @@ -176,7 +176,7 @@ return ii.intValue(); public void setPA_SLA_Measure_ID (int PA_SLA_Measure_ID) { if (PA_SLA_Measure_ID < 1) throw new IllegalArgumentException ("PA_SLA_Measure_ID is mandatory."); -set_ValueNoCheck ("PA_SLA_Measure_ID", new Integer(PA_SLA_Measure_ID)); +set_ValueNoCheck ("PA_SLA_Measure_ID", Integer.valueOf(PA_SLA_Measure_ID)); } /** Get SLA Measure. @return Service Level Agreement Measure */ @@ -190,7 +190,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -208,7 +208,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -228,7 +228,7 @@ public void setRecord_ID (int Record_ID) { if (Record_ID <= 0) set_Value ("Record_ID", null); else -set_Value ("Record_ID", new Integer(Record_ID)); +set_Value ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ diff --git a/dbPort/src/org/compiere/model/X_RV_BPartner.java b/dbPort/src/org/compiere/model/X_RV_BPartner.java index 26826d0fa2..b20d17296d 100644 --- a/dbPort/src/org/compiere/model/X_RV_BPartner.java +++ b/dbPort/src/org/compiere/model/X_RV_BPartner.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for RV_BPartner * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_RV_BPartner extends PO { /** Standard Constructor @@ -70,12 +70,12 @@ public X_RV_BPartner (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=520 */ -public static final int Table_ID=520; +public static final int Table_ID=MTable.getTable_ID("RV_BPartner"); /** TableName=RV_BPartner */ public static final String Table_Name="RV_BPartner"; -protected static KeyNamePair Model = new KeyNamePair(520,"RV_BPartner"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"RV_BPartner"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -131,7 +131,7 @@ public void setAD_OrgBP_ID (int AD_OrgBP_ID) { if (AD_OrgBP_ID <= 0) set_ValueNoCheck ("AD_OrgBP_ID", null); else -set_ValueNoCheck ("AD_OrgBP_ID", new Integer(AD_OrgBP_ID)); +set_ValueNoCheck ("AD_OrgBP_ID", Integer.valueOf(AD_OrgBP_ID)); } /** Get Linked Organization. @return The Business Partner is another Organization for explicit Inter-Org transactions */ @@ -150,7 +150,7 @@ public void setAD_OrgTrx_ID (int AD_OrgTrx_ID) { if (AD_OrgTrx_ID <= 0) set_ValueNoCheck ("AD_OrgTrx_ID", null); else -set_ValueNoCheck ("AD_OrgTrx_ID", new Integer(AD_OrgTrx_ID)); +set_ValueNoCheck ("AD_OrgTrx_ID", Integer.valueOf(AD_OrgTrx_ID)); } /** Get Trx Organization. @return Performing or initiating organization */ @@ -166,7 +166,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_ValueNoCheck ("AD_User_ID", null); else -set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); +set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -262,7 +262,7 @@ public static final int BPCONTACTGREETING_AD_Reference_ID=356; @param BPContactGreeting Greeting for Business Partner Contact */ public void setBPContactGreeting (int BPContactGreeting) { -set_ValueNoCheck ("BPContactGreeting", new Integer(BPContactGreeting)); +set_ValueNoCheck ("BPContactGreeting", Integer.valueOf(BPContactGreeting)); } /** Get BP Contact Greeting. @return Greeting for Business Partner Contact */ @@ -281,7 +281,7 @@ public void setBPartner_Parent_ID (int BPartner_Parent_ID) { if (BPartner_Parent_ID <= 0) set_ValueNoCheck ("BPartner_Parent_ID", null); else -set_ValueNoCheck ("BPartner_Parent_ID", new Integer(BPartner_Parent_ID)); +set_ValueNoCheck ("BPartner_Parent_ID", Integer.valueOf(BPartner_Parent_ID)); } /** Get Partner Parent. @return Business Partner Parent */ @@ -308,7 +308,7 @@ return (Timestamp)get_Value("Birthday"); public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID < 1) throw new IllegalArgumentException ("C_BP_Group_ID is mandatory."); -set_ValueNoCheck ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_ValueNoCheck ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -323,7 +323,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -338,7 +338,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_ValueNoCheck ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -353,7 +353,7 @@ return ii.intValue(); public void setC_Country_ID (int C_Country_ID) { if (C_Country_ID < 1) throw new IllegalArgumentException ("C_Country_ID is mandatory."); -set_ValueNoCheck ("C_Country_ID", new Integer(C_Country_ID)); +set_ValueNoCheck ("C_Country_ID", Integer.valueOf(C_Country_ID)); } /** Get Country. @return Country */ @@ -369,7 +369,7 @@ public void setC_Dunning_ID (int C_Dunning_ID) { if (C_Dunning_ID <= 0) set_ValueNoCheck ("C_Dunning_ID", null); else -set_ValueNoCheck ("C_Dunning_ID", new Integer(C_Dunning_ID)); +set_ValueNoCheck ("C_Dunning_ID", Integer.valueOf(C_Dunning_ID)); } /** Get Dunning. @return Dunning Rules for overdue invoices */ @@ -385,7 +385,7 @@ public void setC_Greeting_ID (int C_Greeting_ID) { if (C_Greeting_ID <= 0) set_ValueNoCheck ("C_Greeting_ID", null); else -set_ValueNoCheck ("C_Greeting_ID", new Integer(C_Greeting_ID)); +set_ValueNoCheck ("C_Greeting_ID", Integer.valueOf(C_Greeting_ID)); } /** Get Greeting. @return Greeting to print on correspondence */ @@ -401,7 +401,7 @@ public void setC_InvoiceSchedule_ID (int C_InvoiceSchedule_ID) { if (C_InvoiceSchedule_ID <= 0) set_ValueNoCheck ("C_InvoiceSchedule_ID", null); else -set_ValueNoCheck ("C_InvoiceSchedule_ID", new Integer(C_InvoiceSchedule_ID)); +set_ValueNoCheck ("C_InvoiceSchedule_ID", Integer.valueOf(C_InvoiceSchedule_ID)); } /** Get Invoice Schedule. @return Schedule for generating Invoices */ @@ -417,7 +417,7 @@ public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID <= 0) set_ValueNoCheck ("C_PaymentTerm_ID", null); else -set_ValueNoCheck ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_ValueNoCheck ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -433,7 +433,7 @@ public void setC_Region_ID (int C_Region_ID) { if (C_Region_ID <= 0) set_ValueNoCheck ("C_Region_ID", null); else -set_ValueNoCheck ("C_Region_ID", new Integer(C_Region_ID)); +set_ValueNoCheck ("C_Region_ID", Integer.valueOf(C_Region_ID)); } /** Get Region. @return Identifies a geographical Region */ @@ -630,7 +630,7 @@ return (String)get_Value("Description"); @param DocumentCopies Number of copies to be printed */ public void setDocumentCopies (int DocumentCopies) { -set_ValueNoCheck ("DocumentCopies", new Integer(DocumentCopies)); +set_ValueNoCheck ("DocumentCopies", Integer.valueOf(DocumentCopies)); } /** Get Document Copies. @return Number of copies to be printed */ @@ -815,7 +815,7 @@ public void setInvoice_PrintFormat_ID (int Invoice_PrintFormat_ID) { if (Invoice_PrintFormat_ID <= 0) set_ValueNoCheck ("Invoice_PrintFormat_ID", null); else -set_ValueNoCheck ("Invoice_PrintFormat_ID", new Integer(Invoice_PrintFormat_ID)); +set_ValueNoCheck ("Invoice_PrintFormat_ID", Integer.valueOf(Invoice_PrintFormat_ID)); } /** Get Invoice Print Format. @return Print Format for printing Invoices */ @@ -829,7 +829,7 @@ return ii.intValue(); @param IsCustomer Indicates if this Business Partner is a Customer */ public void setIsCustomer (boolean IsCustomer) { -set_ValueNoCheck ("IsCustomer", new Boolean(IsCustomer)); +set_ValueNoCheck ("IsCustomer", Boolean.valueOf(IsCustomer)); } /** Get Customer. @return Indicates if this Business Partner is a Customer */ @@ -847,7 +847,7 @@ return false; @param IsDiscountPrinted Print Discount on Invoice and Order */ public void setIsDiscountPrinted (boolean IsDiscountPrinted) { -set_ValueNoCheck ("IsDiscountPrinted", new Boolean(IsDiscountPrinted)); +set_ValueNoCheck ("IsDiscountPrinted", Boolean.valueOf(IsDiscountPrinted)); } /** Get Discount Printed. @return Print Discount on Invoice and Order */ @@ -865,7 +865,7 @@ return false; @param IsEmployee Indicates if this Business Partner is an employee */ public void setIsEmployee (boolean IsEmployee) { -set_ValueNoCheck ("IsEmployee", new Boolean(IsEmployee)); +set_ValueNoCheck ("IsEmployee", Boolean.valueOf(IsEmployee)); } /** Get Employee. @return Indicates if this Business Partner is an employee */ @@ -883,7 +883,7 @@ return false; @param IsOneTime One time transaction */ public void setIsOneTime (boolean IsOneTime) { -set_ValueNoCheck ("IsOneTime", new Boolean(IsOneTime)); +set_ValueNoCheck ("IsOneTime", Boolean.valueOf(IsOneTime)); } /** Get One time transaction. @return One time transaction */ @@ -901,7 +901,7 @@ return false; @param IsProspect Indicates this is a Prospect */ public void setIsProspect (boolean IsProspect) { -set_ValueNoCheck ("IsProspect", new Boolean(IsProspect)); +set_ValueNoCheck ("IsProspect", Boolean.valueOf(IsProspect)); } /** Get Prospect. @return Indicates this is a Prospect */ @@ -919,7 +919,7 @@ return false; @param IsSalesRep Indicates if the business partner is a sales representative or company agent */ public void setIsSalesRep (boolean IsSalesRep) { -set_ValueNoCheck ("IsSalesRep", new Boolean(IsSalesRep)); +set_ValueNoCheck ("IsSalesRep", Boolean.valueOf(IsSalesRep)); } /** Get Sales Representative. @return Indicates if the business partner is a sales representative or company agent */ @@ -937,7 +937,7 @@ return false; @param IsSummary This is a summary entity */ public void setIsSummary (boolean IsSummary) { -set_ValueNoCheck ("IsSummary", new Boolean(IsSummary)); +set_ValueNoCheck ("IsSummary", Boolean.valueOf(IsSummary)); } /** Get Summary Level. @return This is a summary entity */ @@ -955,7 +955,7 @@ return false; @param IsTaxExempt Business partner is exempt from tax */ public void setIsTaxExempt (boolean IsTaxExempt) { -set_ValueNoCheck ("IsTaxExempt", new Boolean(IsTaxExempt)); +set_ValueNoCheck ("IsTaxExempt", Boolean.valueOf(IsTaxExempt)); } /** Get Tax exempt. @return Business partner is exempt from tax */ @@ -973,7 +973,7 @@ return false; @param IsVendor Indicates if this Business Partner is a Vendor */ public void setIsVendor (boolean IsVendor) { -set_ValueNoCheck ("IsVendor", new Boolean(IsVendor)); +set_ValueNoCheck ("IsVendor", Boolean.valueOf(IsVendor)); } /** Get Vendor. @return Indicates if this Business Partner is a Vendor */ @@ -991,7 +991,7 @@ return false; @param LDAPUser User Name used for authorization via LDAP (directory) services */ public void setLDAPUser (boolean LDAPUser) { -set_ValueNoCheck ("LDAPUser", new Boolean(LDAPUser)); +set_ValueNoCheck ("LDAPUser", Boolean.valueOf(LDAPUser)); } /** Get LDAP User Name. @return User Name used for authorization via LDAP (directory) services */ @@ -1040,7 +1040,7 @@ public void setM_DiscountSchema_ID (int M_DiscountSchema_ID) { if (M_DiscountSchema_ID <= 0) set_ValueNoCheck ("M_DiscountSchema_ID", null); else -set_ValueNoCheck ("M_DiscountSchema_ID", new Integer(M_DiscountSchema_ID)); +set_ValueNoCheck ("M_DiscountSchema_ID", Integer.valueOf(M_DiscountSchema_ID)); } /** Get Discount Schema. @return Schema to calculate the trade discount percentage */ @@ -1056,7 +1056,7 @@ public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID <= 0) set_ValueNoCheck ("M_PriceList_ID", null); else -set_ValueNoCheck ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_ValueNoCheck ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -1153,7 +1153,7 @@ return (String)get_Value("NotificationType"); @param NumberEmployees Number of employees */ public void setNumberEmployees (int NumberEmployees) { -set_ValueNoCheck ("NumberEmployees", new Integer(NumberEmployees)); +set_ValueNoCheck ("NumberEmployees", Integer.valueOf(NumberEmployees)); } /** Get Employees. @return Number of employees */ @@ -1189,7 +1189,7 @@ public void setPO_DiscountSchema_ID (int PO_DiscountSchema_ID) { if (PO_DiscountSchema_ID <= 0) set_ValueNoCheck ("PO_DiscountSchema_ID", null); else -set_ValueNoCheck ("PO_DiscountSchema_ID", new Integer(PO_DiscountSchema_ID)); +set_ValueNoCheck ("PO_DiscountSchema_ID", Integer.valueOf(PO_DiscountSchema_ID)); } /** Get PO Discount Schema. @return Schema to calculate the purchase trade discount percentage */ @@ -1208,7 +1208,7 @@ public void setPO_PaymentTerm_ID (int PO_PaymentTerm_ID) { if (PO_PaymentTerm_ID <= 0) set_ValueNoCheck ("PO_PaymentTerm_ID", null); else -set_ValueNoCheck ("PO_PaymentTerm_ID", new Integer(PO_PaymentTerm_ID)); +set_ValueNoCheck ("PO_PaymentTerm_ID", Integer.valueOf(PO_PaymentTerm_ID)); } /** Get PO Payment Term. @return Payment rules for a purchase order */ @@ -1227,7 +1227,7 @@ public void setPO_PriceList_ID (int PO_PriceList_ID) { if (PO_PriceList_ID <= 0) set_ValueNoCheck ("PO_PriceList_ID", null); else -set_ValueNoCheck ("PO_PriceList_ID", new Integer(PO_PriceList_ID)); +set_ValueNoCheck ("PO_PriceList_ID", Integer.valueOf(PO_PriceList_ID)); } /** Get Purchase Pricelist. @return Price List used by this Business Partner */ @@ -1521,7 +1521,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_ValueNoCheck ("SalesRep_ID", null); else -set_ValueNoCheck ("SalesRep_ID", new Integer(SalesRep_ID)); +set_ValueNoCheck ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -1549,7 +1549,7 @@ return bd; @param SendEMail Enable sending Document EMail */ public void setSendEMail (boolean SendEMail) { -set_ValueNoCheck ("SendEMail", new Boolean(SendEMail)); +set_ValueNoCheck ("SendEMail", Boolean.valueOf(SendEMail)); } /** Get Send EMail. @return Enable sending Document EMail */ @@ -1567,7 +1567,7 @@ return false; @param ShareOfCustomer Share of Customer's business as a percentage */ public void setShareOfCustomer (int ShareOfCustomer) { -set_ValueNoCheck ("ShareOfCustomer", new Integer(ShareOfCustomer)); +set_ValueNoCheck ("ShareOfCustomer", Integer.valueOf(ShareOfCustomer)); } /** Get Share. @return Share of Customer's business as a percentage */ @@ -1581,7 +1581,7 @@ return ii.intValue(); @param ShelfLifeMinPct Minimum Shelf Life in percent based on Product Instance Guarantee Date */ public void setShelfLifeMinPct (int ShelfLifeMinPct) { -set_ValueNoCheck ("ShelfLifeMinPct", new Integer(ShelfLifeMinPct)); +set_ValueNoCheck ("ShelfLifeMinPct", Integer.valueOf(ShelfLifeMinPct)); } /** Get Min Shelf Life %. @return Minimum Shelf Life in percent based on Product Instance Guarantee Date */ @@ -1600,7 +1600,7 @@ public void setSupervisor_ID (int Supervisor_ID) { if (Supervisor_ID <= 0) set_ValueNoCheck ("Supervisor_ID", null); else -set_ValueNoCheck ("Supervisor_ID", new Integer(Supervisor_ID)); +set_ValueNoCheck ("Supervisor_ID", Integer.valueOf(Supervisor_ID)); } /** Get Supervisor. @return Supervisor for this user/organization - used for escalation and approval */ @@ -1659,7 +1659,7 @@ if (bd == null) return Env.ZERO; return bd; } /** Set URL. -@param URL Full URL address - e.g. http://www.compiere.org */ +@param URL Full URL address - e.g. http://www.adempiere.org */ public void setURL (String URL) { if (URL != null && URL.length() > 120) @@ -1670,7 +1670,7 @@ URL = URL.substring(0,119); set_ValueNoCheck ("URL", URL); } /** Get URL. -@return Full URL address - e.g. http://www.compiere.org */ +@return Full URL address - e.g. http://www.adempiere.org */ public String getURL() { return (String)get_Value("URL"); diff --git a/dbPort/src/org/compiere/model/X_RV_WarehousePrice.java b/dbPort/src/org/compiere/model/X_RV_WarehousePrice.java index c05a88bf79..2af35ef6e0 100644 --- a/dbPort/src/org/compiere/model/X_RV_WarehousePrice.java +++ b/dbPort/src/org/compiere/model/X_RV_WarehousePrice.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for RV_WarehousePrice * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_RV_WarehousePrice extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_RV_WarehousePrice (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=639 */ -public static final int Table_ID=639; +public static final int Table_ID=MTable.getTable_ID("RV_WarehousePrice"); /** TableName=RV_WarehousePrice */ public static final String Table_Name="RV_WarehousePrice"; -protected static KeyNamePair Model = new KeyNamePair(639,"RV_WarehousePrice"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"RV_WarehousePrice"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_ValueNoCheck ("C_UOM_ID", new Integer(C_UOM_ID)); +set_ValueNoCheck ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -110,7 +110,7 @@ return ii.intValue(); @param IsInstanceAttribute The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date) */ public void setIsInstanceAttribute (boolean IsInstanceAttribute) { -set_ValueNoCheck ("IsInstanceAttribute", new Boolean(IsInstanceAttribute)); +set_ValueNoCheck ("IsInstanceAttribute", Boolean.valueOf(IsInstanceAttribute)); } /** Get Instance Attribute. @return The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date) */ @@ -129,7 +129,7 @@ return false; public void setM_PriceList_Version_ID (int M_PriceList_Version_ID) { if (M_PriceList_Version_ID < 1) throw new IllegalArgumentException ("M_PriceList_Version_ID is mandatory."); -set_ValueNoCheck ("M_PriceList_Version_ID", new Integer(M_PriceList_Version_ID)); +set_ValueNoCheck ("M_PriceList_Version_ID", Integer.valueOf(M_PriceList_Version_ID)); } /** Get Price List Version. @return Identifies a unique instance of a Price List */ @@ -144,7 +144,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -159,7 +159,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ diff --git a/dbPort/src/org/compiere/model/X_R_Category.java b/dbPort/src/org/compiere/model/X_R_Category.java index cf57bb1502..ba18f18229 100644 --- a/dbPort/src/org/compiere/model/X_R_Category.java +++ b/dbPort/src/org/compiere/model/X_R_Category.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_Category * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_Category extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_Category (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=772 */ -public static final int Table_ID=772; +public static final int Table_ID=MTable.getTable_ID("R_Category"); /** TableName=R_Category */ public static final String Table_Name="R_Category"; -protected static KeyNamePair Model = new KeyNamePair(772,"R_Category"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_Category"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -126,7 +126,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -165,7 +165,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_Category_ID (int R_Category_ID) { if (R_Category_ID < 1) throw new IllegalArgumentException ("R_Category_ID is mandatory."); -set_ValueNoCheck ("R_Category_ID", new Integer(R_Category_ID)); +set_ValueNoCheck ("R_Category_ID", Integer.valueOf(R_Category_ID)); } /** Get Category. @return Request Category */ diff --git a/dbPort/src/org/compiere/model/X_R_CategoryUpdates.java b/dbPort/src/org/compiere/model/X_R_CategoryUpdates.java index bc46a9fe90..73741aec71 100644 --- a/dbPort/src/org/compiere/model/X_R_CategoryUpdates.java +++ b/dbPort/src/org/compiere/model/X_R_CategoryUpdates.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_CategoryUpdates * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_CategoryUpdates extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_CategoryUpdates (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=785 */ -public static final int Table_ID=785; +public static final int Table_ID=MTable.getTable_ID("R_CategoryUpdates"); /** TableName=R_CategoryUpdates */ public static final String Table_Name="R_CategoryUpdates"; -protected static KeyNamePair Model = new KeyNamePair(785,"R_CategoryUpdates"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_CategoryUpdates"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -106,7 +106,7 @@ return ii.intValue(); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -125,7 +125,7 @@ return false; public void setR_Category_ID (int R_Category_ID) { if (R_Category_ID < 1) throw new IllegalArgumentException ("R_Category_ID is mandatory."); -set_ValueNoCheck ("R_Category_ID", new Integer(R_Category_ID)); +set_ValueNoCheck ("R_Category_ID", Integer.valueOf(R_Category_ID)); } /** Get Category. @return Request Category */ diff --git a/dbPort/src/org/compiere/model/X_R_ContactInterest.java b/dbPort/src/org/compiere/model/X_R_ContactInterest.java index 11b7f3cde9..d98433dae4 100644 --- a/dbPort/src/org/compiere/model/X_R_ContactInterest.java +++ b/dbPort/src/org/compiere/model/X_R_ContactInterest.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_ContactInterest * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_ContactInterest extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_ContactInterest (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=528 */ -public static final int Table_ID=528; +public static final int Table_ID=MTable.getTable_ID("R_ContactInterest"); /** TableName=R_ContactInterest */ public static final String Table_Name="R_ContactInterest"; -protected static KeyNamePair Model = new KeyNamePair(528,"R_ContactInterest"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_ContactInterest"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -91,7 +91,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -124,7 +124,7 @@ return (Timestamp)get_Value("OptOutDate"); public void setR_InterestArea_ID (int R_InterestArea_ID) { if (R_InterestArea_ID < 1) throw new IllegalArgumentException ("R_InterestArea_ID is mandatory."); -set_ValueNoCheck ("R_InterestArea_ID", new Integer(R_InterestArea_ID)); +set_ValueNoCheck ("R_InterestArea_ID", Integer.valueOf(R_InterestArea_ID)); } /** Get Interest Area. @return Interest Area or Topic */ diff --git a/dbPort/src/org/compiere/model/X_R_Group.java b/dbPort/src/org/compiere/model/X_R_Group.java index 463ef975c5..e203ce6c47 100644 --- a/dbPort/src/org/compiere/model/X_R_Group.java +++ b/dbPort/src/org/compiere/model/X_R_Group.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_Group * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_Group extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_Group (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=773 */ -public static final int Table_ID=773; +public static final int Table_ID=MTable.getTable_ID("R_Group"); /** TableName=R_Group */ public static final String Table_Name="R_Group"; -protected static KeyNamePair Model = new KeyNamePair(773,"R_Group"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_Group"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -126,7 +126,7 @@ public void setM_BOM_ID (int M_BOM_ID) { if (M_BOM_ID <= 0) set_Value ("M_BOM_ID", null); else -set_Value ("M_BOM_ID", new Integer(M_BOM_ID)); +set_Value ("M_BOM_ID", Integer.valueOf(M_BOM_ID)); } /** Get BOM. @return Bill of Material */ @@ -142,7 +142,7 @@ public void setM_ChangeNotice_ID (int M_ChangeNotice_ID) { if (M_ChangeNotice_ID <= 0) set_Value ("M_ChangeNotice_ID", null); else -set_Value ("M_ChangeNotice_ID", new Integer(M_ChangeNotice_ID)); +set_Value ("M_ChangeNotice_ID", Integer.valueOf(M_ChangeNotice_ID)); } /** Get Change Notice. @return Bill of Materials (Engineering) Change Notice (Version) */ @@ -181,7 +181,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_Group_ID (int R_Group_ID) { if (R_Group_ID < 1) throw new IllegalArgumentException ("R_Group_ID is mandatory."); -set_ValueNoCheck ("R_Group_ID", new Integer(R_Group_ID)); +set_ValueNoCheck ("R_Group_ID", Integer.valueOf(R_Group_ID)); } /** Get Group. @return Request Group */ diff --git a/dbPort/src/org/compiere/model/X_R_GroupUpdates.java b/dbPort/src/org/compiere/model/X_R_GroupUpdates.java index 04579aa24f..46c597d251 100644 --- a/dbPort/src/org/compiere/model/X_R_GroupUpdates.java +++ b/dbPort/src/org/compiere/model/X_R_GroupUpdates.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_GroupUpdates * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_GroupUpdates extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_GroupUpdates (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=786 */ -public static final int Table_ID=786; +public static final int Table_ID=MTable.getTable_ID("R_GroupUpdates"); /** TableName=R_GroupUpdates */ public static final String Table_Name="R_GroupUpdates"; -protected static KeyNamePair Model = new KeyNamePair(786,"R_GroupUpdates"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_GroupUpdates"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -106,7 +106,7 @@ return ii.intValue(); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -125,7 +125,7 @@ return false; public void setR_Group_ID (int R_Group_ID) { if (R_Group_ID < 1) throw new IllegalArgumentException ("R_Group_ID is mandatory."); -set_ValueNoCheck ("R_Group_ID", new Integer(R_Group_ID)); +set_ValueNoCheck ("R_Group_ID", Integer.valueOf(R_Group_ID)); } /** Get Group. @return Request Group */ diff --git a/dbPort/src/org/compiere/model/X_R_InterestArea.java b/dbPort/src/org/compiere/model/X_R_InterestArea.java index 8a0668692d..ce4c3e4c02 100644 --- a/dbPort/src/org/compiere/model/X_R_InterestArea.java +++ b/dbPort/src/org/compiere/model/X_R_InterestArea.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_InterestArea * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_InterestArea extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_R_InterestArea (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=530 */ -public static final int Table_ID=530; +public static final int Table_ID=MTable.getTable_ID("R_InterestArea"); /** TableName=R_InterestArea */ public static final String Table_Name="R_InterestArea"; -protected static KeyNamePair Model = new KeyNamePair(530,"R_InterestArea"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_InterestArea"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -109,7 +109,7 @@ return (String)get_Value("Description"); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -152,7 +152,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_InterestArea_ID (int R_InterestArea_ID) { if (R_InterestArea_ID < 1) throw new IllegalArgumentException ("R_InterestArea_ID is mandatory."); -set_ValueNoCheck ("R_InterestArea_ID", new Integer(R_InterestArea_ID)); +set_ValueNoCheck ("R_InterestArea_ID", Integer.valueOf(R_InterestArea_ID)); } /** Get Interest Area. @return Interest Area or Topic */ diff --git a/dbPort/src/org/compiere/model/X_R_IssueKnown.java b/dbPort/src/org/compiere/model/X_R_IssueKnown.java index a320ac8724..a13cc92a5a 100644 --- a/dbPort/src/org/compiere/model/X_R_IssueKnown.java +++ b/dbPort/src/org/compiere/model/X_R_IssueKnown.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_IssueKnown * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_IssueKnown extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_IssueKnown (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=839 */ -public static final int Table_ID=839; +public static final int Table_ID=MTable.getTable_ID("R_IssueKnown"); /** TableName=R_IssueKnown */ public static final String Table_Name="R_IssueKnown"; -protected static KeyNamePair Model = new KeyNamePair(839,"R_IssueKnown"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_IssueKnown"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -143,7 +143,7 @@ return (String)get_Value("IssueSummary"); @param LineNo Line No */ public void setLineNo (int LineNo) { -set_Value ("LineNo", new Integer(LineNo)); +set_Value ("LineNo", Integer.valueOf(LineNo)); } /** Get Line. @return Line No */ @@ -174,7 +174,7 @@ return (String)get_Value("LoggerName"); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -193,7 +193,7 @@ return false; public void setR_IssueKnown_ID (int R_IssueKnown_ID) { if (R_IssueKnown_ID < 1) throw new IllegalArgumentException ("R_IssueKnown_ID is mandatory."); -set_ValueNoCheck ("R_IssueKnown_ID", new Integer(R_IssueKnown_ID)); +set_ValueNoCheck ("R_IssueKnown_ID", Integer.valueOf(R_IssueKnown_ID)); } /** Get Known Issue. @return Known Issue */ @@ -209,7 +209,7 @@ public void setR_IssueRecommendation_ID (int R_IssueRecommendation_ID) { if (R_IssueRecommendation_ID <= 0) set_Value ("R_IssueRecommendation_ID", null); else -set_Value ("R_IssueRecommendation_ID", new Integer(R_IssueRecommendation_ID)); +set_Value ("R_IssueRecommendation_ID", Integer.valueOf(R_IssueRecommendation_ID)); } /** Get Issue Recommendation. @return Recommendations how to fix an Issue */ @@ -225,7 +225,7 @@ public void setR_IssueStatus_ID (int R_IssueStatus_ID) { if (R_IssueStatus_ID <= 0) set_Value ("R_IssueStatus_ID", null); else -set_Value ("R_IssueStatus_ID", new Integer(R_IssueStatus_ID)); +set_Value ("R_IssueStatus_ID", Integer.valueOf(R_IssueStatus_ID)); } /** Get Issue Status. @return Status of an Issue */ @@ -241,7 +241,7 @@ public void setR_Request_ID (int R_Request_ID) { if (R_Request_ID <= 0) set_Value ("R_Request_ID", null); else -set_Value ("R_Request_ID", new Integer(R_Request_ID)); +set_Value ("R_Request_ID", Integer.valueOf(R_Request_ID)); } /** Get Request. @return Request from a Business Partner or Prospect */ diff --git a/dbPort/src/org/compiere/model/X_R_IssueProject.java b/dbPort/src/org/compiere/model/X_R_IssueProject.java index 2c6ff2ee71..0785228ca0 100644 --- a/dbPort/src/org/compiere/model/X_R_IssueProject.java +++ b/dbPort/src/org/compiere/model/X_R_IssueProject.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_IssueProject * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_IssueProject extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_IssueProject (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=842 */ -public static final int Table_ID=842; +public static final int Table_ID=MTable.getTable_ID("R_IssueProject"); /** TableName=R_IssueProject */ public static final String Table_Name="R_IssueProject"; -protected static KeyNamePair Model = new KeyNamePair(842,"R_IssueProject"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_IssueProject"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -109,7 +109,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -182,7 +182,7 @@ return (String)get_Value("ProfileInfo"); public void setR_IssueProject_ID (int R_IssueProject_ID) { if (R_IssueProject_ID < 1) throw new IllegalArgumentException ("R_IssueProject_ID is mandatory."); -set_ValueNoCheck ("R_IssueProject_ID", new Integer(R_IssueProject_ID)); +set_ValueNoCheck ("R_IssueProject_ID", Integer.valueOf(R_IssueProject_ID)); } /** Get Issue Project. @return Implementation Projects */ diff --git a/dbPort/src/org/compiere/model/X_R_IssueRecommendation.java b/dbPort/src/org/compiere/model/X_R_IssueRecommendation.java index f980f8ff34..08ed6c476a 100644 --- a/dbPort/src/org/compiere/model/X_R_IssueRecommendation.java +++ b/dbPort/src/org/compiere/model/X_R_IssueRecommendation.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_IssueRecommendation * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_IssueRecommendation extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_IssueRecommendation (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=837 */ -public static final int Table_ID=837; +public static final int Table_ID=MTable.getTable_ID("R_IssueRecommendation"); /** TableName=R_IssueRecommendation */ public static final String Table_Name="R_IssueRecommendation"; -protected static KeyNamePair Model = new KeyNamePair(837,"R_IssueRecommendation"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_IssueRecommendation"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -149,7 +149,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_IssueRecommendation_ID (int R_IssueRecommendation_ID) { if (R_IssueRecommendation_ID < 1) throw new IllegalArgumentException ("R_IssueRecommendation_ID is mandatory."); -set_ValueNoCheck ("R_IssueRecommendation_ID", new Integer(R_IssueRecommendation_ID)); +set_ValueNoCheck ("R_IssueRecommendation_ID", Integer.valueOf(R_IssueRecommendation_ID)); } /** Get Issue Recommendation. @return Recommendations how to fix an Issue */ diff --git a/dbPort/src/org/compiere/model/X_R_IssueStatus.java b/dbPort/src/org/compiere/model/X_R_IssueStatus.java index 1fe3244c9c..39e1d9a925 100644 --- a/dbPort/src/org/compiere/model/X_R_IssueStatus.java +++ b/dbPort/src/org/compiere/model/X_R_IssueStatus.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_IssueStatus * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_IssueStatus extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_IssueStatus (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=838 */ -public static final int Table_ID=838; +public static final int Table_ID=MTable.getTable_ID("R_IssueStatus"); /** TableName=R_IssueStatus */ public static final String Table_Name="R_IssueStatus"; -protected static KeyNamePair Model = new KeyNamePair(838,"R_IssueStatus"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_IssueStatus"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -132,7 +132,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_IssueStatus_ID (int R_IssueStatus_ID) { if (R_IssueStatus_ID < 1) throw new IllegalArgumentException ("R_IssueStatus_ID is mandatory."); -set_ValueNoCheck ("R_IssueStatus_ID", new Integer(R_IssueStatus_ID)); +set_ValueNoCheck ("R_IssueStatus_ID", Integer.valueOf(R_IssueStatus_ID)); } /** Get Issue Status. @return Status of an Issue */ diff --git a/dbPort/src/org/compiere/model/X_R_IssueSystem.java b/dbPort/src/org/compiere/model/X_R_IssueSystem.java index 7827f91fea..1ee23484cc 100644 --- a/dbPort/src/org/compiere/model/X_R_IssueSystem.java +++ b/dbPort/src/org/compiere/model/X_R_IssueSystem.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_IssueSystem * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_IssueSystem extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_IssueSystem (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=843 */ -public static final int Table_ID=843; +public static final int Table_ID=MTable.getTable_ID("R_IssueSystem"); /** TableName=R_IssueSystem */ public static final String Table_Name="R_IssueSystem"; -protected static KeyNamePair Model = new KeyNamePair(843,"R_IssueSystem"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_IssueSystem"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -93,7 +93,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -149,7 +149,7 @@ return (String)get_Value("ProfileInfo"); public void setR_IssueSystem_ID (int R_IssueSystem_ID) { if (R_IssueSystem_ID < 1) throw new IllegalArgumentException ("R_IssueSystem_ID is mandatory."); -set_ValueNoCheck ("R_IssueSystem_ID", new Integer(R_IssueSystem_ID)); +set_ValueNoCheck ("R_IssueSystem_ID", Integer.valueOf(R_IssueSystem_ID)); } /** Get Issue System. @return System creating the issue */ diff --git a/dbPort/src/org/compiere/model/X_R_IssueUser.java b/dbPort/src/org/compiere/model/X_R_IssueUser.java index c0394880a7..25b16f2ece 100644 --- a/dbPort/src/org/compiere/model/X_R_IssueUser.java +++ b/dbPort/src/org/compiere/model/X_R_IssueUser.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_IssueUser * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_IssueUser extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_IssueUser (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=841 */ -public static final int Table_ID=841; +public static final int Table_ID=MTable.getTable_ID("R_IssueUser"); /** TableName=R_IssueUser */ public static final String Table_Name="R_IssueUser"; -protected static KeyNamePair Model = new KeyNamePair(841,"R_IssueUser"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_IssueUser"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -92,7 +92,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -124,7 +124,7 @@ return (String)get_Value("Description"); public void setR_IssueUser_ID (int R_IssueUser_ID) { if (R_IssueUser_ID < 1) throw new IllegalArgumentException ("R_IssueUser_ID is mandatory."); -set_ValueNoCheck ("R_IssueUser_ID", new Integer(R_IssueUser_ID)); +set_ValueNoCheck ("R_IssueUser_ID", Integer.valueOf(R_IssueUser_ID)); } /** Get IssueUser. @return User who reported issues */ diff --git a/dbPort/src/org/compiere/model/X_R_MailText.java b/dbPort/src/org/compiere/model/X_R_MailText.java index 29e7c77049..acdbfd8ce7 100644 --- a/dbPort/src/org/compiere/model/X_R_MailText.java +++ b/dbPort/src/org/compiere/model/X_R_MailText.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_MailText * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_MailText extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_R_MailText (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=416 */ -public static final int Table_ID=416; +public static final int Table_ID=MTable.getTable_ID("R_MailText"); /** TableName=R_MailText */ public static final String Table_Name="R_MailText"; -protected static KeyNamePair Model = new KeyNamePair(416,"R_MailText"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_MailText"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); @param IsHtml Text has HTML tags */ public void setIsHtml (boolean IsHtml) { -set_Value ("IsHtml", new Boolean(IsHtml)); +set_Value ("IsHtml", Boolean.valueOf(IsHtml)); } /** Get HTML. @return Text has HTML tags */ @@ -204,7 +204,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_MailText_ID (int R_MailText_ID) { if (R_MailText_ID < 1) throw new IllegalArgumentException ("R_MailText_ID is mandatory."); -set_ValueNoCheck ("R_MailText_ID", new Integer(R_MailText_ID)); +set_ValueNoCheck ("R_MailText_ID", Integer.valueOf(R_MailText_ID)); } /** Get Mail Template. @return Text templates for mailings */ diff --git a/dbPort/src/org/compiere/model/X_R_Request.java b/dbPort/src/org/compiere/model/X_R_Request.java index 7f81ac470e..e96c469786 100644 --- a/dbPort/src/org/compiere/model/X_R_Request.java +++ b/dbPort/src/org/compiere/model/X_R_Request.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_Request * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_Request extends PO { /** Standard Constructor @@ -66,12 +66,12 @@ public X_R_Request (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=417 */ -public static final int Table_ID=417; +public static final int Table_ID=MTable.getTable_ID("R_Request"); /** TableName=R_Request */ public static final String Table_Name="R_Request"; -protected static KeyNamePair Model = new KeyNamePair(417,"R_Request"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_Request"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -104,7 +104,7 @@ public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID <= 0) set_Value ("AD_Role_ID", null); else -set_Value ("AD_Role_ID", new Integer(AD_Role_ID)); +set_Value ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -120,7 +120,7 @@ public void setAD_Table_ID (int AD_Table_ID) { if (AD_Table_ID <= 0) set_ValueNoCheck ("AD_Table_ID", null); else -set_ValueNoCheck ("AD_Table_ID", new Integer(AD_Table_ID)); +set_ValueNoCheck ("AD_Table_ID", Integer.valueOf(AD_Table_ID)); } /** Get Table. @return Database Table information */ @@ -136,7 +136,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -152,7 +152,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_Value ("A_Asset_ID", null); else -set_Value ("A_Asset_ID", new Integer(A_Asset_ID)); +set_Value ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -168,7 +168,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -184,7 +184,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -200,7 +200,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -219,7 +219,7 @@ public void setC_InvoiceRequest_ID (int C_InvoiceRequest_ID) { if (C_InvoiceRequest_ID <= 0) set_ValueNoCheck ("C_InvoiceRequest_ID", null); else -set_ValueNoCheck ("C_InvoiceRequest_ID", new Integer(C_InvoiceRequest_ID)); +set_ValueNoCheck ("C_InvoiceRequest_ID", Integer.valueOf(C_InvoiceRequest_ID)); } /** Get Request Invoice. @return The generated invoice for this request */ @@ -235,7 +235,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_Value ("C_Invoice_ID", null); else -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -251,7 +251,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_Value ("C_Order_ID", null); else -set_Value ("C_Order_ID", new Integer(C_Order_ID)); +set_Value ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -267,7 +267,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -283,7 +283,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -496,7 +496,7 @@ return (Timestamp)get_Value("EndTime"); @param IsEscalated This request has been escalated */ public void setIsEscalated (boolean IsEscalated) { -set_Value ("IsEscalated", new Boolean(IsEscalated)); +set_Value ("IsEscalated", Boolean.valueOf(IsEscalated)); } /** Get Escalated. @return This request has been escalated */ @@ -514,7 +514,7 @@ return false; @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { -set_Value ("IsInvoiced", new Boolean(IsInvoiced)); +set_Value ("IsInvoiced", Boolean.valueOf(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ @@ -532,7 +532,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_ValueNoCheck ("IsSelfService", new Boolean(IsSelfService)); +set_ValueNoCheck ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -569,7 +569,7 @@ public void setM_ChangeRequest_ID (int M_ChangeRequest_ID) { if (M_ChangeRequest_ID <= 0) set_Value ("M_ChangeRequest_ID", null); else -set_Value ("M_ChangeRequest_ID", new Integer(M_ChangeRequest_ID)); +set_Value ("M_ChangeRequest_ID", Integer.valueOf(M_ChangeRequest_ID)); } /** Get Change Request. @return BOM (Engineering) Change Request */ @@ -588,7 +588,7 @@ public void setM_FixChangeNotice_ID (int M_FixChangeNotice_ID) { if (M_FixChangeNotice_ID <= 0) set_Value ("M_FixChangeNotice_ID", null); else -set_Value ("M_FixChangeNotice_ID", new Integer(M_FixChangeNotice_ID)); +set_Value ("M_FixChangeNotice_ID", Integer.valueOf(M_FixChangeNotice_ID)); } /** Get Fixed in. @return Fixed in Change Notice */ @@ -604,7 +604,7 @@ public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID <= 0) set_Value ("M_InOut_ID", null); else -set_Value ("M_InOut_ID", new Integer(M_InOut_ID)); +set_Value ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -623,7 +623,7 @@ public void setM_ProductSpent_ID (int M_ProductSpent_ID) { if (M_ProductSpent_ID <= 0) set_Value ("M_ProductSpent_ID", null); else -set_Value ("M_ProductSpent_ID", new Integer(M_ProductSpent_ID)); +set_Value ("M_ProductSpent_ID", Integer.valueOf(M_ProductSpent_ID)); } /** Get Product Used. @return Product/Resource/Service used in Request */ @@ -639,7 +639,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -655,7 +655,7 @@ public void setM_RMA_ID (int M_RMA_ID) { if (M_RMA_ID <= 0) set_Value ("M_RMA_ID", null); else -set_Value ("M_RMA_ID", new Integer(M_RMA_ID)); +set_Value ("M_RMA_ID", Integer.valueOf(M_RMA_ID)); } /** Get RMA. @return Return Material Authorization */ @@ -760,7 +760,7 @@ return (String)get_Value("PriorityUser"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -822,7 +822,7 @@ public void setR_Category_ID (int R_Category_ID) { if (R_Category_ID <= 0) set_Value ("R_Category_ID", null); else -set_Value ("R_Category_ID", new Integer(R_Category_ID)); +set_Value ("R_Category_ID", Integer.valueOf(R_Category_ID)); } /** Get Category. @return Request Category */ @@ -838,7 +838,7 @@ public void setR_Group_ID (int R_Group_ID) { if (R_Group_ID <= 0) set_Value ("R_Group_ID", null); else -set_Value ("R_Group_ID", new Integer(R_Group_ID)); +set_Value ("R_Group_ID", Integer.valueOf(R_Group_ID)); } /** Get Group. @return Request Group */ @@ -854,7 +854,7 @@ public void setR_MailText_ID (int R_MailText_ID) { if (R_MailText_ID <= 0) set_Value ("R_MailText_ID", null); else -set_Value ("R_MailText_ID", new Integer(R_MailText_ID)); +set_Value ("R_MailText_ID", Integer.valueOf(R_MailText_ID)); } /** Get Mail Template. @return Text templates for mailings */ @@ -873,7 +873,7 @@ public void setR_RequestRelated_ID (int R_RequestRelated_ID) { if (R_RequestRelated_ID <= 0) set_Value ("R_RequestRelated_ID", null); else -set_Value ("R_RequestRelated_ID", new Integer(R_RequestRelated_ID)); +set_Value ("R_RequestRelated_ID", Integer.valueOf(R_RequestRelated_ID)); } /** Get Related Request. @return Related Request (Master Issue, ..) */ @@ -888,7 +888,7 @@ return ii.intValue(); public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID < 1) throw new IllegalArgumentException ("R_RequestType_ID is mandatory."); -set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_Value ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ @@ -903,7 +903,7 @@ return ii.intValue(); public void setR_Request_ID (int R_Request_ID) { if (R_Request_ID < 1) throw new IllegalArgumentException ("R_Request_ID is mandatory."); -set_ValueNoCheck ("R_Request_ID", new Integer(R_Request_ID)); +set_ValueNoCheck ("R_Request_ID", Integer.valueOf(R_Request_ID)); } /** Get Request. @return Request from a Business Partner or Prospect */ @@ -919,7 +919,7 @@ public void setR_Resolution_ID (int R_Resolution_ID) { if (R_Resolution_ID <= 0) set_Value ("R_Resolution_ID", null); else -set_Value ("R_Resolution_ID", new Integer(R_Resolution_ID)); +set_Value ("R_Resolution_ID", Integer.valueOf(R_Resolution_ID)); } /** Get Resolution. @return Request Resolution */ @@ -935,7 +935,7 @@ public void setR_StandardResponse_ID (int R_StandardResponse_ID) { if (R_StandardResponse_ID <= 0) set_Value ("R_StandardResponse_ID", null); else -set_Value ("R_StandardResponse_ID", new Integer(R_StandardResponse_ID)); +set_Value ("R_StandardResponse_ID", Integer.valueOf(R_StandardResponse_ID)); } /** Get Standard Response. @return Request Standard Response */ @@ -951,7 +951,7 @@ public void setR_Status_ID (int R_Status_ID) { if (R_Status_ID <= 0) set_Value ("R_Status_ID", null); else -set_Value ("R_Status_ID", new Integer(R_Status_ID)); +set_Value ("R_Status_ID", Integer.valueOf(R_Status_ID)); } /** Get Status. @return Request Status */ @@ -967,7 +967,7 @@ public void setRecord_ID (int Record_ID) { if (Record_ID <= 0) set_ValueNoCheck ("Record_ID", null); else -set_ValueNoCheck ("Record_ID", new Integer(Record_ID)); +set_ValueNoCheck ("Record_ID", Integer.valueOf(Record_ID)); } /** Get Record ID. @return Direct internal record ID */ @@ -1017,7 +1017,7 @@ public static final int SALESREP_ID_AD_Reference_ID=286; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestAction.java b/dbPort/src/org/compiere/model/X_R_RequestAction.java index ceec9d47ad..9e1015f9c2 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestAction.java +++ b/dbPort/src/org/compiere/model/X_R_RequestAction.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestAction * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestAction extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_RequestAction (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=418 */ -public static final int Table_ID=418; +public static final int Table_ID=MTable.getTable_ID("R_RequestAction"); /** TableName=R_RequestAction */ public static final String Table_Name="R_RequestAction"; -protected static KeyNamePair Model = new KeyNamePair(418,"R_RequestAction"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestAction"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ public void setAD_Role_ID (int AD_Role_ID) { if (AD_Role_ID <= 0) set_ValueNoCheck ("AD_Role_ID", null); else -set_ValueNoCheck ("AD_Role_ID", new Integer(AD_Role_ID)); +set_ValueNoCheck ("AD_Role_ID", Integer.valueOf(AD_Role_ID)); } /** Get Role. @return Responsibility Role */ @@ -108,7 +108,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_ValueNoCheck ("AD_User_ID", null); else -set_ValueNoCheck ("AD_User_ID", new Integer(AD_User_ID)); +set_ValueNoCheck ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -124,7 +124,7 @@ public void setA_Asset_ID (int A_Asset_ID) { if (A_Asset_ID <= 0) set_ValueNoCheck ("A_Asset_ID", null); else -set_ValueNoCheck ("A_Asset_ID", new Integer(A_Asset_ID)); +set_ValueNoCheck ("A_Asset_ID", Integer.valueOf(A_Asset_ID)); } /** Get Asset. @return Asset used internally or by customers */ @@ -140,7 +140,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_ValueNoCheck ("C_Activity_ID", null); else -set_ValueNoCheck ("C_Activity_ID", new Integer(C_Activity_ID)); +set_ValueNoCheck ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -156,7 +156,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_ValueNoCheck ("C_BPartner_ID", null); else -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -172,7 +172,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -188,7 +188,7 @@ public void setC_Order_ID (int C_Order_ID) { if (C_Order_ID <= 0) set_ValueNoCheck ("C_Order_ID", null); else -set_ValueNoCheck ("C_Order_ID", new Integer(C_Order_ID)); +set_ValueNoCheck ("C_Order_ID", Integer.valueOf(C_Order_ID)); } /** Get Order. @return Order */ @@ -204,7 +204,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_ValueNoCheck ("C_Payment_ID", null); else -set_ValueNoCheck ("C_Payment_ID", new Integer(C_Payment_ID)); +set_ValueNoCheck ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -220,7 +220,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_ValueNoCheck ("C_Project_ID", null); else -set_ValueNoCheck ("C_Project_ID", new Integer(C_Project_ID)); +set_ValueNoCheck ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -392,7 +392,7 @@ public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID <= 0) set_ValueNoCheck ("M_InOut_ID", null); else -set_ValueNoCheck ("M_InOut_ID", new Integer(M_InOut_ID)); +set_ValueNoCheck ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -411,7 +411,7 @@ public void setM_ProductSpent_ID (int M_ProductSpent_ID) { if (M_ProductSpent_ID <= 0) set_Value ("M_ProductSpent_ID", null); else -set_Value ("M_ProductSpent_ID", new Integer(M_ProductSpent_ID)); +set_Value ("M_ProductSpent_ID", Integer.valueOf(M_ProductSpent_ID)); } /** Get Product Used. @return Product/Resource/Service used in Request */ @@ -427,7 +427,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_ValueNoCheck ("M_Product_ID", null); else -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -443,7 +443,7 @@ public void setM_RMA_ID (int M_RMA_ID) { if (M_RMA_ID <= 0) set_ValueNoCheck ("M_RMA_ID", null); else -set_ValueNoCheck ("M_RMA_ID", new Integer(M_RMA_ID)); +set_ValueNoCheck ("M_RMA_ID", Integer.valueOf(M_RMA_ID)); } /** Get RMA. @return Return Material Authorization */ @@ -582,7 +582,7 @@ public void setR_Category_ID (int R_Category_ID) { if (R_Category_ID <= 0) set_ValueNoCheck ("R_Category_ID", null); else -set_ValueNoCheck ("R_Category_ID", new Integer(R_Category_ID)); +set_ValueNoCheck ("R_Category_ID", Integer.valueOf(R_Category_ID)); } /** Get Category. @return Request Category */ @@ -598,7 +598,7 @@ public void setR_Group_ID (int R_Group_ID) { if (R_Group_ID <= 0) set_ValueNoCheck ("R_Group_ID", null); else -set_ValueNoCheck ("R_Group_ID", new Integer(R_Group_ID)); +set_ValueNoCheck ("R_Group_ID", Integer.valueOf(R_Group_ID)); } /** Get Group. @return Request Group */ @@ -613,7 +613,7 @@ return ii.intValue(); public void setR_RequestAction_ID (int R_RequestAction_ID) { if (R_RequestAction_ID < 1) throw new IllegalArgumentException ("R_RequestAction_ID is mandatory."); -set_ValueNoCheck ("R_RequestAction_ID", new Integer(R_RequestAction_ID)); +set_ValueNoCheck ("R_RequestAction_ID", Integer.valueOf(R_RequestAction_ID)); } /** Get Request History. @return Request has been changed */ @@ -629,7 +629,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_ValueNoCheck ("R_RequestType_ID", null); else -set_ValueNoCheck ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_ValueNoCheck ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ @@ -644,7 +644,7 @@ return ii.intValue(); public void setR_Request_ID (int R_Request_ID) { if (R_Request_ID < 1) throw new IllegalArgumentException ("R_Request_ID is mandatory."); -set_ValueNoCheck ("R_Request_ID", new Integer(R_Request_ID)); +set_ValueNoCheck ("R_Request_ID", Integer.valueOf(R_Request_ID)); } /** Get Request. @return Request from a Business Partner or Prospect */ @@ -660,7 +660,7 @@ public void setR_Resolution_ID (int R_Resolution_ID) { if (R_Resolution_ID <= 0) set_ValueNoCheck ("R_Resolution_ID", null); else -set_ValueNoCheck ("R_Resolution_ID", new Integer(R_Resolution_ID)); +set_ValueNoCheck ("R_Resolution_ID", Integer.valueOf(R_Resolution_ID)); } /** Get Resolution. @return Request Resolution */ @@ -676,7 +676,7 @@ public void setR_Status_ID (int R_Status_ID) { if (R_Status_ID <= 0) set_ValueNoCheck ("R_Status_ID", null); else -set_ValueNoCheck ("R_Status_ID", new Integer(R_Status_ID)); +set_ValueNoCheck ("R_Status_ID", Integer.valueOf(R_Status_ID)); } /** Get Status. @return Request Status */ @@ -695,7 +695,7 @@ public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID <= 0) set_ValueNoCheck ("SalesRep_ID", null); else -set_ValueNoCheck ("SalesRep_ID", new Integer(SalesRep_ID)); +set_ValueNoCheck ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestProcessor.java b/dbPort/src/org/compiere/model/X_R_RequestProcessor.java index 5deb2ae75e..d5443ddb3e 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestProcessor.java +++ b/dbPort/src/org/compiere/model/X_R_RequestProcessor.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestProcessor * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestProcessor extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_R_RequestProcessor (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=420 */ -public static final int Table_ID=420; +public static final int Table_ID=MTable.getTable_ID("R_RequestProcessor"); /** TableName=R_RequestProcessor */ public static final String Table_Name="R_RequestProcessor"; -protected static KeyNamePair Model = new KeyNamePair(420,"R_RequestProcessor"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestProcessor"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -139,7 +139,7 @@ return (String)get_Value("Description"); @param Frequency Frequency of events */ public void setFrequency (int Frequency) { -set_Value ("Frequency", new Integer(Frequency)); +set_Value ("Frequency", Integer.valueOf(Frequency)); } /** Get Frequency. @return Frequency of events */ @@ -182,7 +182,7 @@ return (String)get_Value("FrequencyType"); @param InactivityAlertDays Send Alert when there is no activity after days (0= no alert) */ public void setInactivityAlertDays (int InactivityAlertDays) { -set_Value ("InactivityAlertDays", new Integer(InactivityAlertDays)); +set_Value ("InactivityAlertDays", Integer.valueOf(InactivityAlertDays)); } /** Get Inactivity Alert Days. @return Send Alert when there is no activity after days (0= no alert) */ @@ -196,7 +196,7 @@ return ii.intValue(); @param KeepLogDays Number of days to keep the log entries */ public void setKeepLogDays (int KeepLogDays) { -set_Value ("KeepLogDays", new Integer(KeepLogDays)); +set_Value ("KeepLogDays", Integer.valueOf(KeepLogDays)); } /** Get Days to keep Log. @return Number of days to keep the log entries */ @@ -234,7 +234,7 @@ return new KeyNamePair(get_ID(), getName()); @param OverdueAlertDays Send email alert after number of days due (0=no alerts) */ public void setOverdueAlertDays (int OverdueAlertDays) { -set_Value ("OverdueAlertDays", new Integer(OverdueAlertDays)); +set_Value ("OverdueAlertDays", Integer.valueOf(OverdueAlertDays)); } /** Get Alert after Days Due. @return Send email alert after number of days due (0=no alerts) */ @@ -248,7 +248,7 @@ return ii.intValue(); @param OverdueAssignDays Escalation to superior after number of due days (0 = no) */ public void setOverdueAssignDays (int OverdueAssignDays) { -set_Value ("OverdueAssignDays", new Integer(OverdueAssignDays)); +set_Value ("OverdueAssignDays", Integer.valueOf(OverdueAssignDays)); } /** Get Escalate after Days Due. @return Escalation to superior after number of due days (0 = no) */ @@ -262,7 +262,7 @@ return ii.intValue(); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -281,7 +281,7 @@ return false; public void setR_RequestProcessor_ID (int R_RequestProcessor_ID) { if (R_RequestProcessor_ID < 1) throw new IllegalArgumentException ("R_RequestProcessor_ID is mandatory."); -set_ValueNoCheck ("R_RequestProcessor_ID", new Integer(R_RequestProcessor_ID)); +set_ValueNoCheck ("R_RequestProcessor_ID", Integer.valueOf(R_RequestProcessor_ID)); } /** Get Request Processor. @return Processor for Requests */ @@ -297,7 +297,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_Value ("R_RequestType_ID", null); else -set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_Value ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ @@ -311,7 +311,7 @@ return ii.intValue(); @param RemindDays Days between sending Reminder Emails for a due or inactive Document */ public void setRemindDays (int RemindDays) { -set_Value ("RemindDays", new Integer(RemindDays)); +set_Value ("RemindDays", Integer.valueOf(RemindDays)); } /** Get Reminder Days. @return Days between sending Reminder Emails for a due or inactive Document */ @@ -329,7 +329,7 @@ public static final int SUPERVISOR_ID_AD_Reference_ID=286; public void setSupervisor_ID (int Supervisor_ID) { 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. @return Supervisor for this user/organization - used for escalation and approval */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestProcessorLog.java b/dbPort/src/org/compiere/model/X_R_RequestProcessorLog.java index 9798d6f6f6..ca91d41511 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestProcessorLog.java +++ b/dbPort/src/org/compiere/model/X_R_RequestProcessorLog.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestProcessorLog * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestProcessorLog extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_RequestProcessorLog (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=659 */ -public static final int Table_ID=659; +public static final int Table_ID=MTable.getTable_ID("R_RequestProcessorLog"); /** TableName=R_RequestProcessorLog */ public static final String Table_Name="R_RequestProcessorLog"; -protected static KeyNamePair Model = new KeyNamePair(659,"R_RequestProcessorLog"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestProcessorLog"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -120,7 +120,7 @@ return (String)get_Value("Description"); @param IsError An Error occured in the execution */ public void setIsError (boolean IsError) { -set_Value ("IsError", new Boolean(IsError)); +set_Value ("IsError", Boolean.valueOf(IsError)); } /** Get Error. @return An Error occured in the execution */ @@ -139,7 +139,7 @@ return false; public void setR_RequestProcessorLog_ID (int R_RequestProcessorLog_ID) { if (R_RequestProcessorLog_ID < 1) throw new IllegalArgumentException ("R_RequestProcessorLog_ID is mandatory."); -set_ValueNoCheck ("R_RequestProcessorLog_ID", new Integer(R_RequestProcessorLog_ID)); +set_ValueNoCheck ("R_RequestProcessorLog_ID", Integer.valueOf(R_RequestProcessorLog_ID)); } /** Get Request Processor Log. @return Result of the execution of the Request Processor */ @@ -154,7 +154,7 @@ return ii.intValue(); public void setR_RequestProcessor_ID (int R_RequestProcessor_ID) { if (R_RequestProcessor_ID < 1) throw new IllegalArgumentException ("R_RequestProcessor_ID is mandatory."); -set_ValueNoCheck ("R_RequestProcessor_ID", new Integer(R_RequestProcessor_ID)); +set_ValueNoCheck ("R_RequestProcessor_ID", Integer.valueOf(R_RequestProcessor_ID)); } /** Get Request Processor. @return Processor for Requests */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestProcessor_Route.java b/dbPort/src/org/compiere/model/X_R_RequestProcessor_Route.java index 8ec37568d0..c56e15a2c7 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestProcessor_Route.java +++ b/dbPort/src/org/compiere/model/X_R_RequestProcessor_Route.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestProcessor_Route * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestProcessor_Route extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_R_RequestProcessor_Route (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=474 */ -public static final int Table_ID=474; +public static final int Table_ID=MTable.getTable_ID("R_RequestProcessor_Route"); /** TableName=R_RequestProcessor_Route */ public static final String Table_Name="R_RequestProcessor_Route"; -protected static KeyNamePair Model = new KeyNamePair(474,"R_RequestProcessor_Route"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestProcessor_Route"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -125,7 +125,7 @@ return (String)get_Value("Keyword"); public void setR_RequestProcessor_ID (int R_RequestProcessor_ID) { if (R_RequestProcessor_ID < 1) throw new IllegalArgumentException ("R_RequestProcessor_ID is mandatory."); -set_ValueNoCheck ("R_RequestProcessor_ID", new Integer(R_RequestProcessor_ID)); +set_ValueNoCheck ("R_RequestProcessor_ID", Integer.valueOf(R_RequestProcessor_ID)); } /** Get Request Processor. @return Processor for Requests */ @@ -140,7 +140,7 @@ return ii.intValue(); public void setR_RequestProcessor_Route_ID (int R_RequestProcessor_Route_ID) { if (R_RequestProcessor_Route_ID < 1) throw new IllegalArgumentException ("R_RequestProcessor_Route_ID is mandatory."); -set_ValueNoCheck ("R_RequestProcessor_Route_ID", new Integer(R_RequestProcessor_Route_ID)); +set_ValueNoCheck ("R_RequestProcessor_Route_ID", Integer.valueOf(R_RequestProcessor_Route_ID)); } /** Get Request Routing. @return Automatic routing of requests */ @@ -156,7 +156,7 @@ public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID <= 0) set_Value ("R_RequestType_ID", null); else -set_Value ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_Value ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ @@ -171,7 +171,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_R_RequestType.java b/dbPort/src/org/compiere/model/X_R_RequestType.java index 6bc1def64d..5b4f170bd2 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestType.java +++ b/dbPort/src/org/compiere/model/X_R_RequestType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestType extends PO { /** Standard Constructor @@ -64,12 +64,12 @@ public X_R_RequestType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=529 */ -public static final int Table_ID=529; +public static final int Table_ID=MTable.getTable_ID("R_RequestType"); /** TableName=R_RequestType */ public static final String Table_Name="R_RequestType"; -protected static KeyNamePair Model = new KeyNamePair(529,"R_RequestType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestType"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -100,7 +100,7 @@ return sb.toString(); @param AutoDueDateDays Automatic Due Date Days */ public void setAutoDueDateDays (int AutoDueDateDays) { -set_Value ("AutoDueDateDays", new Integer(AutoDueDateDays)); +set_Value ("AutoDueDateDays", Integer.valueOf(AutoDueDateDays)); } /** Get Auto Due Date Days. @return Automatic Due Date Days */ @@ -162,7 +162,7 @@ return (String)get_Value("Description"); @param DueDateTolerance Tolerance in days between the Date Next Action and the date the request is regarded as overdue */ public void setDueDateTolerance (int DueDateTolerance) { -set_Value ("DueDateTolerance", new Integer(DueDateTolerance)); +set_Value ("DueDateTolerance", Integer.valueOf(DueDateTolerance)); } /** Get Due Date Tolerance. @return Tolerance in days between the Date Next Action and the date the request is regarded as overdue */ @@ -176,7 +176,7 @@ return ii.intValue(); @param IsAutoChangeRequest Automatically create BOM (Engineering) Change Request */ public void setIsAutoChangeRequest (boolean IsAutoChangeRequest) { -set_Value ("IsAutoChangeRequest", new Boolean(IsAutoChangeRequest)); +set_Value ("IsAutoChangeRequest", Boolean.valueOf(IsAutoChangeRequest)); } /** Get Create Change Request. @return Automatically create BOM (Engineering) Change Request */ @@ -194,7 +194,7 @@ return false; @param IsConfidentialInfo Can enter confidential information */ public void setIsConfidentialInfo (boolean IsConfidentialInfo) { -set_Value ("IsConfidentialInfo", new Boolean(IsConfidentialInfo)); +set_Value ("IsConfidentialInfo", Boolean.valueOf(IsConfidentialInfo)); } /** Get Confidential Info. @return Can enter confidential information */ @@ -212,7 +212,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -230,7 +230,7 @@ return false; @param IsEMailWhenDue Send EMail when Request becomes due */ public void setIsEMailWhenDue (boolean IsEMailWhenDue) { -set_Value ("IsEMailWhenDue", new Boolean(IsEMailWhenDue)); +set_Value ("IsEMailWhenDue", Boolean.valueOf(IsEMailWhenDue)); } /** Get EMail when Due. @return Send EMail when Request becomes due */ @@ -248,7 +248,7 @@ return false; @param IsEMailWhenOverdue Send EMail when Request becomes overdue */ public void setIsEMailWhenOverdue (boolean IsEMailWhenOverdue) { -set_Value ("IsEMailWhenOverdue", new Boolean(IsEMailWhenOverdue)); +set_Value ("IsEMailWhenOverdue", Boolean.valueOf(IsEMailWhenOverdue)); } /** Get EMail when Overdue. @return Send EMail when Request becomes overdue */ @@ -266,7 +266,7 @@ return false; @param IsIndexed Index the document for the internal search engine */ public void setIsIndexed (boolean IsIndexed) { -set_Value ("IsIndexed", new Boolean(IsIndexed)); +set_Value ("IsIndexed", Boolean.valueOf(IsIndexed)); } /** Get Indexed. @return Index the document for the internal search engine */ @@ -284,7 +284,7 @@ return false; @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { -set_Value ("IsInvoiced", new Boolean(IsInvoiced)); +set_Value ("IsInvoiced", Boolean.valueOf(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ @@ -302,7 +302,7 @@ return false; @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -345,7 +345,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID < 1) throw new IllegalArgumentException ("R_RequestType_ID is mandatory."); -set_ValueNoCheck ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_ValueNoCheck ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ @@ -360,7 +360,7 @@ return ii.intValue(); public void setR_StatusCategory_ID (int R_StatusCategory_ID) { if (R_StatusCategory_ID < 1) throw new IllegalArgumentException ("R_StatusCategory_ID is mandatory."); -set_Value ("R_StatusCategory_ID", new Integer(R_StatusCategory_ID)); +set_Value ("R_StatusCategory_ID", Integer.valueOf(R_StatusCategory_ID)); } /** Get Status Category. @return Request Status Category */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestTypeUpdates.java b/dbPort/src/org/compiere/model/X_R_RequestTypeUpdates.java index ce88da0657..7dd2742e01 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestTypeUpdates.java +++ b/dbPort/src/org/compiere/model/X_R_RequestTypeUpdates.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestTypeUpdates * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestTypeUpdates extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_RequestTypeUpdates (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=784 */ -public static final int Table_ID=784; +public static final int Table_ID=MTable.getTable_ID("R_RequestTypeUpdates"); /** TableName=R_RequestTypeUpdates */ public static final String Table_Name="R_RequestTypeUpdates"; -protected static KeyNamePair Model = new KeyNamePair(784,"R_RequestTypeUpdates"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestTypeUpdates"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -106,7 +106,7 @@ return ii.intValue(); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -125,7 +125,7 @@ return false; public void setR_RequestType_ID (int R_RequestType_ID) { if (R_RequestType_ID < 1) throw new IllegalArgumentException ("R_RequestType_ID is mandatory."); -set_ValueNoCheck ("R_RequestType_ID", new Integer(R_RequestType_ID)); +set_ValueNoCheck ("R_RequestType_ID", Integer.valueOf(R_RequestType_ID)); } /** Get Request Type. @return Type of request (e.g. Inquiry, Complaint, ..) */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestUpdate.java b/dbPort/src/org/compiere/model/X_R_RequestUpdate.java index ea21081033..ad17fe5184 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestUpdate.java +++ b/dbPort/src/org/compiere/model/X_R_RequestUpdate.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestUpdate * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestUpdate extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_RequestUpdate (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=802 */ -public static final int Table_ID=802; +public static final int Table_ID=MTable.getTable_ID("R_RequestUpdate"); /** TableName=R_RequestUpdate */ public static final String Table_Name="R_RequestUpdate"; -protected static KeyNamePair Model = new KeyNamePair(802,"R_RequestUpdate"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestUpdate"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -139,7 +139,7 @@ public void setM_ProductSpent_ID (int M_ProductSpent_ID) { if (M_ProductSpent_ID <= 0) set_Value ("M_ProductSpent_ID", null); else -set_Value ("M_ProductSpent_ID", new Integer(M_ProductSpent_ID)); +set_Value ("M_ProductSpent_ID", Integer.valueOf(M_ProductSpent_ID)); } /** Get Product Used. @return Product/Resource/Service used in Request */ @@ -182,7 +182,7 @@ return bd; public void setR_RequestUpdate_ID (int R_RequestUpdate_ID) { if (R_RequestUpdate_ID < 1) throw new IllegalArgumentException ("R_RequestUpdate_ID is mandatory."); -set_ValueNoCheck ("R_RequestUpdate_ID", new Integer(R_RequestUpdate_ID)); +set_ValueNoCheck ("R_RequestUpdate_ID", Integer.valueOf(R_RequestUpdate_ID)); } /** Get Request Update. @return Request Updates */ @@ -203,7 +203,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getR_RequestUpdate_ID())); public void setR_Request_ID (int R_Request_ID) { if (R_Request_ID < 1) throw new IllegalArgumentException ("R_Request_ID is mandatory."); -set_ValueNoCheck ("R_Request_ID", new Integer(R_Request_ID)); +set_ValueNoCheck ("R_Request_ID", Integer.valueOf(R_Request_ID)); } /** Get Request. @return Request from a Business Partner or Prospect */ diff --git a/dbPort/src/org/compiere/model/X_R_RequestUpdates.java b/dbPort/src/org/compiere/model/X_R_RequestUpdates.java index 4df6c98500..278e3a4e7a 100644 --- a/dbPort/src/org/compiere/model/X_R_RequestUpdates.java +++ b/dbPort/src/org/compiere/model/X_R_RequestUpdates.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_RequestUpdates * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_RequestUpdates extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_RequestUpdates (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=783 */ -public static final int Table_ID=783; +public static final int Table_ID=MTable.getTable_ID("R_RequestUpdates"); /** TableName=R_RequestUpdates */ public static final String Table_Name="R_RequestUpdates"; -protected static KeyNamePair Model = new KeyNamePair(783,"R_RequestUpdates"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_RequestUpdates"); protected BigDecimal accessLevel = new BigDecimal(7); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -106,7 +106,7 @@ return ii.intValue(); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -125,7 +125,7 @@ return false; public void setR_Request_ID (int R_Request_ID) { if (R_Request_ID < 1) throw new IllegalArgumentException ("R_Request_ID is mandatory."); -set_ValueNoCheck ("R_Request_ID", new Integer(R_Request_ID)); +set_ValueNoCheck ("R_Request_ID", Integer.valueOf(R_Request_ID)); } /** Get Request. @return Request from a Business Partner or Prospect */ diff --git a/dbPort/src/org/compiere/model/X_R_Resolution.java b/dbPort/src/org/compiere/model/X_R_Resolution.java index 3a7921c30a..71dfad6a16 100644 --- a/dbPort/src/org/compiere/model/X_R_Resolution.java +++ b/dbPort/src/org/compiere/model/X_R_Resolution.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_Resolution * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_Resolution extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_R_Resolution (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=774 */ -public static final int Table_ID=774; +public static final int Table_ID=MTable.getTable_ID("R_Resolution"); /** TableName=R_Resolution */ public static final String Table_Name="R_Resolution"; -protected static KeyNamePair Model = new KeyNamePair(774,"R_Resolution"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_Resolution"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -149,7 +149,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_Resolution_ID (int R_Resolution_ID) { if (R_Resolution_ID < 1) throw new IllegalArgumentException ("R_Resolution_ID is mandatory."); -set_ValueNoCheck ("R_Resolution_ID", new Integer(R_Resolution_ID)); +set_ValueNoCheck ("R_Resolution_ID", Integer.valueOf(R_Resolution_ID)); } /** Get Resolution. @return Request Resolution */ diff --git a/dbPort/src/org/compiere/model/X_R_StandardResponse.java b/dbPort/src/org/compiere/model/X_R_StandardResponse.java index 1e977cd8b9..63f8bfcb34 100644 --- a/dbPort/src/org/compiere/model/X_R_StandardResponse.java +++ b/dbPort/src/org/compiere/model/X_R_StandardResponse.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_StandardResponse * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_StandardResponse extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_StandardResponse (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=775 */ -public static final int Table_ID=775; +public static final int Table_ID=MTable.getTable_ID("R_StandardResponse"); /** TableName=R_StandardResponse */ public static final String Table_Name="R_StandardResponse"; -protected static KeyNamePair Model = new KeyNamePair(775,"R_StandardResponse"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_StandardResponse"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -116,7 +116,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_StandardResponse_ID (int R_StandardResponse_ID) { if (R_StandardResponse_ID < 1) throw new IllegalArgumentException ("R_StandardResponse_ID is mandatory."); -set_ValueNoCheck ("R_StandardResponse_ID", new Integer(R_StandardResponse_ID)); +set_ValueNoCheck ("R_StandardResponse_ID", Integer.valueOf(R_StandardResponse_ID)); } /** Get Standard Response. @return Request Standard Response */ diff --git a/dbPort/src/org/compiere/model/X_R_Status.java b/dbPort/src/org/compiere/model/X_R_Status.java index b9a55b73f6..9890f81ff7 100644 --- a/dbPort/src/org/compiere/model/X_R_Status.java +++ b/dbPort/src/org/compiere/model/X_R_Status.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_Status * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_Status extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_R_Status (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=776 */ -public static final int Table_ID=776; +public static final int Table_ID=MTable.getTable_ID("R_Status"); /** TableName=R_Status */ public static final String Table_Name="R_Status"; -protected static KeyNamePair Model = new KeyNamePair(776,"R_Status"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_Status"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -132,7 +132,7 @@ return (String)get_Value("Help"); @param IsClosed The status is closed */ public void setIsClosed (boolean IsClosed) { -set_Value ("IsClosed", new Boolean(IsClosed)); +set_Value ("IsClosed", Boolean.valueOf(IsClosed)); } /** Get Closed Status. @return The status is closed */ @@ -150,7 +150,7 @@ return false; @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -168,7 +168,7 @@ return false; @param IsFinalClose Entries with Final Close cannot be re-opened */ public void setIsFinalClose (boolean IsFinalClose) { -set_Value ("IsFinalClose", new Boolean(IsFinalClose)); +set_Value ("IsFinalClose", Boolean.valueOf(IsFinalClose)); } /** Get Final Close. @return Entries with Final Close cannot be re-opened */ @@ -186,7 +186,7 @@ return false; @param IsOpen The status is closed */ public void setIsOpen (boolean IsOpen) { -set_Value ("IsOpen", new Boolean(IsOpen)); +set_Value ("IsOpen", Boolean.valueOf(IsOpen)); } /** Get Open Status. @return The status is closed */ @@ -204,7 +204,7 @@ return false; @param IsWebCanUpdate Entry can be updated from the Web */ public void setIsWebCanUpdate (boolean IsWebCanUpdate) { -set_Value ("IsWebCanUpdate", new Boolean(IsWebCanUpdate)); +set_Value ("IsWebCanUpdate", Boolean.valueOf(IsWebCanUpdate)); } /** Get Web Can Update. @return Entry can be updated from the Web */ @@ -245,7 +245,7 @@ public void setNext_Status_ID (int Next_Status_ID) { if (Next_Status_ID <= 0) set_Value ("Next_Status_ID", null); else -set_Value ("Next_Status_ID", new Integer(Next_Status_ID)); +set_Value ("Next_Status_ID", Integer.valueOf(Next_Status_ID)); } /** Get Next Status. @return Move to next status automatically after timeout */ @@ -260,7 +260,7 @@ return ii.intValue(); public void setR_StatusCategory_ID (int R_StatusCategory_ID) { if (R_StatusCategory_ID < 1) throw new IllegalArgumentException ("R_StatusCategory_ID is mandatory."); -set_Value ("R_StatusCategory_ID", new Integer(R_StatusCategory_ID)); +set_Value ("R_StatusCategory_ID", Integer.valueOf(R_StatusCategory_ID)); } /** Get Status Category. @return Request Status Category */ @@ -275,7 +275,7 @@ return ii.intValue(); public void setR_Status_ID (int R_Status_ID) { if (R_Status_ID < 1) throw new IllegalArgumentException ("R_Status_ID is mandatory."); -set_ValueNoCheck ("R_Status_ID", new Integer(R_Status_ID)); +set_ValueNoCheck ("R_Status_ID", Integer.valueOf(R_Status_ID)); } /** Get Status. @return Request Status */ @@ -290,7 +290,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_Value ("SeqNo", new Integer(SeqNo)); +set_Value ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; @@ -311,7 +311,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); @param TimeoutDays Timeout in Days to change Status automatically */ public void setTimeoutDays (int TimeoutDays) { -set_Value ("TimeoutDays", new Integer(TimeoutDays)); +set_Value ("TimeoutDays", Integer.valueOf(TimeoutDays)); } /** Get Timeout in Days. @return Timeout in Days to change Status automatically */ @@ -330,7 +330,7 @@ public void setUpdate_Status_ID (int Update_Status_ID) { if (Update_Status_ID <= 0) set_Value ("Update_Status_ID", null); else -set_Value ("Update_Status_ID", new Integer(Update_Status_ID)); +set_Value ("Update_Status_ID", Integer.valueOf(Update_Status_ID)); } /** Get Update Status. @return Automatically change the status after entry from web */ diff --git a/dbPort/src/org/compiere/model/X_R_StatusCategory.java b/dbPort/src/org/compiere/model/X_R_StatusCategory.java index c1e565568a..f7597fb665 100644 --- a/dbPort/src/org/compiere/model/X_R_StatusCategory.java +++ b/dbPort/src/org/compiere/model/X_R_StatusCategory.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for R_StatusCategory * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_R_StatusCategory extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_R_StatusCategory (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=844 */ -public static final int Table_ID=844; +public static final int Table_ID=MTable.getTable_ID("R_StatusCategory"); /** TableName=R_StatusCategory */ public static final String Table_Name="R_StatusCategory"; -protected static KeyNamePair Model = new KeyNamePair(844,"R_StatusCategory"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"R_StatusCategory"); protected BigDecimal accessLevel = new BigDecimal(6); /** AccessLevel @@ -125,7 +125,7 @@ return (String)get_Value("Help"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -168,7 +168,7 @@ return new KeyNamePair(get_ID(), getName()); public void setR_StatusCategory_ID (int R_StatusCategory_ID) { if (R_StatusCategory_ID < 1) throw new IllegalArgumentException ("R_StatusCategory_ID is mandatory."); -set_ValueNoCheck ("R_StatusCategory_ID", new Integer(R_StatusCategory_ID)); +set_ValueNoCheck ("R_StatusCategory_ID", Integer.valueOf(R_StatusCategory_ID)); } /** Get Status Category. @return Request Status Category */ diff --git a/dbPort/src/org/compiere/model/X_S_ExpenseType.java b/dbPort/src/org/compiere/model/X_S_ExpenseType.java index aee8cfc402..f45d336fa4 100644 --- a/dbPort/src/org/compiere/model/X_S_ExpenseType.java +++ b/dbPort/src/org/compiere/model/X_S_ExpenseType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_ExpenseType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_ExpenseType extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_S_ExpenseType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=481 */ -public static final int Table_ID=481; +public static final int Table_ID=MTable.getTable_ID("S_ExpenseType"); /** TableName=S_ExpenseType */ public static final String Table_Name="S_ExpenseType"; -protected static KeyNamePair Model = new KeyNamePair(481,"S_ExpenseType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_ExpenseType"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_Value ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_Value ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -142,7 +142,7 @@ return (String)get_Value("Description"); @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { -set_Value ("IsInvoiced", new Boolean(IsInvoiced)); +set_Value ("IsInvoiced", Boolean.valueOf(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ @@ -161,7 +161,7 @@ return false; public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID < 1) throw new IllegalArgumentException ("M_Product_Category_ID is mandatory."); -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -200,7 +200,7 @@ return new KeyNamePair(get_ID(), getName()); public void setS_ExpenseType_ID (int S_ExpenseType_ID) { if (S_ExpenseType_ID < 1) throw new IllegalArgumentException ("S_ExpenseType_ID is mandatory."); -set_ValueNoCheck ("S_ExpenseType_ID", new Integer(S_ExpenseType_ID)); +set_ValueNoCheck ("S_ExpenseType_ID", Integer.valueOf(S_ExpenseType_ID)); } /** Get Expense Type. @return Expense report type */ diff --git a/dbPort/src/org/compiere/model/X_S_Resource.java b/dbPort/src/org/compiere/model/X_S_Resource.java index a21294a613..b0878c94a9 100644 --- a/dbPort/src/org/compiere/model/X_S_Resource.java +++ b/dbPort/src/org/compiere/model/X_S_Resource.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_Resource * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_Resource extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_S_Resource (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=487 */ -public static final int Table_ID=487; +public static final int Table_ID=MTable.getTable_ID("S_Resource"); /** TableName=S_Resource */ public static final String Table_Name="S_Resource"; -protected static KeyNamePair Model = new KeyNamePair(487,"S_Resource"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_Resource"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -141,7 +141,7 @@ return (String)get_Value("Description"); @param IsAvailable Resource is available */ public void setIsAvailable (boolean IsAvailable) { -set_Value ("IsAvailable", new Boolean(IsAvailable)); +set_Value ("IsAvailable", Boolean.valueOf(IsAvailable)); } /** Get Available. @return Resource is available */ @@ -160,7 +160,7 @@ return false; public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -199,7 +199,7 @@ return new KeyNamePair(get_ID(), getName()); public void setS_ResourceType_ID (int S_ResourceType_ID) { if (S_ResourceType_ID < 1) throw new IllegalArgumentException ("S_ResourceType_ID is mandatory."); -set_Value ("S_ResourceType_ID", new Integer(S_ResourceType_ID)); +set_Value ("S_ResourceType_ID", Integer.valueOf(S_ResourceType_ID)); } /** Get Resource Type. @return Resource Type */ @@ -214,7 +214,7 @@ return ii.intValue(); public void setS_Resource_ID (int S_Resource_ID) { if (S_Resource_ID < 1) throw new IllegalArgumentException ("S_Resource_ID is mandatory."); -set_ValueNoCheck ("S_Resource_ID", new Integer(S_Resource_ID)); +set_ValueNoCheck ("S_Resource_ID", Integer.valueOf(S_Resource_ID)); } /** Get Resource. @return Resource */ diff --git a/dbPort/src/org/compiere/model/X_S_ResourceAssignment.java b/dbPort/src/org/compiere/model/X_S_ResourceAssignment.java index 8a7976432f..16e74d123a 100644 --- a/dbPort/src/org/compiere/model/X_S_ResourceAssignment.java +++ b/dbPort/src/org/compiere/model/X_S_ResourceAssignment.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_ResourceAssignment * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_ResourceAssignment extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_S_ResourceAssignment (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=485 */ -public static final int Table_ID=485; +public static final int Table_ID=MTable.getTable_ID("S_ResourceAssignment"); /** TableName=S_ResourceAssignment */ public static final String Table_Name="S_ResourceAssignment"; -protected static KeyNamePair Model = new KeyNamePair(485,"S_ResourceAssignment"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_ResourceAssignment"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -135,7 +135,7 @@ return (String)get_Value("Description"); @param IsConfirmed Assignment is confirmed */ public void setIsConfirmed (boolean IsConfirmed) { -set_ValueNoCheck ("IsConfirmed", new Boolean(IsConfirmed)); +set_ValueNoCheck ("IsConfirmed", Boolean.valueOf(IsConfirmed)); } /** Get Confirmed. @return Assignment is confirmed */ @@ -186,7 +186,7 @@ return bd; public void setS_ResourceAssignment_ID (int S_ResourceAssignment_ID) { if (S_ResourceAssignment_ID < 1) throw new IllegalArgumentException ("S_ResourceAssignment_ID is mandatory."); -set_ValueNoCheck ("S_ResourceAssignment_ID", new Integer(S_ResourceAssignment_ID)); +set_ValueNoCheck ("S_ResourceAssignment_ID", Integer.valueOf(S_ResourceAssignment_ID)); } /** Get Resource Assignment. @return Resource Assignment */ @@ -201,7 +201,7 @@ return ii.intValue(); public void setS_Resource_ID (int S_Resource_ID) { if (S_Resource_ID < 1) throw new IllegalArgumentException ("S_Resource_ID is mandatory."); -set_ValueNoCheck ("S_Resource_ID", new Integer(S_Resource_ID)); +set_ValueNoCheck ("S_Resource_ID", Integer.valueOf(S_Resource_ID)); } /** Get Resource. @return Resource */ diff --git a/dbPort/src/org/compiere/model/X_S_ResourceType.java b/dbPort/src/org/compiere/model/X_S_ResourceType.java index 0e9cfb1ba3..43a2b16fd8 100644 --- a/dbPort/src/org/compiere/model/X_S_ResourceType.java +++ b/dbPort/src/org/compiere/model/X_S_ResourceType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_ResourceType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_ResourceType extends PO { /** Standard Constructor @@ -69,12 +69,12 @@ public X_S_ResourceType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=480 */ -public static final int Table_ID=480; +public static final int Table_ID=MTable.getTable_ID("S_ResourceType"); /** TableName=S_ResourceType */ public static final String Table_Name="S_ResourceType"; -protected static KeyNamePair Model = new KeyNamePair(480,"S_ResourceType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_ResourceType"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -105,7 +105,7 @@ return sb.toString(); @param AllowUoMFractions Allow Unit of Measure Fractions */ public void setAllowUoMFractions (boolean AllowUoMFractions) { -set_Value ("AllowUoMFractions", new Boolean(AllowUoMFractions)); +set_Value ("AllowUoMFractions", Boolean.valueOf(AllowUoMFractions)); } /** Get Allow UoM Fractions. @return Allow Unit of Measure Fractions */ @@ -124,7 +124,7 @@ return false; public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_Value ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_Value ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -139,7 +139,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -153,7 +153,7 @@ return ii.intValue(); @param ChargeableQty Chargeable Quantity */ public void setChargeableQty (int ChargeableQty) { -set_Value ("ChargeableQty", new Integer(ChargeableQty)); +set_Value ("ChargeableQty", Integer.valueOf(ChargeableQty)); } /** Get Chargeable Quantity. @return Chargeable Quantity */ @@ -184,7 +184,7 @@ return (String)get_Value("Description"); @param IsDateSlot Resource has day slot availability */ public void setIsDateSlot (boolean IsDateSlot) { -set_Value ("IsDateSlot", new Boolean(IsDateSlot)); +set_Value ("IsDateSlot", Boolean.valueOf(IsDateSlot)); } /** Get Day Slot. @return Resource has day slot availability */ @@ -202,7 +202,7 @@ return false; @param IsSingleAssignment Only one assignment at a time (no double-booking or overlapping) */ public void setIsSingleAssignment (boolean IsSingleAssignment) { -set_Value ("IsSingleAssignment", new Boolean(IsSingleAssignment)); +set_Value ("IsSingleAssignment", Boolean.valueOf(IsSingleAssignment)); } /** Get Single Assignment only. @return Only one assignment at a time (no double-booking or overlapping) */ @@ -220,7 +220,7 @@ return false; @param IsTimeSlot Resource has time slot availability */ public void setIsTimeSlot (boolean IsTimeSlot) { -set_Value ("IsTimeSlot", new Boolean(IsTimeSlot)); +set_Value ("IsTimeSlot", Boolean.valueOf(IsTimeSlot)); } /** Get Time Slot. @return Resource has time slot availability */ @@ -239,7 +239,7 @@ return false; public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID < 1) throw new IllegalArgumentException ("M_Product_Category_ID is mandatory."); -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -277,7 +277,7 @@ return new KeyNamePair(get_ID(), getName()); @param OnFriday Available on Fridays */ public void setOnFriday (boolean OnFriday) { -set_Value ("OnFriday", new Boolean(OnFriday)); +set_Value ("OnFriday", Boolean.valueOf(OnFriday)); } /** Get Friday. @return Available on Fridays */ @@ -295,7 +295,7 @@ return false; @param OnMonday Available on Mondays */ public void setOnMonday (boolean OnMonday) { -set_Value ("OnMonday", new Boolean(OnMonday)); +set_Value ("OnMonday", Boolean.valueOf(OnMonday)); } /** Get Monday. @return Available on Mondays */ @@ -313,7 +313,7 @@ return false; @param OnSaturday Available on Saturday */ public void setOnSaturday (boolean OnSaturday) { -set_Value ("OnSaturday", new Boolean(OnSaturday)); +set_Value ("OnSaturday", Boolean.valueOf(OnSaturday)); } /** Get Saturday. @return Available on Saturday */ @@ -331,7 +331,7 @@ return false; @param OnSunday Available on Sundays */ public void setOnSunday (boolean OnSunday) { -set_Value ("OnSunday", new Boolean(OnSunday)); +set_Value ("OnSunday", Boolean.valueOf(OnSunday)); } /** Get Sunday. @return Available on Sundays */ @@ -349,7 +349,7 @@ return false; @param OnThursday Available on Thursdays */ public void setOnThursday (boolean OnThursday) { -set_Value ("OnThursday", new Boolean(OnThursday)); +set_Value ("OnThursday", Boolean.valueOf(OnThursday)); } /** Get Thursday. @return Available on Thursdays */ @@ -367,7 +367,7 @@ return false; @param OnTuesday Available on Tuesdays */ public void setOnTuesday (boolean OnTuesday) { -set_Value ("OnTuesday", new Boolean(OnTuesday)); +set_Value ("OnTuesday", Boolean.valueOf(OnTuesday)); } /** Get Tuesday. @return Available on Tuesdays */ @@ -385,7 +385,7 @@ return false; @param OnWednesday Available on Wednesdays */ public void setOnWednesday (boolean OnWednesday) { -set_Value ("OnWednesday", new Boolean(OnWednesday)); +set_Value ("OnWednesday", Boolean.valueOf(OnWednesday)); } /** Get Wednesday. @return Available on Wednesdays */ @@ -404,7 +404,7 @@ return false; public void setS_ResourceType_ID (int S_ResourceType_ID) { if (S_ResourceType_ID < 1) throw new IllegalArgumentException ("S_ResourceType_ID is mandatory."); -set_ValueNoCheck ("S_ResourceType_ID", new Integer(S_ResourceType_ID)); +set_ValueNoCheck ("S_ResourceType_ID", Integer.valueOf(S_ResourceType_ID)); } /** Get Resource Type. @return Resource Type */ diff --git a/dbPort/src/org/compiere/model/X_S_ResourceUnAvailable.java b/dbPort/src/org/compiere/model/X_S_ResourceUnAvailable.java index eebe25e642..518ee1088d 100644 --- a/dbPort/src/org/compiere/model/X_S_ResourceUnAvailable.java +++ b/dbPort/src/org/compiere/model/X_S_ResourceUnAvailable.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_ResourceUnAvailable * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_ResourceUnAvailable extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_S_ResourceUnAvailable (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=482 */ -public static final int Table_ID=482; +public static final int Table_ID=MTable.getTable_ID("S_ResourceUnAvailable"); /** TableName=S_ResourceUnAvailable */ public static final String Table_Name="S_ResourceUnAvailable"; -protected static KeyNamePair Model = new KeyNamePair(482,"S_ResourceUnAvailable"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_ResourceUnAvailable"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -134,7 +134,7 @@ return (String)get_Value("Description"); public void setS_ResourceUnAvailable_ID (int S_ResourceUnAvailable_ID) { if (S_ResourceUnAvailable_ID < 1) throw new IllegalArgumentException ("S_ResourceUnAvailable_ID is mandatory."); -set_ValueNoCheck ("S_ResourceUnAvailable_ID", new Integer(S_ResourceUnAvailable_ID)); +set_ValueNoCheck ("S_ResourceUnAvailable_ID", Integer.valueOf(S_ResourceUnAvailable_ID)); } /** Get Resource Unavailability. @return Resource Unavailability */ @@ -149,7 +149,7 @@ return ii.intValue(); public void setS_Resource_ID (int S_Resource_ID) { if (S_Resource_ID < 1) throw new IllegalArgumentException ("S_Resource_ID is mandatory."); -set_ValueNoCheck ("S_Resource_ID", new Integer(S_Resource_ID)); +set_ValueNoCheck ("S_Resource_ID", Integer.valueOf(S_Resource_ID)); } /** Get Resource. @return Resource */ diff --git a/dbPort/src/org/compiere/model/X_S_TimeExpense.java b/dbPort/src/org/compiere/model/X_S_TimeExpense.java index 2a1d5b4eb8..df8885961b 100644 --- a/dbPort/src/org/compiere/model/X_S_TimeExpense.java +++ b/dbPort/src/org/compiere/model/X_S_TimeExpense.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_TimeExpense * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_TimeExpense extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_S_TimeExpense (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=486 */ -public static final int Table_ID=486; +public static final int Table_ID=MTable.getTable_ID("S_TimeExpense"); /** TableName=S_TimeExpense */ public static final String Table_Name="S_TimeExpense"; -protected static KeyNamePair Model = new KeyNamePair(486,"S_TimeExpense"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_TimeExpense"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -116,7 +116,7 @@ public static final int C_BPARTNER_ID_AD_Reference_ID=277; public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -282,7 +282,7 @@ return new KeyNamePair(get_ID(), getDocumentNo()); @param IsApproved Indicates if this document requires approval */ public void setIsApproved (boolean IsApproved) { -set_Value ("IsApproved", new Boolean(IsApproved)); +set_Value ("IsApproved", Boolean.valueOf(IsApproved)); } /** Get Approved. @return Indicates if this document requires approval */ @@ -301,7 +301,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -316,7 +316,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -330,7 +330,7 @@ return ii.intValue(); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -348,7 +348,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -367,7 +367,7 @@ return false; public void setS_TimeExpense_ID (int S_TimeExpense_ID) { if (S_TimeExpense_ID < 1) throw new IllegalArgumentException ("S_TimeExpense_ID is mandatory."); -set_ValueNoCheck ("S_TimeExpense_ID", new Integer(S_TimeExpense_ID)); +set_ValueNoCheck ("S_TimeExpense_ID", Integer.valueOf(S_TimeExpense_ID)); } /** Get Expense Report. @return Time and Expense Report */ diff --git a/dbPort/src/org/compiere/model/X_S_TimeExpenseLine.java b/dbPort/src/org/compiere/model/X_S_TimeExpenseLine.java index afc00679c2..0941a410b9 100644 --- a/dbPort/src/org/compiere/model/X_S_TimeExpenseLine.java +++ b/dbPort/src/org/compiere/model/X_S_TimeExpenseLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_TimeExpenseLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_TimeExpenseLine extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_S_TimeExpenseLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=488 */ -public static final int Table_ID=488; +public static final int Table_ID=MTable.getTable_ID("S_TimeExpenseLine"); /** TableName=S_TimeExpenseLine */ public static final String Table_Name="S_TimeExpenseLine"; -protected static KeyNamePair Model = new KeyNamePair(488,"S_TimeExpenseLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_TimeExpenseLine"); protected BigDecimal accessLevel = new BigDecimal(1); /** AccessLevel @@ -98,7 +98,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -114,7 +114,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -130,7 +130,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -146,7 +146,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -162,7 +162,7 @@ public void setC_InvoiceLine_ID (int C_InvoiceLine_ID) { if (C_InvoiceLine_ID <= 0) set_ValueNoCheck ("C_InvoiceLine_ID", null); else -set_ValueNoCheck ("C_InvoiceLine_ID", new Integer(C_InvoiceLine_ID)); +set_ValueNoCheck ("C_InvoiceLine_ID", Integer.valueOf(C_InvoiceLine_ID)); } /** Get Invoice Line. @return Invoice Detail Line */ @@ -178,7 +178,7 @@ public void setC_OrderLine_ID (int C_OrderLine_ID) { if (C_OrderLine_ID <= 0) set_ValueNoCheck ("C_OrderLine_ID", null); else -set_ValueNoCheck ("C_OrderLine_ID", new Integer(C_OrderLine_ID)); +set_ValueNoCheck ("C_OrderLine_ID", Integer.valueOf(C_OrderLine_ID)); } /** Get Sales Order Line. @return Sales Order Line */ @@ -194,7 +194,7 @@ public void setC_ProjectPhase_ID (int C_ProjectPhase_ID) { if (C_ProjectPhase_ID <= 0) set_Value ("C_ProjectPhase_ID", null); else -set_Value ("C_ProjectPhase_ID", new Integer(C_ProjectPhase_ID)); +set_Value ("C_ProjectPhase_ID", Integer.valueOf(C_ProjectPhase_ID)); } /** Get Project Phase. @return Phase of a Project */ @@ -210,7 +210,7 @@ public void setC_ProjectTask_ID (int C_ProjectTask_ID) { if (C_ProjectTask_ID <= 0) set_Value ("C_ProjectTask_ID", null); else -set_Value ("C_ProjectTask_ID", new Integer(C_ProjectTask_ID)); +set_Value ("C_ProjectTask_ID", Integer.valueOf(C_ProjectTask_ID)); } /** Get Project Task. @return Actual Project Task in a Phase */ @@ -226,7 +226,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -242,7 +242,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -328,7 +328,7 @@ return bd; @param IsInvoiced Is this invoiced? */ public void setIsInvoiced (boolean IsInvoiced) { -set_Value ("IsInvoiced", new Boolean(IsInvoiced)); +set_Value ("IsInvoiced", Boolean.valueOf(IsInvoiced)); } /** Get Invoiced. @return Is this invoiced? */ @@ -346,7 +346,7 @@ return false; @param IsTimeReport Line is a time report only (no expense) */ public void setIsTimeReport (boolean IsTimeReport) { -set_Value ("IsTimeReport", new Boolean(IsTimeReport)); +set_Value ("IsTimeReport", Boolean.valueOf(IsTimeReport)); } /** Get Time Report. @return Line is a time report only (no expense) */ @@ -364,7 +364,7 @@ return false; @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -386,7 +386,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -445,7 +445,7 @@ return bd; @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -507,7 +507,7 @@ public void setS_ResourceAssignment_ID (int S_ResourceAssignment_ID) { if (S_ResourceAssignment_ID <= 0) set_Value ("S_ResourceAssignment_ID", null); else -set_Value ("S_ResourceAssignment_ID", new Integer(S_ResourceAssignment_ID)); +set_Value ("S_ResourceAssignment_ID", Integer.valueOf(S_ResourceAssignment_ID)); } /** Get Resource Assignment. @return Resource Assignment */ @@ -522,7 +522,7 @@ return ii.intValue(); public void setS_TimeExpenseLine_ID (int S_TimeExpenseLine_ID) { if (S_TimeExpenseLine_ID < 1) throw new IllegalArgumentException ("S_TimeExpenseLine_ID is mandatory."); -set_ValueNoCheck ("S_TimeExpenseLine_ID", new Integer(S_TimeExpenseLine_ID)); +set_ValueNoCheck ("S_TimeExpenseLine_ID", Integer.valueOf(S_TimeExpenseLine_ID)); } /** Get Expense Line. @return Time and Expense Report Line */ @@ -537,7 +537,7 @@ return ii.intValue(); public void setS_TimeExpense_ID (int S_TimeExpense_ID) { if (S_TimeExpense_ID < 1) throw new IllegalArgumentException ("S_TimeExpense_ID is mandatory."); -set_ValueNoCheck ("S_TimeExpense_ID", new Integer(S_TimeExpense_ID)); +set_ValueNoCheck ("S_TimeExpense_ID", Integer.valueOf(S_TimeExpense_ID)); } /** Get Expense Report. @return Time and Expense Report */ @@ -553,7 +553,7 @@ public void setS_TimeType_ID (int S_TimeType_ID) { if (S_TimeType_ID <= 0) set_Value ("S_TimeType_ID", null); else -set_Value ("S_TimeType_ID", new Integer(S_TimeType_ID)); +set_Value ("S_TimeType_ID", Integer.valueOf(S_TimeType_ID)); } /** Get Time Type. @return Type of time recorded */ diff --git a/dbPort/src/org/compiere/model/X_S_TimeType.java b/dbPort/src/org/compiere/model/X_S_TimeType.java index 0b1e57527b..1a4bcaeafd 100644 --- a/dbPort/src/org/compiere/model/X_S_TimeType.java +++ b/dbPort/src/org/compiere/model/X_S_TimeType.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_TimeType * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_TimeType extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_S_TimeType (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=581 */ -public static final int Table_ID=581; +public static final int Table_ID=MTable.getTable_ID("S_TimeType"); /** TableName=S_TimeType */ public static final String Table_Name="S_TimeType"; -protected static KeyNamePair Model = new KeyNamePair(581,"S_TimeType"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_TimeType"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -149,7 +149,7 @@ return new KeyNamePair(get_ID(), getName()); public void setS_TimeType_ID (int S_TimeType_ID) { if (S_TimeType_ID < 1) throw new IllegalArgumentException ("S_TimeType_ID is mandatory."); -set_ValueNoCheck ("S_TimeType_ID", new Integer(S_TimeType_ID)); +set_ValueNoCheck ("S_TimeType_ID", Integer.valueOf(S_TimeType_ID)); } /** Get Time Type. @return Type of time recorded */ diff --git a/dbPort/src/org/compiere/model/X_S_Training.java b/dbPort/src/org/compiere/model/X_S_Training.java index d0003fde5a..1e29f9b161 100644 --- a/dbPort/src/org/compiere/model/X_S_Training.java +++ b/dbPort/src/org/compiere/model/X_S_Training.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_Training * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_Training extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_S_Training (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=538 */ -public static final int Table_ID=538; +public static final int Table_ID=MTable.getTable_ID("S_Training"); /** TableName=S_Training */ public static final String Table_Name="S_Training"; -protected static KeyNamePair Model = new KeyNamePair(538,"S_Training"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_Training"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -94,7 +94,7 @@ return sb.toString(); public void setC_TaxCategory_ID (int C_TaxCategory_ID) { if (C_TaxCategory_ID < 1) throw new IllegalArgumentException ("C_TaxCategory_ID is mandatory."); -set_Value ("C_TaxCategory_ID", new Integer(C_TaxCategory_ID)); +set_Value ("C_TaxCategory_ID", Integer.valueOf(C_TaxCategory_ID)); } /** Get Tax Category. @return Tax Category */ @@ -109,7 +109,7 @@ return ii.intValue(); public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID < 1) throw new IllegalArgumentException ("C_UOM_ID is mandatory."); -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -209,7 +209,7 @@ return (String)get_Value("ImageURL"); public void setM_Product_Category_ID (int M_Product_Category_ID) { if (M_Product_Category_ID < 1) throw new IllegalArgumentException ("M_Product_Category_ID is mandatory."); -set_Value ("M_Product_Category_ID", new Integer(M_Product_Category_ID)); +set_Value ("M_Product_Category_ID", Integer.valueOf(M_Product_Category_ID)); } /** Get Product Category. @return Category of a Product */ @@ -247,7 +247,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -266,7 +266,7 @@ return false; public void setS_Training_ID (int S_Training_ID) { if (S_Training_ID < 1) throw new IllegalArgumentException ("S_Training_ID is mandatory."); -set_ValueNoCheck ("S_Training_ID", new Integer(S_Training_ID)); +set_ValueNoCheck ("S_Training_ID", Integer.valueOf(S_Training_ID)); } /** Get Training. @return Repeated Training */ diff --git a/dbPort/src/org/compiere/model/X_S_Training_Class.java b/dbPort/src/org/compiere/model/X_S_Training_Class.java index 16dd6fae08..9ff103e9a1 100644 --- a/dbPort/src/org/compiere/model/X_S_Training_Class.java +++ b/dbPort/src/org/compiere/model/X_S_Training_Class.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for S_Training_Class * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_S_Training_Class extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_S_Training_Class (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=537 */ -public static final int Table_ID=537; +public static final int Table_ID=MTable.getTable_ID("S_Training_Class"); /** TableName=S_Training_Class */ public static final String Table_Name="S_Training_Class"; -protected static KeyNamePair Model = new KeyNamePair(537,"S_Training_Class"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"S_Training_Class"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -107,7 +107,7 @@ return (Timestamp)get_Value("EndDate"); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -122,7 +122,7 @@ return ii.intValue(); public void setS_Training_Class_ID (int S_Training_Class_ID) { if (S_Training_Class_ID < 1) throw new IllegalArgumentException ("S_Training_Class_ID is mandatory."); -set_ValueNoCheck ("S_Training_Class_ID", new Integer(S_Training_Class_ID)); +set_ValueNoCheck ("S_Training_Class_ID", Integer.valueOf(S_Training_Class_ID)); } /** Get Training Class. @return The actual training class instance */ @@ -137,7 +137,7 @@ return ii.intValue(); public void setS_Training_ID (int S_Training_ID) { if (S_Training_ID < 1) throw new IllegalArgumentException ("S_Training_ID is mandatory."); -set_ValueNoCheck ("S_Training_ID", new Integer(S_Training_ID)); +set_ValueNoCheck ("S_Training_ID", Integer.valueOf(S_Training_ID)); } /** Get Training. @return Repeated Training */ diff --git a/dbPort/src/org/compiere/model/X_TIRE_Storage.java b/dbPort/src/org/compiere/model/X_TIRE_Storage.java index 04f513b011..1712370dce 100644 --- a/dbPort/src/org/compiere/model/X_TIRE_Storage.java +++ b/dbPort/src/org/compiere/model/X_TIRE_Storage.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for TIRE_Storage * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_TIRE_Storage extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_TIRE_Storage (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=384 */ -public static final int Table_ID=384; +public static final int Table_ID=MTable.getTable_ID("TIRE_Storage"); /** TableName=TIRE_Storage */ public static final String Table_Name="TIRE_Storage"; -protected static KeyNamePair Model = new KeyNamePair(384,"TIRE_Storage"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"TIRE_Storage"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -111,7 +111,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -167,7 +167,7 @@ return (String)get_Value("Description"); @param IsReturned Returned */ public void setIsReturned (boolean IsReturned) { -set_Value ("IsReturned", new Boolean(IsReturned)); +set_Value ("IsReturned", Boolean.valueOf(IsReturned)); } /** Get Returned. @return Returned */ @@ -185,7 +185,7 @@ return false; @param IsStored Moved to storage */ public void setIsStored (boolean IsStored) { -set_Value ("IsStored", new Boolean(IsStored)); +set_Value ("IsStored", Boolean.valueOf(IsStored)); } /** Get Moved to storage. @return Moved to storage */ @@ -205,7 +205,7 @@ public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID <= 0) set_Value ("M_Locator_ID", null); else -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -312,7 +312,7 @@ return (String)get_Value("Rim_B"); public void setTIRE_Storage_ID (int TIRE_Storage_ID) { if (TIRE_Storage_ID < 1) throw new IllegalArgumentException ("TIRE_Storage_ID is mandatory."); -set_ValueNoCheck ("TIRE_Storage_ID", new Integer(TIRE_Storage_ID)); +set_ValueNoCheck ("TIRE_Storage_ID", Integer.valueOf(TIRE_Storage_ID)); } /** Get Tire Storage. @return Tire Storage */ diff --git a/dbPort/src/org/compiere/model/X_T_Aging.java b/dbPort/src/org/compiere/model/X_T_Aging.java index 5348addf63..98e624cadd 100644 --- a/dbPort/src/org/compiere/model/X_T_Aging.java +++ b/dbPort/src/org/compiere/model/X_T_Aging.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_Aging * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_Aging extends PO { /** Standard Constructor @@ -82,12 +82,12 @@ public X_T_Aging (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=631 */ -public static final int Table_ID=631; +public static final int Table_ID=MTable.getTable_ID("T_Aging"); /** TableName=T_Aging */ public static final String Table_Name="T_Aging"; -protected static KeyNamePair Model = new KeyNamePair(631,"T_Aging"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_Aging"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -119,7 +119,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -135,7 +135,7 @@ public void setC_Activity_ID (int C_Activity_ID) { if (C_Activity_ID <= 0) set_Value ("C_Activity_ID", null); else -set_Value ("C_Activity_ID", new Integer(C_Activity_ID)); +set_Value ("C_Activity_ID", Integer.valueOf(C_Activity_ID)); } /** Get Activity. @return Business Activity */ @@ -150,7 +150,7 @@ return ii.intValue(); public void setC_BP_Group_ID (int C_BP_Group_ID) { if (C_BP_Group_ID < 1) throw new IllegalArgumentException ("C_BP_Group_ID is mandatory."); -set_Value ("C_BP_Group_ID", new Integer(C_BP_Group_ID)); +set_Value ("C_BP_Group_ID", Integer.valueOf(C_BP_Group_ID)); } /** Get Business Partner Group. @return Business Partner Group */ @@ -165,7 +165,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_ValueNoCheck ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_ValueNoCheck ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -181,7 +181,7 @@ public void setC_Campaign_ID (int C_Campaign_ID) { if (C_Campaign_ID <= 0) set_Value ("C_Campaign_ID", null); else -set_Value ("C_Campaign_ID", new Integer(C_Campaign_ID)); +set_Value ("C_Campaign_ID", Integer.valueOf(C_Campaign_ID)); } /** Get Campaign. @return Marketing Campaign */ @@ -196,7 +196,7 @@ return ii.intValue(); public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID < 1) throw new IllegalArgumentException ("C_Currency_ID is mandatory."); -set_ValueNoCheck ("C_Currency_ID", new Integer(C_Currency_ID)); +set_ValueNoCheck ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -212,7 +212,7 @@ public void setC_InvoicePaySchedule_ID (int C_InvoicePaySchedule_ID) { if (C_InvoicePaySchedule_ID <= 0) set_Value ("C_InvoicePaySchedule_ID", null); else -set_Value ("C_InvoicePaySchedule_ID", new Integer(C_InvoicePaySchedule_ID)); +set_Value ("C_InvoicePaySchedule_ID", Integer.valueOf(C_InvoicePaySchedule_ID)); } /** Get Invoice Payment Schedule. @return Invoice Payment Schedule */ @@ -228,7 +228,7 @@ public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID <= 0) set_ValueNoCheck ("C_Invoice_ID", null); else -set_ValueNoCheck ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_ValueNoCheck ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -244,7 +244,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -258,7 +258,7 @@ return ii.intValue(); @param DaysDue Number of days due (negative: due in number of days) */ public void setDaysDue (int DaysDue) { -set_Value ("DaysDue", new Integer(DaysDue)); +set_Value ("DaysDue", Integer.valueOf(DaysDue)); } /** Get Days due. @return Number of days due (negative: due in number of days) */ @@ -465,7 +465,7 @@ return bd; @param IsListInvoices Include List of Invoices */ public void setIsListInvoices (boolean IsListInvoices) { -set_Value ("IsListInvoices", new Boolean(IsListInvoices)); +set_Value ("IsListInvoices", Boolean.valueOf(IsListInvoices)); } /** Get List Invoices. @return Include List of Invoices */ @@ -483,7 +483,7 @@ return false; @param IsSOTrx This is a Sales Transaction */ public void setIsSOTrx (boolean IsSOTrx) { -set_Value ("IsSOTrx", new Boolean(IsSOTrx)); +set_Value ("IsSOTrx", Boolean.valueOf(IsSOTrx)); } /** Get Sales Transaction. @return This is a Sales Transaction */ diff --git a/dbPort/src/org/compiere/model/X_T_DistributionRunDetail.java b/dbPort/src/org/compiere/model/X_T_DistributionRunDetail.java index 7efbe86a51..a112feb2f0 100644 --- a/dbPort/src/org/compiere/model/X_T_DistributionRunDetail.java +++ b/dbPort/src/org/compiere/model/X_T_DistributionRunDetail.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_DistributionRunDetail * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_DistributionRunDetail extends PO { /** Standard Constructor @@ -62,12 +62,12 @@ public X_T_DistributionRunDetail (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=714 */ -public static final int Table_ID=714; +public static final int Table_ID=MTable.getTable_ID("T_DistributionRunDetail"); /** TableName=T_DistributionRunDetail */ public static final String Table_Name="T_DistributionRunDetail"; -protected static KeyNamePair Model = new KeyNamePair(714,"T_DistributionRunDetail"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_DistributionRunDetail"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -99,7 +99,7 @@ return sb.toString(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -114,7 +114,7 @@ return ii.intValue(); public void setC_BPartner_Location_ID (int C_BPartner_Location_ID) { if (C_BPartner_Location_ID < 1) throw new IllegalArgumentException ("C_BPartner_Location_ID is mandatory."); -set_Value ("C_BPartner_Location_ID", new Integer(C_BPartner_Location_ID)); +set_Value ("C_BPartner_Location_ID", Integer.valueOf(C_BPartner_Location_ID)); } /** Get Partner Location. @return Identifies the (ship to) address for this Business Partner */ @@ -129,7 +129,7 @@ return ii.intValue(); public void setM_DistributionListLine_ID (int M_DistributionListLine_ID) { if (M_DistributionListLine_ID < 1) throw new IllegalArgumentException ("M_DistributionListLine_ID is mandatory."); -set_ValueNoCheck ("M_DistributionListLine_ID", new Integer(M_DistributionListLine_ID)); +set_ValueNoCheck ("M_DistributionListLine_ID", Integer.valueOf(M_DistributionListLine_ID)); } /** Get Distribution List Line. @return Distribution List Line with Business Partner and Quantity/Percentage */ @@ -144,7 +144,7 @@ return ii.intValue(); public void setM_DistributionList_ID (int M_DistributionList_ID) { if (M_DistributionList_ID < 1) throw new IllegalArgumentException ("M_DistributionList_ID is mandatory."); -set_ValueNoCheck ("M_DistributionList_ID", new Integer(M_DistributionList_ID)); +set_ValueNoCheck ("M_DistributionList_ID", Integer.valueOf(M_DistributionList_ID)); } /** Get Distribution List. @return Distribution Lists allow to distribute products to a selected list of partners */ @@ -159,7 +159,7 @@ return ii.intValue(); public void setM_DistributionRunLine_ID (int M_DistributionRunLine_ID) { if (M_DistributionRunLine_ID < 1) throw new IllegalArgumentException ("M_DistributionRunLine_ID is mandatory."); -set_ValueNoCheck ("M_DistributionRunLine_ID", new Integer(M_DistributionRunLine_ID)); +set_ValueNoCheck ("M_DistributionRunLine_ID", Integer.valueOf(M_DistributionRunLine_ID)); } /** Get Distribution Run Line. @return Distribution Run Lines define Distribution List, the Product and Quantiries */ @@ -174,7 +174,7 @@ return ii.intValue(); public void setM_DistributionRun_ID (int M_DistributionRun_ID) { if (M_DistributionRun_ID < 1) throw new IllegalArgumentException ("M_DistributionRun_ID is mandatory."); -set_ValueNoCheck ("M_DistributionRun_ID", new Integer(M_DistributionRun_ID)); +set_ValueNoCheck ("M_DistributionRun_ID", Integer.valueOf(M_DistributionRun_ID)); } /** Get Distribution Run. @return Distribution Run create Orders to distribute products to a selected list of partners */ @@ -195,7 +195,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ diff --git a/dbPort/src/org/compiere/model/X_T_InventoryValue.java b/dbPort/src/org/compiere/model/X_T_InventoryValue.java index 69d056f3e1..1b3fd13d02 100644 --- a/dbPort/src/org/compiere/model/X_T_InventoryValue.java +++ b/dbPort/src/org/compiere/model/X_T_InventoryValue.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_InventoryValue * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_InventoryValue extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_T_InventoryValue (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=478 */ -public static final int Table_ID=478; +public static final int Table_ID=MTable.getTable_ID("T_InventoryValue"); /** TableName=T_InventoryValue */ public static final String Table_Name="T_InventoryValue"; -protected static KeyNamePair Model = new KeyNamePair(478,"T_InventoryValue"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_InventoryValue"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -109,7 +109,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -192,7 +192,7 @@ return (Timestamp)get_Value("DateValue"); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -208,7 +208,7 @@ public void setM_CostElement_ID (int M_CostElement_ID) { if (M_CostElement_ID <= 0) set_Value ("M_CostElement_ID", null); else -set_Value ("M_CostElement_ID", new Integer(M_CostElement_ID)); +set_Value ("M_CostElement_ID", Integer.valueOf(M_CostElement_ID)); } /** Get Cost Element. @return Product Cost Element */ @@ -224,7 +224,7 @@ public void setM_PriceList_Version_ID (int M_PriceList_Version_ID) { if (M_PriceList_Version_ID <= 0) set_Value ("M_PriceList_Version_ID", null); else -set_Value ("M_PriceList_Version_ID", new Integer(M_PriceList_Version_ID)); +set_Value ("M_PriceList_Version_ID", Integer.valueOf(M_PriceList_Version_ID)); } /** Get Price List Version. @return Identifies a unique instance of a Price List */ @@ -239,7 +239,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -254,7 +254,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ diff --git a/dbPort/src/org/compiere/model/X_T_InvoiceGL.java b/dbPort/src/org/compiere/model/X_T_InvoiceGL.java index e4a754197d..3b7465031c 100644 --- a/dbPort/src/org/compiere/model/X_T_InvoiceGL.java +++ b/dbPort/src/org/compiere/model/X_T_InvoiceGL.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_InvoiceGL * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_InvoiceGL extends PO { /** Standard Constructor @@ -66,12 +66,12 @@ public X_T_InvoiceGL (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=803 */ -public static final int Table_ID=803; +public static final int Table_ID=MTable.getTable_ID("T_InvoiceGL"); /** TableName=T_InvoiceGL */ public static final String Table_Name="T_InvoiceGL"; -protected static KeyNamePair Model = new KeyNamePair(803,"T_InvoiceGL"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_InvoiceGL"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -103,7 +103,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory."); -set_Value ("AD_PInstance_ID", new Integer(AD_PInstance_ID)); +set_Value ("AD_PInstance_ID", Integer.valueOf(AD_PInstance_ID)); } /** Get Process Instance. @return Instance of the process */ @@ -239,7 +239,7 @@ public static final int C_CONVERSIONTYPEREVAL_ID_AD_Reference_ID=352; public void setC_ConversionTypeReval_ID (int C_ConversionTypeReval_ID) { if (C_ConversionTypeReval_ID < 1) throw new IllegalArgumentException ("C_ConversionTypeReval_ID is mandatory."); -set_Value ("C_ConversionTypeReval_ID", new Integer(C_ConversionTypeReval_ID)); +set_Value ("C_ConversionTypeReval_ID", Integer.valueOf(C_ConversionTypeReval_ID)); } /** Get Revaluation Conversion Type. @return Revaluation Currency Conversion Type */ @@ -258,7 +258,7 @@ public void setC_DocTypeReval_ID (int C_DocTypeReval_ID) { if (C_DocTypeReval_ID <= 0) set_Value ("C_DocTypeReval_ID", null); else -set_Value ("C_DocTypeReval_ID", new Integer(C_DocTypeReval_ID)); +set_Value ("C_DocTypeReval_ID", Integer.valueOf(C_DocTypeReval_ID)); } /** Get Revaluation Document Type. @return Document Type for Revaluation Journal */ @@ -273,7 +273,7 @@ return ii.intValue(); public void setC_Invoice_ID (int C_Invoice_ID) { if (C_Invoice_ID < 1) throw new IllegalArgumentException ("C_Invoice_ID is mandatory."); -set_Value ("C_Invoice_ID", new Integer(C_Invoice_ID)); +set_Value ("C_Invoice_ID", Integer.valueOf(C_Invoice_ID)); } /** Get Invoice. @return Invoice Identifier */ @@ -301,7 +301,7 @@ return (Timestamp)get_Value("DateReval"); public void setFact_Acct_ID (int Fact_Acct_ID) { if (Fact_Acct_ID < 1) throw new IllegalArgumentException ("Fact_Acct_ID is mandatory."); -set_ValueNoCheck ("Fact_Acct_ID", new Integer(Fact_Acct_ID)); +set_ValueNoCheck ("Fact_Acct_ID", Integer.valueOf(Fact_Acct_ID)); } /** Get Accounting Fact. @return Accounting Fact */ @@ -330,7 +330,7 @@ return bd; @param IsAllCurrencies Report not just foreign currency Invoices */ public void setIsAllCurrencies (boolean IsAllCurrencies) { -set_Value ("IsAllCurrencies", new Boolean(IsAllCurrencies)); +set_Value ("IsAllCurrencies", Boolean.valueOf(IsAllCurrencies)); } /** Get Include All Currencies. @return Report not just foreign currency Invoices */ diff --git a/dbPort/src/org/compiere/model/X_T_Replenish.java b/dbPort/src/org/compiere/model/X_T_Replenish.java index 12fcc35762..83e07cc876 100644 --- a/dbPort/src/org/compiere/model/X_T_Replenish.java +++ b/dbPort/src/org/compiere/model/X_T_Replenish.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_Replenish * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_Replenish extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_T_Replenish (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=364 */ -public static final int Table_ID=364; +public static final int Table_ID=MTable.getTable_ID("T_Replenish"); /** TableName=T_Replenish */ public static final String Table_Name="T_Replenish"; -protected static KeyNamePair Model = new KeyNamePair(364,"T_Replenish"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_Replenish"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -111,7 +111,7 @@ return ii.intValue(); public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -127,7 +127,7 @@ public void setC_DocType_ID (int C_DocType_ID) { if (C_DocType_ID <= 0) set_Value ("C_DocType_ID", null); else -set_Value ("C_DocType_ID", new Integer(C_DocType_ID)); +set_Value ("C_DocType_ID", Integer.valueOf(C_DocType_ID)); } /** Get Document Type. @return Document type or rules */ @@ -172,7 +172,7 @@ return bd; public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_ValueNoCheck ("M_Product_ID", new Integer(M_Product_ID)); +set_ValueNoCheck ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -191,7 +191,7 @@ public void setM_WarehouseSource_ID (int M_WarehouseSource_ID) { if (M_WarehouseSource_ID <= 0) set_Value ("M_WarehouseSource_ID", null); else -set_Value ("M_WarehouseSource_ID", new Integer(M_WarehouseSource_ID)); +set_Value ("M_WarehouseSource_ID", Integer.valueOf(M_WarehouseSource_ID)); } /** Get Source Warehouse. @return Optional Warehouse to replenish from */ @@ -206,7 +206,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_ValueNoCheck ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_ValueNoCheck ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ diff --git a/dbPort/src/org/compiere/model/X_T_Report.java b/dbPort/src/org/compiere/model/X_T_Report.java index 6ec6eee10f..55d181b644 100644 --- a/dbPort/src/org/compiere/model/X_T_Report.java +++ b/dbPort/src/org/compiere/model/X_T_Report.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_Report * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_Report extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_T_Report (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=544 */ -public static final int Table_ID=544; +public static final int Table_ID=MTable.getTable_ID("T_Report"); /** TableName=T_Report */ public static final String Table_Name="T_Report"; -protected static KeyNamePair Model = new KeyNamePair(544,"T_Report"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_Report"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -419,7 +419,7 @@ return (String)get_Value("Description"); public void setFact_Acct_ID (int Fact_Acct_ID) { if (Fact_Acct_ID < 1) throw new IllegalArgumentException ("Fact_Acct_ID is mandatory."); -set_ValueNoCheck ("Fact_Acct_ID", new Integer(Fact_Acct_ID)); +set_ValueNoCheck ("Fact_Acct_ID", Integer.valueOf(Fact_Acct_ID)); } /** Get Accounting Fact. @return Accounting Fact */ @@ -433,7 +433,7 @@ return ii.intValue(); @param LevelNo Level no */ public void setLevelNo (int LevelNo) { -set_ValueNoCheck ("LevelNo", new Integer(LevelNo)); +set_ValueNoCheck ("LevelNo", Integer.valueOf(LevelNo)); } /** Get Level no. @return Level no */ @@ -471,7 +471,7 @@ return new KeyNamePair(get_ID(), getName()); public void setPA_ReportLine_ID (int PA_ReportLine_ID) { if (PA_ReportLine_ID < 1) throw new IllegalArgumentException ("PA_ReportLine_ID is mandatory."); -set_ValueNoCheck ("PA_ReportLine_ID", new Integer(PA_ReportLine_ID)); +set_ValueNoCheck ("PA_ReportLine_ID", Integer.valueOf(PA_ReportLine_ID)); } /** Get Report Line. @return Report Line */ @@ -486,7 +486,7 @@ return ii.intValue(); public void setRecord_ID (int Record_ID) { 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. @return Direct internal record ID */ @@ -501,7 +501,7 @@ return ii.intValue(); lowest number comes first */ public void setSeqNo (int SeqNo) { -set_ValueNoCheck ("SeqNo", new Integer(SeqNo)); +set_ValueNoCheck ("SeqNo", Integer.valueOf(SeqNo)); } /** Get Sequence. @return Method of ordering records; diff --git a/dbPort/src/org/compiere/model/X_T_ReportStatement.java b/dbPort/src/org/compiere/model/X_T_ReportStatement.java index be7230e760..222e99876f 100644 --- a/dbPort/src/org/compiere/model/X_T_ReportStatement.java +++ b/dbPort/src/org/compiere/model/X_T_ReportStatement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_ReportStatement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_ReportStatement extends PO { /** Standard Constructor @@ -56,12 +56,12 @@ public X_T_ReportStatement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=545 */ -public static final int Table_ID=545; +public static final int Table_ID=MTable.getTable_ID("T_ReportStatement"); /** TableName=T_ReportStatement */ public static final String Table_Name="T_ReportStatement"; -protected static KeyNamePair Model = new KeyNamePair(545,"T_ReportStatement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_ReportStatement"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -93,7 +93,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { 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. @return Instance of the process */ @@ -180,7 +180,7 @@ return (String)get_Value("Description"); public void setFact_Acct_ID (int Fact_Acct_ID) { if (Fact_Acct_ID < 1) throw new IllegalArgumentException ("Fact_Acct_ID is mandatory."); -set_ValueNoCheck ("Fact_Acct_ID", new Integer(Fact_Acct_ID)); +set_ValueNoCheck ("Fact_Acct_ID", Integer.valueOf(Fact_Acct_ID)); } /** Get Accounting Fact. @return Accounting Fact */ @@ -194,7 +194,7 @@ return ii.intValue(); @param LevelNo Level no */ public void setLevelNo (int LevelNo) { -set_ValueNoCheck ("LevelNo", new Integer(LevelNo)); +set_ValueNoCheck ("LevelNo", Integer.valueOf(LevelNo)); } /** Get Level no. @return Level no */ diff --git a/dbPort/src/org/compiere/model/X_T_Transaction.java b/dbPort/src/org/compiere/model/X_T_Transaction.java index 3fec8c4ba1..86bac19b5c 100644 --- a/dbPort/src/org/compiere/model/X_T_Transaction.java +++ b/dbPort/src/org/compiere/model/X_T_Transaction.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for T_Transaction * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_T_Transaction extends PO { /** Standard Constructor @@ -60,12 +60,12 @@ public X_T_Transaction (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=758 */ -public static final int Table_ID=758; +public static final int Table_ID=MTable.getTable_ID("T_Transaction"); /** TableName=T_Transaction */ public static final String Table_Name="T_Transaction"; -protected static KeyNamePair Model = new KeyNamePair(758,"T_Transaction"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"T_Transaction"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -97,7 +97,7 @@ return sb.toString(); public void setAD_PInstance_ID (int AD_PInstance_ID) { if (AD_PInstance_ID < 1) throw new IllegalArgumentException ("AD_PInstance_ID is mandatory."); -set_Value ("AD_PInstance_ID", new Integer(AD_PInstance_ID)); +set_Value ("AD_PInstance_ID", Integer.valueOf(AD_PInstance_ID)); } /** Get Process Instance. @return Instance of the process */ @@ -113,7 +113,7 @@ public void setC_ProjectIssue_ID (int C_ProjectIssue_ID) { if (C_ProjectIssue_ID <= 0) set_Value ("C_ProjectIssue_ID", null); else -set_Value ("C_ProjectIssue_ID", new Integer(C_ProjectIssue_ID)); +set_Value ("C_ProjectIssue_ID", Integer.valueOf(C_ProjectIssue_ID)); } /** Get Project Issue. @return Project Issues (Material, Labor) */ @@ -129,7 +129,7 @@ public void setC_Project_ID (int C_Project_ID) { if (C_Project_ID <= 0) set_Value ("C_Project_ID", null); else -set_Value ("C_Project_ID", new Integer(C_Project_ID)); +set_Value ("C_Project_ID", Integer.valueOf(C_Project_ID)); } /** Get Project. @return Financial Project */ @@ -144,7 +144,7 @@ return ii.intValue(); public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID) { if (M_AttributeSetInstance_ID < 0) throw new IllegalArgumentException ("M_AttributeSetInstance_ID is mandatory."); -set_Value ("M_AttributeSetInstance_ID", new Integer(M_AttributeSetInstance_ID)); +set_Value ("M_AttributeSetInstance_ID", Integer.valueOf(M_AttributeSetInstance_ID)); } /** Get Attribute Set Instance. @return Product Attribute Set Instance */ @@ -160,7 +160,7 @@ public void setM_InOutLine_ID (int M_InOutLine_ID) { if (M_InOutLine_ID <= 0) set_Value ("M_InOutLine_ID", null); else -set_Value ("M_InOutLine_ID", new Integer(M_InOutLine_ID)); +set_Value ("M_InOutLine_ID", Integer.valueOf(M_InOutLine_ID)); } /** Get Shipment/Receipt Line. @return Line on Shipment or Receipt document */ @@ -176,7 +176,7 @@ public void setM_InOut_ID (int M_InOut_ID) { if (M_InOut_ID <= 0) set_Value ("M_InOut_ID", null); else -set_Value ("M_InOut_ID", new Integer(M_InOut_ID)); +set_Value ("M_InOut_ID", Integer.valueOf(M_InOut_ID)); } /** Get Shipment/Receipt. @return Material Shipment Document */ @@ -192,7 +192,7 @@ public void setM_InventoryLine_ID (int M_InventoryLine_ID) { if (M_InventoryLine_ID <= 0) set_Value ("M_InventoryLine_ID", null); else -set_Value ("M_InventoryLine_ID", new Integer(M_InventoryLine_ID)); +set_Value ("M_InventoryLine_ID", Integer.valueOf(M_InventoryLine_ID)); } /** Get Phys.Inventory Line. @return Unique line in an Inventory document */ @@ -208,7 +208,7 @@ public void setM_Inventory_ID (int M_Inventory_ID) { if (M_Inventory_ID <= 0) set_Value ("M_Inventory_ID", null); else -set_Value ("M_Inventory_ID", new Integer(M_Inventory_ID)); +set_Value ("M_Inventory_ID", Integer.valueOf(M_Inventory_ID)); } /** Get Phys.Inventory. @return Parameters for a Physical Inventory */ @@ -223,7 +223,7 @@ return ii.intValue(); public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID < 1) throw new IllegalArgumentException ("M_Locator_ID is mandatory."); -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -239,7 +239,7 @@ public void setM_MovementLine_ID (int M_MovementLine_ID) { if (M_MovementLine_ID <= 0) set_Value ("M_MovementLine_ID", null); else -set_Value ("M_MovementLine_ID", new Integer(M_MovementLine_ID)); +set_Value ("M_MovementLine_ID", Integer.valueOf(M_MovementLine_ID)); } /** Get Move Line. @return Inventory Move document Line */ @@ -255,7 +255,7 @@ public void setM_Movement_ID (int M_Movement_ID) { if (M_Movement_ID <= 0) set_Value ("M_Movement_ID", null); else -set_Value ("M_Movement_ID", new Integer(M_Movement_ID)); +set_Value ("M_Movement_ID", Integer.valueOf(M_Movement_ID)); } /** Get Inventory Move. @return Movement of Inventory */ @@ -270,7 +270,7 @@ return ii.intValue(); public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID < 1) throw new IllegalArgumentException ("M_Product_ID is mandatory."); -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -286,7 +286,7 @@ public void setM_ProductionLine_ID (int M_ProductionLine_ID) { if (M_ProductionLine_ID <= 0) set_Value ("M_ProductionLine_ID", null); else -set_Value ("M_ProductionLine_ID", new Integer(M_ProductionLine_ID)); +set_Value ("M_ProductionLine_ID", Integer.valueOf(M_ProductionLine_ID)); } /** Get Production Line. @return Document Line representing a production */ @@ -302,7 +302,7 @@ public void setM_Production_ID (int M_Production_ID) { if (M_Production_ID <= 0) set_Value ("M_Production_ID", null); else -set_Value ("M_Production_ID", new Integer(M_Production_ID)); +set_Value ("M_Production_ID", Integer.valueOf(M_Production_ID)); } /** Get Production. @return Plan for producing a product */ @@ -317,7 +317,7 @@ return ii.intValue(); public void setM_Transaction_ID (int M_Transaction_ID) { if (M_Transaction_ID < 1) throw new IllegalArgumentException ("M_Transaction_ID is mandatory."); -set_Value ("M_Transaction_ID", new Integer(M_Transaction_ID)); +set_Value ("M_Transaction_ID", Integer.valueOf(M_Transaction_ID)); } /** Get Inventory Transaction. @return Inventory Transaction */ @@ -411,7 +411,7 @@ public void setSearch_InOut_ID (int Search_InOut_ID) { if (Search_InOut_ID <= 0) set_Value ("Search_InOut_ID", null); else -set_Value ("Search_InOut_ID", new Integer(Search_InOut_ID)); +set_Value ("Search_InOut_ID", Integer.valueOf(Search_InOut_ID)); } /** Get Search Shipment/Receipt. @return Material Shipment Document */ @@ -430,7 +430,7 @@ public void setSearch_Invoice_ID (int Search_Invoice_ID) { if (Search_Invoice_ID <= 0) set_Value ("Search_Invoice_ID", null); else -set_Value ("Search_Invoice_ID", new Integer(Search_Invoice_ID)); +set_Value ("Search_Invoice_ID", Integer.valueOf(Search_Invoice_ID)); } /** Get Search Invoice. @return Search Invoice Identifier */ @@ -449,7 +449,7 @@ public void setSearch_Order_ID (int Search_Order_ID) { if (Search_Order_ID <= 0) set_Value ("Search_Order_ID", null); else -set_Value ("Search_Order_ID", new Integer(Search_Order_ID)); +set_Value ("Search_Order_ID", Integer.valueOf(Search_Order_ID)); } /** Get Search Order. @return Order Identifier */ diff --git a/dbPort/src/org/compiere/model/X_Test.java b/dbPort/src/org/compiere/model/X_Test.java index dafdfbf8f8..cb85383d43 100644 --- a/dbPort/src/org/compiere/model/X_Test.java +++ b/dbPort/src/org/compiere/model/X_Test.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for Test * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_Test extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_Test (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=135 */ -public static final int Table_ID=135; +public static final int Table_ID=MTable.getTable_ID("Test"); /** TableName=Test */ public static final String Table_Name="Test"; -protected static KeyNamePair Model = new KeyNamePair(135,"Test"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"Test"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -90,7 +90,7 @@ return sb.toString(); @param Account_Acct Account_Acct */ public void setAccount_Acct (int Account_Acct) { -set_Value ("Account_Acct", new Integer(Account_Acct)); +set_Value ("Account_Acct", Integer.valueOf(Account_Acct)); } /** Get Account_Acct. @return Account_Acct */ @@ -104,7 +104,7 @@ return ii.intValue(); @param BinaryData Binary Data */ public void setBinaryData (int BinaryData) { -set_Value ("BinaryData", new Integer(BinaryData)); +set_Value ("BinaryData", Integer.valueOf(BinaryData)); } /** Get BinaryData. @return Binary Data */ @@ -120,7 +120,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -136,7 +136,7 @@ public void setC_Currency_ID (int C_Currency_ID) { if (C_Currency_ID <= 0) set_Value ("C_Currency_ID", null); else -set_Value ("C_Currency_ID", new Integer(C_Currency_ID)); +set_Value ("C_Currency_ID", Integer.valueOf(C_Currency_ID)); } /** Get Currency. @return The Currency for this record */ @@ -152,7 +152,7 @@ public void setC_Location_ID (int C_Location_ID) { if (C_Location_ID <= 0) set_Value ("C_Location_ID", null); else -set_Value ("C_Location_ID", new Integer(C_Location_ID)); +set_Value ("C_Location_ID", Integer.valueOf(C_Location_ID)); } /** Get Address. @return Location or Address */ @@ -168,7 +168,7 @@ public void setC_Payment_ID (int C_Payment_ID) { if (C_Payment_ID <= 0) set_Value ("C_Payment_ID", null); else -set_Value ("C_Payment_ID", new Integer(C_Payment_ID)); +set_Value ("C_Payment_ID", Integer.valueOf(C_Payment_ID)); } /** Get Payment. @return Payment identifier */ @@ -184,7 +184,7 @@ public void setC_UOM_ID (int C_UOM_ID) { if (C_UOM_ID <= 0) set_Value ("C_UOM_ID", null); else -set_Value ("C_UOM_ID", new Integer(C_UOM_ID)); +set_Value ("C_UOM_ID", Integer.valueOf(C_UOM_ID)); } /** Get UOM. @return Unit of Measure */ @@ -246,7 +246,7 @@ public void setM_Locator_ID (int M_Locator_ID) { if (M_Locator_ID <= 0) set_Value ("M_Locator_ID", null); else -set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); +set_Value ("M_Locator_ID", Integer.valueOf(M_Locator_ID)); } /** Get Locator. @return Warehouse Locator */ @@ -262,7 +262,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -300,7 +300,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -318,7 +318,7 @@ return false; @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -374,7 +374,7 @@ return (Timestamp)get_Value("T_DateTime"); @param T_Integer Integer */ public void setT_Integer (int T_Integer) { -set_Value ("T_Integer", new Integer(T_Integer)); +set_Value ("T_Integer", Integer.valueOf(T_Integer)); } /** Get Integer. @return Integer */ @@ -417,7 +417,7 @@ return bd; public void setTest_ID (int Test_ID) { if (Test_ID < 1) throw new IllegalArgumentException ("Test_ID is mandatory."); -set_ValueNoCheck ("Test_ID", new Integer(Test_ID)); +set_ValueNoCheck ("Test_ID", Integer.valueOf(Test_ID)); } /** Get Test ID. @return Test ID */ diff --git a/dbPort/src/org/compiere/model/X_W_Advertisement.java b/dbPort/src/org/compiere/model/X_W_Advertisement.java index cb6a27a233..6323988cab 100644 --- a/dbPort/src/org/compiere/model/X_W_Advertisement.java +++ b/dbPort/src/org/compiere/model/X_W_Advertisement.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_Advertisement * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_Advertisement extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_W_Advertisement (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=579 */ -public static final int Table_ID=579; +public static final int Table_ID=MTable.getTable_ID("W_Advertisement"); /** TableName=W_Advertisement */ public static final String Table_Name="W_Advertisement"; -protected static KeyNamePair Model = new KeyNamePair(579,"W_Advertisement"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_Advertisement"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -130,7 +130,7 @@ public static final int C_BPARTNER_ID_AD_Reference_ID=232; public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID < 1) throw new IllegalArgumentException ("C_BPartner_ID is mandatory."); -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -195,7 +195,7 @@ return (String)get_Value("ImageURL"); @param IsSelfService This is a Self-Service entry or this entry can be changed via Self-Service */ public void setIsSelfService (boolean IsSelfService) { -set_Value ("IsSelfService", new Boolean(IsSelfService)); +set_Value ("IsSelfService", Boolean.valueOf(IsSelfService)); } /** Get Self-Service. @return This is a Self-Service entry or this entry can be changed via Self-Service */ @@ -237,7 +237,7 @@ return new KeyNamePair(get_ID(), getName()); @param Processing Process Now */ public void setProcessing (boolean Processing) { -set_Value ("Processing", new Boolean(Processing)); +set_Value ("Processing", Boolean.valueOf(Processing)); } /** Get Process Now. @return Process Now */ @@ -310,7 +310,7 @@ return (Timestamp)get_Value("ValidTo"); @param Version Version of the table definition */ public void setVersion (int Version) { -set_Value ("Version", new Integer(Version)); +set_Value ("Version", Integer.valueOf(Version)); } /** Get Version. @return Version of the table definition */ @@ -325,7 +325,7 @@ return ii.intValue(); public void setW_Advertisement_ID (int W_Advertisement_ID) { if (W_Advertisement_ID < 1) throw new IllegalArgumentException ("W_Advertisement_ID is mandatory."); -set_ValueNoCheck ("W_Advertisement_ID", new Integer(W_Advertisement_ID)); +set_ValueNoCheck ("W_Advertisement_ID", Integer.valueOf(W_Advertisement_ID)); } /** Get Advertisement. @return Web Advertisement */ @@ -341,7 +341,7 @@ public void setW_ClickCount_ID (int W_ClickCount_ID) { if (W_ClickCount_ID <= 0) set_Value ("W_ClickCount_ID", null); else -set_Value ("W_ClickCount_ID", new Integer(W_ClickCount_ID)); +set_Value ("W_ClickCount_ID", Integer.valueOf(W_ClickCount_ID)); } /** Get Click Count. @return Web Click Management */ @@ -357,7 +357,7 @@ public void setW_CounterCount_ID (int W_CounterCount_ID) { if (W_CounterCount_ID <= 0) set_Value ("W_CounterCount_ID", null); else -set_Value ("W_CounterCount_ID", new Integer(W_CounterCount_ID)); +set_Value ("W_CounterCount_ID", Integer.valueOf(W_CounterCount_ID)); } /** Get Counter Count. @return Web Counter Count Management */ diff --git a/dbPort/src/org/compiere/model/X_W_Basket.java b/dbPort/src/org/compiere/model/X_W_Basket.java index c493c17d0f..0eb78d81ba 100644 --- a/dbPort/src/org/compiere/model/X_W_Basket.java +++ b/dbPort/src/org/compiere/model/X_W_Basket.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_Basket * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_Basket extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_W_Basket (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=402 */ -public static final int Table_ID=402; +public static final int Table_ID=MTable.getTable_ID("W_Basket"); /** TableName=W_Basket */ public static final String Table_Name="W_Basket"; -protected static KeyNamePair Model = new KeyNamePair(402,"W_Basket"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_Basket"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -92,7 +92,7 @@ return sb.toString(); public void setAD_User_ID (int AD_User_ID) { 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. @return User within the system - Internal or Business Partner Contact */ @@ -108,7 +108,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -141,7 +141,7 @@ public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID <= 0) set_Value ("M_PriceList_ID", null); else -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -156,7 +156,7 @@ return ii.intValue(); public void setSession_ID (int Session_ID) { if (Session_ID < 1) throw new IllegalArgumentException ("Session_ID is mandatory."); -set_Value ("Session_ID", new Integer(Session_ID)); +set_Value ("Session_ID", Integer.valueOf(Session_ID)); } /** Get Session ID. @return Session ID */ @@ -177,7 +177,7 @@ return new KeyNamePair(get_ID(), String.valueOf(getSession_ID())); public void setW_Basket_ID (int W_Basket_ID) { if (W_Basket_ID < 1) throw new IllegalArgumentException ("W_Basket_ID is mandatory."); -set_ValueNoCheck ("W_Basket_ID", new Integer(W_Basket_ID)); +set_ValueNoCheck ("W_Basket_ID", Integer.valueOf(W_Basket_ID)); } /** Get W_Basket_ID. @return Web Basket */ diff --git a/dbPort/src/org/compiere/model/X_W_BasketLine.java b/dbPort/src/org/compiere/model/X_W_BasketLine.java index b8c0e10d29..792f537233 100644 --- a/dbPort/src/org/compiere/model/X_W_BasketLine.java +++ b/dbPort/src/org/compiere/model/X_W_BasketLine.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_BasketLine * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_BasketLine extends PO { /** Standard Constructor @@ -59,12 +59,12 @@ public X_W_BasketLine (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=549 */ -public static final int Table_ID=549; +public static final int Table_ID=MTable.getTable_ID("W_BasketLine"); /** TableName=W_BasketLine */ public static final String Table_Name="W_BasketLine"; -protected static KeyNamePair Model = new KeyNamePair(549,"W_BasketLine"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_BasketLine"); protected BigDecimal accessLevel = new BigDecimal(4); /** AccessLevel @@ -113,7 +113,7 @@ return (String)get_Value("Description"); @param Line Unique line for this document */ public void setLine (int Line) { -set_Value ("Line", new Integer(Line)); +set_Value ("Line", Integer.valueOf(Line)); } /** Get Line No. @return Unique line for this document */ @@ -135,7 +135,7 @@ public void setM_Product_ID (int M_Product_ID) { if (M_Product_ID <= 0) set_Value ("M_Product_ID", null); else -set_Value ("M_Product_ID", new Integer(M_Product_ID)); +set_Value ("M_Product_ID", Integer.valueOf(M_Product_ID)); } /** Get Product. @return Product, Service, Item */ @@ -198,7 +198,7 @@ return bd; public void setW_BasketLine_ID (int W_BasketLine_ID) { if (W_BasketLine_ID < 1) throw new IllegalArgumentException ("W_BasketLine_ID is mandatory."); -set_ValueNoCheck ("W_BasketLine_ID", new Integer(W_BasketLine_ID)); +set_ValueNoCheck ("W_BasketLine_ID", Integer.valueOf(W_BasketLine_ID)); } /** Get Basket Line. @return Web Basket Line */ @@ -213,7 +213,7 @@ return ii.intValue(); public void setW_Basket_ID (int W_Basket_ID) { if (W_Basket_ID < 1) throw new IllegalArgumentException ("W_Basket_ID is mandatory."); -set_ValueNoCheck ("W_Basket_ID", new Integer(W_Basket_ID)); +set_ValueNoCheck ("W_Basket_ID", Integer.valueOf(W_Basket_ID)); } /** Get W_Basket_ID. @return Web Basket */ diff --git a/dbPort/src/org/compiere/model/X_W_Click.java b/dbPort/src/org/compiere/model/X_W_Click.java index 948919be51..bdd1b6ab0d 100644 --- a/dbPort/src/org/compiere/model/X_W_Click.java +++ b/dbPort/src/org/compiere/model/X_W_Click.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_Click * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_Click extends PO { /** Standard Constructor @@ -54,12 +54,12 @@ public X_W_Click (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=550 */ -public static final int Table_ID=550; +public static final int Table_ID=MTable.getTable_ID("W_Click"); /** TableName=W_Click */ public static final String Table_Name="W_Click"; -protected static KeyNamePair Model = new KeyNamePair(550,"W_Click"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_Click"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -92,7 +92,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -140,7 +140,7 @@ return (String)get_Value("EMail"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -251,7 +251,7 @@ public void setW_ClickCount_ID (int W_ClickCount_ID) { if (W_ClickCount_ID <= 0) set_ValueNoCheck ("W_ClickCount_ID", null); else -set_ValueNoCheck ("W_ClickCount_ID", new Integer(W_ClickCount_ID)); +set_ValueNoCheck ("W_ClickCount_ID", Integer.valueOf(W_ClickCount_ID)); } /** Get Click Count. @return Web Click Management */ @@ -266,7 +266,7 @@ return ii.intValue(); public void setW_Click_ID (int W_Click_ID) { if (W_Click_ID < 1) throw new IllegalArgumentException ("W_Click_ID is mandatory."); -set_ValueNoCheck ("W_Click_ID", new Integer(W_Click_ID)); +set_ValueNoCheck ("W_Click_ID", Integer.valueOf(W_Click_ID)); } /** Get Web Click. @return Individual Web Click */ diff --git a/dbPort/src/org/compiere/model/X_W_ClickCount.java b/dbPort/src/org/compiere/model/X_W_ClickCount.java index 4c7d128964..d83246f20e 100644 --- a/dbPort/src/org/compiere/model/X_W_ClickCount.java +++ b/dbPort/src/org/compiere/model/X_W_ClickCount.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_ClickCount * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_ClickCount extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_W_ClickCount (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=553 */ -public static final int Table_ID=553; +public static final int Table_ID=MTable.getTable_ID("W_ClickCount"); /** TableName=W_ClickCount */ public static final String Table_Name="W_ClickCount"; -protected static KeyNamePair Model = new KeyNamePair(553,"W_ClickCount"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_ClickCount"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -184,7 +184,7 @@ return (String)get_Value("TargetURL"); public void setW_ClickCount_ID (int W_ClickCount_ID) { if (W_ClickCount_ID < 1) throw new IllegalArgumentException ("W_ClickCount_ID is mandatory."); -set_ValueNoCheck ("W_ClickCount_ID", new Integer(W_ClickCount_ID)); +set_ValueNoCheck ("W_ClickCount_ID", Integer.valueOf(W_ClickCount_ID)); } /** Get Click Count. @return Web Click Management */ diff --git a/dbPort/src/org/compiere/model/X_W_Counter.java b/dbPort/src/org/compiere/model/X_W_Counter.java index 6e6ae7aa28..93d3a2d666 100644 --- a/dbPort/src/org/compiere/model/X_W_Counter.java +++ b/dbPort/src/org/compiere/model/X_W_Counter.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_Counter * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_Counter extends PO { /** Standard Constructor @@ -57,12 +57,12 @@ public X_W_Counter (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=403 */ -public static final int Table_ID=403; +public static final int Table_ID=MTable.getTable_ID("W_Counter"); /** TableName=W_Counter */ public static final String Table_Name="W_Counter"; -protected static KeyNamePair Model = new KeyNamePair(403,"W_Counter"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_Counter"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -95,7 +95,7 @@ public void setAD_User_ID (int AD_User_ID) { if (AD_User_ID <= 0) set_Value ("AD_User_ID", null); else -set_Value ("AD_User_ID", new Integer(AD_User_ID)); +set_Value ("AD_User_ID", Integer.valueOf(AD_User_ID)); } /** Get User/Contact. @return User within the system - Internal or Business Partner Contact */ @@ -161,7 +161,7 @@ return (String)get_Value("PageURL"); @param Processed The document has been processed */ public void setProcessed (boolean Processed) { -set_Value ("Processed", new Boolean(Processed)); +set_Value ("Processed", Boolean.valueOf(Processed)); } /** Get Processed. @return The document has been processed */ @@ -257,7 +257,7 @@ public void setW_CounterCount_ID (int W_CounterCount_ID) { if (W_CounterCount_ID <= 0) set_ValueNoCheck ("W_CounterCount_ID", null); else -set_ValueNoCheck ("W_CounterCount_ID", new Integer(W_CounterCount_ID)); +set_ValueNoCheck ("W_CounterCount_ID", Integer.valueOf(W_CounterCount_ID)); } /** Get Counter Count. @return Web Counter Count Management */ @@ -272,7 +272,7 @@ return ii.intValue(); public void setW_Counter_ID (int W_Counter_ID) { if (W_Counter_ID < 1) throw new IllegalArgumentException ("W_Counter_ID is mandatory."); -set_ValueNoCheck ("W_Counter_ID", new Integer(W_Counter_ID)); +set_ValueNoCheck ("W_Counter_ID", Integer.valueOf(W_Counter_ID)); } /** Get Web Counter. @return Individual Count hit */ diff --git a/dbPort/src/org/compiere/model/X_W_CounterCount.java b/dbPort/src/org/compiere/model/X_W_CounterCount.java index 1a6be2a784..fc373eb28b 100644 --- a/dbPort/src/org/compiere/model/X_W_CounterCount.java +++ b/dbPort/src/org/compiere/model/X_W_CounterCount.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_CounterCount * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_CounterCount extends PO { /** Standard Constructor @@ -55,12 +55,12 @@ public X_W_CounterCount (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=552 */ -public static final int Table_ID=552; +public static final int Table_ID=MTable.getTable_ID("W_CounterCount"); /** TableName=W_CounterCount */ public static final String Table_Name="W_CounterCount"; -protected static KeyNamePair Model = new KeyNamePair(552,"W_CounterCount"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_CounterCount"); protected BigDecimal accessLevel = new BigDecimal(3); /** AccessLevel @@ -96,7 +96,7 @@ public void setC_BPartner_ID (int C_BPartner_ID) { if (C_BPartner_ID <= 0) set_Value ("C_BPartner_ID", null); else -set_Value ("C_BPartner_ID", new Integer(C_BPartner_ID)); +set_Value ("C_BPartner_ID", Integer.valueOf(C_BPartner_ID)); } /** Get Business Partner . @return Identifies a Business Partner */ @@ -184,7 +184,7 @@ return (String)get_Value("PageURL"); public void setW_CounterCount_ID (int W_CounterCount_ID) { if (W_CounterCount_ID < 1) throw new IllegalArgumentException ("W_CounterCount_ID is mandatory."); -set_ValueNoCheck ("W_CounterCount_ID", new Integer(W_CounterCount_ID)); +set_ValueNoCheck ("W_CounterCount_ID", Integer.valueOf(W_CounterCount_ID)); } /** Get Counter Count. @return Web Counter Count Management */ diff --git a/dbPort/src/org/compiere/model/X_W_MailMsg.java b/dbPort/src/org/compiere/model/X_W_MailMsg.java index 839bbbb09c..2b42c6110a 100644 --- a/dbPort/src/org/compiere/model/X_W_MailMsg.java +++ b/dbPort/src/org/compiere/model/X_W_MailMsg.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_MailMsg * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_MailMsg extends PO { /** Standard Constructor @@ -58,12 +58,12 @@ public X_W_MailMsg (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=780 */ -public static final int Table_ID=780; +public static final int Table_ID=MTable.getTable_ID("W_MailMsg"); /** TableName=W_MailMsg */ public static final String Table_Name="W_MailMsg"; -protected static KeyNamePair Model = new KeyNamePair(780,"W_MailMsg"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_MailMsg"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -247,7 +247,7 @@ return (String)get_Value("Subject"); public void setW_MailMsg_ID (int W_MailMsg_ID) { if (W_MailMsg_ID < 1) throw new IllegalArgumentException ("W_MailMsg_ID is mandatory."); -set_ValueNoCheck ("W_MailMsg_ID", new Integer(W_MailMsg_ID)); +set_ValueNoCheck ("W_MailMsg_ID", Integer.valueOf(W_MailMsg_ID)); } /** Get Mail Message. @return Web Store Mail Message Template */ @@ -262,7 +262,7 @@ return ii.intValue(); public void setW_Store_ID (int W_Store_ID) { if (W_Store_ID < 1) throw new IllegalArgumentException ("W_Store_ID is mandatory."); -set_Value ("W_Store_ID", new Integer(W_Store_ID)); +set_Value ("W_Store_ID", Integer.valueOf(W_Store_ID)); } /** Get Web Store. @return A Web Store of the Client */ diff --git a/dbPort/src/org/compiere/model/X_W_Store.java b/dbPort/src/org/compiere/model/X_W_Store.java index 9482904951..9b011e6281 100644 --- a/dbPort/src/org/compiere/model/X_W_Store.java +++ b/dbPort/src/org/compiere/model/X_W_Store.java @@ -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. * * This program is free software; you can redistribute it and/or modify it * @@ -26,7 +26,7 @@ import java.math.*; import org.compiere.util.*; /** Generated Model for W_Store * @author Jorg Janke (generated) - * @version Release 2.6.0a - $Id$ */ + * @version Release 3.1.3 - $Id$ */ public class X_W_Store extends PO { /** Standard Constructor @@ -71,12 +71,12 @@ public X_W_Store (Properties ctx, ResultSet rs, String trxName) super (ctx, rs, trxName); } /** AD_Table_ID=778 */ -public static final int Table_ID=778; +public static final int Table_ID=MTable.getTable_ID("W_Store"); /** TableName=W_Store */ public static final String Table_Name="W_Store"; -protected static KeyNamePair Model = new KeyNamePair(778,"W_Store"); +protected static KeyNamePair Model = new KeyNamePair(Table_ID,"W_Store"); protected BigDecimal accessLevel = new BigDecimal(2); /** AccessLevel @@ -108,7 +108,7 @@ return sb.toString(); public void setC_PaymentTerm_ID (int C_PaymentTerm_ID) { if (C_PaymentTerm_ID < 1) throw new IllegalArgumentException ("C_PaymentTerm_ID is mandatory."); -set_Value ("C_PaymentTerm_ID", new Integer(C_PaymentTerm_ID)); +set_Value ("C_PaymentTerm_ID", Integer.valueOf(C_PaymentTerm_ID)); } /** Get Payment Term. @return The terms of Payment (timing, discount) */ @@ -190,7 +190,7 @@ return (String)get_Value("Help"); @param IsDefault Default value */ public void setIsDefault (boolean IsDefault) { -set_Value ("IsDefault", new Boolean(IsDefault)); +set_Value ("IsDefault", Boolean.valueOf(IsDefault)); } /** Get Default. @return Default value */ @@ -208,7 +208,7 @@ return false; @param IsMenuAssets Show Menu Assets */ public void setIsMenuAssets (boolean IsMenuAssets) { -set_Value ("IsMenuAssets", new Boolean(IsMenuAssets)); +set_Value ("IsMenuAssets", Boolean.valueOf(IsMenuAssets)); } /** Get Menu Assets. @return Show Menu Assets */ @@ -226,7 +226,7 @@ return false; @param IsMenuContact Show Menu Contact */ public void setIsMenuContact (boolean IsMenuContact) { -set_Value ("IsMenuContact", new Boolean(IsMenuContact)); +set_Value ("IsMenuContact", Boolean.valueOf(IsMenuContact)); } /** Get Menu Contact. @return Show Menu Contact */ @@ -244,7 +244,7 @@ return false; @param IsMenuInterests Show Menu Interests */ public void setIsMenuInterests (boolean IsMenuInterests) { -set_Value ("IsMenuInterests", new Boolean(IsMenuInterests)); +set_Value ("IsMenuInterests", Boolean.valueOf(IsMenuInterests)); } /** Get Menu Interests. @return Show Menu Interests */ @@ -262,7 +262,7 @@ return false; @param IsMenuInvoices Show Menu Invoices */ public void setIsMenuInvoices (boolean IsMenuInvoices) { -set_Value ("IsMenuInvoices", new Boolean(IsMenuInvoices)); +set_Value ("IsMenuInvoices", Boolean.valueOf(IsMenuInvoices)); } /** Get Menu Invoices. @return Show Menu Invoices */ @@ -280,7 +280,7 @@ return false; @param IsMenuOrders Show Menu Orders */ public void setIsMenuOrders (boolean IsMenuOrders) { -set_Value ("IsMenuOrders", new Boolean(IsMenuOrders)); +set_Value ("IsMenuOrders", Boolean.valueOf(IsMenuOrders)); } /** Get Menu Orders. @return Show Menu Orders */ @@ -298,7 +298,7 @@ return false; @param IsMenuPayments Show Menu Payments */ public void setIsMenuPayments (boolean IsMenuPayments) { -set_Value ("IsMenuPayments", new Boolean(IsMenuPayments)); +set_Value ("IsMenuPayments", Boolean.valueOf(IsMenuPayments)); } /** Get Menu Payments. @return Show Menu Payments */ @@ -316,7 +316,7 @@ return false; @param IsMenuRegistrations Show Menu Registrations */ public void setIsMenuRegistrations (boolean IsMenuRegistrations) { -set_Value ("IsMenuRegistrations", new Boolean(IsMenuRegistrations)); +set_Value ("IsMenuRegistrations", Boolean.valueOf(IsMenuRegistrations)); } /** Get Menu Registrations. @return Show Menu Registrations */ @@ -334,7 +334,7 @@ return false; @param IsMenuRequests Show Menu Requests */ public void setIsMenuRequests (boolean IsMenuRequests) { -set_Value ("IsMenuRequests", new Boolean(IsMenuRequests)); +set_Value ("IsMenuRequests", Boolean.valueOf(IsMenuRequests)); } /** Get Menu Requests. @return Show Menu Requests */ @@ -352,7 +352,7 @@ return false; @param IsMenuRfQs Show Menu RfQs */ public void setIsMenuRfQs (boolean IsMenuRfQs) { -set_Value ("IsMenuRfQs", new Boolean(IsMenuRfQs)); +set_Value ("IsMenuRfQs", Boolean.valueOf(IsMenuRfQs)); } /** Get Menu RfQs. @return Show Menu RfQs */ @@ -370,7 +370,7 @@ return false; @param IsMenuShipments Show Menu Shipments */ public void setIsMenuShipments (boolean IsMenuShipments) { -set_Value ("IsMenuShipments", new Boolean(IsMenuShipments)); +set_Value ("IsMenuShipments", Boolean.valueOf(IsMenuShipments)); } /** Get Menu Shipments. @return Show Menu Shipments */ @@ -389,7 +389,7 @@ return false; public void setM_PriceList_ID (int M_PriceList_ID) { if (M_PriceList_ID < 1) throw new IllegalArgumentException ("M_PriceList_ID is mandatory."); -set_Value ("M_PriceList_ID", new Integer(M_PriceList_ID)); +set_Value ("M_PriceList_ID", Integer.valueOf(M_PriceList_ID)); } /** Get Price List. @return Unique identifier of a Price List */ @@ -404,7 +404,7 @@ return ii.intValue(); public void setM_Warehouse_ID (int M_Warehouse_ID) { if (M_Warehouse_ID < 1) throw new IllegalArgumentException ("M_Warehouse_ID is mandatory."); -set_Value ("M_Warehouse_ID", new Integer(M_Warehouse_ID)); +set_Value ("M_Warehouse_ID", Integer.valueOf(M_Warehouse_ID)); } /** Get Warehouse. @return Storage Warehouse and Service Point */ @@ -446,7 +446,7 @@ public static final int SALESREP_ID_AD_Reference_ID=190; public void setSalesRep_ID (int SalesRep_ID) { if (SalesRep_ID < 1) throw new IllegalArgumentException ("SalesRep_ID is mandatory."); -set_Value ("SalesRep_ID", new Integer(SalesRep_ID)); +set_Value ("SalesRep_ID", Integer.valueOf(SalesRep_ID)); } /** Get Sales Representative. @return Sales Representative or Company Agent */ @@ -474,7 +474,7 @@ public String getStylesheet() return (String)get_Value("Stylesheet"); } /** Set URL. -@param URL Full URL address - e.g. http://www.compiere.org */ +@param URL Full URL address - e.g. http://www.adempiere.org */ public void setURL (String URL) { if (URL == null) throw new IllegalArgumentException ("URL is mandatory."); @@ -486,7 +486,7 @@ URL = URL.substring(0,119); set_Value ("URL", URL); } /** Get URL. -@return Full URL address - e.g. http://www.compiere.org */ +@return Full URL address - e.g. http://www.adempiere.org */ public String getURL() { return (String)get_Value("URL"); @@ -547,7 +547,7 @@ return (String)get_Value("WStoreUserPW"); public void setW_Store_ID (int W_Store_ID) { if (W_Store_ID < 1) throw new IllegalArgumentException ("W_Store_ID is mandatory."); -set_ValueNoCheck ("W_Store_ID", new Integer(W_Store_ID)); +set_ValueNoCheck ("W_Store_ID", Integer.valueOf(W_Store_ID)); } /** Get Web Store. @return A Web Store of the Client */ diff --git a/serverRoot/src/main/server/org/compiere/acct/Doc.java b/serverRoot/src/main/server/org/compiere/acct/Doc.java index 8ea0923e94..df64cea40a 100644 --- a/serverRoot/src/main/server/org/compiere/acct/Doc.java +++ b/serverRoot/src/main/server/org/compiere/acct/Doc.java @@ -275,54 +275,36 @@ public abstract class Doc public static Doc get (MAcctSchema[] ass, int AD_Table_ID, ResultSet rs, String trxName) { Doc doc = null; - switch (AD_Table_ID) - { - case MInvoice.Table_ID: - doc = new Doc_Invoice (ass, rs, trxName); - break; - case MAllocationHdr.Table_ID: - doc = new Doc_Allocation (ass, rs, trxName); - break; - case MCash.Table_ID: - doc = new Doc_Cash (ass, rs, trxName); - break; - case MBankStatement.Table_ID: - doc = new Doc_Bank (ass, rs, trxName); - break; - case MOrder.Table_ID: - doc = new Doc_Order (ass, rs, trxName); - break; - case MPayment.Table_ID: - doc = new Doc_Payment (ass, rs, trxName); - break; - case MInOut.Table_ID: - doc = new Doc_InOut (ass, rs, trxName); - break; - case MInventory.Table_ID: - doc = new Doc_Inventory (ass, rs, trxName); - break; - case MMovement.Table_ID: - doc = new Doc_Movement (ass, rs, trxName); - break; - case X_M_Production.Table_ID: - doc = new Doc_Production (ass, rs, trxName); - break; - case MJournal.Table_ID: - doc = new Doc_GLJournal (ass, rs, trxName); - break; - case MMatchInv.Table_ID: - doc = new Doc_MatchInv (ass, rs, trxName); - break; - case MMatchPO.Table_ID: - doc = new Doc_MatchPO (ass, rs, trxName); - break; - case MProjectIssue.Table_ID: - doc = new Doc_ProjectIssue (ass, rs, trxName); - break; - case MRequisition.Table_ID: - doc = new Doc_Requisition (ass, rs, trxName); - break; - } + if (AD_Table_ID == MInvoice.Table_ID) + doc = new Doc_Invoice (ass, rs, trxName); + else if (AD_Table_ID == MAllocationHdr.Table_ID) + doc = new Doc_Allocation (ass, rs, trxName); + else if (AD_Table_ID == MCash.Table_ID) + doc = new Doc_Cash (ass, rs, trxName); + else if (AD_Table_ID == MBankStatement.Table_ID) + doc = new Doc_Bank (ass, rs, trxName); + else if (AD_Table_ID == MOrder.Table_ID) + doc = new Doc_Order (ass, rs, trxName); + else if (AD_Table_ID == MPayment.Table_ID) + doc = new Doc_Payment (ass, rs, trxName); + else if (AD_Table_ID == MInOut.Table_ID) + doc = new Doc_InOut (ass, rs, trxName); + else if (AD_Table_ID == MInventory.Table_ID) + doc = new Doc_Inventory (ass, rs, trxName); + else if (AD_Table_ID == MMovement.Table_ID) + doc = new Doc_Movement (ass, rs, trxName); + else if (AD_Table_ID == X_M_Production.Table_ID) + doc = new Doc_Production (ass, rs, trxName); + else if (AD_Table_ID == MJournal.Table_ID) + doc = new Doc_GLJournal (ass, rs, trxName); + else if (AD_Table_ID == MMatchInv.Table_ID) + doc = new Doc_MatchInv (ass, rs, trxName); + else if (AD_Table_ID == MMatchPO.Table_ID) + doc = new Doc_MatchPO (ass, rs, trxName); + else if (AD_Table_ID == MProjectIssue.Table_ID) + doc = new Doc_ProjectIssue (ass, rs, trxName); + else if (AD_Table_ID == MRequisition.Table_ID) + doc = new Doc_Requisition (ass, rs, trxName); if (doc == null) s_log.log(Level.SEVERE, "Unknown AD_Table_ID=" + AD_Table_ID); return doc;